/src/usr.sbin/wsmuxctl/ |
wsmuxctl.c | 58 parsedev(const char *dev, struct wsmux_device *mdev) 60 if (sscanf(dev, "wsmouse%d", &mdev->idx) == 1) { 61 mdev->type = WSMUX_MOUSE; 64 if (sscanf(dev, "wskbd%d", &mdev->idx) == 1) { 65 mdev->type = WSMUX_KBD; 68 if (sscanf(dev, "wsmux%d", &mdev->idx) == 1) { 69 mdev->type = WSMUX_MUX; 72 if (sscanf(dev, "wsbell%d", &mdev->idx) == 1) { 73 mdev->type = WSMUX_BELL; 115 struct wsmux_device mdev; local in function:main [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
gvt.h | 203 struct mdev_device *mdev; member in struct:intel_vgpu::__anon1940818c0308
|
kvmgt.c | 49 #include <linux/mdev.h> 121 static int kvmgt_guest_init(struct mdev_device *mdev); 137 ret = vfio_unpin_pages(mdev_dev(vgpu->vdev.mdev), &cur_gfn, 1); 160 ret = vfio_pin_pages(mdev_dev(vgpu->vdev.mdev), &cur_gfn, 1, 576 mdev_dev(vgpu->vdev.mdev)); 651 static int intel_vgpu_create(struct kobject *kobj, struct mdev_device *mdev) 659 pdev = mdev_parent_dev(mdev); 679 vgpu->vdev.mdev = mdev; 680 mdev_set_drvdata(mdev, vgpu) 1562 struct mdev_device *mdev = mdev_from_dev(dev); local in function:vgpu_id_show [all...] |
/src/sys/dev/usb/ |
umidi.c | 130 device_t mdev; member in struct:umidi_mididev 429 if (sc->sc_mididevs[i].mdev == child) 433 sc->sc_mididevs[i].mdev = NULL; 1433 mididev->mdev = midi_attach_mi(&umidi_hw_if, mididev, sc->sc_dev); 1453 if (mididev->mdev != NULL) 1454 config_detach(mididev->mdev, flags);
|