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