Searched refs:xctrl (Results 1 – 1 of 1) sorted by relevance
420 struct xctrl_softc *xctrl; in xctrl_attach() local422 xctrl = device_get_softc(dev); in xctrl_attach()425 xctrl->xctrl_watch.node = "control/shutdown"; in xctrl_attach()426 xctrl->xctrl_watch.callback = xctrl_on_watch_event; in xctrl_attach()427 xctrl->xctrl_watch.callback_data = (uintptr_t)xctrl; in xctrl_attach()433 xctrl->xctrl_watch.max_pending = 1; in xctrl_attach()434 xs_register_watch(&xctrl->xctrl_watch); in xctrl_attach()455 struct xctrl_softc *xctrl; in xctrl_detach() local457 xctrl = device_get_softc(dev); in xctrl_detach()460 xs_unregister_watch(&xctrl->xctrl_watch); in xctrl_detach()[all …]