Lines Matching refs:ntc_data
217 struct ntc_data { struct
350 static int get_ohm_of_thermistor(struct ntc_data *data, unsigned int uv) in get_ohm_of_thermistor()
380 static void lookup_comp(struct ntc_data *data, unsigned int ohm, in lookup_comp()
446 static int get_temp_mc(struct ntc_data *data, unsigned int ohm) in get_temp_mc()
464 static int ntc_thermistor_get_ohm(struct ntc_data *data) in ntc_thermistor_get_ohm()
482 struct ntc_data *data = dev_get_drvdata(dev); in ntc_read_temp()
497 struct ntc_data *data = dev_get_drvdata(dev); in ntc_show_name()
511 struct ntc_data *data = dev_get_drvdata(dev); in ntc_show_temp()
546 struct ntc_data *data; in ntc_thermistor_probe()
585 data = devm_kzalloc(&pdev->dev, sizeof(struct ntc_data), GFP_KERNEL); in ntc_thermistor_probe()
652 struct ntc_data *data = platform_get_drvdata(pdev); in ntc_thermistor_remove()