Lines Matching refs:where
20 struct pci_bus *bus, unsigned int devfn, int where, u32 *data) in sh7786_pcie_config_access() argument
28 reg = where & ~3; in sh7786_pcie_config_access()
90 int where, int size, u32 *val) in sh7786_pcie_read() argument
96 if ((size == 2) && (where & 1)) in sh7786_pcie_read()
98 else if ((size == 4) && (where & 3)) in sh7786_pcie_read()
103 devfn, where, &data); in sh7786_pcie_read()
110 *val = (data >> ((where & 3) << 3)) & 0xff; in sh7786_pcie_read()
112 *val = (data >> ((where & 2) << 3)) & 0xffff; in sh7786_pcie_read()
118 devfn, where, size, (unsigned long)*val); in sh7786_pcie_read()
126 int where, int size, u32 val) in sh7786_pcie_write() argument
132 if ((size == 2) && (where & 1)) in sh7786_pcie_write()
134 else if ((size == 4) && (where & 3)) in sh7786_pcie_write()
139 devfn, where, &data); in sh7786_pcie_write()
145 devfn, where, size, (unsigned long)val); in sh7786_pcie_write()
148 shift = (where & 3) << 3; in sh7786_pcie_write()
152 shift = (where & 2) << 3; in sh7786_pcie_write()
159 devfn, where, &data); in sh7786_pcie_write()