Lines Matching refs:busnode
82 struct device_node *busnode; member
570 struct device_node *busnode, in kw_i2c_add() argument
580 bus->busnode = of_node_get(busnode); in kw_i2c_add()
590 if (controller == busnode) in kw_i2c_add()
595 (controller == busnode) ? "<multibus>" : busnode->full_name); in kw_i2c_add()
783 struct device_node *busnode; in pmu_i2c_probe() local
793 busnode = of_find_node_by_name(NULL, "pmu-i2c"); in pmu_i2c_probe()
794 if (busnode == NULL) in pmu_i2c_probe()
795 busnode = of_find_node_by_name(NULL, "via-pmu"); in pmu_i2c_probe()
796 if (busnode == NULL) in pmu_i2c_probe()
799 printk(KERN_INFO "PMU i2c %pOF\n", busnode); in pmu_i2c_probe()
810 bus->controller = busnode; in pmu_i2c_probe()
811 bus->busnode = busnode; in pmu_i2c_probe()
900 struct device_node *controller, *busnode; in smu_i2c_probe() local
920 for (busnode = NULL; in smu_i2c_probe()
921 (busnode = of_get_next_child(controller, busnode)) != NULL;) { in smu_i2c_probe()
922 if (strcmp(busnode->type, "i2c") && in smu_i2c_probe()
923 strcmp(busnode->type, "i2c-bus")) in smu_i2c_probe()
925 reg = of_get_property(busnode, "reg", NULL); in smu_i2c_probe()
935 bus->busnode = of_node_get(busnode); in smu_i2c_probe()
947 bus->channel, busnode); in smu_i2c_probe()
968 if (p == bus->busnode) { in pmac_i2c_find_bus()
1010 return bus->busnode; in pmac_i2c_get_bus_node()
1130 " bus %pOF !\n", mode, bus->busnode); in pmac_i2c_setmode()
1148 subaddr, len, bus->busnode); in pmac_i2c_xfer()
1202 (np = of_get_next_child(bus->busnode, np)) != NULL;) { in pmac_i2c_devscan()
1508 bus->platform_dev->dev.of_node = bus->busnode; in pmac_i2c_create_platform_devices()