Searched refs:__force (Results 1 - 25 of 27) sorted by relevance

12

/external/kernel-headers/original/linux/byteorder/
H A Dbig_endian.h14 #define __constant_htonl(x) ((__force __be32)(__u32)(x))
15 #define __constant_ntohl(x) ((__force __u32)(__be32)(x))
16 #define __constant_htons(x) ((__force __be16)(__u16)(x))
17 #define __constant_ntohs(x) ((__force __u16)(__be16)(x))
18 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x)))
19 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x))
20 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x)))
21 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x))
22 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x)))
23 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u1
[all...]
H A Dlittle_endian.h14 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x)))
15 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x))
16 #define __constant_htons(x) ((__force __be16)___constant_swab16((x)))
17 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x))
18 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x))
19 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x))
20 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x))
21 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x))
22 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x))
23 #define __constant_le16_to_cpu(x) ((__force __u1
[all...]
/external/kernel-headers/original/asm-generic/
H A Dsignal.h23 #define SIG_DFL ((__force __sighandler_t)0) /* default signal handling */
24 #define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */
25 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */
/external/kernel-headers/original/linux/
H A Dgfp.h14 #define __GFP_DMA ((__force gfp_t)0x01u)
15 #define __GFP_HIGHMEM ((__force gfp_t)0x02u)
17 #define __GFP_DMA32 ((__force gfp_t)0x01) /* ZONE_DMA is ZONE_DMA32 */
19 #define __GFP_DMA32 ((__force gfp_t)0x00) /* ZONE_NORMAL is ZONE_DMA32 */
21 #define __GFP_DMA32 ((__force gfp_t)0x04) /* Has own ZONE_DMA32 */
35 #define __GFP_WAIT ((__force gfp_t)0x10u) /* Can wait and reschedule? */
36 #define __GFP_HIGH ((__force gfp_t)0x20u) /* Should access emergency pools? */
37 #define __GFP_IO ((__force gfp_t)0x40u) /* Can start physical IO? */
38 #define __GFP_FS ((__force gfp_t)0x80u) /* Can call down to low-level FS? */
39 #define __GFP_COLD ((__force gfp_
[all...]
H A Dpm.h36 #define PM_SUSPEND ((__force pm_request_t) 1) /* enter D1-D3 */
37 #define PM_RESUME ((__force pm_request_t) 2) /* enter D0 */
45 #define PM_UNKNOWN_DEV ((__force pm_dev_t) 0) /* generic */
46 #define PM_SYS_DEV ((__force pm_dev_t) 1) /* system device (fan, KB controller, ...) */
47 #define PM_PCI_DEV ((__force pm_dev_t) 2) /* PCI device */
48 #define PM_USB_DEV ((__force pm_dev_t) 3) /* USB device */
49 #define PM_SCSI_DEV ((__force pm_dev_t) 4) /* SCSI device */
50 #define PM_ISA_DEV ((__force pm_dev_t) 5) /* ISA device */
51 #define PM_MTD_DEV ((__force pm_dev_t) 6) /* Memory Technology Device */
107 #define PM_SUSPEND_ON ((__force suspend_state_
[all...]
H A Dserial_core.h244 #define UPF_FOURPORT ((__force upf_t) (1 << 1))
245 #define UPF_SAK ((__force upf_t) (1 << 2))
246 #define UPF_SPD_MASK ((__force upf_t) (0x1030))
247 #define UPF_SPD_HI ((__force upf_t) (0x0010))
248 #define UPF_SPD_VHI ((__force upf_t) (0x0020))
249 #define UPF_SPD_CUST ((__force upf_t) (0x0030))
250 #define UPF_SPD_SHI ((__force upf_t) (0x1000))
251 #define UPF_SPD_WARP ((__force upf_t) (0x1010))
252 #define UPF_SKIP_TEST ((__force upf_t) (1 << 6))
253 #define UPF_AUTO_IRQ ((__force upf_
[all...]
H A Dmroute6.h214 #define MFC6_HASH(a, g) (((__force u32)(a)->s6_addr32[0] ^ \
215 (__force u32)(a)->s6_addr32[1] ^ \
216 (__force u32)(a)->s6_addr32[2] ^ \
217 (__force u32)(a)->s6_addr32[3] ^ \
218 (__force u32)(g)->s6_addr32[0] ^ \
219 (__force u32)(g)->s6_addr32[1] ^ \
220 (__force u32)(g)->s6_addr32[2] ^ \
221 (__force u32)(g)->s6_addr32[3]) % MFC6_LINES)
H A Dkobject.h42 KOBJ_ADD = (__force kobject_action_t) 0x01, /* exclusive to core */
43 KOBJ_REMOVE = (__force kobject_action_t) 0x02, /* exclusive to core */
44 KOBJ_CHANGE = (__force kobject_action_t) 0x03, /* device state change */
45 KOBJ_MOUNT = (__force kobject_action_t) 0x04, /* mount event for block devices (broken) */
46 KOBJ_UMOUNT = (__force kobject_action_t) 0x05, /* umount event for block devices (broken) */
47 KOBJ_OFFLINE = (__force kobject_action_t) 0x06, /* device offline */
48 KOBJ_ONLINE = (__force kobject_action_t) 0x07, /* device online */
H A Dcompiler.h10 # define __force __attribute__((force)) macro
24 # define __force macro
H A Dpagemap.h24 return (__force gfp_t)mapping->flags & __GFP_BITS_MASK;
33 m->flags = (m->flags & ~(__force unsigned long)__GFP_BITS_MASK) |
34 (__force unsigned long)mask;
H A Dpci.h72 #define PCI_D0 ((pci_power_t __force) 0)
73 #define PCI_D1 ((pci_power_t __force) 1)
74 #define PCI_D2 ((pci_power_t __force) 2)
75 #define PCI_D3hot ((pci_power_t __force) 3)
76 #define PCI_D3cold ((pci_power_t __force) 4)
77 #define PCI_UNKNOWN ((pci_power_t __force) 5)
78 #define PCI_POWER_ERROR ((pci_power_t __force) -1)
88 pci_channel_io_normal = (__force pci_channel_state_t) 1,
91 pci_channel_io_frozen = (__force pci_channel_state_t) 2,
94 pci_channel_io_perm_failure = (__force pci_channel_state_
[all...]
/external/kernel-headers/original/sound/
H A Dasound.h169 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */
170 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap */
171 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */
172 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */
173 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */
177 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
178 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
179 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
180 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
181 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_
[all...]
/external/kernel-headers/original/asm-mips/
H A Dchecksum.h44 return __csum_partial_copy_user((__force void *)src, dst,
58 return __csum_partial_copy_user(src, (__force void *)dst,
63 return (__force __wsum)-1; /* invalid checksum */
91 return (__force __sum16)sum;
162 : "0" ((__force unsigned long)daddr),
163 "r" ((__force unsigned long)saddr),
169 "r" ((__force unsigned long)sum));
H A Dio.h512 memset((void __force *) addr, val, count);
516 memcpy(dst, (void __force *) src, count);
520 memcpy((void __force *) dst, src, count);
/external/kernel-headers/original/asm-x86/
H A Dio_32.h167 return *(volatile unsigned char __force *) addr;
171 return *(volatile unsigned short __force *) addr;
175 return *(volatile unsigned int __force *) addr;
186 *(volatile unsigned char __force *) addr = b;
190 *(volatile unsigned short __force *) addr = b;
194 *(volatile unsigned int __force *) addr = b;
205 memset((void __force *)addr, val, count);
211 __memcpy(dst, (const void __force *)src, count);
217 __memcpy((void __force *)dst, src, count);
H A Dsystem_32.h166 asm volatile("clflush %0" : "+m" (*(char __force *)__p));
H A Duaccess_32.h45 #define __addr_ok(addr) ((unsigned long __force)(addr) < (current_thread_info()->addr_limit.seg))
/external/kernel-headers/original/asm-arm/
H A Dio.h49 #define __raw_writeb(v,a) (__chk_io_ptr(a), *(volatile unsigned char __force *)(a) = (v))
50 #define __raw_writew(v,a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a) = (v))
51 #define __raw_writel(v,a) (__chk_io_ptr(a), *(volatile unsigned int __force *)(a) = (v))
53 #define __raw_readb(a) (__chk_io_ptr(a), *(volatile unsigned char __force *)(a))
54 #define __raw_readw(a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a))
55 #define __raw_readl(a) (__chk_io_ptr(a), *(volatile unsigned int __force *)(a))
112 #define outw(v,p) __raw_writew((__force __u16) \
114 #define outl(v,p) __raw_writel((__force __u32) \
118 #define inw(p) ({ __u16 __v = le16_to_cpu((__force __le16) \
120 #define inl(p) ({ __u32 __v = le32_to_cpu((__force __le3
[all...]
H A Duaccess.h390 #define __copy_from_user(to,from,n) (memcpy(to, (void __force *)from, n), 0)
391 #define __copy_to_user(to,from,n) (memcpy((void __force *)to, from, n), 0)
392 #define __clear_user(addr,n) (memset((void __force *)addr, 0, n), 0)
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Dcommon.h212 #define le_to_host16(n) ((__force u16) (le16) (n))
213 #define host_to_le16(n) ((__force le16) (u16) (n))
214 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
215 #define host_to_be16(n) ((__force be16) bswap_16((n)))
216 #define le_to_host32(n) ((__force u32) (le32) (n))
217 #define host_to_le32(n) ((__force le32) (u32) (n))
218 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
219 #define host_to_be32(n) ((__force be32) bswap_32((n)))
220 #define le_to_host64(n) ((__force u64) (le64) (n))
221 #define host_to_le64(n) ((__force le6
398 #define __force macro
401 #define __force macro
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.h190 #define le_to_host16(n) ((__force u16) (le16) (n))
191 #define host_to_le16(n) ((__force le16) (u16) (n))
192 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
193 #define host_to_be16(n) ((__force be16) bswap_16((n)))
194 #define le_to_host32(n) ((__force u32) (le32) (n))
195 #define host_to_le32(n) ((__force le32) (u32) (n))
196 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
197 #define host_to_be32(n) ((__force be32) bswap_32((n)))
198 #define le_to_host64(n) ((__force u64) (le64) (n))
199 #define host_to_le64(n) ((__force le6
403 #define __force macro
406 #define __force macro
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dcommon.h190 #define le_to_host16(n) ((__force u16) (le16) (n))
191 #define host_to_le16(n) ((__force le16) (u16) (n))
192 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
193 #define host_to_be16(n) ((__force be16) bswap_16((n)))
194 #define le_to_host32(n) ((__force u32) (le32) (n))
195 #define host_to_le32(n) ((__force le32) (u32) (n))
196 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
197 #define host_to_be32(n) ((__force be32) bswap_32((n)))
198 #define le_to_host64(n) ((__force u64) (le64) (n))
199 #define host_to_le64(n) ((__force le6
403 #define __force macro
406 #define __force macro
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.h190 #define le_to_host16(n) ((__force u16) (le16) (n))
191 #define host_to_le16(n) ((__force le16) (u16) (n))
192 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
193 #define host_to_be16(n) ((__force be16) bswap_16((n)))
194 #define le_to_host32(n) ((__force u32) (le32) (n))
195 #define host_to_le32(n) ((__force le32) (u32) (n))
196 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
197 #define host_to_be32(n) ((__force be32) bswap_32((n)))
198 #define le_to_host64(n) ((__force u64) (le64) (n))
199 #define host_to_le64(n) ((__force le6
403 #define __force macro
406 #define __force macro
[all...]
/external/valgrind/main/include/vki/
H A Dvki-s390x-linux.h35 #define __force macro
240 #define VKI_SIG_DFL ((__force __vki_sighandler_t)0)
242 #define VKI_SIG_IGN ((__force __vki_sighandler_t)1)
244 #define VKI_SIG_ERR ((__force __vki_sighandler_t)-1)
/external/kernel-headers/original/asm-arm/arch/
H A Dmcbsp.h257 #define OMAP_MCBSP_IRQ_IO ((__force omap_mcbsp_io_type_t) 1)
258 #define OMAP_MCBSP_POLL_IO ((__force omap_mcbsp_io_type_t) 2)

Completed in 356 milliseconds

12