Home
last modified time | relevance | path

Searched refs:pci_reg (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/arch/mips/rb532/
Dsetup.c17 struct pci_reg __iomem *pci_reg; variable
18 EXPORT_SYMBOL(pci_reg);
24 .end = PCI0_BASE_ADDR + sizeof(struct pci_reg),
52 pci_reg = ioremap_nocache(pci0_res[0].start, in plat_mem_setup()
54 if (!pci_reg) { in plat_mem_setup()
59 val = __raw_readl(&pci_reg->pcic); in plat_mem_setup()
61 __raw_writel(val, (void *)&pci_reg->pcic); in plat_mem_setup()
/Linux-v4.19/arch/microblaze/pci/
Dxilinx_pci.c126 void __iomem *pci_reg; in xilinx_pci_init() local
159 pci_reg = of_iomap(pci_node, 0); in xilinx_pci_init()
160 WARN_ON(!pci_reg); in xilinx_pci_init()
161 out_be32(pci_reg + XPLB_PCI_BUS, 0x000000ff); in xilinx_pci_init()
162 iounmap(pci_reg); in xilinx_pci_init()
/Linux-v4.19/arch/powerpc/sysdev/
Dxilinx_pci.c86 void __iomem *pci_reg; in xilinx_pci_init() local
119 pci_reg = of_iomap(pci_node, 0); in xilinx_pci_init()
120 out_8(pci_reg + XPLB_PCI_BUS, 0xff); in xilinx_pci_init()
121 iounmap(pci_reg); in xilinx_pci_init()
/Linux-v4.19/arch/mips/include/asm/mach-rc32434/
Dpci.h41 struct pci_reg { struct
314 #define rc32434_pci ((struct pci_reg *) PCI0_ADDR)
/Linux-v4.19/drivers/scsi/pm8001/
Dpm8001_init.c981 u32 pci_reg; in pm8001_pci_probe() local
998 pci_read_config_dword(pdev, PCI_COMMAND, &pci_reg); in pm8001_pci_probe()
999 pci_reg |= 0x157; in pm8001_pci_probe()
1000 pci_write_config_dword(pdev, PCI_COMMAND, pci_reg); in pm8001_pci_probe()
/Linux-v4.19/drivers/scsi/
Dpmcraid.c566 u16 pci_reg; in pmcraid_bist_done() local
568 rc = pci_read_config_word(pinstance->pdev, PCI_COMMAND, &pci_reg); in pmcraid_bist_done()
571 if ((rc != PCIBIOS_SUCCESSFUL || (!(pci_reg & PCI_COMMAND_MEMORY))) && in pmcraid_bist_done()
659 u16 pci_reg; in pmcraid_reset_alert() local
666 rc = pci_read_config_word(pinstance->pdev, PCI_COMMAND, &pci_reg); in pmcraid_reset_alert()
667 if ((rc == PCIBIOS_SUCCESSFUL) && (pci_reg & PCI_COMMAND_MEMORY)) { in pmcraid_reset_alert()