Lines Matching refs:val
73 * @val: Value to write
75 * Writes the given value @val to the lower byte of the timer counter.
78 static inline void sh_wdt_write_cnt(__u32 val)
80 __raw_writel((WTCNT_HIGH << 24) | (__u32)val, WTCNT);
85 * @val: Value to write
87 * Writes the given value @val to the lower byte of the timer counter.
90 static inline void sh_wdt_write_bst(__u32 val)
92 __raw_writel((WTBST_HIGH << 24) | (__u32)val, WTBST);
106 * @val: Value to write
108 * Writes the given value @val to the lower byte of the control/status
111 static inline void sh_wdt_write_csr(__u32 val)
113 __raw_writel((WTCSR_HIGH << 24) | (__u32)val, WTCSR);
127 * @val: Value to write
129 * Writes the given value @val to the lower byte of the timer counter.
132 static inline void sh_wdt_write_cnt(__u8 val)
134 __raw_writew((WTCNT_HIGH << 8) | (__u16)val, WTCNT);
149 * @val: Value to write
151 * Writes the given value @val to the lower byte of the control/status
154 static inline void sh_wdt_write_csr(__u8 val)
156 __raw_writew((WTCSR_HIGH << 8) | (__u16)val, WTCSR);