Home
last modified time | relevance | path

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

/drivers/mmc/card/
DKconfig18 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/
Dcommon.c415 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()
Dgigaset.h513 unsigned minors; member
723 struct gigaset_driver *gigaset_initdriver(unsigned minor, unsigned minors,
Dinterface.c565 drv->tty = tty = alloc_tty_driver(drv->minors); in gigaset_if_initdriver()
Dusb-gigaset.c933 for (i = 0; i < driver->minors; i++) in usb_gigaset_exit()
Dbas-gigaset.c2633 for (i = 0; i < driver->minors; i++) { in bas_gigaset_exit()
/drivers/usb/gadget/function/
Df_hid.c25 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/
Dspidev.c59 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/
Dxen-blkfront.c140 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/
Ddasd_genhd.c152 for (bpart.pno = block->gdp->minors - 1; bpart.pno > 0; bpart.pno--) in dasd_destroy_partitions()
/drivers/ide/
Dide-gd.c414 g->minors = IDE_DISK_MINORS;
Dide-probe.c923 disk->minors, NULL, exact_match, exact_lock, disk); in ide_register_region()
931 disk->minors); in ide_unregister_region()
Dide-cd.c1772 g->minors = 1; in ide_cd_probe()
/drivers/cdrom/
Dgdrom.c751 gd.disk->minors = 1; in probe_gdrom_setupdisk()
/drivers/scsi/
Dsd.c2919 gd->minors = SD_MINORS; in sd_probe_async()