Home
last modified time | relevance | path

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

/openbmc/linux/samples/vfio-mdev/
H A Dmdpy.c86 static dev_t mdpy_devt; variable
699 ret = alloc_chrdev_region(&mdpy_devt, 0, MINORMASK + 1, MDPY_NAME); in mdpy_dev_init()
705 cdev_add(&mdpy_cdev, mdpy_devt, MINORMASK + 1); in mdpy_dev_init()
706 pr_info("%s: major %d\n", __func__, MAJOR(mdpy_devt)); in mdpy_dev_init()
743 unregister_chrdev_region(mdpy_devt, MINORMASK + 1); in mdpy_dev_init()
755 unregister_chrdev_region(mdpy_devt, MINORMASK + 1); in mdpy_dev_exit()