Lines Matching defs:chn
67 #define TSADCV2_DATA(chn) (0x20 + (chn) * 0x04) argument
68 #define TSADCV2_COMP_INT(chn) (0x30 + (chn) * 0x04) argument
69 #define TSADCV2_COMP_SHUT(chn) (0x40 + (chn) * 0x04) argument
70 #define TSADCV3_DATA(chn) (0x2c + (chn) * 0x04) argument
71 #define TSADCV3_COMP_INT(chn) (0x6c + (chn) * 0x04) argument
72 #define TSADCV3_COMP_SHUT(chn) (0x10c + (chn) * 0x04) argument
85 #define TSADCV2_AUTO_SRC_EN(chn) BIT(4 + (chn)) argument
86 #define TSADCV3_AUTO_SRC_EN(chn) BIT(chn) argument
87 #define TSADCV3_AUTO_SRC_EN_MASK(chn) BIT(16 + (chn)) argument
94 #define TSADCV2_INT_SRC_EN(chn) BIT(chn) argument
95 #define TSADCV2_INT_SRC_EN_MASK(chn) BIT(16 + (chn)) argument
96 #define TSADCV2_SHUT_2GPIO_SRC_EN(chn) BIT(4 + (chn)) argument
97 #define TSADCV2_SHUT_2CRU_SRC_EN(chn) BIT(8 + (chn)) argument
1005 int chn, int *temp) in tsadc_get_temp_v2()
1087 int chn, int *temp) in tsadc_get_temp_v3()
1098 static int tsadc_get_temp_v4(struct udevice *dev, int chn, int *temp) in tsadc_get_temp_v4()
1110 int chn, int temp) in tsadc_alarm_temp_v2()
1127 static void tsadc_alarm_temp_v3(struct udevice *dev, int chn, int temp) in tsadc_alarm_temp_v3()
1143 int chn, int temp) in tsadc_tshut_temp_v2()
1160 static void tsadc_tshut_temp_v3(struct udevice *dev, int chn, int temp) in tsadc_tshut_temp_v3()
1175 static void tsadc_tshut_mode_v2(struct udevice *dev, int chn, in tsadc_tshut_mode_v2()
1193 static void tsadc_tshut_mode_v4(struct udevice *dev, int chn, in tsadc_tshut_mode_v4()