/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/platform/x86/ |
D | p2sb.c | 45 struct resource *bar0 = &pdev->resource[0]; in p2sb_read_bar0() local 55 mem->start = bar0->start; in p2sb_read_bar0() 56 mem->end = bar0->end; in p2sb_read_bar0() 57 mem->flags = bar0->flags; in p2sb_read_bar0() 58 mem->desc = bar0->desc; in p2sb_read_bar0()
|
/linux-6.1.9/Documentation/misc-devices/ |
D | spear-pcie-gadget.rst | 46 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-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/arch/x86/kernel/ |
D | early_printk.c | 222 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 & PCI_BASE_ADDRESS_SPACE) == PCI_BASE_ADDRESS_SPACE_IO) { in early_pci_serial_init() 283 early_serial_base = bar0 & PCI_BASE_ADDRESS_IO_MASK; in early_pci_serial_init() 292 (unsigned long)early_ioremap(bar0 & PCI_BASE_ADDRESS_MEM_MASK, 0x10); in early_pci_serial_init()
|
/linux-6.1.9/drivers/scsi/snic/ |
D | snic_main.c | 260 if (snic->bar0.vaddr) in snic_iounmap() 261 iounmap(snic->bar0.vaddr); in snic_iounmap() 437 snic->bar0.vaddr = pci_iomap(pdev, 0, 0); in snic_probe() 438 if (!snic->bar0.vaddr) { in snic_probe() 446 snic->bar0.bus_addr = pci_resource_start(pdev, 0); in snic_probe() 447 snic->bar0.len = pci_resource_len(pdev, 0); in snic_probe() 448 SNIC_BUG_ON(snic->bar0.bus_addr == 0); in snic_probe() 451 snic->vdev = svnic_dev_alloc_discover(NULL, snic, pdev, &snic->bar0, 1); in snic_probe()
|
/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
D | ath9k_pci_owl_loader.c | 47 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-6.1.9/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 97 struct vnic_dev_bar *bar0; in usnic_vnic_dump() local 101 bar0 = usnic_vnic_get_bar(vnic, 0); in usnic_vnic_dump() 105 &bar0->bus_addr, in usnic_vnic_dump() 106 bar0->vaddr, bar0->len); in usnic_vnic_dump()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | configfs-spear-pcie-gadget | 29 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-6.1.9/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 | 280 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-6.1.9/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))); \
|
/linux-6.1.9/arch/mips/pci/ |
D | pci-rt2880.c | 238 u32 bar0; in pcibios_plat_dev_init() local 245 &bar0); in pcibios_plat_dev_init()
|
/linux-6.1.9/drivers/scsi/fnic/ |
D | fnic_main.c | 527 if (fnic->bar0.vaddr) in fnic_iounmap() 528 iounmap(fnic->bar0.vaddr); in fnic_iounmap() 658 fnic->bar0.vaddr = pci_iomap(pdev, 0, 0); in fnic_probe() 659 fnic->bar0.bus_addr = pci_resource_start(pdev, 0); in fnic_probe() 660 fnic->bar0.len = pci_resource_len(pdev, 0); in fnic_probe() 662 if (!fnic->bar0.vaddr) { in fnic_probe() 670 fnic->vdev = vnic_dev_register(NULL, fnic, pdev, &fnic->bar0); in fnic_probe()
|
/linux-6.1.9/drivers/tty/serial/ |
D | rp2.c | 195 void __iomem *bar0; member 616 writel(4, card->bar0 + RP2_FPGA_CTL0); in rp2_init_card() 617 writel(0, card->bar0 + RP2_FPGA_CTL1); in rp2_init_card() 623 writel(RP2_IRQ_MASK_EN_m, card->bar0 + RP2_IRQ_MASK); in rp2_init_card() 739 card->bar0 = bars[0]; in rp2_probe()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ptp.c | 84 high_before = readl(bp->bar0 + ptp->refclk_mapped_regs[1]); in bnxt_refclk_read() 86 low = readl(bp->bar0 + ptp->refclk_mapped_regs[0]); in bnxt_refclk_read() 88 high_now = readl(bp->bar0 + ptp->refclk_mapped_regs[1]); in bnxt_refclk_read() 91 low = readl(bp->bar0 + ptp->refclk_mapped_regs[0]); in bnxt_refclk_read() 627 writel(reg_base, bp->bar0 + win_off); in bnxt_map_regs() 652 writel(0, bp->bar0 + BNXT_GRCPF_REG_WINDOW_BASE_OUT + in bnxt_unmap_ptp_regs()
|
D | bnxt_hwrm.c | 529 __iowrite32_copy(bp->bar0 + bar_offset, data, msg_len / 4); in __hwrm_send() 532 writel(0, bp->bar0 + bar_offset + i); in __hwrm_send() 535 writel(1, bp->bar0 + doorbell_offset); in __hwrm_send()
|
/linux-6.1.9/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 69 u32 bar0; /* PCI + 0x10 */ member 305 out_be32(&pci_regs->bar0, PCI_BASE_ADDRESS_MEM_PREFETCH | pci_phys); in mpc52xx_pci_setup()
|
/linux-6.1.9/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 | 1211 #define src_readb(AEP, CSR) readb(&((AEP)->regs.src.bar0->CSR)) 1212 #define src_readl(AEP, CSR) readl(&((AEP)->regs.src.bar0->CSR)) 1214 &((AEP)->regs.src.bar0->CSR)) 1216 &((AEP)->regs.src.bar0->CSR)) 1219 &((AEP)->regs.src.bar0->CSR)) 1631 struct src_registers __iomem *bar0; member
|
/linux-6.1.9/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()
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | core_irongate.h | 42 igcsr32 bar0; /* 0x10 - BAR0 - AGP */ member
|
/linux-6.1.9/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()
|
/linux-6.1.9/Documentation/devicetree/bindings/gpu/ |
D | nvidia,gk20a.txt | 12 - first entry for bar0
|