Searched refs:pci_reg (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/arch/mips/rb532/ |
D | setup.c | 17 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/ |
D | xilinx_pci.c | 126 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/ |
D | xilinx_pci.c | 86 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/ |
D | pci.h | 41 struct pci_reg { struct 314 #define rc32434_pci ((struct pci_reg *) PCI0_ADDR)
|
/Linux-v4.19/drivers/scsi/pm8001/ |
D | pm8001_init.c | 981 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/ |
D | pmcraid.c | 566 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()
|