FreeBSD kernel CAM code
smp_all.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  smp_report_general_request
 
struct  smp_report_general_response
 
struct  smp_report_manuf_info_request
 
struct  smp_report_manuf_info_response
 
struct  smp_discover_request
 
struct  smp_discover_response
 
struct  smp_phy_control_request
 
struct  smp_phy_control_response
 

Macros

#define SMP_FRAME_TYPE_REQUEST   0x40
 
#define SMP_FRAME_TYPE_RESPONSE   0x41
 
#define SMP_WORD_LEN   4
 
#define SMP_CRC_LEN   4
 
#define SMP_FUNC_REPORT_GENERAL   0x00
 
#define SMP_FUNC_REPORT_MANUF_INFO   0x01
 
#define SMP_FUNC_REPORT_SC_STATUS   0x03
 
#define SMP_FUNC_REPORT_ZONE_PERM_TBL   0x04
 
#define SMP_FUNC_REPORT_ZONE_MAN_PWD   0x05
 
#define SMP_FUNC_REPORT_BROADCAST   0x06
 
#define SMP_FUNC_DISCOVER   0x10
 
#define SMP_FUNC_REPORT_PHY_ERR_LOG   0x11
 
#define SMP_FUNC_REPORT_PHY_SATA   0x12
 
#define SMP_FUNC_REPORT_ROUTE_INFO   0x13
 
#define SMP_FUNC_REPORT_PHY_EVENT   0x14
 
#define SMP_FUNC_DISCOVER_LIST   0x20
 
#define SMP_FUNC_REPORT_PHY_EVENT_LIST   0x21
 
#define SMP_FUNC_REPORT_EXP_RTL   0x22
 
#define SMP_FUNC_CONFIG_GENERAL   0x80
 
#define SMP_FUNC_ENABLE_DISABLE_ZONING   0x81
 
#define SMP_FUNC_ZONED_BROADCAST   0x85
 
#define SMP_FUNC_ZONE_LOCK   0x86
 
#define SMP_FUNC_ZONE_ACTIVATE   0x87
 
#define SMP_FUNC_ZONE_UNLOCK   0x88
 
#define SMP_FUNC_CONFIG_ZM_PWD   0x89
 
#define SMP_FUNC_CONFIG_ZONE_PHY_INFO   0x8a
 
#define SMP_FUNC_CONFIG_ZONE_PERM_TBL   0x8b
 
#define SMP_FUNC_CONFIG_ROUTE_INFO   0x90
 
#define SMP_FUNC_PHY_CONTROL   0x91
 
#define SMP_FUNC_PHY_TEST_FUNC   0x92
 
#define SMP_FUNC_CONFIG_PHY_EVENT   0x93
 
#define SMP_FR_ACCEPTED   0x00
 
#define SMP_FR_UNKNOWN_FUNC   0x01
 
#define SMP_FR_FUNCTION_FAILED   0x02
 
#define SMP_FR_INVALID_REQ_FRAME_LEN   0x03
 
#define SMP_FR_INVALID_EXP_CHG_CNT   0x04
 
#define SMP_FR_BUSY   0x05
 
#define SMP_FR_INCOMPLETE_DESC_LIST   0x06
 
#define SMP_FR_PHY_DOES_NOT_EXIST   0x10
 
#define SMP_FR_INDEX_DOES_NOT_EXIST   0x11
 
#define SMP_FR_PHY_DOES_NOT_SUP_SATA   0x12
 
#define SMP_FR_UNKNOWN_PHY_OP   0x13
 
#define SMP_FR_UNKNOWN_PHY_TEST_FUNC   0x14
 
#define SMP_FR_PHY_TEST_FUNC_INPROG   0x15
 
#define SMP_FR_PHY_VACANT   0x16
 
#define SMP_FR_UNKNOWN_PHY_EVENT_SRC   0x17
 
#define SMP_FR_UNKNOWN_DESC_TYPE   0x18
 
#define SMP_FR_UNKNOWN_PHY_FILTER   0x19
 
#define SMP_FR_AFFILIATION_VIOLATION   0x1a
 
#define SMP_FR_SMP_ZONE_VIOLATION   0x20
 
#define SMP_FR_NO_MGMT_ACCESS_RIGHTS   0x21
 
#define SMP_FR_UNKNOWN_ED_ZONING_VAL   0x22
 
#define SMP_FR_ZONE_LOCK_VIOLATION   0x23
 
#define SMP_FR_NOT_ACTIVATED   0x24
 
#define SMP_FR_ZG_OUT_OF_RANGE   0x25
 
#define SMP_FR_NO_PHYS_PRESENCE   0x26
 
#define SMP_FR_SAVING_NOT_SUP   0x27
 
#define SMP_FR_SRC_ZONE_DNE   0x28
 
#define SMP_FR_DISABLED_PWD_NOT_SUP   0x29
 
#define SMP_RG_RESPONSE_LEN   0x11
 
#define SMP_RG_LONG_RESPONSE   0x80
 
#define SMP_RG_TABLE_TO_TABLE_SUP   0x80
 
#define SMP_RG_ZONE_CONFIGURING   0x40
 
#define SMP_RG_SELF_CONFIGURING   0x20
 
#define SMP_RG_STP_CONTINUE_AWT   0x10
 
#define SMP_RG_OPEN_REJECT_RETRY_SUP   0x08
 
#define SMP_RG_CONFIGURES_OTHERS   0x04
 
#define SMP_RG_CONFIGURING   0x02
 
#define SMP_RG_EXT_CONFIG_ROUTE_TABLE   0x01
 
#define SMP_RG_NUM_ZONE_GROUPS_MASK   0xc0
 
#define SMP_RG_NUM_ZONE_GROUPS_SHIFT   6
 
#define SMP_RG_ZONE_LOCKED   0x10
 
#define SMP_RG_PP_SUPPORTED   0x08
 
#define SMP_RG_PP_ASSERTED   0x04
 
#define SMP_RG_ZONING_SUPPORTED   0x02
 
#define SMP_RG_ZONING_ENABLED   0x01
 
#define SMP_RG_SAVING   0x10
 
#define SMP_RG_SAVING_ZM_PWD_SUP   0x08
 
#define SMP_RG_SAVING_PHY_INFO_SUP   0x04
 
#define SMP_RG_SAVING_ZPERM_TAB_SUP   0x02
 
#define SMP_RG_SAVING_ZENABLED_SUP   0x01
 
#define SMP_RG_REDUCED_FUNCTIONALITY   0x80
 
#define SMP_RMI_REQUEST_LEN   0x00
 
#define SMP_RMI_RESPONSE_LEN   0x0e
 
#define SMP_RMI_SAS11_FORMAT   0x01
 
#define SMP_DIS_REQUEST_LEN   0x02
 
#define SMP_DIS_IGNORE_ZONE_GROUP   0x01
 
#define SMP_DIS_RESPONSE_LEN   0x20
 
#define SMP_DIS_AD_TYPE_MASK   0x70
 
#define SMP_DIS_AD_TYPE_NONE   0x00
 
#define SMP_DIS_AD_TYPE_SAS_SATA   0x10
 
#define SMP_DIS_AD_TYPE_EXP   0x20
 
#define SMP_DIS_AD_TYPE_EXP_OLD   0x30
 
#define SMP_DIS_ATTACH_REASON_MASK   0x0f
 
#define SMP_DIS_LR_MASK   0x0f
 
