Searched refs:__force (Results 1 – 13 of 13) sorted by relevance
| /rk3399_rockchip-uboot/include/linux/byteorder/ |
| H A D | big_endian.h | 16 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) 17 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) 18 #define __constant_htons(x) ((__force __be16)(__u16)(x)) 19 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) 20 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) 21 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) 22 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) 23 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) 24 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) 25 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) [all …]
|
| H A D | little_endian.h | 16 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) 17 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) 18 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) 19 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) 20 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) 21 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) 22 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) 23 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) 24 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) 25 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) [all …]
|
| /rk3399_rockchip-uboot/include/linux/unaligned/ |
| H A D | generic.h | 10 #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); \
|
| /rk3399_rockchip-uboot/arch/sh/include/asm/ |
| H A D | unaligned-sh4a.h | 192 #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ 200 #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ 212 *(u8 *)__gu_p = (__force u8)(val); \ 215 put_unaligned_le16((__force u16)(val), __gu_p); \ 218 put_unaligned_le32((__force u32)(val), __gu_p); \ 221 put_unaligned_le64((__force u64)(val), __gu_p); \ 233 *(u8 *)__gu_p = (__force u8)(val); \ 236 put_unaligned_be16((__force u16)(val), __gu_p); \ 239 put_unaligned_be32((__force u32)(val), __gu_p); \ 242 put_unaligned_be64((__force u64)(val), __gu_p); \
|
| /rk3399_rockchip-uboot/arch/arc/include/asm/ |
| H A D | io.h | 88 : "m" (*(volatile u8 __force *)addr) in __raw_readb() 99 : "m" (*(volatile u16 __force *)addr) in __raw_readw() 110 : "m" (*(volatile u32 __force *)addr) in __raw_readl() 119 : "r" (b), "m" (*(volatile u8 __force *)addr) in __raw_writeb() 127 : "r" (s), "m" (*(volatile u16 __force *)addr) in __raw_writew() 135 : "r" (w), "m" (*(volatile u32 __force *)addr) in __raw_writel() 241 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \ 243 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \ 247 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c) 248 #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c)
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/ |
| H A D | io.h | 370 __raw_readb((__force unsigned *)(addr)) in BUILDIO_MEM() 372 be16_to_cpu(__raw_readw((__force unsigned *)(addr))) in BUILDIO_MEM() 374 be32_to_cpu(__raw_readl((__force unsigned *)(addr))) in BUILDIO_MEM() 376 be64_to_cpu(__raw_readq((__force unsigned *)(addr))) in BUILDIO_MEM() 379 __raw_writeb((val), (__force unsigned *)(addr)) in BUILDIO_MEM() 381 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 383 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 385 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 463 memset((void __force *)addr, val, count); 467 memcpy(dst, (void __force *)src, count); in memcpy_fromio() [all …]
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | err.h | 51 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
|
| H A D | compiler.h | 10 # define __force __attribute__((force)) macro 32 # define __force macro 297 { .__val = (__force typeof(x)) (val) }; \ 532 __maybe_unused typeof(x) __var = (__force typeof(x)) 0; \
|
| H A D | build_bug.h | 37 #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
|
| H A D | compat.h | 52 #define __GFP_ZERO ((__force gfp_t)0x8000u) /* Return zeroed page on success */
|
| /rk3399_rockchip-uboot/drivers/serial/ |
| H A D | serial_mpc8xx.c | 120 out_be32(&rtx->rxbd.cbd_bufaddr, (__force uint)&rtx->rxbuf); in smc_init() 123 out_be32(&rtx->txbd.cbd_bufaddr, (__force uint)&rtx->txbuf); in smc_init()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | mpc8xx_fec.c | 591 out_be32(&fecp->fec_r_des_start, (__force unsigned int)rtx->rxbd); in fec_init() 592 out_be32(&fecp->fec_x_des_start, (__force unsigned int)rtx->txbd); in fec_init()
|
| H A D | mvpp2.c | 59 (typeof(*(__p)) __kernel __force *)(__p); \
|