Lines Matching refs:where
134 u32 where,
140 db_assert((where & 3) == 0);
141 db_assert(where < (1 << 8));
154 *val = *(volatile u32*) (base + (func_num << 8) + where);
161 u32 where,
167 db_assert((where & 1) == 0);
169 status = read_config_dword(swap, dev, where & ~3, &result);
170 if (where & 2) result >>= 16;
177 u32 where,
183 status = read_config_dword(swap, dev, where & ~3, &result);
184 if (where & 1) result >>= 8;
185 if (where & 2) result >>= 16;
192 u32 where,
198 db_assert((where & 3) == 0);
199 db_assert(where < (1 << 8));
212 *(volatile u32*) (base + (func_num << 8) + where) = val;
219 u32 where,
225 db_assert((where & 1) == 0);
227 status = read_config_dword(swap, dev, where & ~3, &result);
230 if (where & 2)
234 return write_config_dword(swap, dev, where & ~3, result);
239 u32 where,
245 status = read_config_dword(swap, dev, where & ~3, &result);
248 if (where & 2)
250 if (where & 1)
254 return write_config_dword(swap, dev, where & ~3, result);
258 static int prefix##_##rw##_config_##unitname(struct pci_dev *dev, int where, unittype val) \
262 where, \