Home
last modified time | relevance | path

Searched refs:bar1 (Results 1 – 25 of 26) sorted by relevance

12

/drivers/media/pci/cobalt/
Dcobalt-driver.h125 (cobalt->bar1 + COBALT_VID_BASE + (c) * COBALT_VID_SIZE)
127 (cobalt->bar1 + COBALT_VID_BASE + (c) * COBALT_VID_SIZE + 0x100)
129 (cobalt->bar1 + COBALT_VID_BASE + (c) * COBALT_VID_SIZE + 0x200)
131 (cobalt->bar1 + COBALT_VID_BASE + (c) * COBALT_VID_SIZE + 0x300)
133 (cobalt->bar1 + COBALT_VID_BASE + (c) * COBALT_VID_SIZE + 0x400)
135 (cobalt->bar1 + COBALT_VID_BASE + (c) * COBALT_VID_SIZE + 0x500)
137 #define COBALT_TX_BASE(cobalt) (cobalt->bar1 + COBALT_VID_BASE + 0x5000)
255 void __iomem *bar0, *bar1; member
307 iowrite32(val, cobalt->bar1 + reg); in cobalt_write_bar1()
312 return ioread32(cobalt->bar1 + reg); in cobalt_read_bar1()
[all …]
Dcobalt-i2c.c88 (cobalt->bar1 + COBALT_I2C_0_BASE); in cobalt_i2c_regs()
91 (cobalt->bar1 + COBALT_I2C_1_BASE); in cobalt_i2c_regs()
94 (cobalt->bar1 + COBALT_I2C_2_BASE); in cobalt_i2c_regs()
97 (cobalt->bar1 + COBALT_I2C_3_BASE); in cobalt_i2c_regs()
100 (cobalt->bar1 + COBALT_I2C_HSMA_BASE); in cobalt_i2c_regs()
Dcobalt-driver.c284 if (cobalt->bar1) { in cobalt_pci_iounmap()
285 pci_iounmap(pci_dev, cobalt->bar1); in cobalt_pci_iounmap()
286 cobalt->bar1 = NULL; in cobalt_pci_iounmap()
352 cobalt->bar1 = pci_iomap(pci_dev, 1, 0); in cobalt_setup_pci()
353 if (cobalt->bar1 == NULL) { in cobalt_setup_pci()
354 cobalt->bar1 = pci_iomap(pci_dev, 2, 0); in cobalt_setup_pci()
357 if (!cobalt->bar0 || !cobalt->bar1) { in cobalt_setup_pci()
406 ioread8(cobalt->bar1 + COBALT_HDL_INFO_BASE + i); in cobalt_hdl_info_get()
Dcobalt-cpld.c17 return cobalt_bus_read32(cobalt->bar1, ADRS(offset)); in cpld_read()
22 return cobalt_bus_write32(cobalt->bar1, ADRS(offset), val); in cpld_write()
Dcobalt-flash.c91 map->virt = cobalt->bar1; in cobalt_flash_probe()
Dcobalt-v4l2.c441 void __iomem *adrs = cobalt->bar1 + regs->reg; in cobalt_cobaltc()
/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dnv50.c69 nvkm_wr32(device, 0x001708, 0x80000000 | bar->bar1->node->offset >> 4); in nv50_bar_bar1_init()
187 ret = nvkm_gpuobj_new(device, 24, 16, false, bar->mem, &bar->bar1); in nv50_bar_oneinit()
191 nvkm_kmap(bar->bar1); in nv50_bar_oneinit()
192 nvkm_wo32(bar->bar1, 0x00, 0x7fc00000); in nv50_bar_oneinit()
193 nvkm_wo32(bar->bar1, 0x04, lower_32_bits(limit)); in nv50_bar_oneinit()
194 nvkm_wo32(bar->bar1, 0x08, lower_32_bits(start)); in nv50_bar_oneinit()
195 nvkm_wo32(bar->bar1, 0x0c, upper_32_bits(limit) << 24 | in nv50_bar_oneinit()
197 nvkm_wo32(bar->bar1, 0x10, 0x00000000); in nv50_bar_oneinit()
198 nvkm_wo32(bar->bar1, 0x14, 0x00000000); in nv50_bar_oneinit()
199 nvkm_done(bar->bar1); in nv50_bar_oneinit()
[all …]
Dbase.c36 return device->bar->func->bar1.vmm(device->bar); in nvkm_bar_bar1_vmm()
44 bar->func->bar1.init(bar); in nvkm_bar_bar1_reset()
45 bar->func->bar1.wait(bar); in nvkm_bar_bar1_reset()
96 if (bar->func->bar1.fini) in nvkm_bar_fini()
97 bar->func->bar1.fini(bar); in nvkm_bar_fini()
105 bar->func->bar1.init(bar); in nvkm_bar_init()
106 bar->func->bar1.wait(bar); in nvkm_bar_init()
Dgm107.c50 .bar1.init = gf100_bar_bar1_init,
51 .bar1.fini = gf100_bar_bar1_fini,
52 .bar1.wait = gm107_bar_bar1_wait,
53 .bar1.vmm = gf100_bar_bar1_vmm,
Dg84.c47 .bar1.init = nv50_bar_bar1_init,
48 .bar1.fini = nv50_bar_bar1_fini,
49 .bar1.wait = nv50_bar_bar1_wait,
50 .bar1.vmm = nv50_bar_bar1_vmm,
Dtu102.c83 .bar1.init = tu102_bar_bar1_init,
84 .bar1.fini = tu102_bar_bar1_fini,
85 .bar1.wait = tu102_bar_bar1_wait,
86 .bar1.vmm = gf100_bar_bar1_vmm,
Dgm20b.c28 .bar1.init = gf100_bar_bar1_init,
29 .bar1.wait = gm107_bar_bar1_wait,
30 .bar1.vmm = gf100_bar_bar1_vmm,
Dgk20a.c28 .bar1.init = gf100_bar_bar1_init,
29 .bar1.wait = gf100_bar_bar1_wait,
30 .bar1.vmm = gf100_bar_bar1_vmm,
Dgf100.c180 .bar1.init = gf100_bar_bar1_init,
181 .bar1.fini = gf100_bar_bar1_fini,
182 .bar1.wait = gf100_bar_bar1_wait,
183 .bar1.vmm = gf100_bar_bar1_vmm,
Dpriv.h20 } bar1, bar2; member
Dnv50.h14 struct nvkm_gpuobj *bar1; member
/drivers/scsi/aacraid/
Dsrc.c611 iounmap(dev->regs.src.bar1); in aac_src_ioremap()
612 dev->regs.src.bar1 = NULL; in aac_src_ioremap()
617 dev->regs.src.bar1 = ioremap(pci_resource_start(dev->pdev, 2), in aac_src_ioremap()
620 if (dev->regs.src.bar1 == NULL) in aac_src_ioremap()
624 iounmap(dev->regs.src.bar1); in aac_src_ioremap()
625 dev->regs.src.bar1 = NULL; in aac_src_ioremap()
646 dev->regs.src.bar1 = in aac_srcv_ioremap()
649 if (dev->regs.src.bar1 == NULL) in aac_srcv_ioremap()
653 iounmap(dev->regs.src.bar1); in aac_srcv_ioremap()
654 dev->regs.src.bar1 = NULL; in aac_srcv_ioremap()
[all …]
/drivers/tty/serial/
Drp2.c196 void __iomem *bar1; member
487 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_asic_interrupt()
600 void __iomem *base = card->bar1 + RP2_ASIC_OFFSET(asic_id); in rp2_reset_asic()
686 rp->asic_base = card->bar1; in rp2_fw_cb()
687 rp->base = card->bar1 + RP2_PORT_BASE + j*RP2_PORT_SPACING; in rp2_fw_cb()
688 rp->ucode = card->bar1 + RP2_UCODE_BASE + j*RP2_UCODE_SPACING; in rp2_fw_cb()
762 card->bar1 = bars[1]; in rp2_probe()
/drivers/net/ethernet/cavium/liquidio/
Dcn66xx_device.c417 u64 bar1; in lio_cn6xxx_bar1_idx_setup() local
420 bar1 = lio_pci_readq(oct, CN6XXX_BAR1_REG(idx, oct->pcie_port)); in lio_cn6xxx_bar1_idx_setup()
421 lio_pci_writeq(oct, (bar1 & 0xFFFFFFFEULL), in lio_cn6xxx_bar1_idx_setup()
423 bar1 = lio_pci_readq(oct, CN6XXX_BAR1_REG(idx, oct->pcie_port)); in lio_cn6xxx_bar1_idx_setup()
433 bar1 = lio_pci_readq(oct, CN6XXX_BAR1_REG(idx, oct->pcie_port)); in lio_cn6xxx_bar1_idx_setup()
Dcn23xx_pf_device.c1045 u64 bar1; in cn23xx_bar1_idx_setup() local
1051 WRITE_ONCE(bar1, reg_adr); in cn23xx_bar1_idx_setup()
1052 lio_pci_writeq(oct, (READ_ONCE(bar1) & 0xFFFFFFFEULL), in cn23xx_bar1_idx_setup()
1056 WRITE_ONCE(bar1, reg_adr); in cn23xx_bar1_idx_setup()
1066 WRITE_ONCE(bar1, lio_pci_readq( in cn23xx_bar1_idx_setup()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.h662 u32 bar1; member
/drivers/net/ethernet/neterion/
Ds2io.h869 void __iomem *bar1; member
Ds2io.c7847 sp->bar1 = pci_ioremap_bar(pdev, 2); in s2io_init_nic()
7848 if (!sp->bar1) { in s2io_init_nic()
7857 mac_control->tx_FIFO_start[j] = sp->bar1 + (j * 0x00020000); in s2io_init_nic()
8120 iounmap(sp->bar1); in s2io_init_nic()
8161 iounmap(sp->bar1); in s2io_rem_nic()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c1932 val = readl(bp->bar1 + reg_off); in bnxt_fw_health_readl()
5360 db->doorbell = bp->bar1 + 0x10000; in bnxt_set_db()
5362 db->doorbell = bp->bar1 + 0x4000; in bnxt_set_db()
5380 db->doorbell = bp->bar1 + map_idx * 0x80; in bnxt_set_db()
10372 if (bp->bar1) { in bnxt_unmap_bars()
10373 pci_iounmap(pdev, bp->bar1); in bnxt_unmap_bars()
10374 bp->bar1 = NULL; in bnxt_unmap_bars()
10599 writel(val, bp->bar1 + reg_off); in bnxt_fw_reset_writel()
10812 bp->bar1 = pci_ioremap_bar(pdev, 2); in bnxt_init_board()
10813 if (!bp->bar1) { in bnxt_init_board()
Dbnxt.h1406 void __iomem *bar1; member

12