Searched refs:thrval (Results 1 – 2 of 2) sorted by relevance
52 uint32_t *thrval);
73 uint16_t thrval; member548 t_ctrl->thrval = (uint16_t)param->val; in adc_npcx_threshold_ctrl_set_param()589 t_ctrl->thrval >= api->ref_internal || in adc_npcx_threshold_ctrl_setup()590 t_ctrl->thrval == 0 || t_ctrl->work == 0) { in adc_npcx_threshold_ctrl_setup()606 t_ctrl->thrval); in adc_npcx_threshold_ctrl_setup()631 t_ctrl->thrval >= api->ref_internal || in adc_npcx_threshold_enable_irq()632 t_ctrl->thrval == 0 || t_ctrl->work == 0) { in adc_npcx_threshold_enable_irq()729 uint32_t *thrval) in adc_npcx_threshold_mv_to_thrval() argument741 *thrval = (val_mv << ADC_NPCX_THRVAL_RESOLUTION) / in adc_npcx_threshold_mv_to_thrval()