Lines Matching refs:s
29 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) in scr_memsetw() argument
34 scr_writew(c, s++); in scr_memsetw()
36 memset16(s, c, count / 2); in scr_memsetw()
42 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) in scr_memcpyw() argument
47 scr_writew(scr_readw(s++), d++); in scr_memcpyw()
49 memcpy(d, s, count); in scr_memcpyw()
55 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) in scr_memmovew() argument
58 if (d < s) in scr_memmovew()
59 scr_memcpyw(d, s, count); in scr_memmovew()
63 s += count; in scr_memmovew()
65 scr_writew(scr_readw(--s), --d); in scr_memmovew()
68 memmove(d, s, count); in scr_memmovew()