/drivers/net/ethernet/neterion/ |
D | s2io.c | 1009 struct XENA_dev_config __iomem *bar0 = nic->bar0; in s2io_verify_pci_mode() local 1013 val64 = readq(&bar0->pci_mode); in s2io_verify_pci_mode() 1043 struct XENA_dev_config __iomem *bar0 = nic->bar0; in s2io_print_pci_mode() local 1049 val64 = readq(&bar0->pci_mode); in s2io_print_pci_mode() 1113 struct XENA_dev_config __iomem *bar0 = nic->bar0; in init_tti() local 1137 writeq(val64, &bar0->tti_data1_mem); in init_tti() 1162 writeq(val64, &bar0->tti_data2_mem); in init_tti() 1167 writeq(val64, &bar0->tti_command_mem); in init_tti() 1169 if (wait_for_cmd_complete(&bar0->tti_command_mem, in init_tti() 1189 struct XENA_dev_config __iomem *bar0 = nic->bar0; in init_nic() local [all …]
|
/drivers/net/mdio/ |
D | mdio-thunder.c | 18 void __iomem *bar0; member 50 nexus->bar0 = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); in thunder_mdiobus_pci_probe() 51 if (!nexus->bar0) { in thunder_mdiobus_pci_probe() 87 bus->register_base = nexus->bar0 + in thunder_mdiobus_pci_probe()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | shadowramin.c | 27 u32 bar0; member 49 nvkm_wr32(device, 0x001700, priv->bar0); in pramin_fini() 111 priv->bar0 = nvkm_rd32(device, 0x001700); in pramin_init()
|
/drivers/scsi/snic/ |
D | snic_main.c | 274 if (snic->bar0.vaddr) in snic_iounmap() 275 iounmap(snic->bar0.vaddr); in snic_iounmap() 451 snic->bar0.vaddr = pci_iomap(pdev, 0, 0); in snic_probe() 452 if (!snic->bar0.vaddr) { in snic_probe() 460 snic->bar0.bus_addr = pci_resource_start(pdev, 0); in snic_probe() 461 snic->bar0.len = pci_resource_len(pdev, 0); in snic_probe() 462 SNIC_BUG_ON(snic->bar0.bus_addr == 0); in snic_probe() 465 snic->vdev = svnic_dev_alloc_discover(NULL, snic, pdev, &snic->bar0, 1); in snic_probe()
|
D | snic.h | 283 struct vnic_dev_bar bar0; member
|
/drivers/net/wireless/ath/ath9k/ |
D | ath9k_pci_owl_loader.c | 42 u32 bar0; in ath9k_pci_fixup() local 63 pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, &bar0); in ath9k_pci_fixup() 94 pci_write_config_dword(pdev, PCI_BASE_ADDRESS_0, bar0); in ath9k_pci_fixup()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 98 struct vnic_dev_bar *bar0; in usnic_vnic_dump() local 102 bar0 = usnic_vnic_get_bar(vnic, 0); in usnic_vnic_dump() 106 &bar0->bus_addr, in usnic_vnic_dump() 107 bar0->vaddr, bar0->len); in usnic_vnic_dump()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic.h | 1202 #define NX_RD_DUMP_REG(addr, bar0, data) do { \ argument 1203 writel((addr & 0xFFFF0000), (void __iomem *) (bar0 + \ 1205 readl((void __iomem *) (bar0 + NX_FW_DUMP_REG1)); \ 1206 *data = readl((void __iomem *) (bar0 + NX_FW_DUMP_REG2 + \ 1210 #define NX_WR_DUMP_REG(addr, bar0, data) do { \ argument 1211 writel((addr & 0xFFFF0000), (void __iomem *) (bar0 + \ 1213 readl((void __iomem *) (bar0 + NX_FW_DUMP_REG1)); \ 1214 writel(data, (void __iomem *) (bar0 + NX_FW_DUMP_REG2 + LSW(addr)));\ 1215 readl((void __iomem *) (bar0 + NX_FW_DUMP_REG2 + LSW(addr))); \
|
/drivers/media/pci/cobalt/ |
D | cobalt-driver.h | 257 void __iomem *bar0, *bar1; member 299 iowrite32(val, cobalt->bar0 + reg); in cobalt_write_bar0() 304 return ioread32(cobalt->bar0 + reg); in cobalt_read_bar0()
|
D | cobalt-driver.c | 281 if (cobalt->bar0) { in cobalt_pci_iounmap() 282 pci_iounmap(pci_dev, cobalt->bar0); in cobalt_pci_iounmap() 283 cobalt->bar0 = NULL; in cobalt_pci_iounmap() 352 cobalt->bar0 = pci_iomap(pci_dev, 0, 0); in cobalt_setup_pci() 358 if (!cobalt->bar0 || !cobalt->bar1) { in cobalt_setup_pci()
|
D | cobalt-omnitek.c | 42 #define BASE (cobalt->bar0)
|
/drivers/scsi/fnic/ |
D | fnic_main.c | 538 if (fnic->bar0.vaddr) in fnic_iounmap() 539 iounmap(fnic->bar0.vaddr); in fnic_iounmap() 636 fnic->bar0.vaddr = pci_iomap(pdev, 0, 0); in fnic_probe() 637 fnic->bar0.bus_addr = pci_resource_start(pdev, 0); in fnic_probe() 638 fnic->bar0.len = pci_resource_len(pdev, 0); in fnic_probe() 640 if (!fnic->bar0.vaddr) { in fnic_probe() 648 fnic->vdev = vnic_dev_register(NULL, fnic, pdev, &fnic->bar0); in fnic_probe()
|
D | fnic.h | 220 struct vnic_dev_bar bar0; member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ptp.c | 69 high_before = readl(bp->bar0 + ptp->refclk_mapped_regs[1]); in bnxt_refclk_read() 71 low = readl(bp->bar0 + ptp->refclk_mapped_regs[0]); in bnxt_refclk_read() 73 high_now = readl(bp->bar0 + ptp->refclk_mapped_regs[1]); in bnxt_refclk_read() 76 low = readl(bp->bar0 + ptp->refclk_mapped_regs[0]); in bnxt_refclk_read() 521 writel(reg_base, bp->bar0 + win_off); in bnxt_map_regs() 546 writel(0, bp->bar0 + BNXT_GRCPF_REG_WINDOW_BASE_OUT + in bnxt_unmap_ptp_regs()
|
D | bnxt_hwrm.c | 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() 491 writel(1, bp->bar0 + doorbell_offset); in __hwrm_send()
|
/drivers/tty/serial/ |
D | rp2.c | 195 void __iomem *bar0; member 617 writel(4, card->bar0 + RP2_FPGA_CTL0); in rp2_init_card() 618 writel(0, card->bar0 + RP2_FPGA_CTL1); in rp2_init_card() 624 writel(RP2_IRQ_MASK_EN_m, card->bar0 + RP2_IRQ_MASK); in rp2_init_card() 740 card->bar0 = bars[0]; in rp2_probe()
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-config.c | 570 __vxge_hw_device_toc_get(void __iomem *bar0) in __vxge_hw_device_toc_get() argument 577 (struct vxge_hw_legacy_reg __iomem *)bar0; in __vxge_hw_device_toc_get() 584 toc = bar0 + val64; in __vxge_hw_device_toc_get() 602 hldev->legacy_reg = hldev->bar0; in __vxge_hw_device_reg_addr_get() 604 hldev->toc_reg = __vxge_hw_device_toc_get(hldev->bar0); in __vxge_hw_device_reg_addr_get() 611 hldev->common_reg = hldev->bar0 + val64; in __vxge_hw_device_reg_addr_get() 614 hldev->mrpcim_reg = hldev->bar0 + val64; in __vxge_hw_device_reg_addr_get() 618 hldev->srpcim_reg[i] = hldev->bar0 + val64; in __vxge_hw_device_reg_addr_get() 623 hldev->vpmgmt_reg[i] = hldev->bar0 + val64; in __vxge_hw_device_reg_addr_get() 628 hldev->vpath_reg[i] = hldev->bar0 + val64; in __vxge_hw_device_reg_addr_get() [all …]
|
D | vxge-config.h | 737 void __iomem *bar0; member 841 void __iomem *bar0; member 1850 void __iomem *bar0,
|
D | vxge-main.h | 389 void __iomem *bar0; member
|
D | vxge-main.c | 4409 attr.bar0 = pci_ioremap_bar(pdev, 0); in vxge_probe() 4410 if (!attr.bar0) { in vxge_probe() 4418 attr.bar0, in vxge_probe() 4421 status = vxge_hw_device_hw_info_get(attr.bar0, in vxge_probe() 4579 vdev->bar0 = attr.bar0; in vxge_probe() 4725 iounmap(attr.bar0); in vxge_probe() 4766 iounmap(vdev->bar0); in vxge_remove()
|
/drivers/scsi/aacraid/ |
D | src.c | 623 iounmap(dev->regs.src.bar0); in aac_src_ioremap() 624 dev->base = dev->regs.src.bar0 = NULL; in aac_src_ioremap() 632 dev->base = dev->regs.src.bar0 = ioremap(dev->base_start, size); in aac_src_ioremap() 652 iounmap(dev->regs.src.bar0); in aac_srcv_ioremap() 653 dev->base = dev->regs.src.bar0 = NULL; in aac_srcv_ioremap() 662 dev->base = dev->regs.src.bar0 = ioremap(dev->base_start, size); in aac_srcv_ioremap()
|
D | aacraid.h | 1210 #define src_readb(AEP, CSR) readb(&((AEP)->regs.src.bar0->CSR)) 1211 #define src_readl(AEP, CSR) readl(&((AEP)->regs.src.bar0->CSR)) 1213 &((AEP)->regs.src.bar0->CSR)) 1215 &((AEP)->regs.src.bar0->CSR)) 1218 &((AEP)->regs.src.bar0->CSR)) 1630 struct src_registers __iomem *bar0; member
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 282 static void qlcnic_read_window_reg(u32 addr, void __iomem *bar0, u32 *data) in qlcnic_read_window_reg() argument 288 val = bar0 + QLCNIC_FW_DUMP_REG1; in qlcnic_read_window_reg() 291 val = bar0 + QLCNIC_FW_DUMP_REG2 + LSW(addr); in qlcnic_read_window_reg() 295 static void qlcnic_write_window_reg(u32 addr, void __iomem *bar0, u32 data) in qlcnic_write_window_reg() argument 301 val = bar0 + QLCNIC_FW_DUMP_REG1; in qlcnic_write_window_reg() 304 val = bar0 + QLCNIC_FW_DUMP_REG2 + LSW(addr); in qlcnic_write_window_reg()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | bcmsdh.c | 226 u32 v, bar0 = addr & SBSDIO_SBWINDOW_MASK; in brcmf_sdiod_set_backplane_window() local 229 if (bar0 == sdiodev->sbwad) in brcmf_sdiod_set_backplane_window() 232 v = bar0 >> 8; in brcmf_sdiod_set_backplane_window() 239 sdiodev->sbwad = bar0; in brcmf_sdiod_set_backplane_window()
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 307 void __iomem *bar0; /* BAR0 address */ member
|