Lines Matching refs:v

48 #define __arch_putb(v,a)		(*(volatile unsigned char *)(a) = (v))  argument
49 #define __arch_putw(v,a) (*(volatile unsigned short *)(a) = (v)) argument
50 #define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v)) argument
51 #define __arch_putq(v,a) (*(volatile unsigned long long *)(a) = (v)) argument
98 #define __raw_writeb(v,a) __arch_putb(v,a) argument
99 #define __raw_writew(v,a) __arch_putw(v,a) argument
100 #define __raw_writel(v,a) __arch_putl(v,a) argument
101 #define __raw_writeq(v,a) __arch_putq(v,a) argument
120 #define writeb(v,c) ({ u8 __v = v; __iowmb(); __arch_putb(__v,c); __v; }) argument
121 #define writew(v,c) ({ u16 __v = v; __iowmb(); __arch_putw(__v,c); __v; }) argument
122 #define writel(v,c) ({ u32 __v = v; __iowmb(); __arch_putl(__v,c); __v; }) argument
123 #define writeq(v,c) ({ u64 __v = v; __iowmb(); __arch_putq(__v,c); __v; }) argument
143 #define writeb_relaxed(v, c) ((void)__raw_writeb((v), (c))) argument
144 #define writew_relaxed(v, c) ((void)__raw_writew((__force u16) \ argument
145 cpu_to_le16(v), (c)))
146 #define writel_relaxed(v, c) ((void)__raw_writel((__force u32) \ argument
147 cpu_to_le32(v), (c)))
148 #define writeq_relaxed(v, c) ((void)__raw_writeq((__force u64) \ argument
149 cpu_to_le64(v), (c)))
172 #define out_arch(type,endian,a,v) __raw_write##type(cpu_to_##endian(v),a) argument
175 #define out_le64(a,v) out_arch(q,le64,a,v) argument
176 #define out_le32(a,v) out_arch(l,le32,a,v) argument
177 #define out_le16(a,v) out_arch(w,le16,a,v) argument
183 #define out_be64(a,v) out_arch(l,be64,a,v) argument
184 #define out_be32(a,v) out_arch(l,be32,a,v) argument
185 #define out_be16(a,v) out_arch(w,be16,a,v) argument
191 #define out_64(a,v) __raw_writeq(v,a) argument
192 #define out_32(a,v) __raw_writel(v,a) argument
193 #define out_16(a,v) __raw_writew(v,a) argument
194 #define out_8(a,v) __raw_writeb(v,a) argument
282 #define outb(v,p) __raw_writeb(v,__io(p)) argument
283 #define outw(v,p) __raw_writew(cpu_to_le16(v),__io(p)) argument
284 #define outl(v,p) __raw_writel(cpu_to_le32(v),__io(p)) argument