Lines Matching full:where
26 unsigned int devfn, int where, in bonito64_pcibios_config_access() argument
35 int reg = where & ~3; in bonito64_pcibios_config_access()
90 int where, int size, u32 * val) in bonito64_pcibios_read() argument
94 if ((size == 2) && (where & 1)) in bonito64_pcibios_read()
96 else if ((size == 4) && (where & 3)) in bonito64_pcibios_read()
99 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, in bonito64_pcibios_read()
104 *val = (data >> ((where & 3) << 3)) & 0xff; in bonito64_pcibios_read()
106 *val = (data >> ((where & 3) << 3)) & 0xffff; in bonito64_pcibios_read()
114 int where, int size, u32 val) in bonito64_pcibios_write() argument
118 if ((size == 2) && (where & 1)) in bonito64_pcibios_write()
120 else if ((size == 4) && (where & 3)) in bonito64_pcibios_write()
127 where, &data)) in bonito64_pcibios_write()
131 data = (data & ~(0xff << ((where & 3) << 3))) | in bonito64_pcibios_write()
132 (val << ((where & 3) << 3)); in bonito64_pcibios_write()
134 data = (data & ~(0xffff << ((where & 3) << 3))) | in bonito64_pcibios_write()
135 (val << ((where & 3) << 3)); in bonito64_pcibios_write()
138 if (bonito64_pcibios_config_access(PCI_ACCESS_WRITE, bus, devfn, where, in bonito64_pcibios_write()