Lines Matching refs:tmp401_data
148 struct tmp401_data { struct
191 struct tmp401_data *data) in tmp401_update_device_reg16()
219 static struct tmp401_data *tmp401_update_device(struct device *dev) in tmp401_update_device()
221 struct tmp401_data *data = dev_get_drvdata(dev); in tmp401_update_device()
223 struct tmp401_data *ret = data; in tmp401_update_device()
296 struct tmp401_data *data = tmp401_update_device(dev); in show_temp()
309 struct tmp401_data *data = tmp401_update_device(dev); in show_temp_crit_hyst()
327 struct tmp401_data *data = tmp401_update_device(dev); in show_status()
340 struct tmp401_data *data = dev_get_drvdata(dev); in store_temp()
372 struct tmp401_data *data = tmp401_update_device(dev); in store_temp_crit_hyst()
410 struct tmp401_data *data = dev_get_drvdata(dev); in reset_temp_history()
434 struct tmp401_data *data = dev_get_drvdata(dev); in update_interval_show()
443 struct tmp401_data *data = dev_get_drvdata(dev); in update_interval_store()
617 static int tmp401_init_client(struct tmp401_data *data, in tmp401_init_client()
719 struct tmp401_data *data; in tmp401_probe()
722 data = devm_kzalloc(dev, sizeof(struct tmp401_data), GFP_KERNEL); in tmp401_probe()