Lines Matching refs:prop
112 struct property *prop; in sun4u_path_component() local
114 prop = of_find_property(dp, "reg", NULL); in sun4u_path_component()
115 if (!prop) in sun4u_path_component()
118 regs = prop->value; in sun4u_path_component()
127 prop = of_find_property(dp, "upa-portid", NULL); in sun4u_path_component()
128 if (!prop) in sun4u_path_component()
129 prop = of_find_property(dp, "portid", NULL); in sun4u_path_component()
130 if (prop) { in sun4u_path_component()
138 *(u32 *)prop->value, in sun4u_path_component()
148 struct property *prop; in sbus_path_component() local
150 prop = of_find_property(dp, "reg", NULL); in sbus_path_component()
151 if (!prop) in sbus_path_component()
154 regs = prop->value; in sbus_path_component()
166 struct property *prop; in pci_path_component() local
169 prop = of_find_property(dp, "reg", NULL); in pci_path_component()
170 if (!prop) in pci_path_component()
173 regs = prop->value; in pci_path_component()
192 struct property *prop; in upa_path_component() local
194 prop = of_find_property(dp, "reg", NULL); in upa_path_component()
195 if (!prop) in upa_path_component()
198 regs = prop->value; in upa_path_component()
200 prop = of_find_property(dp, "upa-portid", NULL); in upa_path_component()
201 if (!prop) in upa_path_component()
206 *(u32 *) prop->value, in upa_path_component()
214 struct property *prop; in vdev_path_component() local
217 prop = of_find_property(dp, "reg", NULL); in vdev_path_component()
218 if (!prop) in vdev_path_component()
221 regs = prop->value; in vdev_path_component()
231 struct property *prop; in ebus_path_component() local
233 prop = of_find_property(dp, "reg", NULL); in ebus_path_component()
234 if (!prop) in ebus_path_component()
237 regs = prop->value; in ebus_path_component()
249 struct property *prop; in i2c_path_component() local
252 prop = of_find_property(dp, "reg", NULL); in i2c_path_component()
253 if (!prop) in i2c_path_component()
256 regs = prop->value; in i2c_path_component()
269 struct property *prop; in usb_path_component() local
272 prop = of_find_property(dp, "reg", NULL); in usb_path_component()
273 if (!prop) in usb_path_component()
276 regs = prop->value; in usb_path_component()
278 if (prop->length == sizeof(u32) || regs[1] == 1) { in usb_path_component()
291 struct property *prop; in ieee1394_path_component() local
294 prop = of_find_property(dp, "reg", NULL); in ieee1394_path_component()
295 if (!prop) in ieee1394_path_component()
298 regs = prop->value; in ieee1394_path_component()
393 struct property *prop = of_find_property(cpun, "reg", NULL); in arch_find_n_match_cpu_physical_id() local
396 if (!prop) { in arch_find_n_match_cpu_physical_id()
400 regs = prop->value; in arch_find_n_match_cpu_physical_id()