#define SMP_DIS_LR_DISABLED   0x01
 
#define SMP_DIS_LR_PHY_RES_PROB   0x02
 
#define SMP_DIS_LR_SPINUP_HOLD   0x03
 
#define SMP_DIS_LR_PORT_SEL   0x04
 
#define SMP_DIS_LR_RESET_IN_PROG   0x05
 
#define SMP_DIS_LR_UNSUP_PHY_ATTACHED   0x06
 
#define SMP_DIS_LR_G1_15GBPS   0x08
 
#define SMP_DIS_LR_G2_30GBPS   0x09
 
#define SMP_DIS_LR_G3_60GBPS   0x0a
 
#define SMP_DIS_ATTACHED_SSP_INIT   0x08
 
#define SMP_DIS_ATTACHED_STP_INIT   0x04
 
#define SMP_DIS_ATTACHED_SMP_INIT   0x02
 
#define SMP_DIS_ATTACHED_SATA_HOST   0x01
 
#define SMP_DIS_ATTACHED_SATA_PORTSEL   0x80
 
#define SMP_DIS_STP_BUFFER_TOO_SMALL   0x10
 
#define SMP_DIS_ATTACHED_SSP_TARG   0x08
 
#define SMP_DIS_ATTACHED_STP_TARG   0x04
 
#define SMP_DIS_ATTACHED_SMP_TARG   0x02
 
#define SMP_DIS_ATTACHED_SATA_DEV   0x01
 
#define SMP_DIS_ATT_SLUMB_CAP   0x10
 
#define SMP_DIS_ATT_PAR_CAP   0x08
 
#define SMP_DIS_ATT_IN_ZPSDS_PER   0x04
 
#define SMP_DIS_ATT_REQ_IN_ZPSDS   0x02
 
#define SMP_DIS_ATT_BREAK_RPL_CAP   0x01
 
#define SMP_DIS_PROG_MIN_LR_MASK   0xf0
 
#define SMP_DIS_PROG_MIN_LR_SHIFT   4
 
#define SMP_DIS_HARD_MIN_LR_MASK   0x0f
 
#define SMP_DIS_PROG_MAX_LR_MAX   0xf0
 
#define SMP_DIS_PROG_MAX_LR_SHIFT   4
 
#define SMP_DIS_HARD_MAX_LR_MASK   0x0f
 
#define SMP_DIS_VIRTUAL_PHY   0x80
 
#define SMP_DIS_PP_TIMEOUT_MASK   0x0f
 
#define SMP_DIS_PHY_POW_COND_MASK   0xc0
 
#define SMP_DIS_PHY_POW_COND_SHIFT   6
 
#define SMP_DIS_SAS_SLUMB_CAP   0x08
 
#define SMP_DIS_SAS_PART_CAP   0x04
 
#define SMP_DIS_SATA_SLUMB_CAP   0x02
 
#define SMP_DIS_SATA_PART_CAP   0x01
 
#define SMP_DIS_SAS_SLUMB_ENB   0x08
 
#define SMP_DIS_SAS_PART_ENB   0x04
 
#define SMP_DIS_SATA_SLUMB_ENB   0x02
 
#define SMP_DIS_SATA_PART_ENB   0x01
 
#define SMP_DIS_REQ_IN_ZPSDS_CHG   0x40
 
#define SMP_DIS_IN_ZPSDS_PER   0x20
 
#define SMP_DIS_REQ_IN_ZPSDS   0x10
 
#define SMP_DIS_ZG_PER   0x04
 
#define SMP_DIS_IN_ZPSDS   0x02
 
#define SMP_DIS_ZONING_ENB   0x01
 
#define SMP_DIS_REASON_MASK   0xf0
 
#define SMP_DIS_REASON_SHIFT   4
 
#define SMP_DIS_PHYS_LR_MASK   0x0f
 
#define SMP_DIS_OPTICAL_MODE_ENB   0x04
 
#define SMP_DIS_NEG_SSC   0x02
 
#define SMP_DIS_HW_MUX_SUP   0x01
 
#define SMP_DIS_DEF_IN_ZPSDS_PER   0x20
 
#define SMP_DIS_DEF_REQ_IN_ZPSDS   0x10
 
#define SMP_DIS_DEF_ZG_PER   0x04
 
#define SMP_DIS_DEF_ZONING_ENB   0x01
 
#define SMP_DIS_SAVED_IN_ZPSDS_PER   0x20
 
#define SMP_DIS_SAVED_REQ_IN_SPSDS   0x10
 
#define SMP_DIS_SAVED_ZG_PER   0x04
 
#define SMP_DIS_SAVED_ZONING_ENB   0x01
 
#define SMP_DIS_SHADOW_IN_ZPSDS_PER   0x20
 
#define SMP_DIS_SHADOW_IN_REQ_IN_ZPSDS   0x10
 
#define SMP_DIS_SHADOW_ZG_PER   0x04
 
#define SMP_PC_RESPONSE_LEN   0x00
 
#define SMP_PC_REQUEST_LEN   0x09
 
#define SMP_PC_PHY_OP_NOP   0x00
 
#define SMP_PC_PHY_OP_LINK_RESET   0x01
 
#define SMP_PC_PHY_OP_HARD_RESET   0x02
 
#define SMP_PC_PHY_OP_DISABLE   0x03
 
#define SMP_PC_PHY_OP_CLEAR_ERR_LOG   0x05
 
#define SMP_PC_PHY_OP_CLEAR_AFFILIATON   0x06
 
#define SMP_PC_PHY_OP_TRANS_SATA_PSS   0x07
 
#define SMP_PC_PHY_OP_CLEAR_STP_ITN_LS   0x08
 
#define SMP_PC_PHY_OP_SET_ATT_DEV_NAME   0x09
 
#define SMP_PC_UPDATE_PP_TIMEOUT   0x01
 
#define SMP_PC_PROG_MIN_PL_RATE_MASK   0xf0
 
#define SMP_PC_PROG_MIN_PL_RATE_SHIFT   4
 
#define SMP_PC_PROG_MAX_PL_RATE_MASK   0xf0
 
#define SMP_PC_PROG_MAX_PL_RATE_SHIFT   4
 
#define SMP_PC_SP_NC   0x00
 
#define SMP_PC_SP_DISABLE   0x02
 
#define SMP_PC_SP_ENABLE   0x01
 
#define SMP_PC_SAS_SLUMBER_NC   0x00
 
#define SMP_PC_SAS_SLUMBER_DISABLE   0x80
 
#define SMP_PC_SAS_SLUMBER_ENABLE   0x40
 
#define SMP_PC_SAS_SLUMBER_MASK   0xc0
 
#define SMP_PC_SAS_SLUMBER_SHIFT   6
 
#define SMP_PC_SAS_PARTIAL_NC   0x00
 
#define SMP_PC_SAS_PARTIAL_DISABLE   0x20
 
#define SMP_PC_SAS_PARTIAL_ENABLE   0x10
 
#define SMP_PC_SAS_PARTIAL_MASK   0x30
 
#define SMP_PC_SAS_PARTIAL_SHIFT   4
 
#define SMP_PC_SATA_SLUMBER_NC   0x00
 
#define SMP_PC_SATA_SLUMBER_DISABLE   0x08
 
#define SMP_PC_SATA_SLUMBER_ENABLE   0x04
 
#define SMP_PC_SATA_SLUMBER_MASK   0x0c
 
