Home
last modified time | relevance | path

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

/drivers/counter/
Dftm-quaddec.c119 struct counter_count *count, u32 *cnt_mode) in ftm_quaddec_get_prescaler() argument
126 *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() argument
139 FTM_FIELD_UPDATE(ftm, FTM_SC, FTM_SC_PS_MASK, cnt_mode); in ftm_quaddec_set_prescaler()
D104-quad-8.c472 enum counter_count_mode *cnt_mode) in quad8_count_mode_read() argument
479 *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() argument
505 switch (cnt_mode) { in quad8_count_mode_write()