Searched refs:pba_size (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_nvm.c | 533 u16 pba_word, pba_size; in ice_read_pba_string() local 545 status = ice_read_sr_word(hw, (pba_tlv + 2), &pba_size); in ice_read_pba_string() 551 if (pba_tlv_len < pba_size) { in ice_read_pba_string() 559 pba_size--; in ice_read_pba_string() 560 if (pba_num_size < (((u32)pba_size * 2) + 1)) { in ice_read_pba_string() 565 for (i = 0; i < pba_size; i++) { in ice_read_pba_string() 575 pba_num[(pba_size * 2)] = '\0'; in ice_read_pba_string()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_e610.c | 3882 u16 pba_word, pba_size; in ixgbe_read_pba_string_e610() local 3893 err = ixgbe_read_ee_aci_e610(hw, (pba_tlv + 2), &pba_size); in ixgbe_read_pba_string_e610() 3897 if (pba_tlv_len < pba_size) in ixgbe_read_pba_string_e610() 3903 pba_size--; in ixgbe_read_pba_string_e610() 3905 if (pba_num_size < (((u32)pba_size * 2) + 1)) in ixgbe_read_pba_string_e610() 3908 for (u16 i = 0; i < pba_size; i++) { in ixgbe_read_pba_string_e610() 3919 pba_num[(pba_size * 2)] = '\0'; in ixgbe_read_pba_string_e610()
|
| /linux/drivers/pci/endpoint/functions/ |
| H A D | pci-epf-test.c | 1215 size_t pba_size = 0; in pci_epf_test_alloc_space() local 1228 pba_size = ALIGN(DIV_ROUND_UP(epf->msix_interrupts, 8), 8); in pci_epf_test_alloc_space() 1230 test_reg_size = test_reg_bar_size + msix_table_size + pba_size; in pci_epf_test_alloc_space()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_common.c | 517 u16 pba_size = 0; in i40e_get_pba_string() local 539 status = i40e_read_nvm_word(hw, pba_ptr, &pba_size); in i40e_get_pba_string() 548 pba_size--; in i40e_get_pba_string() 550 if (!pba_size) { in i40e_get_pba_string() 555 ptr = devm_kzalloc(i40e_hw_to_dev(hw), pba_size * 2 + 1, GFP_KERNEL); in i40e_get_pba_string() 560 for (i = 0; i < pba_size; i++) { in i40e_get_pba_string()
|
| /linux/drivers/nvme/target/ |
| H A D | pci-epf.c | 2187 size_t pba_size; in nvmet_pci_epf_configure_bar() local 2191 pba_size = ALIGN(DIV_ROUND_UP(epf->msix_interrupts, 8), 8); in nvmet_pci_epf_configure_bar() 2193 reg_size += msix_table_size + pba_size; in nvmet_pci_epf_configure_bar()
|