Lines Matching refs:tegra_tsensor
67 struct tegra_tsensor;
76 struct tegra_tsensor *ts;
80 struct tegra_tsensor { struct
90 static int tegra_tsensor_hw_enable(const struct tegra_tsensor *ts) in tegra_tsensor_hw_enable() argument
139 static int tegra_tsensor_hw_disable(const struct tegra_tsensor *ts) in tegra_tsensor_hw_disable()
156 const struct tegra_tsensor *ts = data; in devm_tegra_tsensor_hw_disable()
164 const struct tegra_tsensor *ts = tsc->ts; in tegra_tsensor_get_temp()
209 static int tegra_tsensor_temp_to_counter(const struct tegra_tsensor *ts, int temp) in tegra_tsensor_temp_to_counter()
222 const struct tegra_tsensor *ts = tsc->ts; in tegra_tsensor_set_trips()
248 tegra_tsensor_handle_channel_interrupt(const struct tegra_tsensor *ts, in tegra_tsensor_handle_channel_interrupt()
270 const struct tegra_tsensor *ts = data; in tegra_tsensor_isr()
280 static int tegra_tsensor_disable_hw_channel(const struct tegra_tsensor *ts, in tegra_tsensor_disable_hw_channel()
348 static int tegra_tsensor_enable_hw_channel(const struct tegra_tsensor *ts, in tegra_tsensor_enable_hw_channel()
427 static int tegra_tsensor_nvmem_setup(struct tegra_tsensor *ts) in tegra_tsensor_nvmem_setup()
507 static int tegra_tsensor_register_channel(struct tegra_tsensor *ts, in tegra_tsensor_register_channel()
538 struct tegra_tsensor *ts; in tegra_tsensor_probe()
613 struct tegra_tsensor *ts = dev_get_drvdata(dev); in tegra_tsensor_suspend()
638 struct tegra_tsensor *ts = dev_get_drvdata(dev); in tegra_tsensor_resume()