Home
last modified time | relevance | path

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

/linux/drivers/fpga/
A Ddfl-pci.c141 u32 bir, offset, vndr_hdr, dfl_cnt, dfl_res; in find_dfls_by_vsec() local
178 bir = dfl_res & PCI_VNDR_DFLS_RES_BAR_MASK; in find_dfls_by_vsec()
179 if (bir >= PCI_STD_NUM_BARS) { in find_dfls_by_vsec()
181 __func__, bir); in find_dfls_by_vsec()
185 if (bars & BIT(bir)) { in find_dfls_by_vsec()
187 __func__, bir); in find_dfls_by_vsec()
191 bars |= BIT(bir); in find_dfls_by_vsec()
193 len = pci_resource_len(pcidev, bir); in find_dfls_by_vsec()
201 dev_dbg(&pcidev->dev, "%s BAR %d offset 0x%x\n", __func__, bir, offset); in find_dfls_by_vsec()
205 start = pci_resource_start(pcidev, bir) + offset; in find_dfls_by_vsec()
/linux/drivers/platform/x86/intel/pmt/
A Dclass.c147 u8 bir; in intel_pmt_populate_entry() local
156 bir = GET_BIR(header->base_offset); in intel_pmt_populate_entry()
161 if (bir) { in intel_pmt_populate_entry()
164 bir, header->access_type); in intel_pmt_populate_entry()
203 entry->base_addr = pci_resource_start(pci_dev, bir) + in intel_pmt_populate_entry()
/linux/arch/x86/pci/
A 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/drivers/pci/controller/cadence/
A Dpcie-cadence-ep.c291 u16 interrupts, enum pci_barno bir, in cdns_pcie_ep_set_msix() argument
309 val = offset | bir; in cdns_pcie_ep_set_msix()
314 val = (offset + (interrupts * PCI_MSIX_ENTRY_SIZE)) | bir; in cdns_pcie_ep_set_msix()
495 u8 bir; in cdns_pcie_ep_send_msix_irq() local
510 bir = tbl_offset & PCI_MSIX_TABLE_BIR; in cdns_pcie_ep_send_msix_irq()
513 msix_tbl = epf->epf_bar[bir]->addr + tbl_offset; in cdns_pcie_ep_send_msix_irq()
/linux/drivers/pci/controller/dwc/
A Dpcie-designware-ep.c387 u16 interrupts, enum pci_barno bir, u32 offset) in dw_pcie_ep_set_msix() argument
410 val = offset | bir; in dw_pcie_ep_set_msix()
414 val = (offset + (interrupts * PCI_MSIX_ENTRY_SIZE)) | bir; in dw_pcie_ep_set_msix()
575 u8 bir; in dw_pcie_ep_raise_msix_irq() local
585 bir = (tbl_offset & PCI_MSIX_TABLE_BIR); in dw_pcie_ep_raise_msix_irq()
588 msix_tbl = ep->epf_bar[bir]->addr + tbl_offset; in dw_pcie_ep_raise_msix_irq()
/linux/drivers/pci/
A Dmsi.c593 u8 bir; in msix_map_region() local
597 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in msix_map_region()
598 flags = pci_resource_flags(dev, bir); in msix_map_region()
603 phys_addr = pci_resource_start(dev, bir) + table_offset; in msix_map_region()
/linux/drivers/pci/endpoint/
A 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()

Completed in 22 milliseconds