Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/clocksource/
Dsh_mtu2.c175 static inline void sh_mtu2_write(struct sh_mtu2_channel *ch, int reg_nr, in sh_mtu2_write() function
204 sh_mtu2_write(ch, TSTR, value); in sh_mtu2_start_stop_ch()
235 sh_mtu2_write(ch, TCR, TCR_CCLR_TGRA | TCR_TPSC_P64); in sh_mtu2_enable()
236 sh_mtu2_write(ch, TIOR, TIOC_IOCH(TIOR_OC_0_CLEAR) | in sh_mtu2_enable()
238 sh_mtu2_write(ch, TGR, periodic); in sh_mtu2_enable()
239 sh_mtu2_write(ch, TCNT, 0); in sh_mtu2_enable()
240 sh_mtu2_write(ch, TMDR, TMDR_MD_NORMAL); in sh_mtu2_enable()
241 sh_mtu2_write(ch, TIER, TIER_TGIEA); in sh_mtu2_enable()
267 sh_mtu2_write(ch, TSR, ~TSR_TGFA); in sh_mtu2_interrupt()