Lines Matching refs:where
60 unsigned int func, unsigned int where) in rt2880_pci_get_cfgaddr() argument
62 return ((bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | in rt2880_pci_get_cfgaddr()
67 int where, int size, u32 *val) in rt2880_pci_config_read() argument
74 PCI_FUNC(devfn), where); in rt2880_pci_config_read()
83 *val = (data >> ((where & 3) << 3)) & 0xff; in rt2880_pci_config_read()
86 *val = (data >> ((where & 3) << 3)) & 0xffff; in rt2880_pci_config_read()
97 int where, int size, u32 val) in rt2880_pci_config_write() argument
104 PCI_FUNC(devfn), where); in rt2880_pci_config_write()
112 data = (data & ~(0xff << ((where & 3) << 3))) | in rt2880_pci_config_write()
113 (val << ((where & 3) << 3)); in rt2880_pci_config_write()
116 data = (data & ~(0xffff << ((where & 3) << 3))) | in rt2880_pci_config_write()
117 (val << ((where & 3) << 3)); in rt2880_pci_config_write()