Searched refs:driv (Results 1 – 2 of 2) sorted by relevance
322 static void *comedi_recognize(struct comedi_driver *driv, const char *name) in comedi_recognize() argument324 char **name_ptr = (char **)driv->board_name; in comedi_recognize()327 for (i = 0; i < driv->num_names; i++) { in comedi_recognize()330 name_ptr = (void *)name_ptr + driv->offset; in comedi_recognize()336 static void comedi_report_boards(struct comedi_driver *driv) in comedi_report_boards() argument342 driv->driver_name); in comedi_report_boards()344 name_ptr = driv->board_name; in comedi_report_boards()345 for (i = 0; i < driv->num_names; i++) { in comedi_report_boards()347 name_ptr = (const char **)((char *)name_ptr + driv->offset); in comedi_report_boards()350 if (driv->num_names == 0) in comedi_report_boards()[all …]
40 struct comedi_driver *driv; in comedi_read() local63 for (driv = comedi_drivers; driv; driv = driv->next) { in comedi_read()64 seq_printf(m, "%s:\n", driv->driver_name); in comedi_read()65 for (i = 0; i < driv->num_names; i++) in comedi_read()67 *(char **)((char *)driv->board_name + in comedi_read()68 i * driv->offset)); in comedi_read()70 if (!driv->num_names) in comedi_read()71 seq_printf(m, " %s\n", driv->driver_name); in comedi_read()