#define SMP_PC_SATA_SLUMBER_SHIFT   2
 
#define SMP_PC_SATA_PARTIAL_NC   0x00
 
#define SMP_PC_SATA_PARTIAL_DISABLE   0x02
 
#define SMP_PC_SATA_PARTIAL_ENABLE   0x01
 
#define SMP_PC_SATA_PARTIAL_MASK   0x03
 
#define SMP_PC_SATA_PARTIAL_SHIFT   0
 
#define SMP_PC_PP_TIMEOUT_MASK   0x0f
 
#define SMP_PC_RESPONSE_LEN   0x00
 

Functions

__BEGIN_DECLS const char * smp_error_desc (int function_result)
 
const char * smp_command_desc (uint8_t cmd_num)
 
void smp_command_decode (uint8_t *smp_request, int request_len, struct sbuf *sb, char *line_prefix, int first_line_len, int line_len)
 
void smp_command_sbuf (struct ccb_smpio *smpio, struct sbuf *sb, char *line_prefix, int first_line_len, int line_len)
 
void smp_error_sbuf (struct ccb_smpio *smpio, struct sbuf *sb)
 
void smp_report_general_sbuf (struct smp_report_general_response *response, int response_len, struct sbuf *sb)
 
void smp_report_manuf_info_sbuf (struct smp_report_manuf_info_response *response, int response_len, struct sbuf *sb)
 
void smp_report_general (struct ccb_smpio *smpio, uint32_t retries, void(*cbfcnp)(struct cam_periph *, union ccb *), struct smp_report_general_request *request, int request_len, uint8_t *response, int response_len, int long_response, uint32_t timeout)
 
void smp_discover (struct ccb_smpio *smpio, uint32_t retries, void(*cbfcnp)(struct cam_periph *, union ccb *), struct smp_discover_request *request, int request_len, uint8_t *response, int response_len, int long_response, int ignore_zone_group, int phy, uint32_t timeout)
 
void smp_report_manuf_info (struct ccb_smpio *smpio, uint32_t retries, void(*cbfcnp)(struct cam_periph *, union ccb *), struct smp_report_manuf_info_request *request, int request_len, uint8_t *response, int response_len, int long_response, uint32_t timeout)
 
void smp_phy_control (struct ccb_smpio *smpio, uint32_t retries, void(*cbfcnp)(struct cam_periph *, union ccb *), struct smp_phy_control_request *request, int request_len, uint8_t *response, int response_len, int long_response, uint32_t expected_exp_change_count, int phy, int phy_op, int update_pp_timeout_val, uint64_t attached_device_name, int prog_min_prl, int prog_max_prl, int slumber_partial, int pp_timeout_value, uint32_t timeout)
 

Macro Definition Documentation

◆ SMP_CRC_LEN

#define SMP_CRC_LEN   4

Definition at line 46 of file smp_all.h.

◆ SMP_DIS_AD_TYPE_EXP

#define SMP_DIS_AD_TYPE_EXP   0x20

Definition at line 274 of file smp_all.h.

◆ SMP_DIS_AD_TYPE_EXP_OLD

#define SMP_DIS_AD_TYPE_EXP_OLD   0x30

Definition at line 275 of file smp_all.h.

◆ SMP_DIS_AD_TYPE_MASK

#define SMP_DIS_AD_TYPE_MASK   0x70

Definition at line 271 of file smp_all.h.

◆ SMP_DIS_AD_TYPE_NONE

#define SMP_DIS_AD_TYPE_NONE   0x00

Definition at line 272 of file smp_all.h.

◆ SMP_DIS_AD_TYPE_SAS_SATA

#define SMP_DIS_AD_TYPE_SAS_SATA   0x10

Definition at line 273 of file smp_all.h.

◆ SMP_DIS_ATT_BREAK_RPL_CAP

#define SMP_DIS_ATT_BREAK_RPL_CAP   0x01

Definition at line 308 of file smp_all.h.

◆ SMP_DIS_ATT_IN_ZPSDS_PER

#define SMP_DIS_ATT_IN_ZPSDS_PER   0x04

Definition at line 306 of file smp_all.h.

◆ SMP_DIS_ATT_PAR_CAP

#define SMP_DIS_ATT_PAR_CAP   0x08

Definition at line 305 of file smp_all.h.

◆ SMP_DIS_ATT_REQ_IN_ZPSDS

#define SMP_DIS_ATT_REQ_IN_ZPSDS   0x02

Definition at line 307 of file smp_all.h.

◆ SMP_DIS_ATT_SLUMB_CAP

#define SMP_DIS_ATT_SLUMB_CAP   0x10

Definition at line 304 of file smp_all.h.

◆ SMP_DIS_ATTACH_REASON_MASK

#define SMP_DIS_ATTACH_REASON_MASK   0x0f

Definition at line 276 of file smp_all.h.

◆ SMP_DIS_ATTACHED_SATA_DEV

#define SMP_DIS_ATTACHED_SATA_DEV   0x01

Definition at line 299 of file smp_all.h.

◆ SMP_DIS_ATTACHED_SATA_HOST

#define SMP_DIS_ATTACHED_SATA_HOST   0x01

Definition at line 292 of file smp_all.h.

◆ SMP_DIS_ATTACHED_SATA_PORTSEL

#define SMP_DIS_ATTACHED_SATA_PORTSEL   0x80

Definition at line 294 of file smp_all.h.

◆ SMP_DIS_ATTACHED_SMP_INIT

#define SMP_DIS_ATTACHED_SMP_INIT   0x02

Definition at line 291 of file smp_all.h.

◆ SMP_DIS_ATTACHED_SMP_TARG

#define SMP_DIS_ATTACHED_SMP_TARG   0x02

Definition at line 298 of file smp_all.h.

◆ SMP_DIS_ATTACHED_SSP_INIT

#define SMP_DIS_ATTACHED_SSP_INIT   0x08

Definition at line 289 of file smp_all.h.

◆ SMP_DIS_ATTACHED_SSP_TARG

#define SMP_DIS_ATTACHED_SSP_TARG   0x08

Definition at line 296 of file smp_all.h.

◆ SMP_DIS_ATTACHED_STP_INIT

#define SMP_DIS_ATTACHED_STP_INIT   0x04

Definition at line 290 of file smp_all.h.

◆ SMP_DIS_ATTACHED_STP_TARG

#define SMP_DIS_ATTACHED_STP_TARG   0x04

Definition at line 297 of file smp_all.h.

◆ SMP_DIS_DEF_IN_ZPSDS_PER

#define SMP_DIS_DEF_IN_ZPSDS_PER   0x20

Definition at line 366 of file smp_all.h.

◆ SMP_DIS_DEF_REQ_IN_ZPSDS

#define SMP_DIS_DEF_REQ_IN_ZPSDS   0x10

Definition at line 367 of file smp_all.h.

◆ SMP_DIS_DEF_ZG_PER

#define SMP_DIS_DEF_ZG_PER   0x04

Definition at line 368 of file smp_all.h.

◆ SMP_DIS_DEF_ZONING_ENB

#define SMP_DIS_DEF_ZONING_ENB   0x01

Definition at line 369 of file smp_all.h.

◆ SMP_DIS_HARD_MAX_LR_MASK

#define SMP_DIS_HARD_MAX_LR_MASK   0x0f

Definition at line 317 of file smp_all.h.

◆ SMP_DIS_HARD_MIN_LR_MASK

