Searched refs:bar_offset (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/drivers/staging/gasket/ |
D | gasket_core.c | 770 ulong bar_offset, ulong requested_length, in gasket_mm_get_mapping_addrs() argument 779 if (bar_offset + requested_length < range_start) { in gasket_mm_get_mapping_addrs() 785 } else if (bar_offset <= range_start) { in gasket_mm_get_mapping_addrs() 800 *virt_offset = range_start - bar_offset; in gasket_mm_get_mapping_addrs() 804 } else if (bar_offset > range_start && in gasket_mm_get_mapping_addrs() 805 bar_offset < range_end) { in gasket_mm_get_mapping_addrs() 816 mappable_region->start = bar_offset; in gasket_mm_get_mapping_addrs() 819 min(requested_length, range_end - bar_offset); in gasket_mm_get_mapping_addrs() 837 ulong *bar_offset) in gasket_mm_vma_bar_offset() argument 854 *bar_offset = in gasket_mm_vma_bar_offset() [all …]
|
/Linux-v5.4/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
|
/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | efifb.c | 338 static u64 bar_offset; variable 396 bar_resource->start + bar_offset != efifb_fix.smem_start) { in efifb_probe() 399 efifb_fix.smem_start = bar_resource->start + bar_offset; in efifb_probe() 636 bar_offset = offset; in record_efifb_bar_resource()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp6000_pcie.c | 733 u32 bar_offset; member 835 priv->bar_offset = priv->offset & in nfp6000_area_acquire() 837 priv->bar_offset += NFP_PCIE_P2C_GENERAL_TARGET_OFFSET( in nfp6000_area_acquire() 839 priv->bar_offset += NFP_PCIE_P2C_GENERAL_TOKEN_OFFSET( in nfp6000_area_acquire() 842 priv->bar_offset = priv->offset & priv->bar->mask; in nfp6000_area_acquire() 850 priv->phys = nfp_bar_resource_start(priv->bar) + priv->bar_offset; in nfp6000_area_acquire() 858 priv->iomem = priv->bar->iomem + priv->bar_offset; in nfp6000_area_acquire()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 4183 u32 bar_offset = BNXT_GRCPF_REG_CHIMP_COMM; in bnxt_hwrm_do_send_msg() local 4197 bar_offset = BNXT_GRCPF_REG_KONG_COMM; in bnxt_hwrm_do_send_msg() 4245 __iowrite32_copy(bp->bar0 + bar_offset, data, msg_len / 4); in bnxt_hwrm_do_send_msg() 4248 writel(0, bp->bar0 + bar_offset + i); in bnxt_hwrm_do_send_msg()
|