Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c3036 uint8_t pn_length; in tavor_pci_capability_vpd() local
3104 pn_length = (uint8_t)vpd.vpd_char[vpd_ro_pn_desc + 2]; in tavor_pci_capability_vpd()
3105 if (pn_length > sizeof (state->ts_hca_pn)) { in tavor_pci_capability_vpd()
3112 pn_length); in tavor_pci_capability_vpd()
3113 state->ts_hca_pn[pn_length] = 0; in tavor_pci_capability_vpd()
3114 state->ts_hca_pn_len = pn_length; in tavor_pci_capability_vpd()
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c4224 uint8_t pn_length; in hermon_pci_capability_vpd() local
4289 pn_length = (uint8_t)vpd.vpd_char[vpd_ro_pn_desc + 2]; in hermon_pci_capability_vpd()
4290 if (pn_length > sizeof (state->hs_hca_pn)) { in hermon_pci_capability_vpd()
4297 pn_length); in hermon_pci_capability_vpd()
4298 state->hs_hca_pn[pn_length] = 0; in hermon_pci_capability_vpd()
4299 state->hs_hca_pn_len = pn_length; in hermon_pci_capability_vpd()