/linux/drivers/ntb/hw/intel/ |
A D | ntb_hw_gen1.c | 1298 phys_addr_t bar_addr; in xeon_setup_b2b_mw() local 1391 bar_addr = addr->bar0_addr; in xeon_setup_b2b_mw() 1393 bar_addr = addr->bar2_addr64; in xeon_setup_b2b_mw() 1395 bar_addr = addr->bar4_addr64; in xeon_setup_b2b_mw() 1397 bar_addr = addr->bar4_addr32; in xeon_setup_b2b_mw() 1399 bar_addr = addr->bar5_addr32; in xeon_setup_b2b_mw() 1417 bar_addr = addr->bar4_addr64 + in xeon_setup_b2b_mw() 1423 bar_addr = addr->bar4_addr32 + in xeon_setup_b2b_mw() 1429 bar_addr = addr->bar5_addr32 + in xeon_setup_b2b_mw() 1444 bar_addr = addr->bar4_addr64 + in xeon_setup_b2b_mw() [all …]
|
A D | ntb_hw_gen3.c | 148 phys_addr_t bar_addr; in gen3_setup_b2b_mw() local 154 bar_addr = addr->bar2_addr64; in gen3_setup_b2b_mw() 155 iowrite64(bar_addr, mmio + GEN3_IMBAR1XLMT_OFFSET); in gen3_setup_b2b_mw() 156 bar_addr = ioread64(mmio + GEN3_IMBAR1XLMT_OFFSET); in gen3_setup_b2b_mw() 157 dev_dbg(&pdev->dev, "IMBAR1XLMT %#018llx\n", bar_addr); in gen3_setup_b2b_mw() 159 bar_addr = addr->bar4_addr64; in gen3_setup_b2b_mw() 160 iowrite64(bar_addr, mmio + GEN3_IMBAR2XLMT_OFFSET); in gen3_setup_b2b_mw() 161 bar_addr = ioread64(mmio + GEN3_IMBAR2XLMT_OFFSET); in gen3_setup_b2b_mw() 162 dev_dbg(&pdev->dev, "IMBAR2XLMT %#018llx\n", bar_addr); in gen3_setup_b2b_mw()
|
A D | ntb_hw_gen4.c | 102 phys_addr_t bar_addr; in gen4_setup_b2b_mw() local 108 bar_addr = addr->bar2_addr64; in gen4_setup_b2b_mw() 109 iowrite64(bar_addr, mmio + GEN4_IM23XLMT_OFFSET); in gen4_setup_b2b_mw() 110 bar_addr = ioread64(mmio + GEN4_IM23XLMT_OFFSET); in gen4_setup_b2b_mw() 111 dev_dbg(&pdev->dev, "IM23XLMT %#018llx\n", bar_addr); in gen4_setup_b2b_mw() 113 bar_addr = addr->bar4_addr64; in gen4_setup_b2b_mw() 114 iowrite64(bar_addr, mmio + GEN4_IM45XLMT_OFFSET); in gen4_setup_b2b_mw() 115 bar_addr = ioread64(mmio + GEN4_IM45XLMT_OFFSET); in gen4_setup_b2b_mw() 116 dev_dbg(&pdev->dev, "IM45XLMT %#018llx\n", bar_addr); in gen4_setup_b2b_mw()
|
/linux/drivers/crypto/cavium/nitrox/ |
A D | nitrox_dev.h | 210 ((ndev)->bar_addr + (offset)) 239 u8 __iomem *bar_addr; member 277 return readq(ndev->bar_addr + offset); in nitrox_read_csr() 289 writeq(value, (ndev->bar_addr + offset)); in nitrox_write_csr()
|
A D | nitrox_main.c | 464 ndev->bar_addr = ioremap(pci_resource_start(pdev, 0), in nitrox_probe() 466 if (!ndev->bar_addr) { in nitrox_probe() 507 iounmap(ndev->bar_addr); in nitrox_probe() 551 iounmap(ndev->bar_addr); in nitrox_remove()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | dm.c | 78 *addr = dev->bar_addr + in mlx5_cmd_alloc_memic() 97 addr -= dev->bar_addr; in mlx5_cmd_dealloc_memic() 123 MLX5_SET64(modify_memic_in, in, memic_start_addr, addr - dev->bar_addr); in mlx5_cmd_dealloc_memic_op() 139 MLX5_SET64(modify_memic_in, in, memic_start_addr, addr - dev->bar_addr); in mlx5_cmd_alloc_memic_op() 145 *op_addr = dev->bar_addr + in mlx5_cmd_alloc_memic_op()
|
A D | main.c | 2043 return (dev->mdev->bar_addr >> PAGE_SHIFT) + uar_idx / fw_uars_per_page; in uar_index2pfn() 2054 return (dev->mdev->bar_addr + (uar_idx / fw_uars_per_page) * PAGE_SIZE); in uar_index2paddress() 3822 var_table->hw_start_addr = dev->mdev->bar_addr + in mlx5_ib_init_var_table()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_hw.c | 203 u32 bar_addr = qed_set_ptt(p_hwfn, p_ptt, hw_addr); in qed_wr() local 205 REG_WR(p_hwfn, bar_addr, val); in qed_wr() 208 bar_addr, hw_addr, val); in qed_wr() 215 u32 bar_addr = qed_set_ptt(p_hwfn, p_ptt, hw_addr); in qed_rd() local 216 u32 val = REG_RD(p_hwfn, bar_addr); in qed_rd() 220 bar_addr, hw_addr, val); in qed_rd()
|
/linux/drivers/pci/controller/ |
A D | pci-xgene.c | 487 void __iomem *bar_addr; in xgene_pcie_setup_ib_reg() local 510 bar_addr = cfg_base + PCI_BASE_ADDRESS_0; in xgene_pcie_setup_ib_reg() 511 writel(bar_low, bar_addr); in xgene_pcie_setup_ib_reg() 512 writel(upper_32_bits(cpu_addr), bar_addr + 0x4); in xgene_pcie_setup_ib_reg()
|
/linux/include/misc/ |
A D | cxllib.h | 45 u64 bar_addr; /* address of the start of capi window */ member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
A D | driver.c | 24 mdev->bar_addr = sf_dev->bar_base_addr; in mlx5_sf_dev_probe()
|
/linux/drivers/ntb/hw/mscc/ |
A D | ntb_hw_switchtec.c | 1097 u64 bar_addr; in crosslink_enum_partition() local 1105 bar_addr = ioread64(&mmio_pff->pci_bar64[i]); in crosslink_enum_partition() 1106 bar_addr &= ~0xf; in crosslink_enum_partition() 1110 i*2, bar_addr); in crosslink_enum_partition() 1112 if (bar_addr != bar_space * i) in crosslink_enum_partition() 1115 bar_addrs[bar_cnt++] = bar_addr; in crosslink_enum_partition()
|
/linux/drivers/misc/cxl/ |
A D | cxllib.c | 104 cfg->bar_addr = CXL_CAPI_WINDOW_START; in cxllib_get_xsl_config()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | uar.c | 80 return (mdev->bar_addr >> PAGE_SHIFT) + system_page_index; in uar2pfn()
|
A D | main.c | 761 dev->bar_addr = pci_resource_start(pdev, 0); in mlx5_pci_init() 788 dev->iseg_base = dev->bar_addr; in mlx5_pci_init()
|
/linux/drivers/vdpa/mlx5/core/ |
A D | resources.c | 277 kick_addr = mdev->bar_addr + offset; in mlx5_vdpa_alloc_resources()
|
/linux/include/linux/mlx5/ |
A D | driver.h | 744 phys_addr_t bar_addr; member
|