Lines Matching +defs:val +defs:data
38 struct thermal_data *data = dev_get_drvdata(dev); in power_state_show() local
39 unsigned int val; in power_state_show() local
51 struct thermal_data *data = dev_get_drvdata(dev); in power_state_store() local
52 unsigned long val; in power_state_store() local
271 static int __emc1403_get_temp(struct thermal_data *data, int channel, in __emc1403_get_temp()
272 enum emc1403_reg_map map, long *val) in __emc1403_get_temp()
298 static int emc1403_get_temp(struct thermal_data *data, int channel, in emc1403_get_temp()
299 enum emc1403_reg_map map, long *val) in emc1403_get_temp()
310 static int emc1403_get_hyst(struct thermal_data *data, int channel, in emc1403_get_hyst()
311 enum emc1403_reg_map map, long *val) in emc1403_get_hyst()
332 static int emc1403_temp_read(struct thermal_data *data, u32 attr, int channel, long *val) in emc1403_temp_read()
404 static int emc1403_get_convrate(struct thermal_data *data, long *val) in emc1403_get_convrate()
419 static int emc1403_chip_read(struct thermal_data *data, u32 attr, long *val) in emc1403_chip_read()
430 u32 attr, int channel, long *val) in emc1403_read()
432 struct thermal_data *data = dev_get_drvdata(dev); in emc1403_read() local
444 static int emc1403_set_hyst(struct thermal_data *data, long val) in emc1403_set_hyst()
470 static int emc1403_set_temp(struct thermal_data *data, int channel, in emc1403_set_temp()
471 enum emc1403_reg_map map, long val) in emc1403_set_temp()
505 static int emc1403_temp_write(struct thermal_data *data, u32 attr, int channel, long val) in emc1403_temp_write()
524 static int emc1403_set_convrate(struct thermal_data *data, unsigned int interval) in emc1403_set_convrate()
533 static int emc1403_chip_write(struct thermal_data *data, u32 attr, long val) in emc1403_chip_write()
544 u32 attr, int channel, long val) in emc1403_write()
546 struct thermal_data *data = dev_get_drvdata(dev); in emc1403_write() local
560 const struct thermal_data *data = _data; in emc1403_temp_is_visible() local
601 static umode_t emc1403_is_visible(const void *data, enum hwmon_sensor_types type, in emc1403_is_visible()
684 struct thermal_data *data; in emc1403_probe() local