Lines Matching refs:devt
607 dev_t devt; in hwicap_setup() local
635 devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR + id); in hwicap_setup()
662 drvdata->devt = devt; in hwicap_setup()
684 retval = cdev_add(&drvdata->cdev, devt, 1); in hwicap_setup()
690 device_create(icap_class, dev, devt, NULL, "%s%d", DRIVER_NAME, id); in hwicap_setup()
733 device_destroy(icap_class, drvdata->devt); in hwicap_remove()
740 probed_devices[MINOR(dev->devt)-XHWICAP_MINOR] = 0; in hwicap_remove()
856 dev_t devt; in hwicap_module_init() local
862 devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR); in hwicap_module_init()
863 retval = register_chrdev_region(devt, in hwicap_module_init()
876 unregister_chrdev_region(devt, HWICAP_DEVICES); in hwicap_module_init()
883 dev_t devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR); in hwicap_module_cleanup() local
889 unregister_chrdev_region(devt, HWICAP_DEVICES); in hwicap_module_cleanup()