Searched refs:pba_size (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_nvm.c | 540 u16 pba_word, pba_size; in ice_read_pba_string() local 552 status = ice_read_sr_word(hw, (pba_tlv + 2), &pba_size); in ice_read_pba_string() 558 if (pba_tlv_len < pba_size) { in ice_read_pba_string() 566 pba_size--; in ice_read_pba_string() 567 if (pba_num_size < (((u32)pba_size * 2) + 1)) { in ice_read_pba_string() 572 for (i = 0; i < pba_size; i++) { in ice_read_pba_string() 582 pba_num[(pba_size * 2)] = '\0'; in ice_read_pba_string()
|
| /linux/drivers/pci/endpoint/functions/ |
| H A D | pci-epf-ntb.c | 1001 size_t msix_table_size, pba_size, align; in epf_ntb_config_spad_bar_alloc() local 1042 pba_size = ALIGN(DIV_ROUND_UP(ntb->db_count, 8), 8); in epf_ntb_config_spad_bar_alloc() 1043 ctrl_size = ctrl_size + msix_table_size + pba_size; in epf_ntb_config_spad_bar_alloc()
|
| H A D | pci-epf-test.c | 1276 size_t pba_size = 0; in pci_epf_test_alloc_space() local 1289 pba_size = ALIGN(DIV_ROUND_UP(epf->msix_interrupts, 8), 8); in pci_epf_test_alloc_space() 1291 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 | 2168 size_t pba_size; in nvmet_pci_epf_configure_bar() local 2172 pba_size = ALIGN(DIV_ROUND_UP(epf->msix_interrupts, 8), 8); in nvmet_pci_epf_configure_bar() 2174 reg_size += msix_table_size + pba_size; in nvmet_pci_epf_configure_bar()
|