Home
last modified time | relevance | path

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

/u-boot/include/linux/byteorder/
A Dlittle_endian.h32 #define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
33 #define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
47 return (__force __le64)*p; in __cpu_to_le64p()
51 return (__force __u64)*p; in __le64_to_cpup()
55 return (__force __le32)*p; in __cpu_to_le32p()
59 return (__force __u32)*p; in __le32_to_cpup()
63 return (__force __le16)*p; in __cpu_to_le16p()
67 return (__force __u16)*p; in __le16_to_cpup()
71 return (__force __be64)__swab64p(p); in __cpu_to_be64p()
79 return (__force __be32)__swab32p(p); in __cpu_to_be32p()
[all …]
A Dbig_endian.h16 #define __constant_htonl(x) ((__force __be32)(__u32)(x))
17 #define __constant_ntohl(x) ((__force __u32)(__be32)(x))
47 return (__force __le64)__swab64p(p); in __cpu_to_le64p()
55 return (__force __le32)__swab32p(p); in __cpu_to_le32p()
63 return (__force __le16)__swab16p(p); in __cpu_to_le16p()
71 return (__force __be64)*p; in __cpu_to_be64p()
75 return (__force __u64)*p; in __be64_to_cpup()
79 return (__force __be32)*p; in __cpu_to_be32p()
83 return (__force __u32)*p; in __be32_to_cpup()
87 return (__force __be16)*p; in __cpu_to_be16p()
[all …]
/u-boot/include/linux/unaligned/
A Dgeneric.h10 #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \
18 #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \
30 *(u8 *)__gu_p = (__force u8)(val); \
33 put_unaligned_le16((__force u16)(val), __gu_p); \
36 put_unaligned_le32((__force u32)(val), __gu_p); \
39 put_unaligned_le64((__force u64)(val), __gu_p); \
51 *(u8 *)__gu_p = (__force u8)(val); \
54 put_unaligned_be16((__force u16)(val), __gu_p); \
57 put_unaligned_be32((__force u32)(val), __gu_p); \
60 put_unaligned_be64((__force u64)(val), __gu_p); \
/u-boot/include/
A Dvirtio.h375 return le16_to_cpu((__force __le16)val); in __virtio16_to_cpu()
377 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
383 return (__force __virtio16)cpu_to_le16(val); in __cpu_to_virtio16()
385 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
391 return le32_to_cpu((__force __le32)val); in __virtio32_to_cpu()
393 return be32_to_cpu((__force __be32)val); in __virtio32_to_cpu()
399 return (__force __virtio32)cpu_to_le32(val); in __cpu_to_virtio32()
401 return (__force __virtio32)cpu_to_be32(val); in __cpu_to_virtio32()
407 return le64_to_cpu((__force __le64)val); in __virtio64_to_cpu()
409 return be64_to_cpu((__force __be64)val); in __virtio64_to_cpu()
[all …]
/u-boot/arch/mips/include/asm/
A Dio.h372 __raw_readb((__force unsigned *)(addr)) in BUILDIO_MEM()
374 be16_to_cpu(__raw_readw((__force unsigned *)(addr))) in BUILDIO_MEM()
376 be32_to_cpu(__raw_readl((__force unsigned *)(addr))) in BUILDIO_MEM()
378 be64_to_cpu(__raw_readq((__force unsigned *)(addr))) in BUILDIO_MEM()
381 __raw_writeb((val), (__force unsigned *)(addr)) in BUILDIO_MEM()
383 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
385 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
387 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
465 memset((void __force *)addr, val, count);
469 memcpy(dst, (void __force *)src, count); in memcpy_fromio()
[all …]
/u-boot/arch/powerpc/include/asm/
A Dio.h289 __raw_readb((__force unsigned *)(addr))
291 be16_to_cpu(__raw_readw((__force unsigned *)(addr)))
293 be32_to_cpu(__raw_readl((__force unsigned *)(addr)))
295 be64_to_cpu(__raw_readq((__force unsigned *)(addr)))
298 __raw_writeb((val), (__force unsigned *)(addr))
300 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr))
302 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr))
304 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr))
/u-boot/arch/arc/include/asm/
A Dio.h166 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16)__arch_getw(c)); __r; })
167 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32)__arch_getl(c)); __r; })
168 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__arch_getq(c)); __r; })
171 #define writew_relaxed(v, c) ((void)__arch_putw((__force u16)cpu_to_le16(v), (c)))
172 #define writel_relaxed(v, c) ((void)__arch_putl((__force u32)cpu_to_le32(v), (c)))
173 #define writeq_relaxed(v, c) ((void)__arch_putq((__force u64)cpu_to_le64(v), (c)))
/u-boot/include/linux/
A Dcompiler_types.h11 # define __force __attribute__((force)) macro
25 # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member))
34 # define __force macro
A Derr.h51 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
A Dbuild_bug.h37 #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
A Dcompiler.h283 { .__val = (__force typeof(x)) (val) }; \
A Dcompat.h32 #define __GFP_ZERO ((__force gfp_t)0x8000u) /* Return zeroed page on success */
/u-boot/arch/arm/include/asm/
A Dio.h136 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \
138 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \
140 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64) \
144 #define writew_relaxed(v, c) ((void)__raw_writew((__force u16) \
146 #define writel_relaxed(v, c) ((void)__raw_writel((__force u32) \
148 #define writeq_relaxed(v, c) ((void)__raw_writeq((__force u64) \
/u-boot/drivers/serial/
A Dserial_mpc8xx.c123 out_be32(&rtx->rxbd.cbd_bufaddr, (__force uint)&rtx->rxbuf); in serial_mpc8xx_probe()
126 out_be32(&rtx->txbd.cbd_bufaddr, (__force uint)&rtx->txbuf); in serial_mpc8xx_probe()
/u-boot/drivers/remoteproc/
A Dti_k3_dsp_rproc.c260 return (__force void *)va; in k3_dsp_da_to_va()
266 return (__force void *)va; in k3_dsp_da_to_va()
A Dti_k3_r5f_rproc.c545 return (__force void *)va; in k3_r5f_da_to_va()
551 return (__force void *)va; in k3_r5f_da_to_va()
/u-boot/drivers/net/
A Dmpc8xx_fec.c594 out_be32(&fecp->fec_r_des_start, (__force unsigned int)rtx->rxbd); in fec_init()
595 out_be32(&fecp->fec_x_des_start, (__force unsigned int)rtx->txbd); in fec_init()
A Dmvpp2.c58 (typeof(*(__p)) __kernel __force *)(__p); \
/u-boot/arch/x86/include/asm/
A Dio.h269 unsigned long port = (unsigned long __force)addr; \

Completed in 49 milliseconds