Lines Matching refs:node
51 ofw_firmware_setup_dinfo(device_t dev, phandle_t node, in ofw_firmware_setup_dinfo() argument
62 if (ofw_bus_gen_setup_devinfo(&ndi->obdinfo, node) != 0) { in ofw_firmware_setup_dinfo()
70 ofw_bus_reg_to_rl(dev, OF_parent(node), sc->acells, sc->scells, &ndi->rl); in ofw_firmware_setup_dinfo()
71 ofw_bus_intr_to_rl(dev, node, &ndi->rl, NULL); in ofw_firmware_setup_dinfo()
77 ofw_firmware_add_device(device_t dev, phandle_t node, u_int order, in ofw_firmware_add_device() argument
83 if ((ndi = ofw_firmware_setup_dinfo(dev, node, di)) == NULL) in ofw_firmware_add_device()
125 phandle_t node, child; in ofw_firmware_attach() local
130 node = ofw_bus_get_node(dev); in ofw_firmware_attach()
132 if (OF_getencprop(node, "#address-cells", &sc->sc.acells, in ofw_firmware_attach()
134 if (OF_getencprop(OF_parent(node), "#address-cells", &sc->sc.acells, in ofw_firmware_attach()
139 if (OF_getencprop(node, "#size-cells", &sc->sc.scells, in ofw_firmware_attach()
141 if (OF_getencprop(OF_parent(node), "#size-cells", &sc->sc.scells, in ofw_firmware_attach()
147 for (child = OF_child(node); child != 0; child = OF_peer(child)) { in ofw_firmware_attach()