Lines Matching refs:tc654_data
59 struct tc654_data { struct
134 static struct tc654_data *tc654_update_client(struct device *dev) in tc654_update_client() argument
136 struct tc654_data *data = dev_get_drvdata(dev); in tc654_update_client()
199 struct tc654_data *data = tc654_update_client(dev); in fan_show()
217 struct tc654_data *data = tc654_update_client(dev); in fan_min_show()
230 struct tc654_data *data = dev_get_drvdata(dev); in fan_min_store()
254 struct tc654_data *data = tc654_update_client(dev); in fan_alarm_show()
274 struct tc654_data *data = tc654_update_client(dev); in fan_pulses_show()
289 struct tc654_data *data = dev_get_drvdata(dev); in fan_pulses_store()
328 struct tc654_data *data = tc654_update_client(dev); in pwm_mode_show()
339 struct tc654_data *data = dev_get_drvdata(dev); in pwm_mode_store()
369 struct tc654_data *data = tc654_update_client(dev); in pwm_show()
383 static int _set_pwm(struct tc654_data *data, unsigned long val) in _set_pwm()
413 struct tc654_data *data = dev_get_drvdata(dev); in pwm_store()
479 struct tc654_data *data = tc654_update_client(cdev->devdata); in tc654_get_cur_state()
494 struct tc654_data *data = tc654_update_client(cdev->devdata); in tc654_set_cur_state()
515 struct tc654_data *data; in tc654_probe()
522 data = devm_kzalloc(dev, sizeof(struct tc654_data), GFP_KERNEL); in tc654_probe()