Home
last modified time | relevance | path

Searched refs:minors (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/staging/greybus/
H A Dvibrator.c113 static DEFINE_IDA(minors);
156 vib->minor = ida_alloc(&minors, GFP_KERNEL); in gb_vibrator_probe()
176 ida_free(&minors, vib->minor); in gb_vibrator_probe()
200 ida_free(&minors, vib->minor); in gb_vibrator_disconnect()
244 ida_destroy(&minors); in gb_vibrator_exit()
H A Draw.c41 static DEFINE_IDA(minors);
184 minor = ida_alloc(&minors, GFP_KERNEL); in gb_raw_probe()
217 ida_free(&minors, minor); in gb_raw_probe()
238 ida_free(&minors, MINOR(raw->dev)); in gb_raw_disconnect()
376 ida_destroy(&minors); in raw_exit()
/linux/drivers/mmc/core/
H A DKconfig50 int "Number of minors per block device"
55 Number of minors per block device. One is needed for every
58 Number of total MMC minors available is 256, so your number
H A Dblock.c2652 md->disk->minors = perdev_minors; in mmc_blk_alloc_req()
/linux/Documentation/arch/arm/sa1100/
H A Dserial_uart.rst14 > serial devices", so you will have a range of minors on those majors (the
/linux/drivers/usb/gadget/function/
H A Df_printer.c56 static int major, minors; variable
1480 if (opts->minor >= minors) { in gprinter_alloc()
1551 minors = count; in gprinter_setup()
1559 unregister_chrdev_region(MKDEV(major, 0), minors); in gprinter_cleanup()
1560 major = minors = 0; in gprinter_cleanup()
H A Df_hid.c33 static int major, minors; variable
1604 minors = count; in ghid_setup()
1612 unregister_chrdev_region(MKDEV(major, 0), minors); in ghid_cleanup()
1613 major = minors = 0; in ghid_cleanup()
/linux/Documentation/input/
H A Dinput.rst105 There are two ranges of minors: 64 through 95 is the static legacy
107 evdev nodes are created with minors starting with 256.
167 And so on up to js31 in legacy range, and additional nodes with minors
/linux/arch/m68k/emu/
H A Dnfblock.c132 dev->disk->minors = 16; in nfhd_init_one()
/linux/arch/xtensa/platforms/iss/
H A Dsimdisk.c285 dev->gd->minors = SIMDISK_MINORS; in simdisk_setup()
/linux/drivers/block/
H A Dbrd.c395 disk->minors = max_part; in brd_alloc()
H A Dps3vram.c742 gendisk->minors = 1; in ps3vram_probe()
H A Dswim.c841 swd->unit[drive].disk->minors = 1; in swim_floppy_init()
H A Dsunvdc.c849 g->minors = 1 << PARTITION_SHIFT; in probe_disk()
H A Dpktcdvd.c2672 disk->minors = 1; in pkt_setup_dev()
/linux/block/partitions/
H A Dcore.c346 if (bdev_partno(bdev) < disk->minors) { in add_partition()
/linux/drivers/cdrom/
H A Dgdrom.c720 gd.disk->minors = 1; in probe_gdrom_setupdisk()
/linux/drivers/md/
H A Ddm-ima.c121 md->disk->minors, num_targets); in dm_ima_alloc_and_copy_device_data()
/linux/include/linux/
H A Dblkdev.h149 int minors; member
/linux/Documentation/scsi/
H A DChangeLog.sym53c8xx455 - Some other minors changes.
/linux/drivers/block/zram/
H A Dzram_drv.c2613 zram->disk->minors = 1; in zram_add()
/linux/drivers/md/bcache/
H A Dsuper.c974 d->disk->minors = BCACHE_MINORS; in bcache_device_init()
/linux/Documentation/arch/m68k/
H A Dkernel-options.rst118 knowledge that each disk uses 16 minors, and write "root=/dev/sde17"
/linux/drivers/block/drbd/
H A Ddrbd_main.c2721 disk->minors = 1; in drbd_create_device()
/linux/Documentation/admin-guide/
H A Ddevices.txt425 Each device type has 5 bits (32 minors).
1646 subdevice number. These subdevice minors are assigned

12