#define SMP_DIS_HARD_MIN_LR_MASK   0x0f

Definition at line 313 of file smp_all.h.

◆ SMP_DIS_HW_MUX_SUP

#define SMP_DIS_HW_MUX_SUP   0x01

Definition at line 364 of file smp_all.h.

◆ SMP_DIS_IGNORE_ZONE_GROUP

#define SMP_DIS_IGNORE_ZONE_GROUP   0x01

Definition at line 253 of file smp_all.h.

◆ SMP_DIS_IN_ZPSDS

#define SMP_DIS_IN_ZPSDS   0x02

Definition at line 345 of file smp_all.h.

◆ SMP_DIS_IN_ZPSDS_PER

#define SMP_DIS_IN_ZPSDS_PER   0x20

Definition at line 342 of file smp_all.h.

◆ SMP_DIS_LR_DISABLED

#define SMP_DIS_LR_DISABLED   0x01

Definition at line 279 of file smp_all.h.

◆ SMP_DIS_LR_G1_15GBPS

#define SMP_DIS_LR_G1_15GBPS   0x08

Definition at line 285 of file smp_all.h.

◆ SMP_DIS_LR_G2_30GBPS

#define SMP_DIS_LR_G2_30GBPS   0x09

Definition at line 286 of file smp_all.h.

◆ SMP_DIS_LR_G3_60GBPS

#define SMP_DIS_LR_G3_60GBPS   0x0a

Definition at line 287 of file smp_all.h.

◆ SMP_DIS_LR_MASK

#define SMP_DIS_LR_MASK   0x0f

Definition at line 278 of file smp_all.h.

◆ SMP_DIS_LR_PHY_RES_PROB

#define SMP_DIS_LR_PHY_RES_PROB   0x02

Definition at line 280 of file smp_all.h.

◆ SMP_DIS_LR_PORT_SEL

#define SMP_DIS_LR_PORT_SEL   0x04

Definition at line 282 of file smp_all.h.

◆ SMP_DIS_LR_RESET_IN_PROG

#define SMP_DIS_LR_RESET_IN_PROG   0x05

Definition at line 283 of file smp_all.h.

◆ SMP_DIS_LR_SPINUP_HOLD

#define SMP_DIS_LR_SPINUP_HOLD   0x03

Definition at line 281 of file smp_all.h.

◆ SMP_DIS_LR_UNSUP_PHY_ATTACHED

#define SMP_DIS_LR_UNSUP_PHY_ATTACHED   0x06

Definition at line 284 of file smp_all.h.

◆ SMP_DIS_NEG_SSC

#define SMP_DIS_NEG_SSC   0x02

Definition at line 363 of file smp_all.h.

◆ SMP_DIS_OPTICAL_MODE_ENB

#define SMP_DIS_OPTICAL_MODE_ENB   0x04

Definition at line 362 of file smp_all.h.

◆ SMP_DIS_PHY_POW_COND_MASK

#define SMP_DIS_PHY_POW_COND_MASK   0xc0

Definition at line 327 of file smp_all.h.

◆ SMP_DIS_PHY_POW_COND_SHIFT

#define SMP_DIS_PHY_POW_COND_SHIFT   6

Definition at line 328 of file smp_all.h.

◆ SMP_DIS_PHYS_LR_MASK

#define SMP_DIS_PHYS_LR_MASK   0x0f

Definition at line 360 of file smp_all.h.

◆ SMP_DIS_PP_TIMEOUT_MASK

#define SMP_DIS_PP_TIMEOUT_MASK   0x0f

Definition at line 321 of file smp_all.h.

◆ SMP_DIS_PROG_MAX_LR_MAX

#define SMP_DIS_PROG_MAX_LR_MAX   0xf0

Definition at line 315 of file smp_all.h.

◆ SMP_DIS_PROG_MAX_LR_SHIFT

#define SMP_DIS_PROG_MAX_LR_SHIFT   4

Definition at line 316 of file smp_all.h.

◆ SMP_DIS_PROG_MIN_LR_MASK

#define SMP_DIS_PROG_MIN_LR_MASK   0xf0

Definition at line 311 of file smp_all.h.

◆ SMP_DIS_PROG_MIN_LR_SHIFT

#define SMP_DIS_PROG_MIN_LR_SHIFT   4

Definition at line 312 of file smp_all.h.

◆ SMP_DIS_REASON_MASK

#define SMP_DIS_REASON_MASK   0xf0

Definition at line 358 of file smp_all.h.

◆ SMP_DIS_REASON_SHIFT

#define SMP_DIS_REASON_SHIFT   4

Definition at line 359 of file smp_all.h.

◆ SMP_DIS_REQ_IN_ZPSDS

#define SMP_DIS_REQ_IN_ZPSDS   0x10

Definition at line 343 of file smp_all.h.

◆ SMP_DIS_REQ_IN_ZPSDS_CHG

#define SMP_DIS_REQ_IN_ZPSDS_CHG   0x40

Definition at line 341 of file smp_all.h.

◆ SMP_DIS_REQUEST_LEN

#define SMP_DIS_REQUEST_LEN   0x02

Definition at line 250 of file smp_all.h.

◆ SMP_DIS_RESPONSE_LEN

#define SMP_DIS_RESPONSE_LEN   0x20

Definition at line 265 of file smp_all.h.

◆ SMP_DIS_SAS_PART_CAP

#define SMP_DIS_SAS_PART_CAP   0x04

Definition at line 330 of file smp_all.h.

◆ SMP_DIS_SAS_PART_ENB

#define SMP_DIS_SAS_PART_ENB   0x04

Definition at line 335 of file smp_all.h.

◆ SMP_DIS_SAS_SLUMB_CAP

#define SMP_DIS_SAS_SLUMB_CAP   0x08

Definition at line 329 of file smp_all.h.

◆ SMP_DIS_SAS_SLUMB_ENB

#define SMP_DIS_SAS_SLUMB_ENB   0x08

Definition at line 334 of file smp_all.h.

◆ SMP_DIS_SATA_PART_CAP

#define SMP_DIS_SATA_PART_CAP   0x01

Definition at line 332 of file smp_all.h.

◆ SMP_DIS_SATA_PART_ENB

#define SMP_DIS_SATA_PART_ENB   0x01

Definition at line 337 of file smp_all.h.

◆ SMP_DIS_SATA_SLUMB_CAP

#define SMP_DIS_SATA_SLUMB_CAP   0x02

Definition at line 331 of file smp_all.h.

◆ SMP_DIS_SATA_SLUMB_ENB

#define SMP_DIS_SATA_SLUMB_ENB   0x02

Definition at line 336 of file smp_all.h.

◆ SMP_DIS_SAVED_IN_ZPSDS_PER

#define SMP_DIS_SAVED_IN_ZPSDS_PER   0x20

Definition at line 374 of file smp_all.h.

◆ SMP_DIS_SAVED_REQ_IN_SPSDS

#define SMP_DIS_SAVED_REQ_IN_SPSDS   0x10

Definition at line 375 of file smp_all.h.

◆ SMP_DIS_SAVED_ZG_PER

#define SMP_DIS_SAVED_ZG_PER   0x04

Definition at line 376 of file smp_all.h.

◆ SMP_DIS_SAVED_ZONING_ENB

#define SMP_DIS_SAVED_ZONING_ENB   0x01

Definition at line 377 of file smp_all.h.

◆ SMP_DIS_SHADOW_IN_REQ_IN_ZPSDS

