Lines Matching refs:where
93 mk_conf_addr(struct pci_dev *dev, int where, unsigned long *pci_addr, in mk_conf_addr() argument
102 bus, device_fn, where, pci_addr, type1)); in mk_conf_addr()
116 addr = (device_fn << 8) | (where); in mk_conf_addr()
120 addr = (bus << 16) | (device_fn << 8) | (where); in mk_conf_addr()
276 apecs_read_config_byte(struct pci_dev *dev, int where, u8 *value) in apecs_read_config_byte() argument
281 if (mk_conf_addr(dev, where, &pci_addr, &type1)) in apecs_read_config_byte()
285 *value = conf_read(addr, type1) >> ((where & 3) * 8); in apecs_read_config_byte()
290 apecs_read_config_word(struct pci_dev *dev, int where, u16 *value) in apecs_read_config_word() argument
295 if (mk_conf_addr(dev, where, &pci_addr, &type1)) in apecs_read_config_word()
299 *value = conf_read(addr, type1) >> ((where & 3) * 8); in apecs_read_config_word()
304 apecs_read_config_dword(struct pci_dev *dev, int where, u32 *value) in apecs_read_config_dword() argument
309 if (mk_conf_addr(dev, where, &pci_addr, &type1)) in apecs_read_config_dword()
318 apecs_write_config(struct pci_dev *dev, int where, u32 value, long mask) in apecs_write_config() argument
323 if (mk_conf_addr(dev, where, &pci_addr, &type1)) in apecs_write_config()
327 conf_write(addr, value << ((where & 3) * 8), type1); in apecs_write_config()
332 apecs_write_config_byte(struct pci_dev *dev, int where, u8 value) in apecs_write_config_byte() argument
334 return apecs_write_config(dev, where, value, 0x00); in apecs_write_config_byte()
338 apecs_write_config_word(struct pci_dev *dev, int where, u16 value) in apecs_write_config_word() argument
340 return apecs_write_config(dev, where, value, 0x08); in apecs_write_config_word()
344 apecs_write_config_dword(struct pci_dev *dev, int where, u32 value) in apecs_write_config_dword() argument
346 return apecs_write_config(dev, where, value, 0x18); in apecs_write_config_dword()