Home
last modified time | relevance | path

Searched refs:__val (Results 1 – 25 of 42) sorted by relevance

12

/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192se/
Ddef.h76 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
80 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift)))));
85 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
86 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
87 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
88 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
89 #define SET_TX_DESC_TYPE(__pdesc, __val) \ argument
90 SET_BITS_OFFSET_LE(__pdesc, 24, 2, __val)
91 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument
92 SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val)
[all …]
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192ce/
Dtrx.h59 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
63 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift)))));
67 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
68 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
69 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
70 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
71 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
72 SET_BITS_OFFSET_LE(__pdesc, 24, 1, __val)
73 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
74 SET_BITS_OFFSET_LE(__pdesc, 25, 1, __val)
[all …]
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192de/
Dtrx.h59 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
63 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift)))));
67 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
68 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
69 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
70 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
71 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
72 SET_BITS_OFFSET_LE(__pdesc, 24, 1, __val)
73 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
74 SET_BITS_OFFSET_LE(__pdesc, 25, 1, __val)
[all …]
Dfw.h98 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
99 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
100 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
101 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 0, 8, __val)
102 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
103 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 2, 0, 8, __val)
104 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
105 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
106 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
107 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
[all …]
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192c/
Dfw_common.h75 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
76 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
77 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
78 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
79 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
80 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
81 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
82 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
83 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
84 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
[all …]
/linux-3.4.99/arch/m32r/boot/compressed/
Dboot.h45 #define __val(x) x
47 #define __val(x) (x) macro
50 #define DECOMPRESS_OFFSET_BASE __val(0x00900000)
51 #define BOOT_RELOC_SIZE __val(0x00001000)
53 #define KERNEL_EXEC_ADDR __val(CONFIG_MEMORY_START)
54 #define KERNEL_DECOMPRESS_ADDR __val(CONFIG_MEMORY_START + \
56 #define KERNEL_ENTRY __val(CONFIG_MEMORY_START + 0x1000)
58 #define BOOT_EXEC_ADDR __val(CONFIG_MEMORY_START)
59 #define BOOT_RELOC_ADDR __val(CONFIG_MEMORY_START + DECOMPRESS_OFFSET_BASE)
/linux-3.4.99/arch/sparc/include/asm/
Dbtfixup.h59 #define BTFIXUPDEF_SIMM13_INIT(__name,__val) \ argument
64 __asm__ ("or %%g0, ___s_" #__name "__btset_" #__val ", %0" : "=r"(ret));\
81 #define BTFIXUPDEF_HALF_INIT(__name,__val) \ argument
86 __asm__ ("or %%g0, ___a_" #__name "__btset_" #__val ", %0" : "=r"(ret));\
100 #define BTFIXUPDEF_SETHI_INIT(__name,__val) \ argument
105 __asm__ ("sethi %%hi(___h_" #__name "__btset_" #__val "), %0" : \
148 #define BTFIXUPSET_SIMM13(__name, __val) \ argument
151 ___ss_##__name[1] = (unsigned)__val; \
160 #define BTFIXUPSET_HALF(__name, __val) \ argument
163 ___as_##__name[1] = (unsigned)__val; \
[all …]
/linux-3.4.99/include/asm-generic/
Dcputime.h42 #define timespec_to_cputime(__val) \ argument
43 jiffies_to_cputime(timespec_to_jiffies(__val))
44 #define cputime_to_timespec(__ct,__val) \ argument
45 jiffies_to_timespec(cputime_to_jiffies(__ct),__val)
50 #define timeval_to_cputime(__val) \ argument
51 jiffies_to_cputime(timeval_to_jiffies(__val))
52 #define cputime_to_timeval(__ct,__val) \ argument
53 jiffies_to_timeval(cputime_to_jiffies(__ct),__val)
/linux-3.4.99/arch/arm/include/asm/
Dcputype.h33 unsigned int __val; \
35 : "=r" (__val) \
38 __val; \
42 unsigned int __val; \
44 : "=r" (__val) \
47 __val; \
/linux-3.4.99/drivers/net/wireless/rtlwifi/
Dbase.h96 #define SET_BEACON_PROBE_RSP_TIME_STAMP_LOW(__phdr, __val) \ argument
97 WRITEEF4BYTE(((u8 *)(__phdr)) + 24, __val)
98 #define SET_BEACON_PROBE_RSP_TIME_STAMP_HIGH(__phdr, __val) \ argument
99 WRITEEF4BYTE(((u8 *)(__phdr)) + 28, __val)
100 #define SET_BEACON_PROBE_RSP_BEACON_INTERVAL(__phdr, __val) \ argument
101 WRITEEF2BYTE(((u8 *)(__phdr)) + 32, __val)
104 #define SET_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr, __val) \ argument
105 WRITEEF2BYTE(((u8 *)(__phdr)) + 34, __val)
106 #define MASK_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr, __val) \ argument
108 (GET_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr) & (~(__val))))
/linux-3.4.99/arch/mips/include/asm/
Dio.h315 type __val; \
321 __val = pfx##ioswab##bwlq(__mem, val); \
324 *__mem = __val; \
340 : "0" (__val), "m" (*__mem)); \
350 type __val; \
355 __val = *__mem; \
367 : "=r" (__val) \
372 __val = 0; \
376 return pfx##ioswab##bwlq(__mem, __val); \
384 type __val; \
[all …]
/linux-3.4.99/arch/avr32/include/asm/
Dio.h84 type __val; \
87 __val = pfx##ioswab##bwl(__addr, val); \
91 *__addr = __val; \
97 type __val; \
103 __val = *__addr; \
104 return pfx##ioswab##bwl(__addr, __val); \
111 type __val; \
114 __val = pfx##ioswab##bwl(__addr, val); \
118 *__addr = __val; \
125 type __val; \
[all …]
/linux-3.4.99/include/linux/
Dkernel.h607 typeof(val) __val = (val); \
610 (void) (&__val == &__min); \
611 (void) (&__val == &__max); \
612 __val = __val < __min ? __min: __val; \
613 __val > __max ? __max: __val; })
642 type __val = (val); \
645 __val = __val < __min ? __min: __val; \
646 __val > __max ? __max: __val; })
660 typeof(val) __val = (val); \
663 __val = __val < __min ? __min: __val; \
[all …]
Dkfifo.h389 typeof((val) + 1) __val = (val); \
395 __dummy = (typeof(__val))NULL; \
398 __ret = __kfifo_in_r(__kfifo, __val, sizeof(*__val), \
407 *(typeof(__tmp->type))__val; \
431 typeof((val) + 1) __val = (val); \
436 __val = (typeof(__tmp->ptr))0; \
438 __ret = __kfifo_out_r(__kfifo, __val, sizeof(*__val), \
443 *(typeof(__tmp->type))__val = \
472 typeof((val) + 1) __val = (val); \
477 __val = (typeof(__tmp->ptr))NULL; \
[all …]
/linux-3.4.99/arch/unicore32/include/asm/
Dcputype.h22 unsigned int __val; \
24 : "=r" (__val) \
27 __val; \
/linux-3.4.99/sound/drivers/pcsp/
Dpcsp.h42 u64 __val = 1000000000ULL * (div); \
43 do_div(__val, PIT_TICK_RATE); \
44 __val; \
/linux-3.4.99/arch/x86/include/asm/
Dmsr.h150 u64 __val = native_read_msr((msr)); \
151 (void)((val1) = (u32)__val); \
152 (void)((val2) = (u32)(__val >> 32)); \
183 u64 __val = native_read_msr_safe((msr), &__err); \
184 (*p1) = (u32)__val; \
185 (*p2) = (u32)(__val >> 32); \
Dsegment.h222 unsigned short __val = (value); \
234 : "+r" (__val) : : "memory"); \
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192cu/
Dtrx.h115 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
119 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift)))));
359 #define SET_TX_DESC_TX_RATE(__pdesc, __val) \ argument
360 SET_BITS_OFFSET_LE(__pdesc+20, 0, 6, __val)
361 #define SET_TX_DESC_DATA_SHORTGI(__pdesc, __val) \ argument
362 SET_BITS_OFFSET_LE(__pdesc+20, 6, 1, __val)
363 #define SET_TX_DESC_CCX_TAG(__pdesc, __val) \ argument
364 SET_BITS_OFFSET_LE(__pdesc+20, 7, 1, __val)
/linux-3.4.99/arch/parisc/include/asm/
Duaccess.h183 #define __put_kernel_asm64(__val,ptr) do { \ argument
184 u64 __val64 = (u64)(__val); \
197 #define __put_user_asm64(__val,ptr) do { \ argument
198 u64 __val64 = (u64)(__val); \
/linux-3.4.99/arch/x86/kernel/
Dvm86_32.c446 __u8 __val = val; \
448 if (put_user(__val, base + ptr) < 0) \
454 __u16 __val = val; \
456 if (put_user(val_byte(__val, 1), base + ptr) < 0) \
459 if (put_user(val_byte(__val, 0), base + ptr) < 0) \
465 __u32 __val = val; \
467 if (put_user(val_byte(__val, 3), base + ptr) < 0) \
470 if (put_user(val_byte(__val, 2), base + ptr) < 0) \
473 if (put_user(val_byte(__val, 1), base + ptr) < 0) \
476 if (put_user(val_byte(__val, 0), base + ptr) < 0) \
/linux-3.4.99/drivers/scsi/
Dvirtio_scsi.c396 typeof(((struct virtio_scsi_config *)0)->fld) __val; \
399 &__val, sizeof(__val)); \
400 __val; \
405 typeof(((struct virtio_scsi_config *)0)->fld) __val = (val); \
408 &__val, sizeof(__val)); \
/linux-3.4.99/tools/perf/util/
Dtrace-event.h241 unsigned long long __val; \
243 memcpy(&__val, (ptr), sizeof(unsigned long long)); \
244 __data2host8(__val); \
/linux-3.4.99/arch/m68k/atari/
Dtime.c93 ({ unsigned char __val; \
95 __val = tt_rtc.data; \
96 __val; \
/linux-3.4.99/arch/s390/include/asm/
Dbitops.h74 #define __BITOPS_LOOP(__old, __new, __addr, __val, __op_string) \ argument
83 : "d" (__val), "Q" (*(unsigned long *) __addr) \
94 #define __BITOPS_LOOP(__old, __new, __addr, __val, __op_string) \ argument
103 : "d" (__val), "Q" (*(unsigned long *) __addr) \

12