Lines Matching refs:sensor_num
70 int sensor_num; member
157 for (i = 0; i < tmdev->chip->sensor_num; i++) { in sun8i_h3_irq_ack()
175 for (i = 0; i < tmdev->chip->sensor_num; i++) { in sun50i_h6_irq_ack()
192 for_each_set_bit(i, &irq_bitmap, tmdev->chip->sensor_num) { in sun8i_irq_thread()
205 if (!caldata[0] || callen < 2 * tmdev->chip->sensor_num) in sun8i_h3_ths_calibrate()
208 for (i = 0; i < tmdev->chip->sensor_num; i++) { in sun8i_h3_ths_calibrate()
226 if (!caldata[0] || callen < 2 + 2 * tmdev->chip->sensor_num) in sun50i_h6_ths_calibrate()
247 for (i = 0; i < tmdev->chip->sensor_num; i++) { in sun50i_h6_ths_calibrate()
401 val = GENMASK(7 + tmdev->chip->sensor_num, 8); in sun8i_h3_thermal_init()
413 val = GENMASK(tmdev->chip->sensor_num - 1, 0); in sun8i_h3_thermal_init()
454 val = GENMASK(tmdev->chip->sensor_num - 1, 0); in sun50i_h6_thermal_init()
457 val = GENMASK(tmdev->chip->sensor_num - 1, 0); in sun50i_h6_thermal_init()
467 for (i = 0; i < tmdev->chip->sensor_num; i++) { in sun8i_ths_register()
545 .sensor_num = 3,
556 .sensor_num = 1,
569 .sensor_num = 2,
582 .sensor_num = 3,
595 .sensor_num = 3,
608 .sensor_num = 2,
619 .sensor_num = 2,