__value 16 arch/arm/include/asm/bug.h #define BUG_INSTR(__value) __inst_thumb16(__value) __value 19 arch/arm/include/asm/bug.h #define BUG_INSTR(__value) __inst_arm(__value) __value 35 arch/arm/include/asm/bug.h #define __BUG(__file, __line, __value) \ __value 37 arch/arm/include/asm/bug.h asm volatile("1:\t" BUG_INSTR(__value) "\n" \ __value 51 arch/arm/include/asm/bug.h #define __BUG(__file, __line, __value) \ __value 53 arch/arm/include/asm/bug.h asm volatile(BUG_INSTR(__value) "\n"); \ __value 44 arch/mips/cavium-octeon/crypto/octeon-crypto.h u64 __value; \ __value 48 arch/mips/cavium-octeon/crypto/octeon-crypto.h : [rt] "=d" (__value) \ __value 51 arch/mips/cavium-octeon/crypto/octeon-crypto.h be64_to_cpu(__value); \ __value 118 arch/mips/cavium-octeon/crypto/octeon-crypto.h u64 __value; \ __value 122 arch/mips/cavium-octeon/crypto/octeon-crypto.h : [rt] "=d" (__value) \ __value 125 arch/mips/cavium-octeon/crypto/octeon-crypto.h __value; \ __value 192 arch/mips/cavium-octeon/crypto/octeon-crypto.h u64 __value; \ __value 196 arch/mips/cavium-octeon/crypto/octeon-crypto.h : [rt] "=d" (__value) \ __value 199 arch/mips/cavium-octeon/crypto/octeon-crypto.h __value; \ __value 456 drivers/mmc/host/dw_mmc.h #define mci_fifo_writew(__value, __reg) __raw_writew(__reg, __value) __value 457 drivers/mmc/host/dw_mmc.h #define mci_fifo_writel(__value, __reg) __raw_writel(__reg, __value) __value 458 drivers/mmc/host/dw_mmc.h #define mci_fifo_writeq(__value, __reg) __raw_writeq(__reg, __value) __value 492 drivers/mmc/host/dw_mmc.h #define __raw_writeq(__value, __reg) \ __value 493 drivers/mmc/host/dw_mmc.h (*(volatile u64 __force *)(__reg) = (__value)) __value 701 drivers/net/ethernet/cadence/macb.h #define macb_or_gem_writel(__bp, __reg, __value) \ __value 704 drivers/net/ethernet/cadence/macb.h gem_writel((__bp), __reg, __value); \ __value 706 drivers/net/ethernet/cadence/macb.h macb_writel((__bp), __reg, __value); \ __value 235 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h #define SET_FIELD(__reg, __type, __field, __value)\ __value 239 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h *(__reg) |= ((__value) << \ __value 251 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h #define rt2x00_set_field32(__reg, __field, __value) \ __value 252 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h SET_FIELD(__reg, struct rt2x00_field32, __field, __value) __value 256 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h #define rt2x00_set_field16(__reg, __field, __value) \ __value 257 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h SET_FIELD(__reg, struct rt2x00_field16, __field, __value) __value 261 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h #define rt2x00_set_field8(__reg, __field, __value) \ __value 262 drivers/net/wireless/ralink/rt2x00/rt2x00reg.h SET_FIELD(__reg, struct rt2x00_field8, __field, __value) __value 150 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ __value 151 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) __value 152 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ __value 153 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) __value 154 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ __value 155 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value) __value 156 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ __value 157 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value) __value 158 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ __value 159 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 4, 1, __value) __value 160 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_GPIO_ACTIVE(__cmd, __value) \ __value 161 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 5, 1, __value) __value 162 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_REKEY_WAKE_UP(__cmd, __value) \ __value 163 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 6, 1, __value) __value 164 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_DISCONNECT_WAKE_UP(__cmd, __value) \ __value 165 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 7, 1, __value) __value 166 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_GPIONUM(__cmd, __value) \ __value 167 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 168 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_WOWLAN_GPIO_DURATION(__cmd, __value) \ __value 169 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 174 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_RLBM(__cmd, __value) \ __value 175 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 4, __value) __value 176 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__cmd, __value) \ __value 177 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 4, 4, __value) __value 178 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__cmd, __value) \ __value 179 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 180 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__cmd, __value) \ __value 181 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __value) __value 182 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_PWR_STATE(__cmd, __value) \ __value 183 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+4, 0, 8, __value) __value 197 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_AP_OFFLOAD_ON(__cmd, __value) \ __value 198 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 8, __value) __value 199 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_AP_OFFLOAD_HIDDEN(__cmd, __value) \ __value 200 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 201 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_AP_OFFLOAD_DENYANY(__cmd, __value) \ __value 202 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 203 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_AP_OFFLOAD_WAKEUP_EVT_RPT(__cmd, __value) \ __value 204 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __value) __value 207 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_KEEP_ALIVE_ENABLE(__cmd, __value) \ __value 208 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) __value 209 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_KEEP_ALIVE_ACCPEPT_USER_DEFINED(__cmd, __value) \ __value 210 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) __value 211 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_KEEP_ALIVE_PERIOD(__cmd, __value) \ __value 212 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 215 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_REMOTE_WAKE_CTRL_EN(__cmd, __value) \ __value 216 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) __value 218 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_REMOTE_WAKE_CTRL_ARP_OFFLOAD_EN(__cmd, __value) \ __value 219 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) __value 220 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_REMOTE_WAKE_CTRL_NDP_OFFLOAD_EN(__cmd, __value) \ __value 221 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value) __value 222 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_REMOTE_WAKE_CTRL_GTK_OFFLOAD_EN(__cmd, __value) \ __value 223 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value) __value 225 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2_REM_WAKE_ENC_ALG(__cmd, __value) \ __value 226 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 227 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_REMOTE_WAKE_CTRL_GROUP_ENC_ALG(__cmd, __value) \ __value 228 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 232 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_AOAC_GLOBAL_INFO_PAIRWISE_ENC_ALG(__cmd, __value) \ __value 233 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 8, __value) __value 234 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_AOAC_GLOBAL_INFO_GROUP_ENC_ALG(__cmd, __value) \ __value 235 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 238 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_AOAC_RSVD_LOC_REM_WAKE_CTRL_INFO(__cmd, __value) \ __value 239 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd), 0, 8, __value) __value 240 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_AOAC_RSVDPAGE_LOC_ARP_RSP(__cmd, __value) \ __value 241 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 242 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_AOAC_RSVDPAGE_LOC_NEIGHBOR_ADV(__cmd, __value) \ __value 243 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 244 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_AOAC_RSVDPAGE_LOC_GTK_RSP(__cmd, __value) \ __value 245 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __value) __value 246 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_88E_H2CCMD_AOAC_RSVDPAGE_LOC_GTK_INFO(__cmd, __value) \ __value 247 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+4, 0, 8, __value) __value 514 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) __value 516 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); __value 519 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) __value 521 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); __value 524 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) __value 526 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); __value 529 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) __value 531 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); __value 534 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) __value 536 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__paddr + 1, __value, GENMASK(7, 0)); __value 539 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_earlymode_len3(__le32 *__paddr, u32 __value) __value 541 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__paddr + 1, __value, GENMASK(19, 8)); __value 544 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_earlymode_len4(__le32 *__paddr, u32 __value) __value 546 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__paddr + 1, __value, GENMASK(31, 20)); __value 158 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_pkt_size(__le32 *__txdesc, u32 __value) __value 160 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits(__txdesc, __value, GENMASK(15, 0)); __value 163 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_offset(__le32 *__txdesc, u32 __value) __value 165 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits(__txdesc, __value, GENMASK(23, 16)); __value 168 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_bmc(__le32 *__txdesc, u32 __value) __value 170 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits(__txdesc, __value, BIT(24)); __value 173 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_htc(__le32 *__txdesc, u32 __value) __value 175 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits(__txdesc, __value, BIT(25)); __value 178 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_last_seg(__le32 *__txdesc, u32 __value) __value 180 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits(__txdesc, __value, BIT(26)); __value 183 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_first_seg(__le32 *__txdesc, u32 __value) __value 185 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits(__txdesc, __value, BIT(27)); __value 188 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_linip(__le32 *__txdesc, u32 __value) __value 190 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits(__txdesc, __value, BIT(28)); __value 193 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_own(__le32 *__txdesc, u32 __value) __value 195 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits(__txdesc, __value, BIT(31)); __value 200 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_macid(__le32 *__txdesc, u32 __value) __value 202 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, GENMASK(4, 0)); __value 205 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_agg_enable(__le32 *__txdesc, u32 __value) __value 207 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, BIT(5)); __value 210 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_agg_break(__le32 *__txdesc, u32 __value) __value 212 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, BIT(6)); __value 215 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__txdesc, u32 __value) __value 217 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, BIT(7)); __value 220 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_queue_sel(__le32 *__txdesc, u32 __value) __value 222 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, GENMASK(12, 8)); __value 225 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rate_id(__le32 *__txdesc, u32 __value) __value 227 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, GENMASK(19, 16)); __value 230 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__txdesc, u32 __value) __value 232 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, BIT(20)); __value 235 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_sec_type(__le32 *__txdesc, u32 __value) __value 237 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, GENMASK(23, 22)); __value 240 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__txdesc, u32 __value) __value 242 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 1), __value, GENMASK(30, 26)); __value 247 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_more_frag(__le32 *__txdesc, u32 __value) __value 249 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 2), __value, BIT(17)); __value 252 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__txdesc, u32 __value) __value 254 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 2), __value, GENMASK(22, 20)); __value 259 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_seq(__le32 *__txdesc, u32 __value) __value 261 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 3), __value, GENMASK(27, 16)); __value 264 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_pkt_id(__le32 *__txdesc, u32 __value) __value 266 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 3), __value, GENMASK(31, 28)); __value 271 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rts_rate(__le32 *__txdesc, u32 __value) __value 273 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, GENMASK(4, 0)); __value 276 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_qos(__le32 *__txdesc, u32 __value) __value 278 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(6)); __value 281 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__txdesc, u32 __value) __value 283 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(7)); __value 286 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_use_rate(__le32 *__txdesc, u32 __value) __value 288 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(8)); __value 291 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_disable_fb(__le32 *__txdesc, u32 __value) __value 293 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(10)); __value 296 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_cts2self(__le32 *__txdesc, u32 __value) __value 298 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(11)); __value 301 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rts_enable(__le32 *__txdesc, u32 __value) __value 303 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(12)); __value 306 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__txdesc, u32 __value) __value 308 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(13)); __value 311 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_data_sc(__le32 *__txdesc, u32 __value) __value 313 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, GENMASK(21, 20)); __value 316 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_data_bw(__le32 *__txdesc, u32 __value) __value 318 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(25)); __value 321 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rts_short(__le32 *__txdesc, u32 __value) __value 323 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(26)); __value 326 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rts_bw(__le32 *__txdesc, u32 __value) __value 328 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, BIT(27)); __value 331 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rts_sc(__le32 *__txdesc, u32 __value) __value 333 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, GENMASK(29, 28)); __value 336 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rts_stbc(__le32 *__txdesc, u32 __value) __value 338 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 4), __value, GENMASK(31, 30)); __value 353 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__txdesc, u32 __value) __value 355 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 5), __value, GENMASK(12, 8)); __value 358 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__txdesc, u32 __value) __value 360 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 5), __value, GENMASK(16, 13)); __value 365 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__txdesc, u32 __value) __value 367 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 6), __value, GENMASK(15, 11)); __value 372 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_tx_desc_checksum(__le32 *__txdesc, u32 __value) __value 374 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__txdesc + 7), __value, GENMASK(15, 0)); __value 511 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_EARLYMODE_PKTNUM(__paddr, __value) \ __value 512 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__paddr, 0, 3, __value) __value 513 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_EARLYMODE_LEN0(__paddr, __value) \ __value 514 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__paddr, 4, 12, __value) __value 515 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_EARLYMODE_LEN1(__paddr, __value) \ __value 516 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__paddr, 16, 12, __value) __value 517 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_EARLYMODE_LEN2_1(__paddr, __value) \ __value 518 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__paddr, 28, 4, __value) __value 519 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_EARLYMODE_LEN2_2(__paddr, __value) \ __value 520 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__paddr+4, 0, 8, __value) __value 521 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_EARLYMODE_LEN3(__paddr, __value) \ __value 522 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__paddr+4, 8, 12, __value) __value 523 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_EARLYMODE_LEN4(__paddr, __value) \ __value 524 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__paddr+4, 20, 12, __value) __value 118 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_hwseq_sel_8723(__le32 *__txdesc, u32 __value) __value 120 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__txdesc + 4), __value, GENMASK(7, 6)); __value 354 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) __value 356 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); __value 359 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) __value 361 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); __value 364 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) __value 366 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); __value 369 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) __value 371 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); __value 374 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) __value 376 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__paddr + 1), __value, GENMASK(7, 0)); __value 379 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_earlymode_len3(__le32 *__paddr, u32 __value) __value 381 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__paddr + 1), __value, GENMASK(19, 8)); __value 384 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_earlymode_len4(__le32 *__paddr, u32 __value) __value 386 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__paddr + 1), __value, GENMASK(31, 20)); __value 153 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ __value 154 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) __value 155 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ __value 156 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) __value 157 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ __value 158 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value) __value 159 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ __value 160 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value) __value 161 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ __value 162 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 4, 1, __value) __value 163 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_GPIO_ACTIVE(__cmd, __value) \ __value 164 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 5, 1, __value) __value 165 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_REKEY_WAKE_UP(__cmd, __value) \ __value 166 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 6, 1, __value) __value 167 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_DISCONNECT_WAKE_UP(__cmd, __value) \ __value 168 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 7, 1, __value) __value 169 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_GPIONUM(__cmd, __value) \ __value 170 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd) + 1, 0, 8, __value) __value 171 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_WOWLAN_GPIO_DURATION(__cmd, __value) \ __value 172 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd) + 2, 0, 8, __value) __value 176 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_RLBM(__cmd, __value) \ __value 177 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 4, __value) __value 178 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__cmd, __value) \ __value 179 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 4, 4, __value) __value 180 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__cmd, __value) \ __value 181 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 182 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__cmd, __value) \ __value 183 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __value) __value 184 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_PWR_STATE(__cmd, __value) \ __value 185 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+4, 0, 8, __value) __value 186 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_BYTE5(__cmd, __value) \ __value 187 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd) + 5, 0, 8, __value) __value 203 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_MSRRPT_PARM_OPMODE(__cmd, __value) \ __value 204 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) __value 205 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_MSRRPT_PARM_MACID_IND(__cmd, __value) \ __value 206 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) __value 207 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_MSRRPT_PARM_MACID(__cmd, __value) \ __value 208 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd+1, 0, 8, __value) __value 209 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_MSRRPT_PARM_MACID_END(__cmd, __value) \ __value 210 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd+2, 0, 8, __value) __value 213 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_AP_OFFLOAD_ON(__cmd, __value) \ __value 214 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 8, __value) __value 215 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_AP_OFFLOAD_HIDDEN(__cmd, __value) \ __value 216 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 217 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_AP_OFFLOAD_DENYANY(__cmd, __value) \ __value 218 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 219 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_AP_OFFLOAD_WAKEUP_EVT_RPT(__cmd, __value) \ __value 220 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __value) __value 223 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_KEEP_ALIVE_ENABLE(__cmd, __value) \ __value 224 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) __value 225 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_KEEP_ALIVE_ACCPEPT_USER_DEFINED(__cmd, __value) \ __value 226 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) __value 227 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_KEEP_ALIVE_PERIOD(__cmd, __value) \ __value 228 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 231 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_REMOTE_WAKECTRL_ENABLE(__cmd, __value) \ __value 232 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) __value 233 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_REMOTE_WAKE_CTRL_ARP_OFFLOAD_EN(__cmd, __value)\ __value 234 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) __value 235 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_REMOTE_WAKE_CTRL_NDP_OFFLOAD_EN(__cmd, __value)\ __value 236 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value) __value 237 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_REMOTE_WAKE_CTRL_GTK_OFFLOAD_EN(__cmd, __value)\ __value 238 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value) __value 239 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_REMOTE_WAKE_CTRL_REALWOWV2_EN(__cmd, __value)\ __value 240 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 6, 1, __value) __value 243 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_AOAC_GLOBAL_INFO_PAIRWISE_ENC_ALG(__cmd, __value)\ __value 244 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 8, __value) __value 245 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_AOAC_GLOBAL_INFO_GROUP_ENC_ALG(__cmd, __value) \ __value 246 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 249 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8821AE_H2CCMD_AOAC_RSVDPAGE_LOC_REMOTE_WAKE_CTRL_INFO(__cmd, __value) \ __value 250 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd), 0, 8, __value) __value 251 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8821AE_H2CCMD_AOAC_RSVDPAGE_LOC_ARP_RSP(__cmd, __value) \ __value 252 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) __value 253 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8821AE_H2CCMD_AOAC_RSVDPAGE_LOC_NEIGHBOR_ADV(__cmd, __value)\ __value 254 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 255 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8821AE_H2CCMD_AOAC_RSVDPAGE_LOC_GTK_RSP(__cmd, __value) \ __value 256 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __value) __value 257 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8821AE_H2CCMD_AOAC_RSVDPAGE_LOC_GTK_INFO(__cmd, __value) \ __value 258 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+4, 0, 8, __value) __value 259 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8821AE_H2CCMD_AOAC_RSVDPAGE_LOC_GTK_EXT_MEM(__cmd, __value) \ __value 260 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+5, 0, 8, __value) __value 263 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_DISCONNECT_DECISION_CTRL_ENABLE(__cmd, __value) \ __value 264 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) __value 265 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_DISCONNECT_DECISION_CTRL_USER_SETTING(__cmd, __value)\ __value 266 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) __value 267 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_DISCONNECT_DECISION_CTRL_CHECK_PERIOD(__cmd, __value)\ __value 268 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 8, __value) /* unit: beacon period */ __value 269 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_8812_H2CCMD_DISCONNECT_DECISION_CTRL_TRYPKT_NUM(__cmd, __value)\ __value 270 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __value) __value 354 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) __value 356 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); __value 359 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) __value 361 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); __value 364 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) __value 366 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); __value 369 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) __value 371 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); __value 374 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) __value 376 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__paddr, __value, GENMASK(7, 0)); __value 379 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_earlymode_len3(__le32 *__paddr, u32 __value) __value 381 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits((__paddr + 1), __value, GENMASK(19, 8)); __value 384 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_earlymode_len4(__le32 *__paddr, u32 __value) __value 386 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits((__paddr + 1), __value, GENMASK(31, 20)); __value 3017 drivers/net/wireless/realtek/rtlwifi/wifi.h #define N_BYTE_ALIGMENT(__value, __aligment) ((__aligment == 1) ? \ __value 3018 drivers/net/wireless/realtek/rtlwifi/wifi.h (__value) : (((__value + __aligment - 1) / __aligment) * __aligment))