Home
last modified time | relevance | path

Searched refs:bar0 (Results 1 – 25 of 44) sorted by relevance

12

/linux/drivers/net/ethernet/neterion/
A Ds2io.c1009 struct XENA_dev_config __iomem *bar0 = nic->bar0; in s2io_verify_pci_mode() local
1043 struct XENA_dev_config __iomem *bar0 = nic->bar0; in s2io_print_pci_mode() local
1113 struct XENA_dev_config __iomem *bar0 = nic->bar0; in init_tti() local
1189 struct XENA_dev_config __iomem *bar0 = nic->bar0; in init_nic() local
1852 struct XENA_dev_config __iomem *bar0 = nic->bar0; in en_dis_err_alarms() local
2078 struct XENA_dev_config __iomem *bar0 = sp->bar0; in verify_pcc_quiescent() local
2120 struct XENA_dev_config __iomem *bar0 = sp->bar0; in verify_xena_quiescence() local
2186 struct XENA_dev_config __iomem *bar0 = sp->bar0; in fix_mac_address() local
3090 struct XENA_dev_config __iomem *bar0 = sp->bar0; in s2io_mdio_write() local
3136 struct XENA_dev_config __iomem *bar0 = sp->bar0; in s2io_mdio_read() local
[all …]
/linux/Documentation/misc-devices/
A Dspear-pcie-gadget.rst46 bar0_size: returns size of bar0 in hex.
47 bar0_address returns address of bar0 mapped area in hex.
48 bar0_rw_offset returns offset of bar0 for which bar0_data will return value.
65 bar0_size write size of bar0 in hex. default bar0 size is 1000 (hex)
67 bar0_address write address of bar0 mapped area in hex. (default mapping of
68 bar0 is SYSRAM1(E0800000). Always program bar size before bar
71 bar0_rw_offset write offset of bar0 for which bar0_data will write value.
102 check for programmed bar0 size::
/linux/drivers/net/mdio/
A Dmdio-thunder.c18 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()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dshadowramin.c27 u32 bar0; member
49 nvkm_wr32(device, 0x001700, priv->bar0); in pramin_fini()
111 priv->bar0 = nvkm_rd32(device, 0x001700); in pramin_init()
/linux/arch/x86/kernel/
A Dearly_printk.c222 u32 classcode, bar0; in early_pci_serial_init() local
264 bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in early_pci_serial_init()
279 if (bar0 & 0x01) { in early_pci_serial_init()
283 early_serial_base = bar0&0xfffffffc; in early_pci_serial_init()
292 (unsigned long)early_ioremap(bar0 & 0xfffffff0, 0x10); in early_pci_serial_init()
/linux/drivers/scsi/snic/
A Dsnic_main.c274 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()
/linux/drivers/net/wireless/ath/ath9k/
A Dath9k_pci_owl_loader.c47 u32 bar0; in ath9k_pci_fixup() local
74 pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, &bar0); in ath9k_pci_fixup()
105 pci_write_config_dword(pdev, PCI_BASE_ADDRESS_0, bar0); in ath9k_pci_fixup()
/linux/drivers/infiniband/hw/usnic/
A Dusnic_vnic.c98 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()
/linux/Documentation/ABI/testing/
A Dconfigfs-spear-pcie-gadget29 bar0_address used to write and read bar0 mapped area in hex.
30 bar0_rw_offset used to write and read offset of bar0 where bar0_data
/linux/drivers/net/ethernet/qlogic/netxen/
A Dnetxen_nic.h1202 #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))); \
/linux/drivers/media/pci/cobalt/
A Dcobalt-driver.h257 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()
A Dcobalt-driver.c280 if (cobalt->bar0) { in cobalt_pci_iounmap()
281 pci_iounmap(pci_dev, cobalt->bar0); in cobalt_pci_iounmap()
282 cobalt->bar0 = NULL; in cobalt_pci_iounmap()
351 cobalt->bar0 = pci_iomap(pci_dev, 0, 0); in cobalt_setup_pci()
357 if (!cobalt->bar0 || !cobalt->bar1) { in cobalt_setup_pci()
/linux/drivers/scsi/fnic/
A Dfnic_main.c538 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()
/linux/arch/mips/pci/
A Dpci-rt2880.c238 u32 bar0; in pcibios_plat_dev_init() local
245 &bar0); in pcibios_plat_dev_init()
/linux/drivers/tty/serial/
A Drp2.c195 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()
/linux/drivers/net/ethernet/neterion/vxge/
A Dvxge-config.c584 toc = bar0 + val64; in __vxge_hw_device_toc_get()
602 hldev->legacy_reg = 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()
1013 toc = __vxge_hw_device_toc_get(bar0); in vxge_hw_device_hw_info_get()
1020 common_reg = bar0 + val64; in vxge_hw_device_hw_info_get()
1040 vpmgmt_reg = bar0 + val64; in vxge_hw_device_hw_info_get()
1049 mrpcim_reg = bar0 + val64; in vxge_hw_device_hw_info_get()
1058 vpath.vp_reg = bar0 + val64; in vxge_hw_device_hw_info_get()
1081 vpath.vp_reg = bar0 + val64; in vxge_hw_device_hw_info_get()
[all …]
A Dvxge-config.h737 void __iomem *bar0; member
841 void __iomem *bar0; member
1850 void __iomem *bar0,
/linux/drivers/scsi/aacraid/
A Dsrc.c623 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()
A Daacraid.h1210 #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
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_hwrm.c485 __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()
A Dbnxt_ptp.c67 *ns = readl(bp->bar0 + ptp->refclk_mapped_regs[0]); in bnxt_refclk_read()
69 *ns |= (u64)readl(bp->bar0 + ptp->refclk_mapped_regs[1]) << 32; in bnxt_refclk_read()
506 writel(reg_base, bp->bar0 + win_off); in bnxt_map_regs()
531 writel(0, bp->bar0 + BNXT_GRCPF_REG_WINDOW_BASE_OUT + in bnxt_unmap_ptp_regs()
/linux/arch/powerpc/platforms/52xx/
A Dmpc52xx_pci.c68 u32 bar0; /* PCI + 0x10 */ member
312 out_be32(&pci_regs->bar0, PCI_BASE_ADDRESS_MEM_PREFETCH | pci_phys); in mpc52xx_pci_setup()
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_hw.c282 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()
/linux/arch/alpha/include/asm/
A Dcore_irongate.h42 igcsr32 bar0; /* 0x10 - BAR0 - AGP */ member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dbcmsdh.c226 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()

Completed in 113 milliseconds

12