Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/
Dvcmp_ite_it8xxx2.c50 int vcmp_ch; member
87 static void clear_vcmp_status(const struct device *dev, int vcmp_ch) in clear_vcmp_status() argument
94 if (vcmp_ch <= VCMP_CHANNEL_2) { in clear_vcmp_status()
95 *reg_vcmpsts = BIT(vcmp_ch); in clear_vcmp_status()
97 *reg_vcmpsts2 = BIT(vcmp_ch - VCMP_CHANNEL_3); in clear_vcmp_status()
129 LOG_ERR("Vcmp%d threshold only support 10-bits", config->vcmp_ch); in vcmp_set_threshold()
186 clear_vcmp_status(dev, config->vcmp_ch); in vcmp_ite_it8xxx2_attr_set()
190 clear_vcmp_status(dev, config->vcmp_ch); in vcmp_ite_it8xxx2_attr_set()
216 vcmp_work_addr[config->vcmp_ch] = (uint32_t) &data->work; in vcmp_ite_it8xxx2_trigger_set()
235 val->val1 = config->vcmp_ch; in vcmp_it8xxx2_channel_get()
[all …]