Home
last modified time | relevance | path

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

12345678910>>...40

/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dfile.h273 IWL_UCODE_TLV_API_FRAGMENTED_SCAN = (__force iwl_ucode_tlv_api_t)8,
274 IWL_UCODE_TLV_API_WIFI_MCC_UPDATE = (__force iwl_ucode_tlv_api_t)9,
275 IWL_UCODE_TLV_API_LQ_SS_PARAMS = (__force iwl_ucode_tlv_api_t)18,
276 IWL_UCODE_TLV_API_NEW_VERSION = (__force iwl_ucode_tlv_api_t)20,
277 IWL_UCODE_TLV_API_SCAN_TSF_REPORT = (__force iwl_ucode_tlv_api_t)28,
278 IWL_UCODE_TLV_API_TKIP_MIC_KEYS = (__force iwl_ucode_tlv_api_t)29,
279 IWL_UCODE_TLV_API_STA_TYPE = (__force iwl_ucode_tlv_api_t)30,
280 IWL_UCODE_TLV_API_NAN2_VER2 = (__force iwl_ucode_tlv_api_t)31,
282 IWL_UCODE_TLV_API_ADAPTIVE_DWELL = (__force iwl_ucode_tlv_api_t)32,
283 IWL_UCODE_TLV_API_OCE = (__force iwl_ucode_tlv_api_t)33,
[all …]
/linux/include/scsi/
H A Dscsi_devinfo.h9 #define BLIST_NOLUN ((__force blist_flags_t)(1ULL << 0))
12 #define BLIST_FORCELUN ((__force blist_flags_t)(1ULL << 1))
14 #define BLIST_BORKEN ((__force blist_flags_t)(1ULL << 2))
16 #define BLIST_KEY ((__force blist_flags_t)(1ULL << 3))
18 #define BLIST_SINGLELUN ((__force blist_flags_t)(1ULL << 4))
20 #define BLIST_NOTQ ((__force blist_flags_t)(1ULL << 5))
22 #define BLIST_SPARSELUN ((__force blist_flags_t)(1ULL << 6))
24 #define BLIST_MAX5LUN ((__force blist_flags_t)(1ULL << 7))
26 #define BLIST_ISROM ((__force blist_flags_t)(1ULL << 8))
28 #define BLIST_LARGELUN ((__force blist_flags_t)(1ULL << 9))
[all …]
/linux/include/linux/
H A Dblk_types.h99 #define BLK_STS_NOTSUPP ((__force blk_status_t)1)
100 #define BLK_STS_TIMEOUT ((__force blk_status_t)2)
101 #define BLK_STS_NOSPC ((__force blk_status_t)3)
102 #define BLK_STS_TRANSPORT ((__force blk_status_t)4)
103 #define BLK_STS_TARGET ((__force blk_status_t)5)
104 #define BLK_STS_RESV_CONFLICT ((__force blk_status_t)6)
105 #define BLK_STS_MEDIUM ((__force blk_status_t)7)
106 #define BLK_STS_PROTECTION ((__force blk_status_t)8)
107 #define BLK_STS_RESOURCE ((__force blk_status_t)9)
108 #define BLK_STS_IOERR ((__force blk_status_t)10)
[all …]
H A Dgfp_types.h108 #define __GFP_DMA ((__force gfp_t)___GFP_DMA)
109 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM)
110 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32)
111 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* ZONE_MOVABLE allowed */
145 #define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE)
146 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE)
147 #define __GFP_HARDWALL ((__force gfp_t)___GFP_HARDWALL)
148 #define __GFP_THISNODE ((__force gfp_t)___GFP_THISNODE)
149 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT)
150 #define __GFP_NO_OBJ_EXT ((__force gfp_t)___GFP_NO_OBJ_EXT)
[all …]
H A Dvirtio_byteorder.h19 return le16_to_cpu((__force __le16)val); in __virtio16_to_cpu()
21 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
27 return (__force __virtio16)cpu_to_le16(val); in __cpu_to_virtio16()
29 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
35 return le32_to_cpu((__force __le32)val); in __virtio32_to_cpu()
37 return be32_to_cpu((__force __be32)val); in __virtio32_to_cpu()
43 return (__force __virtio32)cpu_to_le32(val); in __cpu_to_virtio32()
45 return (__force __virtio32)cpu_to_be32(val); in __cpu_to_virtio32()
51 return le64_to_cpu((__force __le64)val); in __virtio64_to_cpu()
53 return be64_to_cpu((__force __be64)val); in __virtio64_to_cpu()
[all …]
H A Dserial_core.h511 #define UPF_FOURPORT ((__force upf_t) ASYNC_FOURPORT /* 1 */ )
515 #define UPF_SAK ((__force upf_t) ASYNC_SAK /* 2 */ )
516 #define UPF_SPD_HI ((__force upf_t) ASYNC_SPD_HI /* 4 */ )
517 #define UPF_SPD_VHI ((__force upf_t) ASYNC_SPD_VHI /* 5 */ )
518 #define UPF_SPD_CUST ((__force upf_t) ASYNC_SPD_CUST /* 0x0030 */ )
519 #define UPF_SPD_WARP ((__force upf_t) ASYNC_SPD_WARP /* 0x1010 */ )
520 #define UPF_SPD_MASK ((__force upf_t) ASYNC_SPD_MASK /* 0x1030 */ )
521 #define UPF_SKIP_TEST ((__force upf_t) ASYNC_SKIP_TEST /* 6 */ )
522 #define UPF_AUTO_IRQ ((__force upf_t) ASYNC_AUTO_IRQ /* 7 */ )
523 #define UPF_HARDPPS_CD ((__force upf_t) ASYNC_HARDPPS_CD /* 11 */ )
[all …]
/linux/include/uapi/linux/byteorder/
H A 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 …]
H A 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 …]
/linux/tools/include/linux/
H A Dgfp_types.h108 #define __GFP_DMA ((__force gfp_t)___GFP_DMA)
109 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM)
110 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32)
111 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* ZONE_MOVABLE allowed */
145 #define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE)
146 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE)
147 #define __GFP_HARDWALL ((__force gfp_t)___GFP_HARDWALL)
148 #define __GFP_THISNODE ((__force gfp_t)___GFP_THISNODE)
149 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT)
150 #define __GFP_NO_OBJ_EXT ((__force gfp_t)___GFP_NO_OBJ_EXT)
[all …]
/linux/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h173 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */
174 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap …
175 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */
176 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */
177 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */
181 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
182 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
183 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
184 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
185 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
[all …]
/linux/include/uapi/sound/
H A Dasound.h173 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */
174 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap …
175 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */
176 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */
177 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */
181 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
182 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
183 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
184 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
185 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
[all …]
/linux/include/uapi/linux/
H A 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 …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.h8 #define __force macro
56 unsigned long long s = (__force u32)sum; in csum_tcpudp_nofold()
58 s += (__force u32)saddr; in csum_tcpudp_nofold()
59 s += (__force u32)daddr; in csum_tcpudp_nofold()
65 return (__force __wsum)from64to32(s); in csum_tcpudp_nofold()
71 u32 sum = (__force u32)csum; in csum_fold()
75 return (__force __sum16)~sum; in csum_fold()
92 __u32 sum = (__force u32)csum; in csum_ipv6_magic()
94 sum += (__force u32)saddr->in6_u.u6_addr32[0]; in csum_ipv6_magic()
95 carry = (sum < (__force u32)saddr->in6_u.u6_addr32[0]); in csum_ipv6_magic()
[all …]
/linux/arch/s390/include/asm/
H A Ddma-types.h40 return (__force dma32_t)__pa32(ptr); in virt_to_dma32()
45 return __va((__force unsigned long)addr); in dma32_to_virt()
50 return (__force dma32_t)addr; in u32_to_dma32()
55 return (__force u32)addr; in dma32_to_u32()
60 return (__force dma32_t)((__force u32)a + b); in dma32_add()
65 return (__force dma32_t)((__force u32)a & b); in dma32_and()
75 return (__force dma64_t)__pa(ptr); in virt_to_dma64()
80 return __va((__force unsigned long)addr); in dma64_to_virt()
85 return (__force dma64_t)addr; in u64_to_dma64()
90 return (__force u64)addr; in dma64_to_u64()
[all …]
H A Dchecksum.h45 u32 csum = (__force u32) sum; in csum_fold()
49 return (__force __sum16) ~csum; in csum_fold()
69 return csum_fold((__force __wsum)(csum >> 32)); in ip_fast_csum()
79 __u64 csum = (__force __u64)sum; in csum_tcpudp_nofold()
81 csum += (__force __u32)saddr; in csum_tcpudp_nofold()
82 csum += (__force __u32)daddr; in csum_tcpudp_nofold()
86 return (__force __wsum)(csum >> 32); in csum_tcpudp_nofold()
112 __u64 sum = (__force __u64)csum; in csum_ipv6_magic()
114 sum += (__force __u32)saddr->s6_addr32[0]; in csum_ipv6_magic()
115 sum += (__force __u32)saddr->s6_addr32[1]; in csum_ipv6_magic()
[all …]
/linux/net/ipv6/
H A Dip6_checksum.c16 __u32 sum = (__force u32)csum; in csum_ipv6_magic()
18 sum += (__force u32)saddr->s6_addr32[0]; in csum_ipv6_magic()
19 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic()
22 sum += (__force u32)saddr->s6_addr32[1]; in csum_ipv6_magic()
23 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic()
26 sum += (__force u32)saddr->s6_addr32[2]; in csum_ipv6_magic()
27 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic()
30 sum += (__force u32)saddr->s6_addr32[3]; in csum_ipv6_magic()
31 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic()
34 sum += (__force u32)daddr->s6_addr32[0]; in csum_ipv6_magic()
[all …]
/linux/arch/powerpc/include/asm/
H A Dchecksum.h41 u32 tmp = (__force u32)sum; in csum_fold()
49 return (__force __sum16)(~(tmp + rol32(tmp, 16)) >> 16); in csum_fold()
61 u64 s = (__force u32)sum; in csum_tcpudp_nofold()
63 s += (__force u32)saddr; in csum_tcpudp_nofold()
64 s += (__force u32)daddr; in csum_tcpudp_nofold()
70 return (__force __wsum) from64to32(s); in csum_tcpudp_nofold()
98 u64 res = (__force u64)csum; in csum_add()
100 res += (__force u64)addend; in csum_add()
101 return (__force __wsum)((u32)res + (res >> 32)); in csum_add()
119 return (__force __wsum)rol32((__force u32)sum, (offset & 1) << 3); in csum_shift()
[all …]
/linux/include/net/
H A Dchecksum.h61 u32 res = (__force u32)csum; in csum_add()
62 res += (__force u32)addend; in csum_add()
63 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add()
74 u16 res = (__force u16)csum; in csum16_add()
76 res += (__force u16)addend; in csum16_add()
77 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add()
90 return (__force __wsum)ror32((__force u32)sum, 8); in csum_shift()
109 return (__force __wsum)n; in csum_unfold()
112 #define CSUM_MANGLED_0 ((__force __sum16)0xffff)
121 __wsum tmp = csum_sub(~csum_unfold(*sum), (__force __wsum)from); in csum_replace4()
[all …]
/linux/fs/befs/
H A Dendian.h19 return le64_to_cpu((__force __le64)n); in fs64_to_cpu()
21 return be64_to_cpu((__force __be64)n); in fs64_to_cpu()
28 return (__force fs64)cpu_to_le64(n); in cpu_to_fs64()
30 return (__force fs64)cpu_to_be64(n); in cpu_to_fs64()
37 return le32_to_cpu((__force __le32)n); in fs32_to_cpu()
39 return be32_to_cpu((__force __be32)n); in fs32_to_cpu()
46 return (__force fs32)cpu_to_le32(n); in cpu_to_fs32()
48 return (__force fs32)cpu_to_be32(n); in cpu_to_fs32()
55 return le16_to_cpu((__force __le16)n); in fs16_to_cpu()
57 return be16_to_cpu((__force __be16)n); in fs16_to_cpu()
[all …]
/linux/include/linux/rpmsg/
H A Dbyteorder.h22 return le16_to_cpu((__force __le16)val); in __rpmsg16_to_cpu()
24 return be16_to_cpu((__force __be16)val); in __rpmsg16_to_cpu()
30 return (__force __rpmsg16)cpu_to_le16(val); in __cpu_to_rpmsg16()
32 return (__force __rpmsg16)cpu_to_be16(val); in __cpu_to_rpmsg16()
38 return le32_to_cpu((__force __le32)val); in __rpmsg32_to_cpu()
40 return be32_to_cpu((__force __be32)val); in __rpmsg32_to_cpu()
46 return (__force __rpmsg32)cpu_to_le32(val); in __cpu_to_rpmsg32()
48 return (__force __rpmsg32)cpu_to_be32(val); in __cpu_to_rpmsg32()
54 return le64_to_cpu((__force __le64)val); in __rpmsg64_to_cpu()
56 return be64_to_cpu((__force __be64)val); in __rpmsg64_to_cpu()
[all …]
/linux/include/net/netfilter/
H A Dnf_queue.h55 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4()
56 return jhash_3words((__force u32)iph->saddr, in hash_v4()
57 (__force u32)iph->daddr, iph->protocol, initval); in hash_v4()
59 return jhash_3words((__force u32)iph->daddr, in hash_v4()
60 (__force u32)iph->saddr, iph->protocol, initval); in hash_v4()
67 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6()
68 (__force u32)ip6h->daddr.s6_addr32[3]) { in hash_v6()
69 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()
70 b = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
72 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()
[all …]
/linux/arch/alpha/include/asm/
H A Dio_trivial.h12 return __kernel_ldbu(*(const volatile u8 __force *)a); in IO_CONCAT()
18 return __kernel_ldwu(*(const volatile u16 __force *)a); in IO_CONCAT()
24 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT()
30 __kernel_stw(b, *(volatile u16 __force *)a); in IO_CONCAT()
38 return *(const volatile u32 __force *)a; in IO_CONCAT()
44 *(volatile u32 __force *)a = b; in IO_CONCAT()
50 return *(const volatile u64 __force *)a; in IO_CONCAT()
56 *(volatile u64 __force *)a = b; in IO_CONCAT()
64 return __kernel_ldbu(*(const volatile u8 __force *)a); in IO_CONCAT()
70 return __kernel_ldwu(*(const volatile u16 __force *)a); in IO_CONCAT()
[all …]
/linux/arch/x86/include/asm/
H A Dchecksum_64.h28 : "r" ((__force u32)sum << 16), in csum_fold()
29 "0" ((__force u32)sum & 0xffff0000)); in csum_fold()
30 return (__force __sum16)(~(__force u32)sum >> 16); in csum_fold()
73 return (__force __sum16)sum; in ip_fast_csum()
181 sum64 = (__force __u64)htonl(len) + (__force __u64)htons(proto) + in csum_ipv6_magic()
182 (__force __u64)sum; in csum_ipv6_magic()
195 (__force __wsum)add32_with_carry(sum64 & 0xffffffff, sum64>>32)); in csum_ipv6_magic()
201 return (__force __wsum)add32_with_carry((__force unsigned)csum, in csum_add()
202 (__force unsigned)addend); in csum_add()
/linux/fs/ufs/
H A Dswab.h30 return le64_to_cpu((__force __le64)n); in fs64_to_cpu()
32 return be64_to_cpu((__force __be64)n); in fs64_to_cpu()
39 return (__force __fs64)cpu_to_le64(n); in cpu_to_fs64()
41 return (__force __fs64)cpu_to_be64(n); in cpu_to_fs64()
48 return le32_to_cpu((__force __le32)n); in fs32_to_cpu()
50 return be32_to_cpu((__force __be32)n); in fs32_to_cpu()
57 return (__force __fs32)cpu_to_le32(n); in cpu_to_fs32()
59 return (__force __fs32)cpu_to_be32(n); in cpu_to_fs32()
84 return le16_to_cpu((__force __le16)n); in fs16_to_cpu()
86 return be16_to_cpu((__force __be16)n); in fs16_to_cpu()
[all …]
/linux/arch/arm/include/asm/
H A Dio.h59 #define __raw_readw(a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a))
60 #define __raw_writew(v,a) ((void)(__chk_io_ptr(a), *(volatile unsigned short __force *)(a) = (…
71 : : "Q" (*(volatile u16 __force *)addr), "r" (val)); in __raw_writew()
80 : "Q" (*(volatile u16 __force *)addr)); in __raw_readw()
89 : : "Qo" (*(volatile u8 __force *)addr), "r" (val)); in __raw_writeb()
96 : : "Qo" (*(volatile u32 __force *)addr), "r" (val)); in __raw_writel()
105 : "Qo" (*(volatile u8 __force *)addr)); in __raw_readb()
115 : "Qo" (*(volatile u32 __force *)addr)); in __raw_readl()
159 #define IOMEM(x) ((void __force __iomem *)(x))
236 #define outw(v,p) ({ __iowmb(); __raw_writew((__force __u16) \
[all …]

12345678910>>...40