Lines Matching refs:tmp401_data
135 struct tmp401_data { struct
178 struct tmp401_data *data) in tmp401_update_device_reg16()
206 static struct tmp401_data *tmp401_update_device(struct device *dev) in tmp401_update_device()
208 struct tmp401_data *data = dev_get_drvdata(dev); in tmp401_update_device()
210 struct tmp401_data *ret = data; in tmp401_update_device()
283 struct tmp401_data *data = tmp401_update_device(dev); in temp_show()
297 struct tmp401_data *data = tmp401_update_device(dev); in temp_crit_hyst_show()
315 struct tmp401_data *data = tmp401_update_device(dev); in status_show()
329 struct tmp401_data *data = dev_get_drvdata(dev); in temp_store()
362 struct tmp401_data *data = tmp401_update_device(dev); in temp_crit_hyst_store()
401 struct tmp401_data *data = dev_get_drvdata(dev); in reset_temp_history_store()
425 struct tmp401_data *data = dev_get_drvdata(dev); in update_interval_show()
434 struct tmp401_data *data = dev_get_drvdata(dev); in update_interval_store()
592 static int tmp401_init_client(struct tmp401_data *data, in tmp401_init_client()
693 struct tmp401_data *data; in tmp401_probe()
696 data = devm_kzalloc(dev, sizeof(struct tmp401_data), GFP_KERNEL); in tmp401_probe()