Lines Matching refs:where
97 unsigned int func, unsigned int where) in rt3883_pci_get_cfgaddr() argument
99 return (bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | in rt3883_pci_get_cfgaddr()
234 int where, int size, u32 *val) in rt3883_pci_config_read() argument
247 PCI_FUNC(devfn), where); in rt3883_pci_config_read()
254 *val = (data >> ((where & 3) << 3)) & 0xff; in rt3883_pci_config_read()
257 *val = (data >> ((where & 3) << 3)) & 0xffff; in rt3883_pci_config_read()
268 int where, int size, u32 val) in rt3883_pci_config_write() argument
281 PCI_FUNC(devfn), where); in rt3883_pci_config_write()
288 data = (data & ~(0xff << ((where & 3) << 3))) | in rt3883_pci_config_write()
289 (val << ((where & 3) << 3)); in rt3883_pci_config_write()
292 data = (data & ~(0xffff << ((where & 3) << 3))) | in rt3883_pci_config_write()
293 (val << ((where & 3) << 3)); in rt3883_pci_config_write()