Lines Matching +full:sync +full:- +full:1
1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Low-level I/O routines.
16 __asm__ __volatile__("lbz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_8()
23 __asm__ __volatile__("stb%U0%X0 %1,%0; sync" in out_8()
31 __asm__ __volatile__("lhbrx %0,0,%1; twi 0,%0,0; isync" in in_le16()
41 __asm__ __volatile__("lhz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_be16()
48 __asm__ __volatile__("sthbrx %1,0,%2; sync" : "=m" (*addr) in out_le16()
54 __asm__ __volatile__("sth%U0%X0 %1,%0; sync" in out_be16()
62 __asm__ __volatile__("lwbrx %0,0,%1; twi 0,%0,0; isync" in in_le32()
71 __asm__ __volatile__("lwz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_be32()
78 __asm__ __volatile__("stwbrx %1,0,%2; sync" : "=m" (*addr) in out_le32()
84 __asm__ __volatile__("stw%U0%X0 %1,%0; sync" in out_be32()
88 static inline void sync(void) in sync() function
90 asm volatile("sync" : : : "memory"); in sync()