Lines Matching refs:MAX_DVB_MINORS
58 #define MAX_DVB_MINORS 256 macro
59 #define DVB_MAX_IDS MAX_DVB_MINORS
78 #define MAX_DVB_MINORS (DVB_MAX_ADAPTERS * 64) macro
83 static struct dvb_device *dvb_minors[MAX_DVB_MINORS];
91 if (minor >= MAX_DVB_MINORS) in dvb_device_open()
530 for (minor = 0; minor < MAX_DVB_MINORS; minor++) in dvb_register_device()
536 if (minor >= MAX_DVB_MINORS) { in dvb_register_device()
1092 retval = register_chrdev_region(dev, MAX_DVB_MINORS, "DVB"); in init_dvbdev()
1099 retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS); in init_dvbdev()
1116 unregister_chrdev_region(dev, MAX_DVB_MINORS); in init_dvbdev()
1126 unregister_chrdev_region(MKDEV(DVB_MAJOR, 0), MAX_DVB_MINORS); in exit_dvbdev()