Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/fpga/ !
Ddfl-pci.c160 u32 bir, offset, vndr_hdr, dfl_cnt, dfl_res; in find_dfls_by_vsec() local
197 bir = dfl_res & PCI_VNDR_DFLS_RES_BAR_MASK; in find_dfls_by_vsec()
198 if (bir >= PCI_STD_NUM_BARS) { in find_dfls_by_vsec()
200 __func__, bir); in find_dfls_by_vsec()
204 if (bars & BIT(bir)) { in find_dfls_by_vsec()
206 __func__, bir); in find_dfls_by_vsec()
210 bars |= BIT(bir); in find_dfls_by_vsec()
212 len = pci_resource_len(pcidev, bir); in find_dfls_by_vsec()
220 dev_dbg(&pcidev->dev, "%s BAR %d offset 0x%x\n", __func__, bir, offset); in find_dfls_by_vsec()
224 start = pci_resource_start(pcidev, bir) + offset; in find_dfls_by_vsec()
/linux-6.1.9/drivers/platform/x86/intel/pmt/ !
Dclass.c168 u8 bir; in intel_pmt_populate_entry() local
177 bir = GET_BIR(header->base_offset); in intel_pmt_populate_entry()
182 if (bir) { in intel_pmt_populate_entry()
185 bir, header->access_type); in intel_pmt_populate_entry()
224 entry->base_addr = pci_resource_start(pci_dev, bir) + in intel_pmt_populate_entry()
/linux-6.1.9/arch/x86/pci/ !
Dxen.c298 u32 table_offset, bir; in xen_initdom_setup_msi_irqs() local
303 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in xen_initdom_setup_msi_irqs()
304 flags = pci_resource_flags(dev, bir); in xen_initdom_setup_msi_irqs()
308 map_irq.table_base = pci_resource_start(dev, bir); in xen_initdom_setup_msi_irqs()
/linux-6.1.9/drivers/pci/controller/cadence/ !
Dpcie-cadence-ep.c290 u16 interrupts, enum pci_barno bir, in cdns_pcie_ep_set_msix() argument
308 val = offset | bir; in cdns_pcie_ep_set_msix()
313 val = (offset + (interrupts * PCI_MSIX_ENTRY_SIZE)) | bir; in cdns_pcie_ep_set_msix()
494 u8 bir; in cdns_pcie_ep_send_msix_irq() local
509 bir = tbl_offset & PCI_MSIX_TABLE_BIR; in cdns_pcie_ep_send_msix_irq()
512 msix_tbl = epf->epf_bar[bir]->addr + tbl_offset; in cdns_pcie_ep_send_msix_irq()
/linux-6.1.9/drivers/pci/controller/dwc/ !
Dpcie-designware-ep.c395 u16 interrupts, enum pci_barno bir, u32 offset) in dw_pcie_ep_set_msix() argument
418 val = offset | bir; in dw_pcie_ep_set_msix()
422 val = (offset + (interrupts * PCI_MSIX_ENTRY_SIZE)) | bir; in dw_pcie_ep_set_msix()
579 u8 bir; in dw_pcie_ep_raise_msix_irq() local
589 bir = (tbl_offset & PCI_MSIX_TABLE_BIR); in dw_pcie_ep_raise_msix_irq()
592 msix_tbl = ep->epf_bar[bir]->addr + tbl_offset; in dw_pcie_ep_raise_msix_irq()
/linux-6.1.9/drivers/pci/msi/ !
Dmsi.c490 u8 bir; in msix_map_region() local
494 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in msix_map_region()
495 flags = pci_resource_flags(dev, bir); in msix_map_region()
500 phys_addr = pci_resource_start(dev, bir) + table_offset; in msix_map_region()
/linux-6.1.9/drivers/pci/endpoint/ !
Dpci-epc-core.c400 u16 interrupts, enum pci_barno bir, u32 offset) in pci_epc_set_msix() argument
415 ret = epc->ops->set_msix(epc, func_no, vfunc_no, interrupts - 1, bir, in pci_epc_set_msix()