Home
last modified time | relevance | path

Searched refs:pba_size (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/usr.sbin/bhyve/
Dpci_passthru.c247 pi->pi_msix.pba_size = PBA_SIZE(pi->pi_msix.table_count); in cfginitmsi()
299 offset < pi->pi_msix.pba_offset + pi->pi_msix.pba_size) { in msix_table_read()
378 offset < pi->pi_msix.pba_offset + pi->pi_msix.pba_size) { in msix_table_write()
444 uint32_t pba_size, pba_offset; in init_msix_table() local
472 pba_size = pi->pi_msix.pba_size; in init_msix_table()
474 table_offset >= pba_offset + pba_size) { in init_msix_table()
Dpci_emul.h144 int pba_size; member
Dpci_emul.c262 if (offset >= pi->pi_msix.pba_offset + pi->pi_msix.pba_size) { in pci_valid_pba_offset()
852 pi->pi_msix.pba_size = PBA_SIZE(msgnum); in pci_emul_add_msixcap()
860 tab_size + pi->pi_msix.pba_size); in pci_emul_add_msixcap()
/freebsd-12-stable/sys/dev/ice/
Dice_nvm.c797 u16 pba_word, pba_size; in ice_read_pba_string() local
808 status = ice_read_sr_word(hw, (pba_tlv + 2), &pba_size); in ice_read_pba_string()
814 if (pba_tlv_len < pba_size) { in ice_read_pba_string()
822 pba_size--; in ice_read_pba_string()
823 if (pba_num_size < (((u32)pba_size * 2) + 1)) { in ice_read_pba_string()
828 for (i = 0; i < pba_size; i++) { in ice_read_pba_string()
838 pba_num[(pba_size * 2)] = '\0'; in ice_read_pba_string()
/freebsd-12-stable/sys/dev/ixl/
Di40e_common.c1192 u16 pba_size = 0; in i40e_read_pba_string() local
1208 status = i40e_read_nvm_word(hw, pba_ptr, &pba_size); in i40e_read_pba_string()
1217 pba_size--; in i40e_read_pba_string()
1218 if (pba_num_size < (((u32)pba_size * 2) + 1)) { in i40e_read_pba_string()
1223 for (i = 0; i < pba_size; i++) { in i40e_read_pba_string()
1233 pba_num[(pba_size * 2)] = '\0'; in i40e_read_pba_string()