Searched refs:cnt_mode (Results 1 – 2 of 2) sorted by relevance
119 struct counter_count *count, u32 *cnt_mode) in ftm_quaddec_get_prescaler() argument126 *cnt_mode = FIELD_GET(FTM_SC_PS_MASK, scflags); in ftm_quaddec_get_prescaler()132 struct counter_count *count, u32 cnt_mode) in ftm_quaddec_set_prescaler() argument139 FTM_FIELD_UPDATE(ftm, FTM_SC, FTM_SC_PS_MASK, cnt_mode); in ftm_quaddec_set_prescaler()
472 enum counter_count_mode *cnt_mode) in quad8_count_mode_read() argument479 *cnt_mode = COUNTER_COUNT_MODE_NORMAL; in quad8_count_mode_read()482 *cnt_mode = COUNTER_COUNT_MODE_RANGE_LIMIT; in quad8_count_mode_read()485 *cnt_mode = COUNTER_COUNT_MODE_NON_RECYCLE; in quad8_count_mode_read()488 *cnt_mode = COUNTER_COUNT_MODE_MODULO_N; in quad8_count_mode_read()497 enum counter_count_mode cnt_mode) in quad8_count_mode_write() argument505 switch (cnt_mode) { in quad8_count_mode_write()