Searched refs:ch_dev (Results 1 – 4 of 4) sorted by relevance
1039 chan->ch_dev = device_add_child(parent, NULL, DEVICE_UNIT_ANY); in vmbus_add_child()1040 if (chan->ch_dev == NULL) { in vmbus_add_child()1046 device_set_ivars(chan->ch_dev, chan); in vmbus_add_child()1047 device_probe_and_attach(chan->ch_dev); in vmbus_add_child()1059 if (chan->ch_dev != NULL) { in vmbus_delete_child()1061 chan->ch_dev); in vmbus_delete_child()1062 chan->ch_dev = NULL; in vmbus_delete_child()
103 device_t ch_dev; member
269 SYSCTL_CHILDREN(device_get_sysctl_tree(chan->ch_dev)), in vmbus_chan_sysctl_create()1771 newchan->ch_dev = prichan->ch_dev; in vmbus_chan_add()1973 if (chan->ch_dev && chan->ch_rescind_cb) { in vmbus_chan_msgproc_chrescind()2296 if (chan->ch_dev == NULL || !device_is_alive(chan->ch_dev)) in vmbus_chan_printf()2299 dev = chan->ch_dev; in vmbus_chan_printf()
176 struct uio_hv_softc *sc = device_get_softc(chan->ch_dev); in uio_hv_rescind_cb()