Searched refs:ch_dev (Results 1 – 3 of 3) sorted by relevance
1017 chan->ch_dev = device_add_child(parent, NULL, DEVICE_UNIT_ANY); in vmbus_add_child()1018 if (chan->ch_dev == NULL) { in vmbus_add_child()1024 device_set_ivars(chan->ch_dev, chan); in vmbus_add_child()1025 device_probe_and_attach(chan->ch_dev); in vmbus_add_child()1037 if (chan->ch_dev != NULL) { in vmbus_delete_child()1039 chan->ch_dev); in vmbus_delete_child()1040 chan->ch_dev = NULL; in vmbus_delete_child()
101 device_t ch_dev; member
269 SYSCTL_CHILDREN(device_get_sysctl_tree(chan->ch_dev)), in vmbus_chan_sysctl_create()1764 newchan->ch_dev = prichan->ch_dev; in vmbus_chan_add()2280 if (chan->ch_dev == NULL || !device_is_alive(chan->ch_dev)) in vmbus_chan_printf()2283 dev = chan->ch_dev; in vmbus_chan_printf()