Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/clocksource/
Dsh_cmt.c61 #define CMCNT 1 /* channel register */ macro
80 if ((reg_nr == CMCNT) || (reg_nr == CMCOR)) in sh_cmt_read()
104 if ((reg_nr == CMCNT) || (reg_nr == CMCOR)) { in sh_cmt_write()
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()
178 sh_cmt_write(p, CMCNT, 0); in sh_cmt_enable()
192 if (!sh_cmt_read(p, CMCNT)) in sh_cmt_enable()
197 if (sh_cmt_read(p, CMCNT)) { in sh_cmt_enable()