Lines Matching refs:kim_data
432 struct kim_data_s *kim_gdata = st_gdata->kim_data; in st_kim_recv()
444 void st_kim_complete(void *kim_data) in st_kim_complete() argument
446 struct kim_data_s *kim_gdata = (struct kim_data_s *)kim_data; in st_kim_complete()
457 long st_kim_start(void *kim_data) in st_kim_start() argument
462 struct kim_data_s *kim_gdata = (struct kim_data_s *)kim_data; in st_kim_start()
521 long st_kim_stop(void *kim_data) in st_kim_stop() argument
524 struct kim_data_s *kim_gdata = (struct kim_data_s *)kim_data; in st_kim_stop()
586 struct kim_data_s *kim_data = dev_get_drvdata(dev); in show_install() local
587 return sprintf(buf, "%d\n", kim_data->ldisc_install); in show_install()
594 struct kim_data_s *kim_data = dev_get_drvdata(dev); in store_dev_name() local
596 strncpy(kim_data->dev_name, buf, count); in store_dev_name()
597 pr_debug("stored dev name >%s<", kim_data->dev_name); in store_dev_name()
604 struct kim_data_s *kim_data = dev_get_drvdata(dev); in store_baud_rate() local
606 sscanf(buf, "%ld", &kim_data->baud_rate); in store_baud_rate()
607 pr_debug("stored baud rate >%ld<", kim_data->baud_rate); in store_baud_rate()
615 struct kim_data_s *kim_data = dev_get_drvdata(dev); in show_dev_name() local
616 return sprintf(buf, "%s\n", kim_data->dev_name); in show_dev_name()
622 struct kim_data_s *kim_data = dev_get_drvdata(dev); in show_baud_rate() local
623 return sprintf(buf, "%d\n", kim_data->baud_rate); in show_baud_rate()
629 struct kim_data_s *kim_data = dev_get_drvdata(dev); in show_flow_cntrl() local
630 return sprintf(buf, "%d\n", kim_data->flow_cntrl); in show_flow_cntrl()
751 kim_gdata->core_data->kim_data = kim_gdata; in kim_probe()