Home
last modified time | relevance | path

Searched refs:tmdev (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/
H A Dsun8i_thermal.c61 struct ths_device *tmdev; member
74 int (*calibrate)(struct ths_device *tmdev,
76 int (*init)(struct ths_device *tmdev);
77 int (*irq_ack)(struct ths_device *tmdev);
78 int (*calc_temp)(struct ths_device *tmdev,
93 static int sun8i_ths_calc_temp(struct ths_device *tmdev, in sun8i_ths_calc_temp() argument
96 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp()
99 static int sun50i_h5_calc_temp(struct ths_device *tmdev, in sun50i_h5_calc_temp() argument
113 struct ths_device *tmdev in sun8i_ths_get_temp() local
149 sun8i_h3_irq_ack(struct ths_device *tmdev) sun8i_h3_irq_ack() argument
166 sun50i_h6_irq_ack(struct ths_device *tmdev) sun50i_h6_irq_ack() argument
185 struct ths_device *tmdev = data; sun8i_irq_thread() local
199 sun8i_h3_ths_calibrate(struct ths_device *tmdev, u16 *caldata, int callen) sun8i_h3_ths_calibrate() argument
219 sun50i_h6_ths_calibrate(struct ths_device *tmdev, u16 *caldata, int callen) sun50i_h6_ths_calibrate() argument
280 sun8i_ths_calibrate(struct ths_device *tmdev) sun8i_ths_calibrate() argument
326 sun8i_ths_resource_init(struct ths_device *tmdev) sun8i_ths_resource_init() argument
377 sun8i_h3_thermal_init(struct ths_device *tmdev) sun8i_h3_thermal_init() argument
418 sun50i_h6_thermal_init(struct ths_device *tmdev) sun50i_h6_thermal_init() argument
455 sun8i_ths_register(struct ths_device *tmdev) sun8i_ths_register() argument
480 struct ths_device *tmdev; sun8i_ths_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Dsun8i_thermal.c60 struct ths_device *tmdev; member
73 int (*calibrate)(struct ths_device *tmdev,
75 int (*init)(struct ths_device *tmdev);
76 unsigned long (*irq_ack)(struct ths_device *tmdev);
77 int (*calc_temp)(struct ths_device *tmdev,
92 static int sun8i_ths_calc_temp(struct ths_device *tmdev, in sun8i_ths_calc_temp() argument
95 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp()
98 static int sun50i_h5_calc_temp(struct ths_device *tmdev, in sun50i_h5_calc_temp() argument
112 struct ths_device *tmdev in sun8i_ths_get_temp() local
148 sun8i_h3_irq_ack(struct ths_device *tmdev) sun8i_h3_irq_ack() argument
166 sun50i_h6_irq_ack(struct ths_device *tmdev) sun50i_h6_irq_ack() argument
186 struct ths_device *tmdev = data; sun8i_irq_thread() local
198 sun8i_h3_ths_calibrate(struct ths_device *tmdev, u16 *caldata, int callen) sun8i_h3_ths_calibrate() argument
218 sun50i_h6_ths_calibrate(struct ths_device *tmdev, u16 *caldata, int callen) sun50i_h6_ths_calibrate() argument
279 sun8i_ths_calibrate(struct ths_device *tmdev) sun8i_ths_calibrate() argument
327 sun8i_ths_resource_init(struct ths_device *tmdev) sun8i_ths_resource_init() argument
378 sun8i_h3_thermal_init(struct ths_device *tmdev) sun8i_h3_thermal_init() argument
419 sun50i_h6_thermal_init(struct ths_device *tmdev) sun50i_h6_thermal_init() argument
456 sun8i_ths_register(struct ths_device *tmdev) sun8i_ths_register() argument
479 struct ths_device *tmdev; sun8i_ths_probe() local
[all...]

Completed in 2 milliseconds