Home
last modified time | relevance | path

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

/drivers/scsi/snic/
Dvnic_dev.c119 u32 bar_offset = ioread32(&r->bar_offset); in vnic_dev_discover_res() local
138 if (len + bar_offset > bar->len) { in vnic_dev_discover_res()
140 type, bar_offset, in vnic_dev_discover_res()
159 vdev->res[type].vaddr = (char __iomem *)bar->vaddr + bar_offset; in vnic_dev_discover_res()
Dvnic_resource.h64 u32 bar_offset; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hwrm.c423 u32 bar_offset = BNXT_GRCPF_REG_CHIMP_COMM; in __hwrm_send() local
450 bar_offset = BNXT_GRCPF_REG_KONG_COMM; in __hwrm_send()
485 __iowrite32_copy(bp->bar0 + bar_offset, data, msg_len / 4); in __hwrm_send()
488 writel(0, bp->bar0 + bar_offset + i); in __hwrm_send()
/drivers/video/fbdev/
Defifb.c349 static u64 bar_offset; variable
418 bar_resource->start + bar_offset != efifb_fix.smem_start) { in efifb_probe()
421 efifb_fix.smem_start = bar_resource->start + bar_offset; in efifb_probe()
665 bar_offset = offset; in record_efifb_bar_resource()
/drivers/scsi/fnic/
Dvnic_resource.h64 u32 bar_offset; member
Dvnic_dev.c119 u32 bar_offset = ioread32(&r->bar_offset); in vnic_dev_discover_res() local
135 if (len + bar_offset > bar->len) { in vnic_dev_discover_res()
139 type, bar_offset, in vnic_dev_discover_res()
155 vdev->res[type].vaddr = (char __iomem *)bar->vaddr + bar_offset; in vnic_dev_discover_res()
/drivers/net/ethernet/cisco/enic/
Dvnic_resource.h79 u32 bar_offset; member
Dvnic_dev.c89 u32 bar_offset = ioread32(&r->bar_offset); in vnic_dev_discover_res() local
108 if (len + bar_offset > bar[bar_num].len) { in vnic_dev_discover_res()
110 type, bar_offset, len, in vnic_dev_discover_res()
126 bar_offset; in vnic_dev_discover_res()
127 vdev->res[type].bus_addr = bar[bar_num].bus_addr + bar_offset; in vnic_dev_discover_res()
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c735 u32 bar_offset; member
837 priv->bar_offset = priv->offset & in nfp6000_area_acquire()
839 priv->bar_offset += NFP_PCIE_P2C_GENERAL_TARGET_OFFSET( in nfp6000_area_acquire()
841 priv->bar_offset += NFP_PCIE_P2C_GENERAL_TOKEN_OFFSET( in nfp6000_area_acquire()
844 priv->bar_offset = priv->offset & priv->bar->mask; in nfp6000_area_acquire()
852 priv->phys = nfp_bar_resource_start(priv->bar) + priv->bar_offset; in nfp6000_area_acquire()
860 priv->iomem = priv->bar->iomem + priv->bar_offset; in nfp6000_area_acquire()
/drivers/infiniband/hw/irdma/
Dverbs.h217 u64 bar_offset; member
Dverbs.c140 irdma_user_mmap_entry_insert(struct irdma_ucontext *ucontext, u64 bar_offset, in irdma_user_mmap_entry_insert() argument
149 entry->bar_offset = bar_offset; in irdma_user_mmap_entry_insert()
193 entry->bar_offset, entry->mmap_flag); in irdma_mmap()
195 pfn = (entry->bar_offset + in irdma_mmap()
216 entry->bar_offset, entry->mmap_flag, ret); in irdma_mmap()