Lines Matching refs:where
136 u32 where,
142 db_assert((where & 3) == 0);
143 db_assert(where < (1 << 8));
156 *val = *(volatile u32*) (base + (func_num << 8) + where);
163 u32 where,
169 db_assert((where & 1) == 0);
171 status = read_config_dword(swap, dev, where & ~3, &result);
172 if (where & 2) result >>= 16;
179 u32 where,
185 status = read_config_dword(swap, dev, where & ~3, &result);
186 if (where & 1) result >>= 8;
187 if (where & 2) result >>= 16;
194 u32 where,
200 db_assert((where & 3) == 0);
201 db_assert(where < (1 << 8));
214 *(volatile u32*) (base + (func_num << 8) + where) = val;
221 u32 where,
227 db_assert((where & 1) == 0);
229 status = read_config_dword(swap, dev, where & ~3, &result);
232 if (where & 2)
236 return write_config_dword(swap, dev, where & ~3, result);
241 u32 where,
247 status = read_config_dword(swap, dev, where & ~3, &result);
250 if (where & 2)
252 if (where & 1)
256 return write_config_dword(swap, dev, where & ~3, result);
260 static int prefix##_##rw##_config_##unitname(struct pci_dev *dev, int where, unittype val) \
264 where, \