• Home
  • Raw
  • Download

Lines Matching refs:lm78_data

110 struct lm78_data {  struct
136 static int lm78_read_value(struct lm78_data *data, u8 reg); argument
137 static int lm78_write_value(struct lm78_data *data, u8 reg, u8 value);
138 static struct lm78_data *lm78_update_device(struct device *dev);
139 static void lm78_init_device(struct lm78_data *data);
146 struct lm78_data *data = lm78_update_device(dev); in in_show()
154 struct lm78_data *data = lm78_update_device(dev); in in_min_show()
162 struct lm78_data *data = lm78_update_device(dev); in in_max_show()
170 struct lm78_data *data = dev_get_drvdata(dev); in in_min_store()
190 struct lm78_data *data = dev_get_drvdata(dev); in in_max_store()
232 struct lm78_data *data = lm78_update_device(dev); in temp1_input_show()
239 struct lm78_data *data = lm78_update_device(dev); in temp1_max_show()
247 struct lm78_data *data = dev_get_drvdata(dev); in temp1_max_store()
265 struct lm78_data *data = lm78_update_device(dev); in temp1_max_hyst_show()
273 struct lm78_data *data = dev_get_drvdata(dev); in temp1_max_hyst_store()
297 struct lm78_data *data = lm78_update_device(dev); in fan_show()
307 struct lm78_data *data = lm78_update_device(dev); in fan_min_show()
317 struct lm78_data *data = dev_get_drvdata(dev); in fan_min_store()
337 struct lm78_data *data = lm78_update_device(dev); in fan_div_show()
351 struct lm78_data *data = dev_get_drvdata(dev); in fan_div_store()
422 struct lm78_data *data = lm78_update_device(dev); in cpu0_vid_show()
431 struct lm78_data *data = lm78_update_device(dev); in alarms_show()
439 struct lm78_data *data = lm78_update_device(dev); in alarm_show()
518 static struct lm78_data *lm78_data_if_isa(void) in lm78_data_if_isa()
526 struct lm78_data *isa; in lm78_alias_detect()
565 static struct lm78_data *lm78_data_if_isa(void) in lm78_data_if_isa()
575 struct lm78_data *isa = lm78_data_if_isa(); in lm78_i2c_detect()
636 struct lm78_data *data; in lm78_i2c_probe()
638 data = devm_kzalloc(dev, sizeof(struct lm78_data), GFP_KERNEL); in lm78_i2c_probe()
678 static int lm78_read_value(struct lm78_data *data, u8 reg) in lm78_read_value()
695 static int lm78_write_value(struct lm78_data *data, u8 reg, u8 value) in lm78_write_value()
711 static void lm78_init_device(struct lm78_data *data) in lm78_init_device()
731 static struct lm78_data *lm78_update_device(struct device *dev) in lm78_update_device()
733 struct lm78_data *data = dev_get_drvdata(dev); in lm78_update_device()
790 struct lm78_data *data; in lm78_isa_probe()
799 data = devm_kzalloc(dev, sizeof(struct lm78_data), GFP_KERNEL); in lm78_isa_probe()