Lines Matching full:where
55 int where, int size, u32 *value) in sun4u_read_pci_cfg_host() argument
61 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg_host()
67 if (where < 8) { in sun4u_read_pci_cfg_host()
72 if (where & 1) in sun4u_read_pci_cfg_host()
83 if (where < 8) { in sun4u_read_pci_cfg_host()
97 where, 2, &tmp32); in sun4u_read_pci_cfg_host()
102 where + 2, 2, &tmp32); in sun4u_read_pci_cfg_host()
110 int where, int size, u32 *value) in sun4u_read_pci_cfg() argument
131 return sun4u_read_pci_cfg_host(pbm, bus, devfn, where, in sun4u_read_pci_cfg()
134 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg()
145 if (where & 0x01) { in sun4u_read_pci_cfg()
147 where); in sun4u_read_pci_cfg()
155 if (where & 0x03) { in sun4u_read_pci_cfg()
157 where); in sun4u_read_pci_cfg()
168 int where, int size, u32 value) in sun4u_write_pci_cfg_host() argument
172 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_write_pci_cfg_host()
178 if (where < 8) { in sun4u_write_pci_cfg_host()
184 if (where & 1) { in sun4u_write_pci_cfg_host()
196 if (where < 8) { in sun4u_write_pci_cfg_host()
205 where, 2, value & 0xffff); in sun4u_write_pci_cfg_host()
207 where + 2, 2, value >> 16); in sun4u_write_pci_cfg_host()
214 int where, int size, u32 value) in sun4u_write_pci_cfg() argument
221 return sun4u_write_pci_cfg_host(pbm, bus, devfn, where, in sun4u_write_pci_cfg()
224 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_write_pci_cfg()
234 if (where & 0x01) { in sun4u_write_pci_cfg()
236 where); in sun4u_write_pci_cfg()
243 if (where & 0x03) { in sun4u_write_pci_cfg()
245 where); in sun4u_write_pci_cfg()
259 int where, int size, u32 *value) in sun4v_read_pci_cfg() argument
268 if (config_out_of_range(pbm, bus, devfn, where)) { in sun4v_read_pci_cfg()
273 where, size); in sun4v_read_pci_cfg()
292 int where, int size, u32 value) in sun4v_write_pci_cfg() argument
300 if (config_out_of_range(pbm, bus, devfn, where)) { in sun4v_write_pci_cfg()
309 where, size, value); in sun4v_write_pci_cfg()