Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_nvm.c533 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-6.12.1/drivers/pci/endpoint/functions/
Dpci-epf-test.c826 size_t pba_size = 0; in pci_epf_test_alloc_space() local
839 pba_size = ALIGN(DIV_ROUND_UP(epf->msix_interrupts, 8), 8); in pci_epf_test_alloc_space()
841 test_reg_size = test_reg_bar_size + msix_table_size + pba_size; in pci_epf_test_alloc_space()
Dpci-epf-ntb.c998 size_t msix_table_size, pba_size, align; in epf_ntb_config_spad_bar_alloc() local
1039 pba_size = ALIGN(DIV_ROUND_UP(ntb->db_count, 8), 8); in epf_ntb_config_spad_bar_alloc()
1040 ctrl_size = ctrl_size + msix_table_size + pba_size; in epf_ntb_config_spad_bar_alloc()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_common.c577 u16 pba_size = 0; in i40e_get_pba_string() local
599 status = i40e_read_nvm_word(hw, pba_ptr, &pba_size); in i40e_get_pba_string()
608 pba_size--; in i40e_get_pba_string()
610 if (!pba_size) { in i40e_get_pba_string()
615 ptr = devm_kzalloc(i40e_hw_to_dev(hw), pba_size * 2 + 1, GFP_KERNEL); in i40e_get_pba_string()
620 for (i = 0; i < pba_size; i++) { in i40e_get_pba_string()