Lines Matching refs:where
145 u32 where,
151 db_assert((where & 3) == 0);
152 db_assert(where < (1 << 8));
165 *val = *(volatile u32*) (base + (func_num << 8) + where);
172 u32 where,
178 db_assert((where & 1) == 0);
180 status = read_config_dword(swap, dev, where & ~3, &result);
181 if (where & 2) result >>= 16;
188 u32 where,
194 status = read_config_dword(swap, dev, where & ~3, &result);
195 if (where & 1) result >>= 8;
196 if (where & 2) result >>= 16;
203 u32 where,
209 db_assert((where & 3) == 0);
210 db_assert(where < (1 << 8));
223 *(volatile u32*) (base + (func_num << 8) + where) = val;
230 u32 where,
236 db_assert((where & 1) == 0);
238 status = read_config_dword(swap, dev, where & ~3, &result);
241 if (where & 2)
245 return write_config_dword(swap, dev, where & ~3, result);
250 u32 where,
256 status = read_config_dword(swap, dev, where & ~3, &result);
259 if (where & 2)
261 if (where & 1)
265 return write_config_dword(swap, dev, where & ~3, result);
269 static int prefix##_##rw##_config_##unitname(struct pci_dev *dev, int where, unittype val) \
273 where, \