Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/clocksource/
Dsh_cmt.c64 static inline unsigned long sh_cmt_read(struct sh_cmt_priv *p, int reg_nr) in sh_cmt_read() function
119 o1 = sh_cmt_read(p, CMCSR) & p->overflow_bit; in sh_cmt_get_counter()
124 v1 = sh_cmt_read(p, CMCNT); in sh_cmt_get_counter()
125 v2 = sh_cmt_read(p, CMCNT); in sh_cmt_get_counter()
126 v3 = sh_cmt_read(p, CMCNT); in sh_cmt_get_counter()
127 o1 = sh_cmt_read(p, CMCSR) & p->overflow_bit; in sh_cmt_get_counter()
143 value = sh_cmt_read(p, CMSTR); in sh_cmt_start_stop_ch()
192 if (!sh_cmt_read(p, CMCNT)) in sh_cmt_enable()
197 if (sh_cmt_read(p, CMCNT)) { in sh_cmt_enable()
341 sh_cmt_write(p, CMCSR, sh_cmt_read(p, CMCSR) & p->clear_bits); in sh_cmt_interrupt()