Lines Matching refs:kim_data
411 struct kim_data_s *kim_gdata = st_gdata->kim_data; in st_kim_recv()
429 void st_kim_complete(void *kim_data) in st_kim_complete() argument
431 struct kim_data_s *kim_gdata = (struct kim_data_s *)kim_data; in st_kim_complete()
442 long st_kim_start(void *kim_data) in st_kim_start() argument
447 struct kim_data_s *kim_gdata = (struct kim_data_s *)kim_data; in st_kim_start()
506 long st_kim_stop(void *kim_data) in st_kim_stop() argument
509 struct kim_data_s *kim_gdata = (struct kim_data_s *)kim_data; in st_kim_stop()
572 struct kim_data_s *kim_data = dev_get_drvdata(dev); in show_install() local
573 return sprintf(buf, "%d\n", kim_data->ldisc_install); in show_install()
580 struct kim_data_s *kim_data = dev_get_drvdata(dev); in store_dev_name() local
582 strncpy(kim_data->dev_name, buf, count); in store_dev_name()
583 pr_debug("stored dev name >%s<", kim_data->dev_name); in store_dev_name()
590 struct kim_data_s *kim_data = dev_get_drvdata(dev); in store_baud_rate() local
592 sscanf(buf, "%ld", &kim_data->baud_rate); in store_baud_rate()
593 pr_debug("stored baud rate >%ld<", kim_data->baud_rate); in store_baud_rate()
601 struct kim_data_s *kim_data = dev_get_drvdata(dev); in show_dev_name() local
602 return sprintf(buf, "%s\n", kim_data->dev_name); in show_dev_name()
608 struct kim_data_s *kim_data = dev_get_drvdata(dev); in show_baud_rate() local
609 return sprintf(buf, "%ld\n", kim_data->baud_rate); in show_baud_rate()
615 struct kim_data_s *kim_data = dev_get_drvdata(dev); in show_flow_cntrl() local
616 return sprintf(buf, "%d\n", kim_data->flow_cntrl); in show_flow_cntrl()
732 kim_gdata->core_data->kim_data = kim_gdata; in kim_probe()