Searched refs:COMEDI_MAJOR (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/comedi/ |
D | comedi_fops.c | 1899 request_module("char-major-%i-%i", COMEDI_MAJOR, dev->minor); in comedi_open() 2050 retval = register_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() 2057 if (cdev_add(&comedi_cdev, MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS)) { in comedi_init() 2058 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() 2066 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() 2081 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), in comedi_init() 2100 unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS); in comedi_cleanup() 2244 MKDEV(COMEDI_MAJOR, i), NULL, "comedi%i", i); in comedi_alloc_board_minor() 2303 MKDEV(COMEDI_MAJOR, dev->minor)); in comedi_free_board_minor() 2361 MKDEV(COMEDI_MAJOR, i), NULL, "comedi%i_subd%i", in comedi_alloc_subdevice_minor() [all …]
|
D | comedi.h | 33 #define COMEDI_MAJOR 98 macro
|