Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/counter/
Dftm-quaddec.c118 struct counter_count *count, u32 *cnt_mode) in ftm_quaddec_get_prescaler() argument
125 *cnt_mode = FIELD_GET(FTM_SC_PS_MASK, scflags); in ftm_quaddec_get_prescaler()
131 struct counter_count *count, u32 cnt_mode) in ftm_quaddec_set_prescaler() argument
138 FTM_FIELD_UPDATE(ftm, FTM_SC, FTM_SC_PS_MASK, cnt_mode); in ftm_quaddec_set_prescaler()
D104-quad-8.c710 enum counter_count_mode *cnt_mode) in quad8_count_mode_read() argument
716 *cnt_mode = COUNTER_COUNT_MODE_NORMAL; in quad8_count_mode_read()
719 *cnt_mode = COUNTER_COUNT_MODE_RANGE_LIMIT; in quad8_count_mode_read()
722 *cnt_mode = COUNTER_COUNT_MODE_NON_RECYCLE; in quad8_count_mode_read()
725 *cnt_mode = COUNTER_COUNT_MODE_MODULO_N; in quad8_count_mode_read()
734 enum counter_count_mode cnt_mode) in quad8_count_mode_write() argument
741 switch (cnt_mode) { in quad8_count_mode_write()