#define SMP_DIS_SHADOW_IN_REQ_IN_ZPSDS   0x10

Definition at line 383 of file smp_all.h.

◆ SMP_DIS_SHADOW_IN_ZPSDS_PER

#define SMP_DIS_SHADOW_IN_ZPSDS_PER   0x20

Definition at line 382 of file smp_all.h.

◆ SMP_DIS_SHADOW_ZG_PER

#define SMP_DIS_SHADOW_ZG_PER   0x04

Definition at line 384 of file smp_all.h.

◆ SMP_DIS_STP_BUFFER_TOO_SMALL

#define SMP_DIS_STP_BUFFER_TOO_SMALL   0x10

Definition at line 295 of file smp_all.h.

◆ SMP_DIS_VIRTUAL_PHY

#define SMP_DIS_VIRTUAL_PHY   0x80

Definition at line 320 of file smp_all.h.

◆ SMP_DIS_ZG_PER

#define SMP_DIS_ZG_PER   0x04

Definition at line 344 of file smp_all.h.

◆ SMP_DIS_ZONING_ENB

#define SMP_DIS_ZONING_ENB   0x01

Definition at line 346 of file smp_all.h.

◆ SMP_FR_ACCEPTED

#define SMP_FR_ACCEPTED   0x00

Definition at line 99 of file smp_all.h.

◆ SMP_FR_AFFILIATION_VIOLATION

#define SMP_FR_AFFILIATION_VIOLATION   0x1a

Definition at line 116 of file smp_all.h.

◆ SMP_FR_BUSY

#define SMP_FR_BUSY   0x05

Definition at line 104 of file smp_all.h.

◆ SMP_FR_DISABLED_PWD_NOT_SUP

#define SMP_FR_DISABLED_PWD_NOT_SUP   0x29

Definition at line 126 of file smp_all.h.

◆ SMP_FR_FUNCTION_FAILED

#define SMP_FR_FUNCTION_FAILED   0x02

Definition at line 101 of file smp_all.h.

◆ SMP_FR_INCOMPLETE_DESC_LIST

#define SMP_FR_INCOMPLETE_DESC_LIST   0x06

Definition at line 105 of file smp_all.h.

◆ SMP_FR_INDEX_DOES_NOT_EXIST

#define SMP_FR_INDEX_DOES_NOT_EXIST   0x11

Definition at line 107 of file smp_all.h.

◆ SMP_FR_INVALID_EXP_CHG_CNT

#define SMP_FR_INVALID_EXP_CHG_CNT   0x04

Definition at line 103 of file smp_all.h.

◆ SMP_FR_INVALID_REQ_FRAME_LEN

#define SMP_FR_INVALID_REQ_FRAME_LEN   0x03

Definition at line 102 of file smp_all.h.

◆ SMP_FR_NO_MGMT_ACCESS_RIGHTS

#define SMP_FR_NO_MGMT_ACCESS_RIGHTS   0x21

Definition at line 118 of file smp_all.h.

◆ SMP_FR_NO_PHYS_PRESENCE

#define SMP_FR_NO_PHYS_PRESENCE   0x26

Definition at line 123 of file smp_all.h.

◆ SMP_FR_NOT_ACTIVATED

#define SMP_FR_NOT_ACTIVATED   0x24

Definition at line 121 of file smp_all.h.

◆ SMP_FR_PHY_DOES_NOT_EXIST

#define SMP_FR_PHY_DOES_NOT_EXIST   0x10

Definition at line 106 of file smp_all.h.

◆ SMP_FR_PHY_DOES_NOT_SUP_SATA

#define SMP_FR_PHY_DOES_NOT_SUP_SATA   0x12

Definition at line 108 of file smp_all.h.

◆ SMP_FR_PHY_TEST_FUNC_INPROG

#define SMP_FR_PHY_TEST_FUNC_INPROG   0x15

Definition at line 111 of file smp_all.h.

◆ SMP_FR_PHY_VACANT

#define SMP_FR_PHY_VACANT   0x16

Definition at line 112 of file smp_all.h.

◆ SMP_FR_SAVING_NOT_SUP

#define SMP_FR_SAVING_NOT_SUP   0x27

Definition at line 124 of file smp_all.h.

◆ SMP_FR_SMP_ZONE_VIOLATION

#define SMP_FR_SMP_ZONE_VIOLATION   0x20

Definition at line 117 of file smp_all.h.

◆ SMP_FR_SRC_ZONE_DNE

#define SMP_FR_SRC_ZONE_DNE   0x28

Definition at line 125 of file smp_all.h.

◆ SMP_FR_UNKNOWN_DESC_TYPE

#define SMP_FR_UNKNOWN_DESC_TYPE   0x18

Definition at line 114 of file smp_all.h.

◆ SMP_FR_UNKNOWN_ED_ZONING_VAL

#define SMP_FR_UNKNOWN_ED_ZONING_VAL   0x22

Definition at line 119 of file smp_all.h.

◆ SMP_FR_UNKNOWN_FUNC

#define SMP_FR_UNKNOWN_FUNC   0x01

Definition at line 100 of file smp_all.h.

◆ SMP_FR_UNKNOWN_PHY_EVENT_SRC

#define SMP_FR_UNKNOWN_PHY_EVENT_SRC   0x17

Definition at line 113 of file smp_all.h.

◆ SMP_FR_UNKNOWN_PHY_FILTER

#define SMP_FR_UNKNOWN_PHY_FILTER   0x19

Definition at line 115 of file smp_all.h.

◆ SMP_FR_UNKNOWN_PHY_OP

#define SMP_FR_UNKNOWN_PHY_OP   0x13

Definition at line 109 of file smp_all.h.

◆ SMP_FR_UNKNOWN_PHY_TEST_FUNC

#define SMP_FR_UNKNOWN_PHY_TEST_FUNC   0x14

Definition at line 110 of file smp_all.h.

◆ SMP_FR_ZG_OUT_OF_RANGE

#define SMP_FR_ZG_OUT_OF_RANGE   0x25

Definition at line 122 of file smp_all.h.

◆ SMP_FR_ZONE_LOCK_VIOLATION

#define SMP_FR_ZONE_LOCK_VIOLATION   0x23

Definition at line 120 of file smp_all.h.

◆ SMP_FRAME_TYPE_REQUEST

#define SMP_FRAME_TYPE_REQUEST   0x40

Definition at line 43 of file smp_all.h.

◆ SMP_FRAME_TYPE_RESPONSE

#define SMP_FRAME_TYPE_RESPONSE   0x41

Definition at line 44 of file smp_all.h.

◆ SMP_FUNC_CONFIG_GENERAL

#define SMP_FUNC_CONFIG_GENERAL   0x80

Definition at line 77 of file smp_all.h.

◆ SMP_FUNC_CONFIG_PHY_EVENT

#define SMP_FUNC_CONFIG_PHY_EVENT   0x93

Definition at line 91 of file smp_all.h.

◆ SMP_FUNC_CONFIG_ROUTE_INFO

#define SMP_FUNC_CONFIG_ROUTE_INFO   0x90

Definition at line 88 of file smp_all.h.

◆ SMP_FUNC_CONFIG_ZM_PWD

#define SMP_FUNC_CONFIG_ZM_PWD   0x89

Definition at line 83 of file smp_all.h.

◆ SMP_FUNC_CONFIG_ZONE_PERM_TBL

