Lines Matching refs:where
69 static inline u32 ar71xx_pci_get_ble(int where, int size, int local) in ar71xx_pci_get_ble() argument
73 t = ar71xx_pci_ble_table[size & 3][where & 3]; in ar71xx_pci_get_ble()
81 int where) in ar71xx_pci_bus_addr() argument
88 (where & ~3); in ar71xx_pci_bus_addr()
92 (PCI_FUNC(devfn) << 8) | (where & ~3) | 1; in ar71xx_pci_bus_addr()
145 int where, int size, u32 value) in ar71xx_pci_local_write() argument
150 value = value << (8 * (where & 3)); in ar71xx_pci_local_write()
152 ad_cbe = AR71XX_PCI_CRP_CMD_WRITE | (where & ~3); in ar71xx_pci_local_write()
153 ad_cbe |= ar71xx_pci_get_ble(where, size, 1); in ar71xx_pci_local_write()
161 int where, int size, u32 cmd) in ar71xx_pci_set_cfgaddr() argument
167 addr = ar71xx_pci_bus_addr(bus, devfn, where); in ar71xx_pci_set_cfgaddr()
170 __raw_writel(cmd | ar71xx_pci_get_ble(where, size, 0), in ar71xx_pci_set_cfgaddr()
177 int where, int size, u32 *value) in ar71xx_pci_read_config() argument
188 err = ar71xx_pci_set_cfgaddr(bus, devfn, where, size, in ar71xx_pci_read_config()
195 *value = (data >> (8 * (where & 3))) & ar71xx_pci_read_mask[size & 7]; in ar71xx_pci_read_config()
201 int where, int size, u32 value) in ar71xx_pci_write_config() argument
208 value = value << (8 * (where & 3)); in ar71xx_pci_write_config()
211 err = ar71xx_pci_set_cfgaddr(bus, devfn, where, size, in ar71xx_pci_write_config()