Home
last modified time | relevance | path

Searched refs:phy_props (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_smhba.c127 mptsas_smhba_create_phy_props(nvlist_t **phy_props, smhba_info_t *pSmhba, in mptsas_smhba_create_phy_props() argument
130 (void) nvlist_alloc(phy_props, NV_UNIQUE_NAME, KM_SLEEP); in mptsas_smhba_create_phy_props()
131 (void) nvlist_add_uint8(*phy_props, SAS_PHY_ID, phy_id); in mptsas_smhba_create_phy_props()
132 (void) nvlist_add_uint8(*phy_props, "phyState", in mptsas_smhba_create_phy_props()
134 (void) nvlist_add_int8(*phy_props, SAS_NEG_LINK_RATE, in mptsas_smhba_create_phy_props()
136 (void) nvlist_add_int8(*phy_props, SAS_PROG_MIN_LINK_RATE, in mptsas_smhba_create_phy_props()
138 (void) nvlist_add_int8(*phy_props, SAS_HW_MIN_LINK_RATE, in mptsas_smhba_create_phy_props()
140 (void) nvlist_add_int8(*phy_props, SAS_PROG_MAX_LINK_RATE, in mptsas_smhba_create_phy_props()
142 (void) nvlist_add_int8(*phy_props, SAS_HW_MAX_LINK_RATE, in mptsas_smhba_create_phy_props()
151 nvlist_t **phy_props, uint8_t phy_nums) in mptsas_smhba_update_phy_props() argument
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c173 nvlist_t **phy_props; in pmcs_smhba_set_phy_props() local
186 phy_props = kmem_zalloc(sizeof (nvlist_t *) * iport->nphy, KM_SLEEP); in pmcs_smhba_set_phy_props()
193 (void) nvlist_alloc(&phy_props[i], NV_UNIQUE_NAME, 0); in pmcs_smhba_set_phy_props()
195 (void) nvlist_add_uint8(phy_props[i], SAS_PHY_ID, in pmcs_smhba_set_phy_props()
197 (void) nvlist_add_int8(phy_props[i], SAS_NEG_LINK_RATE, in pmcs_smhba_set_phy_props()
199 (void) nvlist_add_int8(phy_props[i], SAS_PROG_MIN_LINK_RATE, in pmcs_smhba_set_phy_props()
201 (void) nvlist_add_int8(phy_props[i], SAS_HW_MIN_LINK_RATE, in pmcs_smhba_set_phy_props()
203 (void) nvlist_add_int8(phy_props[i], SAS_PROG_MAX_LINK_RATE, in pmcs_smhba_set_phy_props()
205 (void) nvlist_add_int8(phy_props[i], SAS_HW_MAX_LINK_RATE, in pmcs_smhba_set_phy_props()
211 (void) nvlist_add_nvlist_array(nvl, SAS_PHY_INFO_NVL, phy_props, in pmcs_smhba_set_phy_props()
[all …]