#define SMP_FUNC_CONFIG_ZONE_PERM_TBL   0x8b

Definition at line 85 of file smp_all.h.

◆ SMP_FUNC_CONFIG_ZONE_PHY_INFO

#define SMP_FUNC_CONFIG_ZONE_PHY_INFO   0x8a

Definition at line 84 of file smp_all.h.

◆ SMP_FUNC_DISCOVER

#define SMP_FUNC_DISCOVER   0x10

Definition at line 61 of file smp_all.h.

◆ SMP_FUNC_DISCOVER_LIST

#define SMP_FUNC_DISCOVER_LIST   0x20

Definition at line 68 of file smp_all.h.

◆ SMP_FUNC_ENABLE_DISABLE_ZONING

#define SMP_FUNC_ENABLE_DISABLE_ZONING   0x81

Definition at line 78 of file smp_all.h.

◆ SMP_FUNC_PHY_CONTROL

#define SMP_FUNC_PHY_CONTROL   0x91

Definition at line 89 of file smp_all.h.

◆ SMP_FUNC_PHY_TEST_FUNC

#define SMP_FUNC_PHY_TEST_FUNC   0x92

Definition at line 90 of file smp_all.h.

◆ SMP_FUNC_REPORT_BROADCAST

#define SMP_FUNC_REPORT_BROADCAST   0x06

Definition at line 58 of file smp_all.h.

◆ SMP_FUNC_REPORT_EXP_RTL

#define SMP_FUNC_REPORT_EXP_RTL   0x22

Definition at line 70 of file smp_all.h.

◆ SMP_FUNC_REPORT_GENERAL

#define SMP_FUNC_REPORT_GENERAL   0x00

Definition at line 53 of file smp_all.h.

◆ SMP_FUNC_REPORT_MANUF_INFO

#define SMP_FUNC_REPORT_MANUF_INFO   0x01

Definition at line 54 of file smp_all.h.

◆ SMP_FUNC_REPORT_PHY_ERR_LOG

#define SMP_FUNC_REPORT_PHY_ERR_LOG   0x11

Definition at line 62 of file smp_all.h.

◆ SMP_FUNC_REPORT_PHY_EVENT

#define SMP_FUNC_REPORT_PHY_EVENT   0x14

Definition at line 65 of file smp_all.h.

◆ SMP_FUNC_REPORT_PHY_EVENT_LIST

#define SMP_FUNC_REPORT_PHY_EVENT_LIST   0x21

Definition at line 69 of file smp_all.h.

◆ SMP_FUNC_REPORT_PHY_SATA

#define SMP_FUNC_REPORT_PHY_SATA   0x12

Definition at line 63 of file smp_all.h.

◆ SMP_FUNC_REPORT_ROUTE_INFO

#define SMP_FUNC_REPORT_ROUTE_INFO   0x13

Definition at line 64 of file smp_all.h.

◆ SMP_FUNC_REPORT_SC_STATUS

#define SMP_FUNC_REPORT_SC_STATUS   0x03

Definition at line 55 of file smp_all.h.

◆ SMP_FUNC_REPORT_ZONE_MAN_PWD

#define SMP_FUNC_REPORT_ZONE_MAN_PWD   0x05

Definition at line 57 of file smp_all.h.

◆ SMP_FUNC_REPORT_ZONE_PERM_TBL

#define SMP_FUNC_REPORT_ZONE_PERM_TBL   0x04

Definition at line 56 of file smp_all.h.

◆ SMP_FUNC_ZONE_ACTIVATE

#define SMP_FUNC_ZONE_ACTIVATE   0x87

Definition at line 81 of file smp_all.h.

◆ SMP_FUNC_ZONE_LOCK

#define SMP_FUNC_ZONE_LOCK   0x86

Definition at line 80 of file smp_all.h.

◆ SMP_FUNC_ZONE_UNLOCK

#define SMP_FUNC_ZONE_UNLOCK   0x88

Definition at line 82 of file smp_all.h.

◆ SMP_FUNC_ZONED_BROADCAST

#define SMP_FUNC_ZONED_BROADCAST   0x85

Definition at line 79 of file smp_all.h.

◆ SMP_PC_PHY_OP_CLEAR_AFFILIATON

#define SMP_PC_PHY_OP_CLEAR_AFFILIATON   0x06

Definition at line 417 of file smp_all.h.

◆ SMP_PC_PHY_OP_CLEAR_ERR_LOG

#define SMP_PC_PHY_OP_CLEAR_ERR_LOG   0x05

Definition at line 416 of file smp_all.h.

◆ SMP_PC_PHY_OP_CLEAR_STP_ITN_LS

#define SMP_PC_PHY_OP_CLEAR_STP_ITN_LS   0x08

Definition at line 419 of file smp_all.h.

◆ SMP_PC_PHY_OP_DISABLE

#define SMP_PC_PHY_OP_DISABLE   0x03

Definition at line 415 of file smp_all.h.

◆ SMP_PC_PHY_OP_HARD_RESET

#define SMP_PC_PHY_OP_HARD_RESET   0x02

Definition at line 414 of file smp_all.h.

◆ SMP_PC_PHY_OP_LINK_RESET

#define SMP_PC_PHY_OP_LINK_RESET   0x01

Definition at line 413 of file smp_all.h.

◆ SMP_PC_PHY_OP_NOP

#define SMP_PC_PHY_OP_NOP   0x00

Definition at line 412 of file smp_all.h.

◆ SMP_PC_PHY_OP_SET_ATT_DEV_NAME

#define SMP_PC_PHY_OP_SET_ATT_DEV_NAME   0x09

Definition at line 420 of file smp_all.h.

◆ SMP_PC_PHY_OP_TRANS_SATA_PSS

#define SMP_PC_PHY_OP_TRANS_SATA_PSS   0x07

Definition at line 418 of file smp_all.h.

◆ SMP_PC_PP_TIMEOUT_MASK

#define SMP_PC_PP_TIMEOUT_MASK   0x0f

Definition at line 457 of file smp_all.h.

◆ SMP_PC_PROG_MAX_PL_RATE_MASK

#define SMP_PC_PROG_MAX_PL_RATE_MASK   0xf0

Definition at line 429 of file smp_all.h.

◆ SMP_PC_PROG_MAX_PL_RATE_SHIFT

#define SMP_PC_PROG_MAX_PL_RATE_SHIFT   4

Definition at line 430 of file smp_all.h.

◆ SMP_PC_PROG_MIN_PL_RATE_MASK

#define SMP_PC_PROG_MIN_PL_RATE_MASK   0xf0

Definition at line 426 of file smp_all.h.

◆ SMP_PC_PROG_MIN_PL_RATE_SHIFT

#define SMP_PC_PROG_MIN_PL_RATE_SHIFT   4

Definition at line 427 of file smp_all.h.

◆ SMP_PC_REQUEST_LEN

#define SMP_PC_REQUEST_LEN   0x09

Definition at line 407 of file smp_all.h.

◆ SMP_PC_RESPONSE_LEN [1/2]

#define SMP_PC_RESPONSE_LEN   0x00

Definition at line 468 of file smp_all.h.

◆ SMP_PC_RESPONSE_LEN [2/2]

#define SMP_PC_RESPONSE_LEN   0x00

Definition at line 468 of file smp_all.h.

◆ SMP_PC_SAS_PARTIAL_DISABLE

#define SMP_PC_SAS_PARTIAL_DISABLE   0x20

