Lines Matching refs:prop

117 	struct property *prop;  in sun4u_path_component()  local
119 prop = of_find_property(dp, "reg", NULL); in sun4u_path_component()
120 if (!prop) in sun4u_path_component()
123 regs = prop->value; in sun4u_path_component()
132 prop = of_find_property(dp, "upa-portid", NULL); in sun4u_path_component()
133 if (!prop) in sun4u_path_component()
134 prop = of_find_property(dp, "portid", NULL); in sun4u_path_component()
135 if (prop) { in sun4u_path_component()
143 *(u32 *)prop->value, in sun4u_path_component()
152 struct property *prop; in sbus_path_component() local
154 prop = of_find_property(dp, "reg", NULL); in sbus_path_component()
155 if (!prop) in sbus_path_component()
158 regs = prop->value; in sbus_path_component()
169 struct property *prop; in pci_path_component() local
172 prop = of_find_property(dp, "reg", NULL); in pci_path_component()
173 if (!prop) in pci_path_component()
176 regs = prop->value; in pci_path_component()
194 struct property *prop; in upa_path_component() local
196 prop = of_find_property(dp, "reg", NULL); in upa_path_component()
197 if (!prop) in upa_path_component()
200 regs = prop->value; in upa_path_component()
202 prop = of_find_property(dp, "upa-portid", NULL); in upa_path_component()
203 if (!prop) in upa_path_component()
208 *(u32 *) prop->value, in upa_path_component()
215 struct property *prop; in vdev_path_component() local
218 prop = of_find_property(dp, "reg", NULL); in vdev_path_component()
219 if (!prop) in vdev_path_component()
222 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()
248 struct property *prop; in i2c_path_component() local
251 prop = of_find_property(dp, "reg", NULL); in i2c_path_component()
252 if (!prop) in i2c_path_component()
255 regs = prop->value; in i2c_path_component()
267 struct property *prop; in usb_path_component() local
270 prop = of_find_property(dp, "reg", NULL); in usb_path_component()
271 if (!prop) in usb_path_component()
274 regs = prop->value; in usb_path_component()
276 if (prop->length == sizeof(u32) || regs[1] == 1) { in usb_path_component()
288 struct property *prop; in ieee1394_path_component() local
291 prop = of_find_property(dp, "reg", NULL); in ieee1394_path_component()
292 if (!prop) in ieee1394_path_component()
295 regs = prop->value; in ieee1394_path_component()
389 struct property *prop = of_find_property(cpun, "reg", NULL); in arch_find_n_match_cpu_physical_id() local
392 if (!prop) { in arch_find_n_match_cpu_physical_id()
396 regs = prop->value; in arch_find_n_match_cpu_physical_id()