Lines Matching defs:minor
38 * SPI has a character major number assigned. We allocate minor numbers
41 * nodes, since there is no fixed association of minor numbers with any
588 pr_debug("spidev: nothing for minor %d\n", iminor(inode));
742 unsigned long minor;
767 /* If we can allocate a minor number, hook up this device.
771 minor = find_first_zero_bit(minors, N_SPI_MINORS);
772 if (minor < N_SPI_MINORS) {
775 spidev->devt = MKDEV(SPIDEV_MAJOR, minor);
781 dev_dbg(&spi->dev, "no minor number available!\n");
785 set_bit(minor, minors);