driv 791 drivers/staging/comedi/drivers.c static void *comedi_recognize(struct comedi_driver *driv, const char *name) driv 793 drivers/staging/comedi/drivers.c char **name_ptr = (char **)driv->board_name; driv 796 drivers/staging/comedi/drivers.c for (i = 0; i < driv->num_names; i++) { driv 799 drivers/staging/comedi/drivers.c name_ptr = (void *)name_ptr + driv->offset; driv 805 drivers/staging/comedi/drivers.c static void comedi_report_boards(struct comedi_driver *driv) driv 811 drivers/staging/comedi/drivers.c driv->driver_name); driv 813 drivers/staging/comedi/drivers.c name_ptr = driv->board_name; driv 814 drivers/staging/comedi/drivers.c for (i = 0; i < driv->num_names; i++) { driv 816 drivers/staging/comedi/drivers.c name_ptr = (const char **)((char *)name_ptr + driv->offset); driv 819 drivers/staging/comedi/drivers.c if (driv->num_names == 0) driv 820 drivers/staging/comedi/drivers.c pr_info(" %s\n", driv->driver_name); driv 952 drivers/staging/comedi/drivers.c struct comedi_driver *driv; driv 960 drivers/staging/comedi/drivers.c for (driv = comedi_drivers; driv; driv = driv->next) { driv 961 drivers/staging/comedi/drivers.c if (!try_module_get(driv->module)) driv 963 drivers/staging/comedi/drivers.c if (driv->num_names) { driv 964 drivers/staging/comedi/drivers.c dev->board_ptr = comedi_recognize(driv, it->board_name); driv 967 drivers/staging/comedi/drivers.c } else if (strcmp(driv->driver_name, it->board_name) == 0) { driv 970 drivers/staging/comedi/drivers.c module_put(driv->module); driv 972 drivers/staging/comedi/drivers.c if (!driv) { driv 975 drivers/staging/comedi/drivers.c for (driv = comedi_drivers; driv; driv = driv->next) { driv 976 drivers/staging/comedi/drivers.c if (!try_module_get(driv->module)) driv 978 drivers/staging/comedi/drivers.c comedi_report_boards(driv); driv 979 drivers/staging/comedi/drivers.c module_put(driv->module); driv 984 drivers/staging/comedi/drivers.c if (!driv->attach) { driv 988 drivers/staging/comedi/drivers.c driv->driver_name); driv 989 drivers/staging/comedi/drivers.c module_put(driv->module); driv 993 drivers/staging/comedi/drivers.c dev->driver = driv; driv 996 drivers/staging/comedi/drivers.c ret = driv->attach(dev, it); driv 1001 drivers/staging/comedi/drivers.c module_put(driv->module); driv 25 drivers/staging/comedi/proc.c struct comedi_driver *driv; driv 50 drivers/staging/comedi/proc.c for (driv = comedi_drivers; driv; driv = driv->next) { driv 51 drivers/staging/comedi/proc.c seq_printf(m, "%s:\n", driv->driver_name); driv 52 drivers/staging/comedi/proc.c for (i = 0; i < driv->num_names; i++) driv 54 drivers/staging/comedi/proc.c *(char **)((char *)driv->board_name + driv 55 drivers/staging/comedi/proc.c i * driv->offset)); driv 57 drivers/staging/comedi/proc.c if (!driv->num_names) driv 58 drivers/staging/comedi/proc.c seq_printf(m, " %s\n", driv->driver_name);