Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/comedi/
Dcomedi_fops.c193 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()
2875 retval = register_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init()
2887 retval = cdev_add(&comedi_cdev, MKDEV(COMEDI_MAJOR, 0), in comedi_init()
2925 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS); in comedi_init()
2935 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS); in comedi_cleanup()
Dcomedi.h19 #define COMEDI_MAJOR 98 macro