Home
last modified time | relevance | path

Searched refs:chn_id (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/thermal/
Drockchip_thermal.c101 int chn_id[SOC_MAX_SENSORS]; member
836 .chn_id[SENSOR_CPU] = 0, /* cpu sensor is channel 0 */
837 .chn_id[SENSOR_GPU] = 1, /* gpu sensor is channel 1 */
860 .chn_id[SENSOR_CPU] = 0, /* cpu sensor is channel 0 */
884 .chn_id[SENSOR_CPU] = 0, /* cpu sensor is channel 0 */
908 .chn_id[SENSOR_CPU] = 1, /* cpu sensor is channel 1 */
909 .chn_id[SENSOR_GPU] = 2, /* gpu sensor is channel 2 */
933 .chn_id[SENSOR_CPU] = 0, /* cpu sensor is channel 0 */
956 .chn_id[SENSOR_CPU] = 0, /* cpu sensor is channel 0 */
957 .chn_id[SENSOR_GPU] = 1, /* gpu sensor is channel 1 */
[all …]
/Linux-v5.10/drivers/spi/
Dspi-sprd-adi.c436 u32 chn_id = be32_to_cpu(*list++); in sprd_adi_hw_init() local
440 if (chn_id < 2) in sprd_adi_hw_init()
444 REG_ADI_CHN_ADDR(chn_id)); in sprd_adi_hw_init()
446 if (chn_id < 32) { in sprd_adi_hw_init()
448 value |= BIT(chn_id); in sprd_adi_hw_init()
450 } else if (chn_id < ADI_HW_CHNS) { in sprd_adi_hw_init()
452 value |= BIT(chn_id - 32); in sprd_adi_hw_init()