Lines Matching refs:where

54 				   int where, int size, u32 *value)  in sun4u_read_pci_cfg_host()  argument
60 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg_host()
66 if (where < 8) { in sun4u_read_pci_cfg_host()
71 if (where & 1) in sun4u_read_pci_cfg_host()
82 if (where < 8) { in sun4u_read_pci_cfg_host()
96 where, 2, &tmp32); in sun4u_read_pci_cfg_host()
101 where + 2, 2, &tmp32); in sun4u_read_pci_cfg_host()
109 int where, int size, u32 *value) in sun4u_read_pci_cfg() argument
130 return sun4u_read_pci_cfg_host(pbm, bus, devfn, where, in sun4u_read_pci_cfg()
133 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg()
144 if (where & 0x01) { in sun4u_read_pci_cfg()
146 where); in sun4u_read_pci_cfg()
154 if (where & 0x03) { in sun4u_read_pci_cfg()
156 where); in sun4u_read_pci_cfg()
167 int where, int size, u32 value) in sun4u_write_pci_cfg_host() argument
171 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_write_pci_cfg_host()
177 if (where < 8) { in sun4u_write_pci_cfg_host()
183 if (where & 1) { in sun4u_write_pci_cfg_host()
195 if (where < 8) { in sun4u_write_pci_cfg_host()
204 where, 2, value & 0xffff); in sun4u_write_pci_cfg_host()
206 where + 2, 2, value >> 16); in sun4u_write_pci_cfg_host()
213 int where, int size, u32 value) in sun4u_write_pci_cfg() argument
220 return sun4u_write_pci_cfg_host(pbm, bus, devfn, where, in sun4u_write_pci_cfg()
223 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_write_pci_cfg()
233 if (where & 0x01) { in sun4u_write_pci_cfg()
235 where); in sun4u_write_pci_cfg()
242 if (where & 0x03) { in sun4u_write_pci_cfg()
244 where); in sun4u_write_pci_cfg()
258 int where, int size, u32 *value) in sun4v_read_pci_cfg() argument
267 if (config_out_of_range(pbm, bus, devfn, where)) { in sun4v_read_pci_cfg()
272 where, size); in sun4v_read_pci_cfg()
291 int where, int size, u32 value) in sun4v_write_pci_cfg() argument
299 if (config_out_of_range(pbm, bus, devfn, where)) { in sun4v_write_pci_cfg()
308 where, size, value); in sun4v_write_pci_cfg()