Lines Matching refs:regs
75 struct linux_prom64_registers *regs; in sun4v_path_component() local
83 regs = rprop->value; in sun4v_path_component()
87 (unsigned int) (regs->phys_addr >> 32UL), in sun4v_path_component()
88 (unsigned int) (regs->phys_addr & 0xffffffffUL)); in sun4v_path_component()
92 type = regs->phys_addr >> 60UL; in sun4v_path_component()
93 high_bits = (regs->phys_addr >> 32UL) & 0x0fffffffUL; in sun4v_path_component()
94 low_bits = (regs->phys_addr & 0xffffffffUL); in sun4v_path_component()
116 struct linux_prom64_registers *regs; in sun4u_path_component() local
123 regs = prop->value; in sun4u_path_component()
127 (unsigned int) (regs->phys_addr >> 32UL), in sun4u_path_component()
128 (unsigned int) (regs->phys_addr & 0xffffffffUL)); in sun4u_path_component()
144 (unsigned int) (regs->phys_addr & mask)); in sun4u_path_component()
151 struct linux_prom_registers *regs; in sbus_path_component() local
158 regs = prop->value; in sbus_path_component()
161 regs->which_io, in sbus_path_component()
162 regs->phys_addr); in sbus_path_component()
168 struct linux_prom_pci_registers *regs; in pci_path_component() local
176 regs = prop->value; in pci_path_component()
177 devfn = (regs->phys_hi >> 8) & 0xff; in pci_path_component()
193 struct linux_prom64_registers *regs; in upa_path_component() local
200 regs = prop->value; in upa_path_component()
209 (unsigned int) (regs->phys_addr & 0xffffffffUL)); in upa_path_component()
216 u32 *regs; in vdev_path_component() local
222 regs = prop->value; in vdev_path_component()
224 sprintf(tmp_buf, "%s@%x", dp->name, *regs); in vdev_path_component()
230 struct linux_prom64_registers *regs; in ebus_path_component() local
237 regs = prop->value; in ebus_path_component()
241 (unsigned int) (regs->phys_addr >> 32UL), in ebus_path_component()
242 (unsigned int) (regs->phys_addr & 0xffffffffUL)); in ebus_path_component()
249 u32 *regs; in i2c_path_component() local
255 regs = prop->value; in i2c_path_component()
261 dp->name, regs[0], regs[1]); in i2c_path_component()
268 u32 *regs; in usb_path_component() local
274 regs = prop->value; in usb_path_component()
276 if (prop->length == sizeof(u32) || regs[1] == 1) { in usb_path_component()
278 dp->name, regs[0]); in usb_path_component()
281 dp->name, regs[0], regs[1]); in usb_path_component()
289 u32 *regs; in ieee1394_path_component() local
295 regs = prop->value; in ieee1394_path_component()
297 if (regs[2] || regs[3]) { in ieee1394_path_component()
299 dp->name, regs[0], regs[1], regs[2], regs[3]); in ieee1394_path_component()
302 dp->name, regs[0], regs[1]); in ieee1394_path_component()
390 u32 *regs; in arch_find_n_match_cpu_physical_id() local
396 regs = prop->value; in arch_find_n_match_cpu_physical_id()
397 this_cpu_id = regs[0] & 0x0fffffff; in arch_find_n_match_cpu_physical_id()