Searched refs:bar_offset (Results 1 – 11 of 11) sorted by relevance
/drivers/scsi/snic/ |
D | vnic_dev.c | 119 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()
|
D | vnic_resource.h | 64 u32 bar_offset; member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hwrm.c | 423 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/ |
D | efifb.c | 349 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/ |
D | vnic_resource.h | 64 u32 bar_offset; member
|
D | vnic_dev.c | 119 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/ |
D | vnic_resource.h | 79 u32 bar_offset; member
|
D | vnic_dev.c | 89 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/ |
D | nfp6000_pcie.c | 735 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/ |
D | verbs.h | 217 u64 bar_offset; member
|
D | verbs.c | 140 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()
|