Lines Matching refs:where
76 static int pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, in pcie_rd_conf() argument
88 ret = orion_pcie_rd_conf(PCIE_BASE, bus, devfn, where, size, val); in pcie_rd_conf()
95 int where, int size, u32 *val) in pcie_rd_conf_wa() argument
109 if (where >= 0x100) { in pcie_rd_conf_wa()
115 bus, devfn, where, size, val); in pcie_rd_conf_wa()
121 int where, int size, u32 val) in pcie_wr_conf() argument
130 ret = orion_pcie_wr_conf(PCIE_BASE, bus, devfn, where, size, val); in pcie_wr_conf()
274 u32 where, u32 size, u32 *val) in orion5x_pci_hw_rd_conf() argument
280 PCI_CONF_DEV(dev) | PCI_CONF_REG(where) | in orion5x_pci_hw_rd_conf()
286 *val = (*val >> (8*(where & 0x3))) & 0xff; in orion5x_pci_hw_rd_conf()
288 *val = (*val >> (8*(where & 0x3))) & 0xffff; in orion5x_pci_hw_rd_conf()
296 u32 where, u32 size, u32 val) in orion5x_pci_hw_wr_conf() argument
304 PCI_CONF_DEV(dev) | PCI_CONF_REG(where) | in orion5x_pci_hw_wr_conf()
310 __raw_writew(val, PCI_CONF_DATA + (where & 0x3)); in orion5x_pci_hw_wr_conf()
312 __raw_writeb(val, PCI_CONF_DATA + (where & 0x3)); in orion5x_pci_hw_wr_conf()
343 int where, int size, u32 *val) in orion5x_pci_rd_conf() argument
351 PCI_FUNC(devfn), where, size, val); in orion5x_pci_rd_conf()
355 int where, int size, u32 val) in orion5x_pci_wr_conf() argument
361 PCI_FUNC(devfn), where, size, val); in orion5x_pci_wr_conf()