Home
last modified time | relevance | path

Searched refs:sc_node (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/sys/dev/usb/misc/
H A Dudbp.c350 sc->sc_node = NULL; in udbp_attach()
358 NG_NODE_UNREF(sc->sc_node); in udbp_attach()
359 sc->sc_node = NULL; in udbp_attach()
362 NG_NODE_SET_PRIVATE(sc->sc_node, sc); in udbp_attach()
380 if (sc->sc_node != NULL) { in udbp_detach()
382 ng_rmnode_self(sc->sc_node); in udbp_detach()
383 sc->sc_node = NULL; in udbp_detach()
770 sc->sc_node = NULL; in ng_udbp_rmnode()
777 NG_NODE_UNREF(sc->sc_node); in ng_udbp_rmnode()
778 sc->sc_node = NULL; in ng_udbp_rmnode()
[all …]
/freebsd-12.1/sys/powerpc/psim/
H A Diobus.c61 phandle_t sc_node; member
195 sc->sc_node = ofw_bus_get_node(dev); in iobus_attach()
201 size = OF_getprop(sc->sc_node, "reg", reg, sizeof(reg)); in iobus_attach()
221 root = sc->sc_node; in iobus_attach()
/freebsd-12.1/sys/powerpc/powermac/
H A Dkiic.c103 phandle_t sc_node; member
213 sc->sc_node = node; in kiic_attach()
222 sc->sc_node = node; in kiic_attach()
444 return sc->sc_node; in kiic_get_node()
H A Dcudavar.h89 int sc_node; member
H A Dmacgpio.c60 phandle_t sc_node; member
165 root = sc->sc_node = ofw_bus_get_node(dev); in macgpio_attach()
H A Dmacio.c65 phandle_t sc_node; member
325 root = sc->sc_node = ofw_bus_get_node(dev); in macio_attach()
/freebsd-12.1/sys/powerpc/ofw/
H A Dofw_syscons.h38 phandle_t sc_node; member
H A Dofw_syscons.c284 sc->sc_node = node; in ofwfb_configure()
461 OF_package_to_path(sc->sc_node, name, sizeof(name)); in ofwfb_set_mode()
/freebsd-12.1/sys/dev/fb/
H A Dmachfb.c83 phandle_t sc_node; member
486 sc->sc_node = output; in machfb_configure()
550 if (OF_getprop(sc->sc_node, "height", &sc->sc_height, in machfb_init()
553 if (OF_getprop(sc->sc_node, "width", &sc->sc_width, in machfb_init()
556 if (OF_getprop(sc->sc_node, "depth", &sc->sc_depth, in machfb_init()
1168 MACHFB_DRIVER_NAME, 0))) != NULL && sc->sc_node == node) { in machfb_pci_attach()
1174 sc->sc_node = node; in machfb_pci_attach()
1192 if (OF_getprop(sc->sc_node, "address", &u32, sizeof(u32)) > 0 && in machfb_pci_attach()
H A Dcreator.c64 phandle_t sc_node; member
438 sc->sc_node = output; in creator_configure()
477 if (OF_getprop(sc->sc_node, "height", &sc->sc_height, in creator_init()
480 if (OF_getprop(sc->sc_node, "width", &sc->sc_width, in creator_init()
918 CREATOR_DRIVER_NAME, 0))) != NULL && sc->sc_node == node) { in creator_bus_attach()
923 sc->sc_node = node; in creator_bus_attach()
/freebsd-12.1/sys/dev/powermac_nvram/
H A Dpowermac_nvramvar.h52 phandle_t sc_node; member
H A Dpowermac_nvram.c147 sc->sc_node = node; in powermac_nvram_attach()
/freebsd-12.1/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt.c639 if (ng_make_node_common(&typestruct, &sc->sc_node) != 0) { in ubt_attach()
645 if (ng_name_node(sc->sc_node, device_get_nameunit(dev)) != 0) { in ubt_attach()
647 NG_NODE_UNREF(sc->sc_node); in ubt_attach()
650 NG_NODE_SET_PRIVATE(sc->sc_node, sc); in ubt_attach()
651 NG_NODE_FORCE_WRITER(sc->sc_node); in ubt_attach()
773 node_p node = sc->sc_node; in ubt_detach()
777 sc->sc_node = NULL; in ubt_detach()
H A Dng_ubt_var.h144 node_p sc_node; /* pointer back to node */ member
/freebsd-12.1/sys/dev/ofw/
H A Dofwpci.h59 phandle_t sc_node; member
H A Dofwpci.c161 sc->sc_node = node; in ofw_pci_init()
608 return (sc->sc_node); in ofw_pci_get_node()
/freebsd-12.1/sys/sparc64/pci/
H A Dofw_pci.c72 sc->sc_node = node; in ofw_pci_attach_common()
405 return (sc->sc_node); in ofw_pci_get_node()
H A Dofw_pci.h147 phandle_t sc_node; member
/freebsd-12.1/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c57 phandle_t sc_node; member
397 sc->sc_node = node; in ofwfb_init()