Home
last modified time | relevance | path

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

12

/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddef.h68 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
72 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift)))));
77 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
78 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
79 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
80 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
81 #define SET_TX_DESC_TYPE(__pdesc, __val) \ argument
82 SET_BITS_OFFSET_LE(__pdesc, 24, 2, __val)
83 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument
84 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.h45 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
46 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
47 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
48 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
49 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
50 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
51 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
52 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
53 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
54 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
[all …]
/drivers/net/wireless/realtek/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 …]
/drivers/net/wireless/realtek/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 …]
/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.h197 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
198 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
212 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
213 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
214 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
215 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
216 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument
217 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
218 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument
219 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
/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)
224 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
225 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
226 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument
227 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
228 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument
229 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
230 #define SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA(__ph2ccmd, __val) \ argument
231 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+3, 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/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.h74 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
75 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
76 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
77 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val)
78 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
79 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
80 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
81 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
82 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
83 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val)
[all …]
/drivers/net/wireless/realtek/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))))
/drivers/staging/rtl8188eu/include/
Dbasic_types.h153 #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
157 ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \
160 #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
164 ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \
167 #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument
171 ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \
/drivers/net/wireless/realtek/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)
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_cfg.h117 typeof(intf_type) __val = (intf_type); \
118 (__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
Dbfi.h334 #define BFI_ADAPTER_SETP(__prop, __val) \ argument
335 ((__val) << BFI_ADAPTER_ ## __prop ## _SH)
/drivers/scsi/bfa/
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/
Dvirtio_scsi.c831 typeof(((struct virtio_scsi_config *)0)->fld) __val; \
832 virtio_cread(vdev, struct virtio_scsi_config, fld, &__val); \
833 __val; \
838 typeof(((struct virtio_scsi_config *)0)->fld) __val = (val); \
839 virtio_cwrite(vdev, struct virtio_scsi_config, fld, &__val); \
/drivers/media/dvb-frontends/
Dlgdt3305.c167 u8 __val; \
168 int ret = lgdt3305_read_reg(state, reg, &__val); \
170 __val = 0; \
171 __val; \
Dlgdt3306a.c169 u8 __val; \
170 int ret = lgdt3306a_read_reg(state, reg, &__val); \
172 __val = 0; \
173 __val; \

12