Home
last modified time | relevance | path

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

/drivers/media/dvb-core/
Ddvbdev.c68 #define MAX_DVB_MINORS 256 macro
69 #define DVB_MAX_IDS MAX_DVB_MINORS
88 #define MAX_DVB_MINORS (DVB_MAX_ADAPTERS*64) macro
93 static struct dvb_device *dvb_minors[MAX_DVB_MINORS];
537 for (minor = 0; minor < MAX_DVB_MINORS; minor++) in dvb_register_device()
540 if (minor == MAX_DVB_MINORS) { in dvb_register_device()
1100 if ((retval = register_chrdev_region(dev, MAX_DVB_MINORS, "DVB")) != 0) { in init_dvbdev()
1106 if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) { in init_dvbdev()
1122 unregister_chrdev_region(dev, MAX_DVB_MINORS); in init_dvbdev()
1133 unregister_chrdev_region(MKDEV(DVB_MAJOR, 0), MAX_DVB_MINORS); in exit_dvbdev()