Lines Matching refs:dp
252 struct device_node *dp;
258 for_each_node_by_name(dp, "sbi") {
259 int devid = of_getintprop_default(dp, "device-id", 0);
260 int board = of_getintprop_default(dp, "board#", 0);
327 struct device_node *dp = op->dev.of_node;
328 struct device_node *board_parent, *bus = dp->parent;
353 regs = of_get_property(dp, "reg", NULL);
420 struct device_node *dp;
427 dp = of_find_node_by_name(NULL, "cpu-unit");
428 if (!dp) {
437 reg = of_get_property(dp, "reg", NULL);
443 board = of_getintprop_default(dp, "board#", -1);
449 of_node_put(dp);
486 struct device_node *dp;
490 for_each_node_by_name(dp, "sbi") {
491 int devid = of_getintprop_default(dp, "device-id", 0);
492 int board = of_getintprop_default(dp, "board#", 0);