Searched refs:pn_length (Results 1 – 2 of 2) sorted by relevance
3036 uint8_t pn_length; in tavor_pci_capability_vpd() local3104 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()
4224 uint8_t pn_length; in hermon_pci_capability_vpd() local4289 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()