Searched refs:COMEDI_MAJOR (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/comedi/ |
D | comedi_fops.c | 206 MKDEV(COMEDI_MAJOR, dev->minor)); in comedi_free_board_dev() 2773 MKDEV(COMEDI_MAJOR, i), NULL, "comedi%i", i); in comedi_alloc_board_minor() 2822 MKDEV(COMEDI_MAJOR, i), NULL, "comedi%i_subd%i", in comedi_alloc_subdevice_minor() 2846 device_destroy(comedi_class, MKDEV(COMEDI_MAJOR, s->minor)); in comedi_free_subdevice_minor() 2876 retval = register_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() 2885 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() 2890 if (cdev_add(&comedi_cdev, MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS)) { in comedi_init() 2891 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() 2899 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() 2915 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() [all …]
|
D | comedi.h | 28 #define COMEDI_MAJOR 98 macro
|