Lines Matching defs:where
39 unsigned int devfn, int where,
48 int reg = where & ~3;
103 int where, int size, u32 * val)
107 if ((size == 2) && (where & 1))
109 else if ((size == 4) && (where & 3))
112 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where,
117 *val = (data >> ((where & 3) << 3)) & 0xff;
119 *val = (data >> ((where & 3) << 3)) & 0xffff;
127 int where, int size, u32 val)
131 if ((size == 2) && (where & 1))
133 else if ((size == 4) && (where & 3))
140 where, &data))
144 data = (data & ~(0xff << ((where & 3) << 3))) |
145 (val << ((where & 3) << 3));
147 data = (data & ~(0xffff << ((where & 3) << 3))) |
148 (val << ((where & 3) << 3));
151 if (bonito64_pcibios_config_access(PCI_ACCESS_WRITE, bus, devfn, where,