Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dpnv_homer.c179 homer->pba_size = PNV_XSCOM_PBA_SIZE; in pnv_homer_power8_class_init()
322 homer->pba_size = PNV9_XSCOM_PBA_SIZE; in pnv_homer_power9_class_init()
385 homer->pba_size = PNV10_XSCOM_PBA_SIZE; in pnv_homer_power10_class_init()
407 homer, "xscom-pba", hmrc->pba_size); in pnv_homer_realize()
/openbmc/qemu/hw/pci/
H A Dmsix.c319 unsigned table_size, pba_size; in msix_init() local
334 pba_size = QEMU_ALIGN_UP(nentries, 64) / 8; in msix_init()
338 ranges_overlap(table_offset, table_size, pba_offset, pba_size)) || in msix_init()
340 pba_offset + pba_size > memory_region_size(pba_bar) || in msix_init()
369 dev->msix_pba = g_malloc0(pba_size); in msix_init()
378 "msix-pba", pba_size); in msix_init()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_nvm.c520 u16 pba_word, pba_size; in ice_read_pba_string() local
532 status = ice_read_sr_word(hw, (pba_tlv + 2), &pba_size); in ice_read_pba_string()
538 if (pba_tlv_len < pba_size) { in ice_read_pba_string()
546 pba_size--; in ice_read_pba_string()
547 if (pba_num_size < (((u32)pba_size * 2) + 1)) { in ice_read_pba_string()
552 for (i = 0; i < pba_size; i++) { in ice_read_pba_string()
562 pba_num[(pba_size * 2)] = '\0'; in ice_read_pba_string()
/openbmc/qemu/include/hw/ppc/
H A Dpnv_homer.h51 int pba_size; member
/openbmc/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c823 size_t pba_size = 0; in pci_epf_test_alloc_space() local
840 pba_size = ALIGN(DIV_ROUND_UP(epf->msix_interrupts, 8), 8); in pci_epf_test_alloc_space()
842 test_reg_size = test_reg_bar_size + msix_table_size + pba_size; in pci_epf_test_alloc_space()
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c836 u16 pba_size = 0; in i40e_read_pba_string() local
853 status = i40e_read_nvm_word(hw, pba_ptr, &pba_size); in i40e_read_pba_string()
862 pba_size--; in i40e_read_pba_string()
863 if (pba_num_size < (((u32)pba_size * 2) + 1)) { in i40e_read_pba_string()
868 for (i = 0; i < pba_size; i++) { in i40e_read_pba_string()
878 pba_num[(pba_size * 2)] = '\0'; in i40e_read_pba_string()