Searched refs:chnsel (Results 1 – 2 of 2) sorted by relevance
64 uint8_t chnsel; member460 static void adc_npcx_set_repetitive(const struct device *dev, int chnsel, in adc_npcx_set_repetitive() argument481 t_data->repetitive_channels |= BIT(chnsel); in adc_npcx_set_repetitive()491 t_data->repetitive_channels &= ~BIT(chnsel); in adc_npcx_set_repetitive()536 t_ctrl->chnsel = (uint8_t)param->val; in adc_npcx_threshold_ctrl_set_param()588 if (t_ctrl->chnsel >= config->channel_count || in adc_npcx_threshold_ctrl_setup()597 NPCX_THRCTL_CHNSEL, t_ctrl->chnsel); in adc_npcx_threshold_ctrl_setup()630 if (t_ctrl->chnsel >= config->channel_count || in adc_npcx_threshold_enable_irq()655 adc_npcx_set_repetitive(dev, t_data->control[th_sel].chnsel, true); in adc_npcx_threshold_enable_irq()698 adc_npcx_set_repetitive(dev, t_data->control[th_sel].chnsel, false); in adc_npcx_threshold_disable_irq()
36 uint8_t chnsel; member74 param.val = (uint32_t)config->chnsel; in adc_cmp_npcx_init()258 .chnsel = DT_INST_IO_CHANNELS_INPUT(inst), \