Home
last modified time | relevance | path

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

/drivers/fpga/
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()
/drivers/platform/x86/intel/pmt/
Dclass.c176 u8 bir; in intel_pmt_populate_entry() local
185 bir = GET_BIR(header->base_offset); in intel_pmt_populate_entry()
190 if (bir) { in intel_pmt_populate_entry()
193 bir, header->access_type); in intel_pmt_populate_entry()
232 entry->base_addr = pci_resource_start(pci_dev, bir) + in intel_pmt_populate_entry()
/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()
/drivers/pci/controller/dwc/
Dpcie-designware-ep.c388 u16 interrupts, enum pci_barno bir, u32 offset) in dw_pcie_ep_set_msix() argument
411 val = offset | bir; in dw_pcie_ep_set_msix()
415 val = (offset + (interrupts * PCI_MSIX_ENTRY_SIZE)) | bir; in dw_pcie_ep_set_msix()
570 u8 bir; in dw_pcie_ep_raise_msix_irq() local
580 bir = (tbl_offset & PCI_MSIX_TABLE_BIR); in dw_pcie_ep_raise_msix_irq()
583 msix_tbl = ep->epf_bar[bir]->addr + tbl_offset; in dw_pcie_ep_raise_msix_irq()
/drivers/pci/
Dmsi.c592 u8 bir; in msix_map_region() local
596 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in msix_map_region()
597 flags = pci_resource_flags(dev, bir); in msix_map_region()
602 phys_addr = pci_resource_start(dev, bir) + table_offset; in msix_map_region()
/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()