Lines Matching refs:minor
397 int type, int minor, in dvb_register_media_device() argument
434 DVB_MAJOR, minor); in dvb_register_media_device()
467 int minor; in dvb_register_device() local
510 for (minor = 0; minor < MAX_DVB_MINORS; minor++) in dvb_register_device()
511 if (dvb_minors[minor] == NULL) in dvb_register_device()
514 if (minor == MAX_DVB_MINORS) { in dvb_register_device()
522 minor = nums2minor(adap->num, type, id); in dvb_register_device()
525 dvbdev->minor = minor; in dvb_register_device()
526 dvb_minors[minor] = dvb_device_get(dvbdev); in dvb_register_device()
529 ret = dvb_register_media_device(dvbdev, type, minor, demux_sink_pads); in dvb_register_device()
545 MKDEV(DVB_MAJOR, minor), in dvb_register_device()
553 adap->num, dnames[type], id, minor, minor); in dvb_register_device()
566 dvb_minors[dvbdev->minor] = NULL; in dvb_remove_device()
572 device_destroy(dvb_class, MKDEV(DVB_MAJOR, dvbdev->minor)); in dvb_remove_device()