Searched refs:driv (Results 1 – 3 of 3) sorted by relevance
44 struct comedi_driver *driv; in comedi_read() local72 for (driv = comedi_drivers; driv; driv = driv->next) { in comedi_read()73 l += sprintf(buf + l, "%s:\n", driv->driver_name); in comedi_read()74 for (i = 0; i < driv->num_names; i++) { in comedi_read()76 *(char **)((char *)driv->board_name + in comedi_read()77 i * driv->offset)); in comedi_read()79 if (!driv->num_names) in comedi_read()80 l += sprintf(buf + l, " %s\n", driv->driver_name); in comedi_read()
53 static void *comedi_recognize(struct comedi_driver *driv, const char *name);54 static void comedi_report_boards(struct comedi_driver *driv);111 struct comedi_driver *driv; in comedi_device_attach() local117 for (driv = comedi_drivers; driv; driv = driv->next) { in comedi_device_attach()118 if (!try_module_get(driv->module)) { in comedi_device_attach()122 if (driv->num_names) { in comedi_device_attach()123 dev->board_ptr = comedi_recognize(driv, it->board_name); in comedi_device_attach()125 module_put(driv->module); in comedi_device_attach()129 if (strcmp(driv->driver_name, it->board_name)) { in comedi_device_attach()130 module_put(driv->module); in comedi_device_attach()[all …]
207 2. Add Poll_wait mechanism to Gen-2 Linux driv.