Searched refs:sh_mtu2_write (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clocksource/ |
H A D | sh_mtu2.c | 171 static inline void sh_mtu2_write(struct sh_mtu2_channel *ch, int reg_nr, in sh_mtu2_write() function 200 sh_mtu2_write(ch, TSTR, value); in sh_mtu2_start_stop_ch() 231 sh_mtu2_write(ch, TCR, TCR_CCLR_TGRA | TCR_TPSC_P64); in sh_mtu2_enable() 232 sh_mtu2_write(ch, TIOR, TIOC_IOCH(TIOR_OC_0_CLEAR) | in sh_mtu2_enable() 234 sh_mtu2_write(ch, TGR, periodic); in sh_mtu2_enable() 235 sh_mtu2_write(ch, TCNT, 0); in sh_mtu2_enable() 236 sh_mtu2_write(ch, TMDR, TMDR_MD_NORMAL); in sh_mtu2_enable() 237 sh_mtu2_write(ch, TIER, TIER_TGIEA); in sh_mtu2_enable() 263 sh_mtu2_write(ch, TSR, ~TSR_TGFA); in sh_mtu2_interrupt()
|