Lines Matching refs:lowest_minor
37 int lowest_minor; member
88 unit->lowest_minor = MINOR(mdev); in xillybus_init_chrdev()
100 rc = cdev_add(unit->cdev, MKDEV(unit->major, unit->lowest_minor), in xillybus_init_chrdev()
127 i + unit->lowest_minor), in xillybus_init_chrdev()
156 i + unit->lowest_minor)); in xillybus_init_chrdev()
161 unregister_chrdev_region(MKDEV(unit->major, unit->lowest_minor), in xillybus_init_chrdev()
194 for (minor = unit->lowest_minor; in xillybus_cleanup_chrdev()
195 minor < (unit->lowest_minor + unit->num_nodes); in xillybus_cleanup_chrdev()
201 unregister_chrdev_region(MKDEV(unit->major, unit->lowest_minor), in xillybus_cleanup_chrdev()
226 minor >= unit->lowest_minor && in xillybus_find_inode()
227 minor < (unit->lowest_minor + unit->num_nodes)) { in xillybus_find_inode()
238 *index = minor - unit->lowest_minor; in xillybus_find_inode()