Home
last modified time | relevance | path

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

12

/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddef.h64 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
68 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift)))));
73 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
74 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
75 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
76 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
77 #define SET_TX_DESC_TYPE(__pdesc, __val) \ argument
78 SET_BITS_OFFSET_LE(__pdesc, 24, 2, __val)
79 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument
80 SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val)
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.h57 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
58 SET_BITS_TO_LE_4BYTE(__pdesc, 0, 16, __val)
59 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
60 SET_BITS_TO_LE_4BYTE(__pdesc, 16, 8, __val)
61 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
62 SET_BITS_TO_LE_4BYTE(__pdesc, 24, 1, __val)
63 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
64 SET_BITS_TO_LE_4BYTE(__pdesc, 25, 1, __val)
65 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument
66 SET_BITS_TO_LE_4BYTE(__pdesc, 26, 1, __val)
[all …]
Dfw.h145 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
146 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
147 #define SET_H2CCMD_PWRMODE_PARM_RLBM(__cmd, __val) \ argument
148 SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 4, __val)
149 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__cmd, __val) \ argument
150 SET_BITS_TO_LE_1BYTE((__cmd)+1, 4, 4, __val)
151 #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__cmd, __val) \ argument
152 SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __val)
153 #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__cmd, __val) \ argument
154 SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __val)
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h39 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
40 SET_BITS_TO_LE_4BYTE(__pdesc, 0, 16, __val)
41 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
42 SET_BITS_TO_LE_4BYTE(__pdesc, 16, 8, __val)
43 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
44 SET_BITS_TO_LE_4BYTE(__pdesc, 24, 1, __val)
45 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
46 SET_BITS_TO_LE_4BYTE(__pdesc, 25, 1, __val)
47 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument
48 SET_BITS_TO_LE_4BYTE(__pdesc, 26, 1, __val)
[all …]
Dfw.h41 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
42 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
43 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
44 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
45 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
46 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
47 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
48 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
49 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
50 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.h55 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
59 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift)))));
63 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
64 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
65 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
66 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
67 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
68 SET_BITS_OFFSET_LE(__pdesc, 24, 1, __val)
69 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
70 SET_BITS_OFFSET_LE(__pdesc, 25, 1, __val)
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.h55 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
59 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift)))));
63 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
64 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
65 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
66 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
67 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
68 SET_BITS_OFFSET_LE(__pdesc, 24, 1, __val)
69 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
70 SET_BITS_OFFSET_LE(__pdesc, 25, 1, __val)
[all …]
Dfw.h94 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
95 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
96 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
97 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 0, 8, __val)
98 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
99 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 2, 0, 8, __val)
100 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
101 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
102 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
103 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.h39 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
40 SET_BITS_TO_LE_4BYTE(__pdesc, 0, 16, __val)
41 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
42 SET_BITS_TO_LE_4BYTE(__pdesc, 16, 8, __val)
43 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
44 SET_BITS_TO_LE_4BYTE(__pdesc, 24, 1, __val)
45 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
46 SET_BITS_TO_LE_4BYTE(__pdesc, 25, 1, __val)
47 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument
48 SET_BITS_TO_LE_4BYTE(__pdesc, 26, 1, __val)
[all …]
Dfw.h209 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
210 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
226 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
227 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
228 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument
229 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
230 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument
231 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
232 #define SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA(__ph2ccmd, __val) \ argument
233 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+3, 0, 8, __val)
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.h39 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
40 SET_BITS_TO_LE_4BYTE(__pdesc, 0, 16, __val)
41 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
42 SET_BITS_TO_LE_4BYTE(__pdesc, 16, 8, __val)
43 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
44 SET_BITS_TO_LE_4BYTE(__pdesc, 24, 1, __val)
45 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
46 SET_BITS_TO_LE_4BYTE(__pdesc, 25, 1, __val)
47 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument
48 SET_BITS_TO_LE_4BYTE(__pdesc, 26, 1, __val)
[all …]
Dfw.h193 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
194 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
208 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
209 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
210 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
211 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
212 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument
213 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
214 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument
215 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.h39 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
40 SET_BITS_TO_LE_4BYTE(__pdesc, 0, 16, __val)
41 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
42 SET_BITS_TO_LE_4BYTE(__pdesc, 16, 8, __val)
43 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
44 SET_BITS_TO_LE_4BYTE(__pdesc, 24, 1, __val)
45 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument
46 SET_BITS_TO_LE_4BYTE(__pdesc, 25, 1, __val)
47 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument
48 SET_BITS_TO_LE_4BYTE(__pdesc, 26, 1, __val)
[all …]
Dfw.h116 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
117 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
118 #define SET_H2CCMD_PWRMODE_PARM_RLBM(__ph2ccmd, __val) \ argument
119 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 4, __val)
120 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
121 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 4, 4, __val)
122 #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__ph2ccmd, __val) \ argument
123 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
124 #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__ph2ccmd, __val) \ argument
125 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+3, 0, 8, __val)
[all …]
/drivers/staging/rtlwifi/rtl8822be/
Dtrx.h42 #define SET_EARLYMODE_PKTNUM(__paddr, __val) \ argument
43 SET_BITS_TO_LE_4BYTE(__paddr, 0, 4, __val)
44 #define SET_EARLYMODE_LEN0(__paddr, __val) \ argument
45 SET_BITS_TO_LE_4BYTE(__paddr, 4, 15, __val)
46 #define SET_EARLYMODE_LEN1(__paddr, __val) \ argument
47 SET_BITS_TO_LE_4BYTE(__paddr, 16, 2, __val)
48 #define SET_EARLYMODE_LEN1_1(__paddr, __val) \ argument
49 SET_BITS_TO_LE_4BYTE(__paddr, 19, 13, __val)
50 #define SET_EARLYMODE_LEN1_2(__paddr, __val) \ argument
51 SET_BITS_TO_LE_4BYTE(__paddr + 4, 0, 2, __val)
[all …]
Dfw.h135 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
136 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 7, __val)
137 #define SET_H2CCMD_PWRMODE_PARM_CLK_REQ(__ph2ccmd, __val) \ argument
138 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 7, 1, __val)
139 #define SET_H2CCMD_PWRMODE_PARM_RLBM(__ph2ccmd, __val) \ argument
140 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 0, 4, __val)
141 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
142 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 4, 4, __val)
143 #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__ph2ccmd, __val) \ argument
144 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 2, 0, 8, __val)
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.h70 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
71 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
72 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
73 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
74 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
75 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
76 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
77 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
78 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
79 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
[all …]
/drivers/net/wireless/realtek/rtlwifi/
Dbase.h98 #define SET_BEACON_PROBE_RSP_TIME_STAMP_LOW(__phdr, __val) \ argument
99 WRITEEF4BYTE(((u8 *)(__phdr)) + 24, __val)
100 #define SET_BEACON_PROBE_RSP_TIME_STAMP_HIGH(__phdr, __val) \ argument
101 WRITEEF4BYTE(((u8 *)(__phdr)) + 28, __val)
102 #define SET_BEACON_PROBE_RSP_BEACON_INTERVAL(__phdr, __val) \ argument
103 WRITEEF2BYTE(((u8 *)(__phdr)) + 32, __val)
106 #define SET_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr, __val) \ argument
107 WRITEEF2BYTE(((u8 *)(__phdr)) + 34, __val)
108 #define MASK_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr, __val) \ argument
110 (GET_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr) & (~(__val))))
[all …]
/drivers/staging/rtlwifi/
Dbase.h98 #define SET_BEACON_PROBE_RSP_TIME_STAMP_LOW(__phdr, __val) \ argument
99 WRITEEF4BYTE(((u8 *)(__phdr)) + 24, __val)
100 #define SET_BEACON_PROBE_RSP_TIME_STAMP_HIGH(__phdr, __val) \ argument
101 WRITEEF4BYTE(((u8 *)(__phdr)) + 28, __val)
102 #define SET_BEACON_PROBE_RSP_BEACON_INTERVAL(__phdr, __val) \ argument
103 WRITEEF2BYTE(((u8 *)(__phdr)) + 32, __val)
106 #define SET_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr, __val) \ argument
107 WRITEEF2BYTE(((u8 *)(__phdr)) + 34, __val)
108 #define MASK_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr, __val) \ argument
110 (GET_BEACON_PROBE_RSP_CAPABILITY_INFO(__phdr) & (~(__val))))
[all …]
/drivers/staging/rtl8188eu/include/
Dbasic_types.h119 #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
123 ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \
126 #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
130 ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \
133 #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
137 ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \
/drivers/staging/rtl8723bs/include/
Dbasic_types.h164 #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
168 ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \
171 #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
175 ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \
178 #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
182 ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.h333 #define SET_TX_DESC_TX_RATE(__pdesc, __val) \ argument
334 SET_BITS_TO_LE_4BYTE(__pdesc + 20, 0, 6, __val)
335 #define SET_TX_DESC_DATA_SHORTGI(__pdesc, __val) \ argument
336 SET_BITS_TO_LE_4BYTE(__pdesc + 20, 6, 1, __val)
337 #define SET_TX_DESC_CCX_TAG(__pdesc, __val) \ argument
338 SET_BITS_TO_LE_4BYTE(__pdesc + 20, 7, 1, __val)
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_cfg.h126 typeof(intf_type) __val = (intf_type); \
127 (__val) >= INTF_VIRTUAL ? true : false; })
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc_ct.c28 #define bfa_ioc_ct_get_sync_ackd(__val) (__val & 0x0000ffff) argument
29 #define bfa_ioc_ct_clear_sync_ackd(__val) (__val & 0xffff0000) argument
30 #define bfa_ioc_ct_get_sync_reqd(__val) (__val >> BFA_IOC_SYNC_REQD_SH) argument
/drivers/scsi/bfa/
Dbfa_ioc_ct.c29 #define bfa_ioc_ct_get_sync_ackd(__val) (__val & 0x0000ffff) argument
30 #define bfa_ioc_ct_clear_sync_ackd(__val) (__val & 0xffff0000) argument
31 #define bfa_ioc_ct_get_sync_reqd(__val) (__val >> BFA_IOC_SYNC_REQD_SH) argument

12