Searched refs:minors (Results 1 – 15 of 15) sorted by relevance
/drivers/mmc/card/ |
D | Kconfig | 18 int "Number of minors per block device" 23 Number of minors per block device. One is needed for every 26 Number of total MMC minors available is 256, so your number
|
/drivers/isdn/gigaset/ |
D | common.c | 415 for (i = 0; i < drv->minors; ++i) { in alloc_cs() 992 for (i = 0; i < drv->minors; ++i) { in gigaset_get_cs_by_id() 1016 if (minor < drv->minor || minor >= drv->minor + drv->minors) in gigaset_get_cs_by_minor() 1070 struct gigaset_driver *gigaset_initdriver(unsigned minor, unsigned minors, in gigaset_initdriver() argument 1086 drv->minors = minors; in gigaset_initdriver() 1093 drv->cs = kmalloc(minors * sizeof *drv->cs, GFP_KERNEL); in gigaset_initdriver() 1097 for (i = 0; i < minors; ++i) { in gigaset_initdriver()
|
D | gigaset.h | 513 unsigned minors; member 723 struct gigaset_driver *gigaset_initdriver(unsigned minor, unsigned minors,
|
D | interface.c | 565 drv->tty = tty = alloc_tty_driver(drv->minors); in gigaset_if_initdriver()
|
D | usb-gigaset.c | 933 for (i = 0; i < driver->minors; i++) in usb_gigaset_exit()
|
D | bas-gigaset.c | 2633 for (i = 0; i < driver->minors; i++) { in bas_gigaset_exit()
|
/drivers/usb/gadget/function/ |
D | f_hid.c | 25 static int major, minors; variable 692 if (index >= minors) in hidg_bind_config() 750 minors = count; in ghid_setup() 759 unregister_chrdev_region(MKDEV(major, 0), minors); in ghid_cleanup() 760 major = minors = 0; in ghid_cleanup()
|
/drivers/spi/ |
D | spidev.c | 59 static DECLARE_BITMAP(minors, N_SPI_MINORS); 637 minor = find_first_zero_bit(minors, N_SPI_MINORS); in spidev_probe() 651 set_bit(minor, minors); in spidev_probe() 677 clear_bit(MINOR(spidev->devt), minors); in spidev_remove()
|
/drivers/block/ |
D | xen-blkfront.c | 140 static unsigned long *minors; variable 296 old = minors; in xlbd_reserve_minors() 297 memcpy(bitmap, minors, in xlbd_reserve_minors() 299 minors = bitmap; in xlbd_reserve_minors() 308 if (find_next_bit(minors, end, minor) >= end) { in xlbd_reserve_minors() 309 bitmap_set(minors, minor, nr); in xlbd_reserve_minors() 324 bitmap_clear(minors, minor, nr); in xlbd_release_minors() 892 nr_minors = info->gd->minors; in xlvbd_release_gendisk() 2107 kfree(minors); in xlblk_exit()
|
/drivers/s390/block/ |
D | dasd_genhd.c | 152 for (bpart.pno = block->gdp->minors - 1; bpart.pno > 0; bpart.pno--) in dasd_destroy_partitions()
|
/drivers/ide/ |
D | ide-gd.c | 414 g->minors = IDE_DISK_MINORS;
|
D | ide-probe.c | 923 disk->minors, NULL, exact_match, exact_lock, disk); in ide_register_region() 931 disk->minors); in ide_unregister_region()
|
D | ide-cd.c | 1772 g->minors = 1; in ide_cd_probe()
|
/drivers/cdrom/ |
D | gdrom.c | 751 gd.disk->minors = 1; in probe_gdrom_setupdisk()
|
/drivers/scsi/ |
D | sd.c | 2919 gd->minors = SD_MINORS; in sd_probe_async()
|