/linux/drivers/ntb/hw/intel/ |
H 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 …]
|
H 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()
|
H 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/ |
H 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()
|
H A D | nitrox_main.c | 465 ndev->bar_addr = ioremap(pci_resource_start(pdev, 0), in nitrox_probe() 467 if (!ndev->bar_addr) { in nitrox_probe() 508 iounmap(ndev->bar_addr); in nitrox_probe() 552 iounmap(ndev->bar_addr); in nitrox_remove()
|
/linux/drivers/infiniband/hw/mlx5/ |
H 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()
|
H A D | main.c | 2112 return (dev->mdev->bar_addr >> PAGE_SHIFT) + uar_idx / fw_uars_per_page; in uar_index2pfn() 2123 return (dev->mdev->bar_addr + (uar_idx / fw_uars_per_page) * PAGE_SIZE); in uar_index2paddress() 4185 var_table->hw_start_addr = dev->mdev->bar_addr + in mlx5_ib_init_var_table()
|
/linux/include/misc/ |
H A D | cxllib.h | 45 u64 bar_addr; /* address of the start of capi window */ member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_hw.c | 221 u32 bar_addr = qed_set_ptt(p_hwfn, p_ptt, hw_addr); in qed_wr() local 223 REG_WR(p_hwfn, bar_addr, val); in qed_wr() 226 bar_addr, hw_addr, val); in qed_wr() 233 u32 bar_addr = qed_set_ptt(p_hwfn, p_ptt, hw_addr); in qed_rd() local 234 u32 val = REG_RD(p_hwfn, bar_addr); in qed_rd() 238 bar_addr, hw_addr, val); in qed_rd()
|
/linux/drivers/pci/controller/ |
H A D | pci-xgene.c | 485 void __iomem *bar_addr; in xgene_pcie_setup_ib_reg() local 508 bar_addr = cfg_base + PCI_BASE_ADDRESS_0; in xgene_pcie_setup_ib_reg() 509 writel(bar_low, bar_addr); in xgene_pcie_setup_ib_reg() 510 writel(upper_32_bits(cpu_addr), bar_addr + 0x4); in xgene_pcie_setup_ib_reg()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
H A D | driver.c | 39 mdev->bar_addr = sf_dev->bar_base_addr; in mlx5_sf_dev_probe()
|
/linux/drivers/ntb/hw/mscc/ |
H A D | ntb_hw_switchtec.c | 1095 u64 bar_addr; in crosslink_enum_partition() local 1103 bar_addr = ioread64(&mmio_pff->pci_bar64[i]); in crosslink_enum_partition() 1104 bar_addr &= ~0xf; in crosslink_enum_partition() 1108 i*2, bar_addr); in crosslink_enum_partition() 1110 if (bar_addr != bar_space * i) in crosslink_enum_partition() 1113 bar_addrs[bar_cnt++] = bar_addr; in crosslink_enum_partition()
|
/linux/drivers/misc/cxl/ |
H A D | cxllib.c | 105 cfg->bar_addr = CXL_CAPI_WINDOW_START; in cxllib_get_xsl_config()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | uar.c | 78 return (mdev->bar_addr >> PAGE_SHIFT) + system_page_index; in uar2pfn()
|
H A D | main.c | 907 dev->bar_addr = pci_resource_start(pdev, 0); in mlx5_pci_init() 934 dev->iseg_base = dev->bar_addr; in mlx5_pci_init()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | qmi.h | 404 u64 bar_addr; member
|
H A D | qmi.c | 790 bar_addr), 2163 if (!resp.bar_addr || in ath11k_qmi_request_device_info() 2166 resp.bar_addr, resp.bar_size); in ath11k_qmi_request_device_info() 2171 bar_addr_va = devm_ioremap(ab->dev, resp.bar_addr, resp.bar_size); in ath11k_qmi_request_device_info()
|
/linux/drivers/vdpa/mlx5/core/ |
H A D | resources.c | 277 kick_addr = mdev->bar_addr + offset; in mlx5_vdpa_alloc_resources()
|
/linux/include/linux/mlx5/ |
H A D | driver.h | 800 phys_addr_t bar_addr; member
|