Lines Matching refs:threshold_count
53 const uint8_t threshold_count; member
97 control[DT_INST_PROP(0, threshold_count)];
248 for (uint8_t i = 0; i < config->threshold_count; i++) { in adc_npcx_isr()
253 ~GENMASK(config->threshold_count - 1, 0); in adc_npcx_isr()
525 if (!param || th_sel >= config->threshold_count) { in adc_npcx_threshold_ctrl_set_param()
575 if (th_sel >= config->threshold_count) { in adc_npcx_threshold_ctrl_setup()
624 if (th_sel >= config->threshold_count) { in adc_npcx_threshold_enable_irq()
642 thrcts = inst->THRCTS & ~GENMASK(config->threshold_count - 1, 0); in adc_npcx_threshold_enable_irq()
674 if (th_sel >= config->threshold_count) { in adc_npcx_threshold_disable_irq()
686 thrcts = inst->THRCTS & ~GENMASK(config->threshold_count - 1, 0); in adc_npcx_threshold_disable_irq()
858 .threshold_count = DT_INST_PROP(n, threshold_count), \