/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | def.h | 64 #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/ |
D | trx.h | 57 #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 …]
|
D | fw.h | 145 #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/ |
D | trx.h | 39 #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 …]
|
D | fw.h | 41 #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/ |
D | trx.h | 55 #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/ |
D | trx.h | 55 #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 …]
|
D | fw.h | 94 #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/ |
D | trx.h | 39 #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 …]
|
D | fw.h | 209 #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/ |
D | trx.h | 39 #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 …]
|
D | fw.h | 193 #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/ |
D | trx.h | 39 #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 …]
|
D | fw.h | 116 #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/ |
D | trx.h | 42 #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 …]
|
D | fw.h | 135 #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/ |
D | fw_common.h | 70 #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/ |
D | base.h | 98 #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/ |
D | base.h | 98 #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/ |
D | basic_types.h | 119 #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/ |
D | basic_types.h | 164 #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/ |
D | trx.h | 333 #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/ |
D | mdp5_cfg.h | 126 typeof(intf_type) __val = (intf_type); \ 127 (__val) >= INTF_VIRTUAL ? true : false; })
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc_ct.c | 28 #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/ |
D | bfa_ioc_ct.c | 29 #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
|