Home
last modified time | relevance | path

Searched refs:bar_offset (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/arch/x86/events/intel/
Duncore_discovery.c206 u32 bar_offset, bool *parsed) in parse_discovery_table() argument
216 pci_read_config_dword(dev, bar_offset, &val); in parse_discovery_table()
226 pci_read_config_dword(dev, bar_offset + 4, &val2); in parse_discovery_table()
271 u32 device, val, entry_id, bar_offset; in intel_uncore_has_discovery_tables() local
298 bar_offset = UNCORE_DISCOVERY_BIR_BASE + in intel_uncore_has_discovery_tables()
305 parse_discovery_table(dev, die, bar_offset, &parsed); in intel_uncore_has_discovery_tables()
/linux-6.1.9/drivers/scsi/snic/
Dvnic_dev.c105 u32 bar_offset = ioread32(&r->bar_offset); in vnic_dev_discover_res() local
124 if (len + bar_offset > bar->len) { in vnic_dev_discover_res()
126 type, bar_offset, in vnic_dev_discover_res()
145 vdev->res[type].vaddr = (char __iomem *)bar->vaddr + bar_offset; in vnic_dev_discover_res()
Dvnic_resource.h50 u32 bar_offset; member
/linux-6.1.9/drivers/scsi/fnic/
Dvnic_resource.h52 u32 bar_offset; member
Dvnic_dev.c107 u32 bar_offset = ioread32(&r->bar_offset); in vnic_dev_discover_res() local
123 if (len + bar_offset > bar->len) { in vnic_dev_discover_res()
127 type, bar_offset, in vnic_dev_discover_res()
143 vdev->res[type].vaddr = (char __iomem *)bar->vaddr + bar_offset; in vnic_dev_discover_res()
/linux-6.1.9/drivers/net/ethernet/cisco/enic/
Dvnic_resource.h66 u32 bar_offset; member
Dvnic_dev.c76 u32 bar_offset = ioread32(&r->bar_offset); in vnic_dev_discover_res() local
95 if (len + bar_offset > bar[bar_num].len) { in vnic_dev_discover_res()
97 type, bar_offset, len, in vnic_dev_discover_res()
113 bar_offset; in vnic_dev_discover_res()
114 vdev->res[type].bus_addr = bar[bar_num].bus_addr + bar_offset; in vnic_dev_discover_res()
/linux-6.1.9/drivers/video/fbdev/
Defifb.c349 static u64 bar_offset; variable
407 bar_resource->start + bar_offset != efifb_fix.smem_start) { in efifb_probe()
410 efifb_fix.smem_start = bar_resource->start + bar_offset; in efifb_probe()
654 bar_offset = offset; in record_efifb_bar_resource()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hwrm.c463 u32 bar_offset = BNXT_GRCPF_REG_CHIMP_COMM; in __hwrm_send() local
494 bar_offset = BNXT_GRCPF_REG_KONG_COMM; in __hwrm_send()
529 __iowrite32_copy(bp->bar0 + bar_offset, data, msg_len / 4); in __hwrm_send()
532 writel(0, bp->bar0 + bar_offset + i); in __hwrm_send()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c729 u32 bar_offset; member
831 priv->bar_offset = priv->offset & in nfp6000_area_acquire()
833 priv->bar_offset += NFP_PCIE_P2C_GENERAL_TARGET_OFFSET( in nfp6000_area_acquire()
835 priv->bar_offset += NFP_PCIE_P2C_GENERAL_TOKEN_OFFSET( in nfp6000_area_acquire()
838 priv->bar_offset = priv->offset & priv->bar->mask; in nfp6000_area_acquire()
846 priv->phys = nfp_bar_resource_start(priv->bar) + priv->bar_offset; in nfp6000_area_acquire()
854 priv->iomem = priv->bar->iomem + priv->bar_offset; in nfp6000_area_acquire()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.h221 u64 bar_offset; member
Dverbs.c143 irdma_user_mmap_entry_insert(struct irdma_ucontext *ucontext, u64 bar_offset, in irdma_user_mmap_entry_insert() argument
152 entry->bar_offset = bar_offset; in irdma_user_mmap_entry_insert()
196 entry->bar_offset, entry->mmap_flag); in irdma_mmap()
198 pfn = (entry->bar_offset + in irdma_mmap()
219 entry->bar_offset, entry->mmap_flag, ret); in irdma_mmap()