Home
last modified time | relevance | path

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

12

/external/u-boot/include/linux/byteorder/
Dbig_endian.h16 #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 …]
Dlittle_endian.h16 #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 …]
/external/kernel-headers/original/uapi/linux/byteorder/
Dbig_endian.h15 #define __constant_htonl(x) ((__force __be32)(__u32)(x))
16 #define __constant_ntohl(x) ((__force __u32)(__be32)(x))
17 #define __constant_htons(x) ((__force __be16)(__u16)(x))
18 #define __constant_ntohs(x) ((__force __u16)(__be16)(x))
19 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x)))
20 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x))
21 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x)))
22 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x))
23 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x)))
24 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x))
[all …]
Dlittle_endian.h15 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x)))
16 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x))
17 #define __constant_htons(x) ((__force __be16)___constant_swab16((x)))
18 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x))
19 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x))
20 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x))
21 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x))
22 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x))
23 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x))
24 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x))
[all …]
/external/kernel-headers/original/uapi/sound/
Dasound.h185 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */
186 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap …
187 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */
188 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */
189 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */
193 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
194 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
195 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
196 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
197 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
[all …]
Dasequencer.h342 #define NO_CLIENT ((__force snd_seq_client_type_t) 0)
343 #define USER_CLIENT ((__force snd_seq_client_type_t) 1)
344 #define KERNEL_CLIENT ((__force snd_seq_client_type_t) 2)
/external/kernel-headers/original/uapi/linux/
Deventpoll.h31 #define EPOLLIN (__force __poll_t)0x00000001
32 #define EPOLLPRI (__force __poll_t)0x00000002
33 #define EPOLLOUT (__force __poll_t)0x00000004
34 #define EPOLLERR (__force __poll_t)0x00000008
35 #define EPOLLHUP (__force __poll_t)0x00000010
36 #define EPOLLNVAL (__force __poll_t)0x00000020
37 #define EPOLLRDNORM (__force __poll_t)0x00000040
38 #define EPOLLRDBAND (__force __poll_t)0x00000080
39 #define EPOLLWRNORM (__force __poll_t)0x00000100
40 #define EPOLLWRBAND (__force __poll_t)0x00000200
[all …]
Dfs.h288 #define RWF_HIPRI ((__force __kernel_rwf_t)0x00000001)
291 #define RWF_DSYNC ((__force __kernel_rwf_t)0x00000002)
294 #define RWF_SYNC ((__force __kernel_rwf_t)0x00000004)
297 #define RWF_NOWAIT ((__force __kernel_rwf_t)0x00000008)
300 #define RWF_APPEND ((__force __kernel_rwf_t)0x00000010)
/external/fsverity-utils/
Dutil.h20 #ifndef __force
22 # define __force __attribute__((force)) macro
24 # define __force macro
74 # define cpu_to_le16(v) ((__force __le16)(u16)(v))
75 # define le16_to_cpu(v) ((__force u16)(__le16)(v))
76 # define cpu_to_le32(v) ((__force __le32)(u32)(v))
77 # define le32_to_cpu(v) ((__force u32)(__le32)(v))
78 # define cpu_to_le64(v) ((__force __le64)(u64)(v))
79 # define le64_to_cpu(v) ((__force u64)(__le64)(v))
81 # define cpu_to_le16(v) ((__force __le16)__builtin_bswap16(v))
[all …]
/external/u-boot/include/linux/unaligned/
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); \
/external/u-boot/include/
Dvirtio.h371 return le16_to_cpu((__force __le16)val); in __virtio16_to_cpu()
373 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
379 return (__force __virtio16)cpu_to_le16(val); in __cpu_to_virtio16()
381 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
387 return le32_to_cpu((__force __le32)val); in __virtio32_to_cpu()
389 return be32_to_cpu((__force __be32)val); in __virtio32_to_cpu()
395 return (__force __virtio32)cpu_to_le32(val); in __cpu_to_virtio32()
397 return (__force __virtio32)cpu_to_be32(val); in __cpu_to_virtio32()
403 return le64_to_cpu((__force __le64)val); in __virtio64_to_cpu()
405 return be64_to_cpu((__force __be64)val); in __virtio64_to_cpu()
[all …]
/external/u-boot/arch/sh/include/asm/
Dunaligned-sh4a.h192 #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); \
/external/e2fsprogs/lib/ext2fs/
Dbitops.h14 #define ext2fs_cpu_to_le64(x) ((__force __le64)ext2fs_swab64((__u64)(x)))
15 #define ext2fs_le64_to_cpu(x) ext2fs_swab64((__force __u64)(__le64)(x))
16 #define ext2fs_cpu_to_le32(x) ((__force __le32)ext2fs_swab32((__u32)(x)))
17 #define ext2fs_le32_to_cpu(x) ext2fs_swab32((__force __u32)(__le32)(x))
18 #define ext2fs_cpu_to_le16(x) ((__force __le16)ext2fs_swab16((__u16)(x)))
19 #define ext2fs_le16_to_cpu(x) ext2fs_swab16((__force __u16)(__le16)(x))
21 #define ext2fs_cpu_to_be64(x) ((__force __be64)(__u64)(x))
22 #define ext2fs_be64_to_cpu(x) ((__force __u64)(__be64)(x))
23 #define ext2fs_cpu_to_be32(x) ((__force __be32)(__u32)(x))
24 #define ext2fs_be32_to_cpu(x) ((__force __u32)(__be32)(x))
[all …]
Dext2_types.h30 #define __force __attribute__((force)) macro
35 #define __force macro
/external/u-boot/arch/arc/include/asm/
Dio.h63 : "m" (*(volatile u8 __force *)addr) in __raw_readb()
74 : "m" (*(volatile u16 __force *)addr) in __raw_readw()
85 : "m" (*(volatile u32 __force *)addr) in __raw_readl()
94 : "r" (b), "m" (*(volatile u8 __force *)addr) in __raw_writeb()
102 : "r" (s), "m" (*(volatile u16 __force *)addr) in __raw_writew()
110 : "r" (w), "m" (*(volatile u32 __force *)addr) in __raw_writel()
216 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \
218 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \
222 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c)
223 #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c)
/external/wpa_supplicant_8/src/utils/
Dcommon.h175 #define le_to_host16(n) ((__force u16) (le16) (n))
176 #define host_to_le16(n) ((__force le16) (u16) (n))
177 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
178 #define host_to_be16(n) ((__force be16) bswap_16((n)))
179 #define le_to_host32(n) ((__force u32) (le32) (n))
180 #define host_to_le32(n) ((__force le32) (u32) (n))
181 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
182 #define host_to_be32(n) ((__force be32) bswap_32((n)))
183 #define le_to_host64(n) ((__force u64) (le64) (n))
184 #define host_to_le64(n) ((__force le64) (u64) (n))
[all …]
/external/kernel-headers/original/uapi/asm-generic/
Dsignal-defs.h24 #define SIG_DFL ((__force __sighandler_t)0) /* default signal handling */
25 #define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */
26 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */
Dpoll.h32 #define POLLFREE (__force __poll_t)0x4000 /* currently only for epoll */
34 #define POLL_BUSY_LOOP (__force __poll_t)0x8000
/external/u-boot/arch/mips/include/asm/
Dio.h371 __raw_readb((__force unsigned *)(addr)) in BUILDIO_MEM()
373 be16_to_cpu(__raw_readw((__force unsigned *)(addr))) in BUILDIO_MEM()
375 be32_to_cpu(__raw_readl((__force unsigned *)(addr))) in BUILDIO_MEM()
377 be64_to_cpu(__raw_readq((__force unsigned *)(addr))) in BUILDIO_MEM()
380 __raw_writeb((val), (__force unsigned *)(addr)) in BUILDIO_MEM()
382 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
384 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
386 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
464 memset((void __force *)addr, val, count);
468 memcpy(dst, (void __force *)src, count); in memcpy_fromio()
[all …]
/external/u-boot/arch/powerpc/include/asm/
Dio.h286 __raw_readb((__force unsigned *)(addr))
288 be16_to_cpu(__raw_readw((__force unsigned *)(addr)))
290 be32_to_cpu(__raw_readl((__force unsigned *)(addr)))
292 be64_to_cpu(__raw_readq((__force unsigned *)(addr)))
295 __raw_writeb((val), (__force unsigned *)(addr))
297 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr))
299 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr))
301 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr))
/external/e2fsprogs/util/
Dandroid_types.h30 #define __force __attribute__((force)) macro
35 #define __force macro
/external/e2fsprogs/lib/blkid/
Dblkid_types.h30 #define __force __attribute__((force)) macro
35 #define __force macro
/external/e2fsprogs/lib/uuid/
Duuid_types.h30 #define __force __attribute__((force)) macro
35 #define __force macro
/external/u-boot/prebuilt-intermediates/linux/
Dcompiler.h10 # 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; \
/external/u-boot/include/linux/
Dcompiler.h10 # 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; \

12