Lines Matching refs:where
53 int where, int size, u32 *value) in sun4u_read_pci_cfg_host() argument
59 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg_host()
65 if (where < 8) { in sun4u_read_pci_cfg_host()
70 if (where & 1) in sun4u_read_pci_cfg_host()
81 if (where < 8) { in sun4u_read_pci_cfg_host()
95 where, 2, &tmp32); in sun4u_read_pci_cfg_host()
100 where + 2, 2, &tmp32); in sun4u_read_pci_cfg_host()
108 int where, int size, u32 *value) in sun4u_read_pci_cfg() argument
129 return sun4u_read_pci_cfg_host(pbm, bus, devfn, where, in sun4u_read_pci_cfg()
132 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg()
143 if (where & 0x01) { in sun4u_read_pci_cfg()
145 where); in sun4u_read_pci_cfg()
153 if (where & 0x03) { in sun4u_read_pci_cfg()
155 where); in sun4u_read_pci_cfg()
166 int where, int size, u32 value) in sun4u_write_pci_cfg_host() argument
170 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_write_pci_cfg_host()
176 if (where < 8) { in sun4u_write_pci_cfg_host()
182 if (where & 1) { in sun4u_write_pci_cfg_host()
194 if (where < 8) { in sun4u_write_pci_cfg_host()
203 where, 2, value & 0xffff); in sun4u_write_pci_cfg_host()
205 where + 2, 2, value >> 16); in sun4u_write_pci_cfg_host()
212 int where, int size, u32 value) in sun4u_write_pci_cfg() argument
219 return sun4u_write_pci_cfg_host(pbm, bus, devfn, where, in sun4u_write_pci_cfg()
222 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_write_pci_cfg()
232 if (where & 0x01) { in sun4u_write_pci_cfg()
234 where); in sun4u_write_pci_cfg()
241 if (where & 0x03) { in sun4u_write_pci_cfg()
243 where); in sun4u_write_pci_cfg()
257 int where, int size, u32 *value) in sun4v_read_pci_cfg() argument
266 if (config_out_of_range(pbm, bus, devfn, where)) { in sun4v_read_pci_cfg()
271 where, size); in sun4v_read_pci_cfg()
290 int where, int size, u32 value) in sun4v_write_pci_cfg() argument
298 if (config_out_of_range(pbm, bus, devfn, where)) { in sun4v_write_pci_cfg()
307 where, size, value); in sun4v_write_pci_cfg()