Lines Matching refs:where
61 unsigned int func, unsigned int where) in rt2880_pci_get_cfgaddr() argument
63 return ((bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | in rt2880_pci_get_cfgaddr()
68 int where, int size, u32 *val) in rt2880_pci_config_read() argument
75 PCI_FUNC(devfn), where); in rt2880_pci_config_read()
84 *val = (data >> ((where & 3) << 3)) & 0xff; in rt2880_pci_config_read()
87 *val = (data >> ((where & 3) << 3)) & 0xffff; in rt2880_pci_config_read()
98 int where, int size, u32 val) in rt2880_pci_config_write() argument
105 PCI_FUNC(devfn), where); in rt2880_pci_config_write()
113 data = (data & ~(0xff << ((where & 3) << 3))) | in rt2880_pci_config_write()
114 (val << ((where & 3) << 3)); in rt2880_pci_config_write()
117 data = (data & ~(0xffff << ((where & 3) << 3))) | in rt2880_pci_config_write()
118 (val << ((where & 3) << 3)); in rt2880_pci_config_write()