Definition at line 441 of file smp_all.h.

◆ SMP_PC_SAS_PARTIAL_ENABLE

#define SMP_PC_SAS_PARTIAL_ENABLE   0x10

Definition at line 442 of file smp_all.h.

◆ SMP_PC_SAS_PARTIAL_MASK

#define SMP_PC_SAS_PARTIAL_MASK   0x30

Definition at line 443 of file smp_all.h.

◆ SMP_PC_SAS_PARTIAL_NC

#define SMP_PC_SAS_PARTIAL_NC   0x00

Definition at line 440 of file smp_all.h.

◆ SMP_PC_SAS_PARTIAL_SHIFT

#define SMP_PC_SAS_PARTIAL_SHIFT   4

Definition at line 444 of file smp_all.h.

◆ SMP_PC_SAS_SLUMBER_DISABLE

#define SMP_PC_SAS_SLUMBER_DISABLE   0x80

Definition at line 436 of file smp_all.h.

◆ SMP_PC_SAS_SLUMBER_ENABLE

#define SMP_PC_SAS_SLUMBER_ENABLE   0x40

Definition at line 437 of file smp_all.h.

◆ SMP_PC_SAS_SLUMBER_MASK

#define SMP_PC_SAS_SLUMBER_MASK   0xc0

Definition at line 438 of file smp_all.h.

◆ SMP_PC_SAS_SLUMBER_NC

#define SMP_PC_SAS_SLUMBER_NC   0x00

Definition at line 435 of file smp_all.h.

◆ SMP_PC_SAS_SLUMBER_SHIFT

#define SMP_PC_SAS_SLUMBER_SHIFT   6

Definition at line 439 of file smp_all.h.

◆ SMP_PC_SATA_PARTIAL_DISABLE

#define SMP_PC_SATA_PARTIAL_DISABLE   0x02

Definition at line 451 of file smp_all.h.

◆ SMP_PC_SATA_PARTIAL_ENABLE

#define SMP_PC_SATA_PARTIAL_ENABLE   0x01

Definition at line 452 of file smp_all.h.

◆ SMP_PC_SATA_PARTIAL_MASK

#define SMP_PC_SATA_PARTIAL_MASK   0x03

Definition at line 453 of file smp_all.h.

◆ SMP_PC_SATA_PARTIAL_NC

#define SMP_PC_SATA_PARTIAL_NC   0x00

Definition at line 450 of file smp_all.h.

◆ SMP_PC_SATA_PARTIAL_SHIFT

#define SMP_PC_SATA_PARTIAL_SHIFT   0

Definition at line 454 of file smp_all.h.

◆ SMP_PC_SATA_SLUMBER_DISABLE

#define SMP_PC_SATA_SLUMBER_DISABLE   0x08

Definition at line 446 of file smp_all.h.

◆ SMP_PC_SATA_SLUMBER_ENABLE

#define SMP_PC_SATA_SLUMBER_ENABLE   0x04

Definition at line 447 of file smp_all.h.

◆ SMP_PC_SATA_SLUMBER_MASK

#define SMP_PC_SATA_SLUMBER_MASK   0x0c

Definition at line 448 of file smp_all.h.

◆ SMP_PC_SATA_SLUMBER_NC

#define SMP_PC_SATA_SLUMBER_NC   0x00

Definition at line 445 of file smp_all.h.

◆ SMP_PC_SATA_SLUMBER_SHIFT

#define SMP_PC_SATA_SLUMBER_SHIFT   2

Definition at line 449 of file smp_all.h.

◆ SMP_PC_SP_DISABLE

#define SMP_PC_SP_DISABLE   0x02

Definition at line 433 of file smp_all.h.

◆ SMP_PC_SP_ENABLE

#define SMP_PC_SP_ENABLE   0x01

Definition at line 434 of file smp_all.h.

◆ SMP_PC_SP_NC

#define SMP_PC_SP_NC   0x00

Definition at line 432 of file smp_all.h.

◆ SMP_PC_UPDATE_PP_TIMEOUT

#define SMP_PC_UPDATE_PP_TIMEOUT   0x01

Definition at line 422 of file smp_all.h.

◆ SMP_RG_CONFIGURES_OTHERS

#define SMP_RG_CONFIGURES_OTHERS   0x04

Definition at line 158 of file smp_all.h.

◆ SMP_RG_CONFIGURING

#define SMP_RG_CONFIGURING   0x02

Definition at line 159 of file smp_all.h.

◆ SMP_RG_EXT_CONFIG_ROUTE_TABLE

#define SMP_RG_EXT_CONFIG_ROUTE_TABLE   0x01

Definition at line 160 of file smp_all.h.

◆ SMP_RG_LONG_RESPONSE

#define SMP_RG_LONG_RESPONSE   0x80

Definition at line 150 of file smp_all.h.

◆ SMP_RG_NUM_ZONE_GROUPS_MASK

#define SMP_RG_NUM_ZONE_GROUPS_MASK   0xc0

Definition at line 169 of file smp_all.h.

◆ SMP_RG_NUM_ZONE_GROUPS_SHIFT

#define SMP_RG_NUM_ZONE_GROUPS_SHIFT   6

Definition at line 170 of file smp_all.h.

◆ SMP_RG_OPEN_REJECT_RETRY_SUP

#define SMP_RG_OPEN_REJECT_RETRY_SUP   0x08

Definition at line 157 of file smp_all.h.

◆ SMP_RG_PP_ASSERTED

#define SMP_RG_PP_ASSERTED   0x04

Definition at line 173 of file smp_all.h.

◆ SMP_RG_PP_SUPPORTED

#define SMP_RG_PP_SUPPORTED   0x08

Definition at line 172 of file smp_all.h.

◆ SMP_RG_REDUCED_FUNCTIONALITY

#define SMP_RG_REDUCED_FUNCTIONALITY   0x80

Definition at line 191 of file smp_all.h.

◆ SMP_RG_RESPONSE_LEN

#define SMP_RG_RESPONSE_LEN   0x11

Definition at line 146 of file smp_all.h.

◆ SMP_RG_SAVING

#define SMP_RG_SAVING   0x10

Definition at line 177 of file smp_all.h.

◆ SMP_RG_SAVING_PHY_INFO_SUP

#define SMP_RG_SAVING_PHY_INFO_SUP   0x04

Definition at line 179 of file smp_all.h.

◆ SMP_RG_SAVING_ZENABLED_SUP

#define SMP_RG_SAVING_ZENABLED_SUP   0x01

Definition at line 181 of file smp_all.h.

◆ SMP_RG_SAVING_ZM_PWD_SUP

#define SMP_RG_SAVING_ZM_PWD_SUP   0x08

Definition at line 178 of file smp_all.h.

◆ SMP_RG_SAVING_ZPERM_TAB_SUP

#define SMP_RG_SAVING_ZPERM_TAB_SUP   0x02

Definition at line 180 of file smp_all.h.

◆ SMP_RG_SELF_CONFIGURING

#define SMP_RG_SELF_CONFIGURING   0x20

Definition at line 155 of file smp_all.h.

◆ SMP_RG_STP_CONTINUE_AWT

#define SMP_RG_STP_CONTINUE_AWT   0x10

Definition at line 156 of file smp_all.h.

◆ SMP_RG_TABLE_TO_TABLE_SUP

#define SMP_RG_TABLE_TO_TABLE_SUP   0x80

Definition at line 153 of file smp_all.h.

