Lines Matching refs:smsc47m1_data
116 struct smsc47m1_data { struct
137 static inline int smsc47m1_read_value(struct smsc47m1_data *data, u8 reg) in smsc47m1_read_value() argument
142 static inline void smsc47m1_write_value(struct smsc47m1_data *data, u8 reg, in smsc47m1_write_value()
148 static struct smsc47m1_data *smsc47m1_update_device(struct device *dev, in smsc47m1_update_device()
151 struct smsc47m1_data *data = dev_get_drvdata(dev); in smsc47m1_update_device()
201 struct smsc47m1_data *data = smsc47m1_update_device(dev, 0); in fan_show()
220 struct smsc47m1_data *data = smsc47m1_update_device(dev, 0); in fan_min_show()
231 struct smsc47m1_data *data = smsc47m1_update_device(dev, 0); in fan_div_show()
239 struct smsc47m1_data *data = smsc47m1_update_device(dev, 0); in fan_alarm_show()
247 struct smsc47m1_data *data = smsc47m1_update_device(dev, 0); in pwm_show()
255 struct smsc47m1_data *data = smsc47m1_update_device(dev, 0); in pwm_en_show()
262 struct smsc47m1_data *data = smsc47m1_update_device(dev, 0); in alarms_show()
271 struct smsc47m1_data *data = dev_get_drvdata(dev); in fan_min_store()
308 struct smsc47m1_data *data = dev_get_drvdata(dev); in fan_div_store()
373 struct smsc47m1_data *data = dev_get_drvdata(dev); in pwm_store()
400 struct smsc47m1_data *data = dev_get_drvdata(dev); in pwm_en_store()
446 struct smsc47m1_data *data = dev_get_drvdata(dev); in name_show()
711 struct smsc47m1_data *data; in smsc47m1_probe()
727 data = devm_kzalloc(dev, sizeof(struct smsc47m1_data), GFP_KERNEL); in smsc47m1_probe()
845 struct smsc47m1_data *data = platform_get_drvdata(pdev); in smsc47m1_remove()