Lines Matching refs:major
1412 int major = imajor(inode);
1419 if ((ep_iter->major == major) &&
1430 pr_err("xillybus: open() failed to find a device for major=%d and minor=%d\n",
1431 major, minor);
1806 int devnum, i, minor, major;
1814 dev_warn(endpoint->dev, "Failed to obtain major/minors");
1818 endpoint->major = major = MAJOR(dev);
1823 rc = cdev_add(&endpoint->cdev, MKDEV(major, minor),
1844 MKDEV(major, i),
1864 device_destroy(xillybus_class, MKDEV(major, i));
1868 unregister_chrdev_region(MKDEV(major, minor), endpoint->num_channels);
1880 device_destroy(xillybus_class, MKDEV(endpoint->major, minor));
1882 unregister_chrdev_region(MKDEV(endpoint->major,