◆ SMP_RG_ZONE_CONFIGURING

#define SMP_RG_ZONE_CONFIGURING   0x40

Definition at line 154 of file smp_all.h.

◆ SMP_RG_ZONE_LOCKED

#define SMP_RG_ZONE_LOCKED   0x10

Definition at line 171 of file smp_all.h.

◆ SMP_RG_ZONING_ENABLED

#define SMP_RG_ZONING_ENABLED   0x01

Definition at line 175 of file smp_all.h.

◆ SMP_RG_ZONING_SUPPORTED

#define SMP_RG_ZONING_SUPPORTED   0x02

Definition at line 174 of file smp_all.h.

◆ SMP_RMI_REQUEST_LEN

#define SMP_RMI_REQUEST_LEN   0x00

Definition at line 214 of file smp_all.h.

◆ SMP_RMI_RESPONSE_LEN

#define SMP_RMI_RESPONSE_LEN   0x0e

Definition at line 224 of file smp_all.h.

◆ SMP_RMI_SAS11_FORMAT

#define SMP_RMI_SAS11_FORMAT   0x01

Definition at line 228 of file smp_all.h.

◆ SMP_WORD_LEN

#define SMP_WORD_LEN   4

Definition at line 45 of file smp_all.h.

Function Documentation

◆ smp_command_decode()

void smp_command_decode ( uint8_t *  smp_request,
int  request_len,
struct sbuf *  sb,
char *  line_prefix,
int  first_line_len,
int  line_len 
)

Definition at line 200 of file smp_all.c.

Referenced by smp_command_sbuf().

Here is the caller graph for this function:

◆ smp_command_desc()

const char * smp_command_desc ( uint8_t  cmd_num)

Definition at line 164 of file smp_all.c.

References smp_cmd_table_entry::cmd_num, and smp_cmd_table.

Referenced by smp_command_sbuf().

Here is the caller graph for this function:

◆ smp_command_sbuf()

void smp_command_sbuf ( struct ccb_smpio smpio,
struct sbuf *  sb,
char *  line_prefix,
int  first_line_len,
int  line_len 
)

Definition at line 231 of file smp_all.c.

References smp_command_decode(), smp_command_desc(), ccb_smpio::smp_request, and ccb_smpio::smp_request_len.

Referenced by cam_error_string(), and smp_error_sbuf().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ smp_discover()

void smp_discover ( struct ccb_smpio smpio,
uint32_t  retries,
void(*)(struct cam_periph *, union ccb *)  cbfcnp,
struct smp_discover_request request,
int  request_len,
uint8_t *  response,
int  response_len,
int  long_response,
int  ignore_zone_group,
int  phy,
uint32_t  timeout 
)

◆ smp_error_desc()

__BEGIN_DECLS const char * smp_error_desc ( int  function_result)

Definition at line 119 of file smp_all.c.

References smp_error_table_entry::desc, smp_error_table_entry::function_result, and smp_error_table.

Referenced by cam_error_string(), and smp_error_sbuf().

Here is the caller graph for this function:

◆ smp_error_sbuf()

void smp_error_sbuf ( struct ccb_smpio smpio,
struct sbuf *  sb 
)

Definition at line 252 of file smp_all.c.

References ccb_smpio::ccb_h, ccb_hdr::path, smp_command_sbuf(), smp_error_desc(), ccb_smpio::smp_response, and xpt_path_string().

Here is the call graph for this function:

◆ smp_phy_control()

void smp_phy_control ( struct ccb_smpio smpio,
uint32_t  retries,
void(*)(struct cam_periph *, union ccb *)  cbfcnp,
struct smp_phy_control_request request,
int  request_len,
uint8_t *  response,
int  response_len,
int  long_response,
uint32_t  expected_exp_change_count,
int  phy,
int  phy_op,
int  update_pp_timeout_val,
uint64_t  attached_device_name,
int  prog_min_prl,
int  prog_max_prl,
int  slumber_partial,
int  pp_timeout_value,
uint32_t  timeout 
)

◆ smp_report_general()

void smp_report_general ( struct ccb_smpio smpio,
uint32_t  retries,
void(*)(struct cam_periph *, union ccb *)  cbfcnp,
struct smp_report_general_request request,
int  request_len,
uint8_t *  response,
int  response_len,
int  long_response,
uint32_t  timeout 
)

◆ smp_report_general_sbuf()

void smp_report_general_sbuf ( struct smp_report_general_response response,
int  response_len,
struct sbuf *  sb 
)

Definition at line 281 of file smp_all.c.

References smp_report_general_response::active_zm_address, smp_report_general_response::config_bits0, smp_report_general_response::config_bits1, smp_report_general_response::config_bits2, smp_report_general_response::crc, smp_report_general_response::encl_logical_id, smp_report_general_response::expander_change_count, smp_report_general_response::expander_route_indexes, smp_report_general_response::first_encl_conn_el_index, smp_report_general_response::initial_time_to_reduced_func, smp_report_general_response::last_phy_evl_desc_index, smp_report_general_response::last_sc_stat_desc_index, smp_report_general_response::long_response, smp_report_general_response::max_num_routed_addrs, smp_report_general_response::max_reduced_func_time, smp_report_general_response::max_sc_stat_descs, smp_report_general_response::max_stored_pel_descs, smp_report_general_response::num_encl_conn_el_indexes, smp_report_general_response::num_phys, smp_report_general_response::reduced_functionality, smp_report_general_response::response_len, scsi_2btoul(), scsi_8btou64(), SMP_RG_CONFIGURES_OTHERS, SMP_RG_CONFIGURING, SMP_RG_LONG_RESPONSE, SMP_RG_NUM_ZONE_GROUPS_MASK, SMP_RG_NUM_ZONE_GROUPS_SHIFT, SMP_RG_OPEN_REJECT_RETRY_SUP, SMP_RG_PP_ASSERTED, SMP_RG_PP_SUPPORTED, SMP_RG_REDUCED_FUNCTIONALITY, SMP_RG_SAVING, SMP_RG_SAVING_PHY_INFO_SUP, SMP_RG_SAVING_ZENABLED_SUP, SMP_RG_SAVING_ZM_PWD_SUP, SMP_RG_SAVING_ZPERM_TAB_SUP, SMP_RG_SELF_CONFIGURING, SMP_RG_STP_CONTINUE_AWT, SMP_RG_TABLE_TO_TABLE_SUP, SMP_RG_ZONE_CONFIGURING, SMP_RG_ZONE_LOCKED, SMP_RG_ZONING_ENABLED, SMP_RG_ZONING_SUPPORTED, SMP_WORD_LEN, smp_yesno(), smp_report_general_response::stp_bus_inact_time_limit, smp_report_general_response::stp_max_conn_time_limit, smp_report_general_response::stp_reject_to_open_limit, smp_report_general_response::stp_smp_it_nexus_loss_time, smp_report_general_response::time_to_reduced_func, and smp_report_general_response::zone_lock_inact_time_limit.

Here is the call graph for this function:

◆ smp_report_manuf_info()

void smp_report_manuf_info ( struct ccb_smpio smpio,
uint32_t  retries,
void(*)(struct cam_periph *, union ccb *)  cbfcnp,
struct smp_report_manuf_info_request request,
int  request_len,
uint8_t *  response,
int  response_len,
int  long_response,
uint32_t  timeout 
)

◆ smp_report_manuf_info_sbuf()