Lines Matching refs:ftm_write
25 ftm_write(ftm, offset, flags); \
43 static void ftm_write(struct ftm_quaddec *ftm, uint32_t offset, uint32_t data) in ftm_write() function
71 ftm_write(ftm, FTM_CNT, 0x0); in ftm_reset_counter()
83 ftm_write(ftm, FTM_MODE, FTM_MODE_FTMEN); in ftm_quaddec_init()
84 ftm_write(ftm, FTM_CNTIN, 0x0000); in ftm_quaddec_init()
85 ftm_write(ftm, FTM_MOD, 0xffff); in ftm_quaddec_init()
86 ftm_write(ftm, FTM_CNT, 0x0); in ftm_quaddec_init()
88 ftm_write(ftm, FTM_SC, FTM_SC_PS_1); in ftm_quaddec_init()
91 ftm_write(ftm, FTM_QDCTRL, FTM_QDCTRL_QUADEN); in ftm_quaddec_init()
94 ftm_write(ftm, FTM_POL, 0x0); in ftm_quaddec_init()
95 ftm_write(ftm, FTM_FLTCTRL, 0x0); in ftm_quaddec_init()
96 ftm_write(ftm, FTM_SYNCONF, 0x0); in ftm_quaddec_init()
97 ftm_write(ftm, FTM_SYNC, 0xffff); in ftm_quaddec_init()
108 ftm_write(ftm_qua, FTM_MODE, 0); in ftm_quaddec_disable()
109 ftm_write(ftm_qua, FTM_QDCTRL, 0); in ftm_quaddec_disable()