Lines Matching refs:dp
80 struct device_node *dp = dev->dev.of_node; in obsolete_probe() local
88 of_probe = of_get_property(dp, "probe-type", NULL); in obsolete_probe()
115 static const char * const *of_get_probes(struct device_node *dp) in of_get_probes() argument
123 cp = of_get_property(dp, "linux,part-probe", &cplen); in of_get_probes()
157 struct device_node *dp = dev->dev.of_node; in of_flash_probe() local
178 reg_tuple_size = (of_n_addr_cells(dp) + of_n_size_cells(dp)) * sizeof(u32); in of_flash_probe()
180 of_property_read_string(dp, "linux,mtd-name", &mtd_name); in of_flash_probe()
188 p = of_get_property(dp, "reg", &count); in of_flash_probe()
197 map_indirect = of_property_read_bool(dp, "no-unaligned-direct-access"); in of_flash_probe()
214 if (of_address_to_resource(dp, i, &res)) { in of_flash_probe()
232 width = of_get_property(dp, "bank-width", NULL); in of_flash_probe()
243 info->list[i].map.device_node = dp; in of_flash_probe()
313 ppdata.of_node = dp; in of_flash_probe()
314 part_probe_types = of_get_probes(dp); in of_flash_probe()