Searched refs:driv (Results 1 – 2 of 2) sorted by relevance
25 struct comedi_driver *driv; in comedi_read() local50 for (driv = comedi_drivers; driv; driv = driv->next) { in comedi_read()51 seq_printf(m, "%s:\n", driv->driver_name); in comedi_read()52 for (i = 0; i < driv->num_names; i++) in comedi_read()54 *(char **)((char *)driv->board_name + in comedi_read()55 i * driv->offset)); in comedi_read()57 if (!driv->num_names) in comedi_read()58 seq_printf(m, " %s\n", driv->driver_name); in comedi_read()
790 static void *comedi_recognize(struct comedi_driver *driv, const char *name) in comedi_recognize() argument792 char **name_ptr = (char **)driv->board_name; in comedi_recognize()795 for (i = 0; i < driv->num_names; i++) { in comedi_recognize()798 name_ptr = (void *)name_ptr + driv->offset; in comedi_recognize()804 static void comedi_report_boards(struct comedi_driver *driv) in comedi_report_boards() argument810 driv->driver_name); in comedi_report_boards()812 name_ptr = driv->board_name; in comedi_report_boards()813 for (i = 0; i < driv->num_names; i++) { in comedi_report_boards()815 name_ptr = (const char **)((char *)name_ptr + driv->offset); in comedi_report_boards()818 if (driv->num_names == 0) in comedi_report_boards()[all …]