Lines Matching refs:where
72 static inline u32 ar71xx_pci_get_ble(int where, int size, int local) in ar71xx_pci_get_ble() argument
76 t = ar71xx_pci_ble_table[size & 3][where & 3]; in ar71xx_pci_get_ble()
84 int where) in ar71xx_pci_bus_addr() argument
91 (where & ~3); in ar71xx_pci_bus_addr()
95 (PCI_FUNC(devfn) << 8) | (where & ~3) | 1; in ar71xx_pci_bus_addr()
148 int where, int size, u32 value) in ar71xx_pci_local_write() argument
153 value = value << (8 * (where & 3)); in ar71xx_pci_local_write()
155 ad_cbe = AR71XX_PCI_CRP_CMD_WRITE | (where & ~3); in ar71xx_pci_local_write()
156 ad_cbe |= ar71xx_pci_get_ble(where, size, 1); in ar71xx_pci_local_write()
164 int where, int size, u32 cmd) in ar71xx_pci_set_cfgaddr() argument
170 addr = ar71xx_pci_bus_addr(bus, devfn, where); in ar71xx_pci_set_cfgaddr()
173 __raw_writel(cmd | ar71xx_pci_get_ble(where, size, 0), in ar71xx_pci_set_cfgaddr()
180 int where, int size, u32 *value) in ar71xx_pci_read_config() argument
191 err = ar71xx_pci_set_cfgaddr(bus, devfn, where, size, in ar71xx_pci_read_config()
198 *value = (data >> (8 * (where & 3))) & ar71xx_pci_read_mask[size & 7]; in ar71xx_pci_read_config()
204 int where, int size, u32 value) in ar71xx_pci_write_config() argument
211 value = value << (8 * (where & 3)); in ar71xx_pci_write_config()
214 err = ar71xx_pci_set_cfgaddr(bus, devfn, where, size, in ar71xx_pci_write_config()