__val 59 arch/arm/include/asm/cp15.h t __val; \ __val 60 arch/arm/include/asm/cp15.h asm volatile(r " " c : "=r" (__val)); \ __val 61 arch/arm/include/asm/cp15.h __val; \ __val 119 arch/arm/include/asm/cputype.h unsigned int __val; \ __val 121 arch/arm/include/asm/cputype.h : "=r" (__val) \ __val 124 arch/arm/include/asm/cputype.h __val; \ __val 134 arch/arm/include/asm/cputype.h unsigned int __val; \ __val 136 arch/arm/include/asm/cputype.h : "=r" (__val) \ __val 139 arch/arm/include/asm/cputype.h __val; \ __val 23 arch/arm/include/asm/kvm_hyp.h u32 __val; \ __val 24 arch/arm/include/asm/kvm_hyp.h asm volatile("mrs %0, " __stringify(r) : "=r" (__val)); \ __val 25 arch/arm/include/asm/kvm_hyp.h __val; \ __val 67 arch/arm64/include/asm/barrier.h union { typeof(*p) __val; char __c[1]; } __u = \ __val 68 arch/arm64/include/asm/barrier.h { .__val = (__force typeof(*p)) (v) }; \ __val 101 arch/arm64/include/asm/barrier.h union { typeof(*p) __val; char __c[1]; } __u; \ __val 127 arch/arm64/include/asm/barrier.h __u.__val; \ __val 30 arch/arm64/include/asm/kvm_hyp.h u64 __val = (u64)(v); \ __val 34 arch/arm64/include/asm/kvm_hyp.h : : "rZ" (__val)); \ __val 61 arch/arm64/include/asm/pgtable-prot.h u64 __val; \ __val 63 arch/arm64/include/asm/pgtable-prot.h __val = PTE_S2_MEMATTR(MT_S2_FWB_ ## attr); \ __val 65 arch/arm64/include/asm/pgtable-prot.h __val = PTE_S2_MEMATTR(MT_S2_ ## attr); \ __val 66 arch/arm64/include/asm/pgtable-prot.h __val; \ __val 71 arch/arm64/include/asm/pgtable-prot.h u64 __val; \ __val 73 arch/arm64/include/asm/pgtable-prot.h __val = 0; \ __val 75 arch/arm64/include/asm/pgtable-prot.h __val = PTE_S2_XN; \ __val 76 arch/arm64/include/asm/pgtable-prot.h __val; \ __val 802 arch/arm64/include/asm/sysreg.h u64 __val; \ __val 803 arch/arm64/include/asm/sysreg.h asm volatile("mrs %0, " __stringify(r) : "=r" (__val)); \ __val 804 arch/arm64/include/asm/sysreg.h __val; \ __val 812 arch/arm64/include/asm/sysreg.h u64 __val = (u64)(v); \ __val 814 arch/arm64/include/asm/sysreg.h : : "rZ" (__val)); \ __val 822 arch/arm64/include/asm/sysreg.h u64 __val; \ __val 823 arch/arm64/include/asm/sysreg.h asm volatile(__mrs_s("%0", r) : "=r" (__val)); \ __val 824 arch/arm64/include/asm/sysreg.h __val; \ __val 828 arch/arm64/include/asm/sysreg.h u64 __val = (u64)(v); \ __val 829 arch/arm64/include/asm/sysreg.h asm volatile(__msr_s(r, "%x0") : : "rZ" (__val)); \ __val 124 arch/m68k/atari/time.c ({ unsigned char __val; \ __val 126 arch/m68k/atari/time.c __val = tt_rtc.data; \ __val 127 arch/m68k/atari/time.c __val; \ __val 321 arch/mips/include/asm/io.h type __val; \ __val 330 arch/mips/include/asm/io.h __val = pfx##ioswab##bwlq(__mem, val); \ __val 333 arch/mips/include/asm/io.h *__mem = __val; \ __val 350 arch/mips/include/asm/io.h : "0" (__val), "m" (*__mem)); \ __val 360 arch/mips/include/asm/io.h type __val; \ __val 368 arch/mips/include/asm/io.h __val = *__mem; \ __val 381 arch/mips/include/asm/io.h : "=r" (__val) \ __val 386 arch/mips/include/asm/io.h __val = 0; \ __val 393 arch/mips/include/asm/io.h return pfx##ioswab##bwlq(__mem, __val); \ __val 401 arch/mips/include/asm/io.h type __val; \ __val 410 arch/mips/include/asm/io.h __val = pfx##ioswab##bwlq(__addr, val); \ __val 415 arch/mips/include/asm/io.h *__addr = __val; \ __val 421 arch/mips/include/asm/io.h type __val; \ __val 430 arch/mips/include/asm/io.h __val = *__addr; \ __val 435 arch/mips/include/asm/io.h return pfx##ioswab##bwlq(__addr, __val); \ __val 1477 arch/mips/include/asm/mipsregs.h unsigned long long __val; \ __val 1489 arch/mips/include/asm/mipsregs.h : "=r" (__val)); \ __val 1498 arch/mips/include/asm/mipsregs.h : "=r" (__val)); \ __val 1501 arch/mips/include/asm/mipsregs.h __val; \ __val 176 arch/mips/include/asm/netlogic/mips-extns.h unsigned long long __val; \ __val 188 arch/mips/include/asm/netlogic/mips-extns.h : "=r" (__val)); \ __val 197 arch/mips/include/asm/netlogic/mips-extns.h : "=r" (__val)); \ __val 200 arch/mips/include/asm/netlogic/mips-extns.h __val; \ __val 184 arch/parisc/include/asm/uaccess.h #define __put_user_asm64(__val, ptr) do { \ __val 192 arch/parisc/include/asm/uaccess.h : "r"(ptr), "r"(__val), "0"(__pu_err)); \ __val 173 arch/sh/include/asm/io.h type __val; \ __val 176 arch/sh/include/asm/io.h __val = *__addr; \ __val 179 arch/sh/include/asm/io.h return __val; \ __val 43 arch/sparc/kernel/iommu.c #define iommu_write(__reg, __val) \ __val 46 arch/sparc/kernel/iommu.c : "r" (__val), "r" (__reg), \ __val 326 arch/sparc/kernel/prom_irqtrans.c #define schizo_write(__reg, __val) \ __val 329 arch/sparc/kernel/prom_irqtrans.c : "r" (__val), "r" (__reg), \ __val 19 arch/unicore32/include/asm/cputype.h unsigned int __val; \ __val 21 arch/unicore32/include/asm/cputype.h : "=r" (__val) \ __val 24 arch/unicore32/include/asm/cputype.h __val; \ __val 113 arch/x86/include/asm/msr.h u64 __val = __rdmsr((msr)); \ __val 114 arch/x86/include/asm/msr.h (void)((val1) = (u32)__val); \ __val 115 arch/x86/include/asm/msr.h (void)((val2) = (u32)(__val >> 32)); \ __val 268 arch/x86/include/asm/msr.h u64 __val = native_read_msr((msr)); \ __val 269 arch/x86/include/asm/msr.h (void)((low) = (u32)__val); \ __val 270 arch/x86/include/asm/msr.h (void)((high) = (u32)(__val >> 32)); \ __val 296 arch/x86/include/asm/msr.h u64 __val = native_read_msr_safe((msr), &__err); \ __val 297 arch/x86/include/asm/msr.h (*low) = (u32)__val; \ __val 298 arch/x86/include/asm/msr.h (*high) = (u32)(__val >> 32); \ __val 317 arch/x86/include/asm/segment.h unsigned short __val = (value); \ __val 329 arch/x86/include/asm/segment.h : "+r" (__val) : : "memory"); \ __val 459 arch/x86/kernel/vm86_32.c __u8 __val = val; \ __val 461 arch/x86/kernel/vm86_32.c if (put_user(__val, base + ptr) < 0) \ __val 467 arch/x86/kernel/vm86_32.c __u16 __val = val; \ __val 469 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 1), base + ptr) < 0) \ __val 472 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 0), base + ptr) < 0) \ __val 478 arch/x86/kernel/vm86_32.c __u32 __val = val; \ __val 480 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 3), base + ptr) < 0) \ __val 483 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 2), base + ptr) < 0) \ __val 486 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 1), base + ptr) < 0) \ __val 489 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 0), base + ptr) < 0) \ __val 314 drivers/block/ataflop.c unsigned short __val; \ __val 318 drivers/block/ataflop.c __val = dma_wd.fdc_acces_seccount; \ __val 321 drivers/block/ataflop.c __val & 0xff; \ __val 79 drivers/gpu/drm/i915/gt/intel_engine.h u32 __val; \ __val 81 drivers/gpu/drm/i915/gt/intel_engine.h __val = intel_uncore_read((engine__)->uncore, \ __val 83 drivers/gpu/drm/i915/gt/intel_engine.h __val &= ~(clear__); \ __val 84 drivers/gpu/drm/i915/gt/intel_engine.h __val |= (set__); \ __val 86 drivers/gpu/drm/i915/gt/intel_engine.h __val); \ __val 162 drivers/gpu/drm/i915/i915_reg.h #define REG_FIELD_PREP(__mask, __val) \ __val 163 drivers/gpu/drm/i915/i915_reg.h ((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \ __val 167 drivers/gpu/drm/i915/i915_reg.h BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__val)), 0)))) __val 179 drivers/gpu/drm/i915/i915_reg.h #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val)) __val 118 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h typeof(intf_type) __val = (intf_type); \ __val 119 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h (__val) >= INTF_VIRTUAL ? true : false; }) __val 153 drivers/media/dvb-frontends/lgdt3305.c u8 __val; \ __val 154 drivers/media/dvb-frontends/lgdt3305.c int ret = lgdt3305_read_reg(state, reg, &__val); \ __val 156 drivers/media/dvb-frontends/lgdt3305.c __val = 0; \ __val 157 drivers/media/dvb-frontends/lgdt3305.c __val; \ __val 175 drivers/media/dvb-frontends/lgdt3306a.c u8 __val; \ __val 176 drivers/media/dvb-frontends/lgdt3306a.c int ret = lgdt3306a_read_reg(state, reg, &__val); \ __val 178 drivers/media/dvb-frontends/lgdt3306a.c __val = 0; \ __val 179 drivers/media/dvb-frontends/lgdt3306a.c __val; \ __val 1090 drivers/media/i2c/ov13858.c u32 __val) __val 1103 drivers/media/i2c/ov13858.c val = cpu_to_be32(__val); __val 10895 drivers/net/ethernet/broadcom/tg3.c do { u32 __val = tr32(REG); \ __val 10896 drivers/net/ethernet/broadcom/tg3.c (PSTAT)->low += __val; \ __val 10897 drivers/net/ethernet/broadcom/tg3.c if ((PSTAT)->low < __val) \ __val 20 drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c #define bfa_ioc_ct_get_sync_ackd(__val) (__val & 0x0000ffff) __val 21 drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c #define bfa_ioc_ct_clear_sync_ackd(__val) (__val & 0xffff0000) __val 22 drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c #define bfa_ioc_ct_get_sync_reqd(__val) (__val >> BFA_IOC_SYNC_REQD_SH) __val 326 drivers/net/ethernet/brocade/bna/bfi.h #define BFI_ADAPTER_SETP(__prop, __val) \ __val 327 drivers/net/ethernet/brocade/bna/bfi.h ((__val) << BFI_ADAPTER_ ## __prop ## _SH) __val 1050 drivers/net/ethernet/smsc/smc91x.h unsigned int __val = SMC_inl(ioaddr, DATA_REG(lp)); \ __val 1051 drivers/net/ethernet/smsc/smc91x.h (status) = __val & 0xffff; \ __val 1052 drivers/net/ethernet/smsc/smc91x.h (length) = __val >> 16; \ __val 245 drivers/net/ethernet/sun/sunhme.c #define hme_write32(__hp, __reg, __val) \ __val 246 drivers/net/ethernet/sun/sunhme.c ((__hp)->write32((__reg), (__val))) __val 266 drivers/net/ethernet/sun/sunhme.c #define hme_write32(__hp, __reg, __val) \ __val 267 drivers/net/ethernet/sun/sunhme.c sbus_writel((__val), (__reg)) __val 291 drivers/net/ethernet/sun/sunhme.c #define hme_write32(__hp, __reg, __val) \ __val 292 drivers/net/ethernet/sun/sunhme.c writel((__val), (__reg)) __val 63 drivers/net/wireless/realtek/rtlwifi/base.h #define SET_TX_DESC_SPE_RPT(__pdesc, __val) \ __val 64 drivers/net/wireless/realtek/rtlwifi/base.h SET_BITS_TO_LE_4BYTE((__pdesc) + 8, 19, 1, __val) __val 65 drivers/net/wireless/realtek/rtlwifi/base.h #define SET_TX_DESC_SW_DEFINE(__pdesc, __val) \ __val 66 drivers/net/wireless/realtek/rtlwifi/base.h SET_BITS_TO_LE_4BYTE((__pdesc) + 24, 0, 12, __val) __val 172 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ __val 173 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 187 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ __val 188 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 189 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ __val 190 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 191 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ __val 192 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) __val 193 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ __val 194 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 17 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __val 19 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __val 22 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __val 24 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __val 27 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __val 29 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __val 32 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __val 34 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __val 37 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __val 39 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __val 42 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __val 44 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __val 47 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __val 49 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __val 52 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 62 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __val 64 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(5, 0)); __val 67 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __val 69 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(12, 8)); __val 72 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __val 74 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(19, 16)); __val 77 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) __val 79 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, BIT(20)); __val 82 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(23, 22)); __val 87 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(30, 26)); __val 92 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(12)); __val 97 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __val 99 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(13)); __val 102 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(17)); __val 107 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __val 109 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, GENMASK(22, 20)); __val 112 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_antsel_a(__le32 *__pdesc, u32 __val) __val 114 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(24)); __val 117 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_antsel_b(__le32 *__pdesc, u32 __val) __val 119 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(25)); __val 122 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __val 124 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 3, __val, GENMASK(27, 16)); __val 127 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) __val 129 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(31)); __val 132 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __val 134 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(4, 0)); __val 137 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_qos(__le32 *__pdesc, u32 __val) __val 139 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(6)); __val 142 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __val 144 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(8)); __val 147 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __val 149 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(10)); __val 152 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __val 154 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(11)); __val 157 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __val 159 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(12)); __val 162 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __val 164 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(13)); __val 167 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __val 169 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(21, 20)); __val 172 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_stbc(__le32 *__pdesc, u32 __val) __val 174 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(23, 22)); __val 177 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __val 179 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(25)); __val 182 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __val 184 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(26)); __val 187 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_bw(__le32 *__pdesc, u32 __val) __val 189 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(27)); __val 192 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __val 194 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(29, 28)); __val 197 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) __val 199 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(31, 30)); __val 202 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __val 204 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(5, 0)); __val 207 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __val 209 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 5, __val, BIT(6)); __val 212 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 214 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(12, 8)); __val 217 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 219 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(16, 13)); __val 222 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __val 224 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 6, __val, GENMASK(15, 11)); __val 227 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_antsel_c(__le32 *__pdesc, u32 __val) __val 229 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 7, __val, BIT(29)); __val 232 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __val 234 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 7, __val, GENMASK(15, 0)); __val 242 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __val 244 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h *(__pdesc + 8) = cpu_to_le32(__val); __val 252 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __val 254 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __val 322 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __val 324 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __val 327 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __val 329 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __val 332 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __val 334 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 487 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __val 489 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __val 492 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_buff_addr64(__le32 *__pdesc, u32 __val) __val 494 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h *(__pdesc + 7) = cpu_to_le32(__val); __val 48 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ __val 49 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 50 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ __val 51 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) __val 52 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ __val 53 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ __val 55 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 56 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ __val 57 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 58 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ __val 59 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) __val 60 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ __val 61 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 19 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __val 21 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __val 24 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __val 26 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __val 29 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __val 31 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __val 34 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __val 36 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __val 39 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __val 41 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __val 44 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __val 46 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __val 49 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __val 51 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __val 56 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 64 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __val 66 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(4, 0)); __val 69 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_agg_break(__le32 *__pdesc, u32 __val) __val 71 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, BIT(5)); __val 74 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __val 76 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, BIT(7)); __val 79 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __val 81 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __val 86 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(19, 16)); __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __val 91 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __val 96 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(17)); __val 99 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __val 101 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __val 106 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(27, 16)); __val 109 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_pkt_id(__le32 *__pdesc, u32 __val) __val 111 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(31, 28)); __val 114 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __val 116 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(4, 0)); __val 119 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_qos(__le32 *__pdesc, u32 __val) __val 121 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(6)); __val 124 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) __val 126 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(7)); __val 129 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __val 131 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(8)); __val 134 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __val 136 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(10)); __val 139 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __val 141 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(11)); __val 144 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __val 146 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(12)); __val 149 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __val 151 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(13)); __val 154 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __val 156 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(21, 20)); __val 159 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __val 161 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(25)); __val 164 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __val 166 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(26)); __val 169 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_bw(__le32 *__pdesc, u32 __val) __val 171 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(27)); __val 174 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __val 176 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(29, 28)); __val 179 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) __val 181 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(31, 30)); __val 184 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __val 186 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); __val 189 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __val 191 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(6)); __val 194 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 196 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(12, 8)); __val 199 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 201 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); __val 204 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __val 206 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 6), __val, GENMASK(15, 11)); __val 209 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __val 211 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); __val 214 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __val 216 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h *(__pdesc + 8) = cpu_to_le32(__val); __val 224 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __val 226 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __val 269 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __val 271 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __val 274 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __val 276 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __val 279 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __val 281 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 324 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __val 326 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __val 343 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __val 345 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); __val 348 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __val 350 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(6)); __val 72 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ __val 73 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 74 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ __val 75 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 0, 8, __val) __val 76 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ __val 77 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 2, 0, 8, __val) __val 78 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ __val 79 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 80 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ __val 81 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 82 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ __val 83 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 0, 8, __val) __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ __val 85 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 2, 0, 8, __val) __val 33 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ __val 37 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift))))); __val 41 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ __val 42 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val) __val 43 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_OFFSET(__pdesc, __val) \ __val 44 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val) __val 45 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_BMC(__pdesc, __val) \ __val 46 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 24, 1, __val) __val 47 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_HTC(__pdesc, __val) \ __val 48 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 25, 1, __val) __val 49 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ __val 50 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val) __val 51 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_FIRST_SEG(__pdesc, __val) \ __val 52 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 27, 1, __val) __val 53 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_LINIP(__pdesc, __val) \ __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 28, 1, __val) __val 55 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NO_ACM(__pdesc, __val) \ __val 56 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 29, 1, __val) __val 57 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_GF(__pdesc, __val) \ __val 58 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 30, 1, __val) __val 59 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_OWN(__pdesc, __val) \ __val 60 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 31, 1, __val) __val 83 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MACID(__pdesc, __val) \ __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 0, 5, __val) __val 85 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_AGG_ENABLE(__pdesc, __val) \ __val 86 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 5, 1, __val) __val 87 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_BK(__pdesc, __val) \ __val 88 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 6, 1, __val) __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RDG_ENABLE(__pdesc, __val) \ __val 90 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 7, 1, __val) __val 91 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_QUEUE_SEL(__pdesc, __val) \ __val 92 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 8, 5, __val) __val 93 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RDG_NAV_EXT(__pdesc, __val) \ __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 13, 1, __val) __val 95 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_LSIG_TXOP_EN(__pdesc, __val) \ __val 96 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 14, 1, __val) __val 97 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PIFS(__pdesc, __val) \ __val 98 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 15, 1, __val) __val 99 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RATE_ID(__pdesc, __val) \ __val 100 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 16, 4, __val) __val 101 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NAV_USE_HDR(__pdesc, __val) \ __val 102 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 20, 1, __val) __val 103 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_EN_DESC_ID(__pdesc, __val) \ __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 21, 1, __val) __val 105 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_SEC_TYPE(__pdesc, __val) \ __val 106 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 22, 2, __val) __val 107 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PKT_OFFSET(__pdesc, __val) \ __val 108 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 26, 8, __val) __val 137 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_RC(__pdesc, __val) \ __val 138 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 0, 6, __val) __val 139 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_RC(__pdesc, __val) \ __val 140 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 6, 6, __val) __val 141 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_BAR_RTY_TH(__pdesc, __val) \ __val 142 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 14, 2, __val) __val 143 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MORE_FRAG(__pdesc, __val) \ __val 144 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 17, 1, __val) __val 145 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RAW(__pdesc, __val) \ __val 146 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 18, 1, __val) __val 147 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_CCX(__pdesc, __val) \ __val 148 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 19, 1, __val) __val 149 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_AMPDU_DENSITY(__pdesc, __val) \ __val 150 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 20, 3, __val) __val 151 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_ANTSEL_A(__pdesc, __val) \ __val 152 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 24, 1, __val) __val 153 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_ANTSEL_B(__pdesc, __val) \ __val 154 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 25, 1, __val) __val 155 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_ANT_CCK(__pdesc, __val) \ __val 156 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 26, 2, __val) __val 157 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_ANTL(__pdesc, __val) \ __val 158 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 28, 2, __val) __val 159 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_ANT_HT(__pdesc, __val) \ __val 160 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 30, 2, __val) __val 187 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NEXT_HEAP_PAGE(__pdesc, __val) \ __val 188 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+12, 0, 8, __val) __val 189 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TAIL_PAGE(__pdesc, __val) \ __val 190 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+12, 8, 8, __val) __val 191 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_SEQ(__pdesc, __val) \ __val 192 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+12, 16, 12, __val) __val 193 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PKT_ID(__pdesc, __val) \ __val 194 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+12, 28, 4, __val) __val 205 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_RATE(__pdesc, __val) \ __val 206 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 0, 5, __val) __val 207 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_AP_DCFE(__pdesc, __val) \ __val 208 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 5, 1, __val) __val 209 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_QOS(__pdesc, __val) \ __val 210 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 6, 1, __val) __val 211 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_HWSEQ_EN(__pdesc, __val) \ __val 212 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 7, 1, __val) __val 213 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_USE_RATE(__pdesc, __val) \ __val 214 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 8, 1, __val) __val 215 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DISABLE_RTS_FB(__pdesc, __val) \ __val 216 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 9, 1, __val) __val 217 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DISABLE_FB(__pdesc, __val) \ __val 218 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 10, 1, __val) __val 219 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_CTS2SELF(__pdesc, __val) \ __val 220 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 11, 1, __val) __val 221 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_ENABLE(__pdesc, __val) \ __val 222 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 12, 1, __val) __val 223 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_HW_RTS_ENABLE(__pdesc, __val) \ __val 224 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 13, 1, __val) __val 225 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PORT_ID(__pdesc, __val) \ __val 226 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 14, 1, __val) __val 227 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_WAIT_DCTS(__pdesc, __val) \ __val 228 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 18, 1, __val) __val 229 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_CTS2AP_EN(__pdesc, __val) \ __val 230 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 19, 1, __val) __val 231 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_SUB_CARRIER(__pdesc, __val) \ __val 232 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 20, 2, __val) __val 233 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_STBC(__pdesc, __val) \ __val 234 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 22, 2, __val) __val 235 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_SHORT(__pdesc, __val) \ __val 236 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 24, 1, __val) __val 237 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_BW(__pdesc, __val) \ __val 238 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 25, 1, __val) __val 239 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_SHORT(__pdesc, __val) \ __val 240 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 26, 1, __val) __val 241 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_BW(__pdesc, __val) \ __val 242 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 27, 1, __val) __val 243 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_SC(__pdesc, __val) \ __val 244 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 28, 2, __val) __val 245 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_STBC(__pdesc, __val) \ __val 246 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 30, 2, __val) __val 291 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_RATE(__pdesc, __val) \ __val 292 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 0, 6, __val) __val 293 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_SHORTGI(__pdesc, __val) \ __val 294 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 6, 1, __val) __val 295 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_CCX_TAG(__pdesc, __val) \ __val 296 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 7, 1, __val) __val 297 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_RATE_FB_LIMIT(__pdesc, __val) \ __val 298 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 8, 5, __val) __val 299 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_RATE_FB_LIMIT(__pdesc, __val) \ __val 300 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 13, 4, __val) __val 301 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RETRY_LIMIT_ENABLE(__pdesc, __val) \ __val 302 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 17, 1, __val) __val 303 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_RETRY_LIMIT(__pdesc, __val) \ __val 304 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 18, 6, __val) __val 305 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_USB_TXAGG_NUM(__pdesc, __val) \ __val 306 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 24, 8, __val) __val 325 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TXAGC_A(__pdesc, __val) \ __val 326 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 0, 5, __val) __val 327 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TXAGC_B(__pdesc, __val) \ __val 328 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 5, 5, __val) __val 329 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_USE_MAX_LEN(__pdesc, __val) \ __val 330 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 10, 1, __val) __val 331 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MAX_AGG_NUM(__pdesc, __val) \ __val 332 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 11, 5, __val) __val 333 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG1_MAX_LEN(__pdesc, __val) \ __val 334 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 16, 4, __val) __val 335 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG2_MAX_LEN(__pdesc, __val) \ __val 336 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 20, 4, __val) __val 337 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG3_MAX_LEN(__pdesc, __val) \ __val 338 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 24, 4, __val) __val 339 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCS7_SGI_MAX_LEN(__pdesc, __val) \ __val 340 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 28, 4, __val) __val 359 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_BUFFER_SIZE(__pdesc, __val) \ __val 360 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 0, 16, __val) __val 361 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG4_MAX_LEN(__pdesc, __val) \ __val 362 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 16, 4, __val) __val 363 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG5_MAX_LEN(__pdesc, __val) \ __val 364 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 20, 4, __val) __val 365 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG6_MAX_LEN(__pdesc, __val) \ __val 366 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 24, 4, __val) __val 367 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCS15_SGI_MAX_LEN(__pdesc, __val) \ __val 368 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 28, 4, __val) __val 381 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_BUFFER_ADDRESS(__pdesc, __val) \ __val 382 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+32, 0, 32, __val) __val 383 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_BUFFER_ADDRESS64(__pdesc, __val) \ __val 384 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+36, 0, 32, __val) __val 391 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NEXT_DESC_ADDRESS(__pdesc, __val) \ __val 392 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+40, 0, 32, __val) __val 393 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NEXT_DESC_ADDRESS64(__pdesc, __val) \ __val 394 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+44, 0, 32, __val) __val 428 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_PKT_LEN(__pdesc, __val) \ __val 429 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 0, 14, __val) __val 430 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_EOR(__pdesc, __val) \ __val 431 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 30, 1, __val) __val 432 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_OWN(__pdesc, __val) \ __val 433 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 31, 1, __val) __val 501 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_BUFF_ADDR(__pdesc, __val) \ __val 502 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 0, 32, __val) __val 503 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_BUFF_ADDR64(__pdesc, __val) \ __val 504 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 0, 32, __val) __val 113 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ __val 114 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 115 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_RLBM(__cmd, __val) \ __val 116 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 4, __val) __val 117 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__cmd, __val) \ __val 118 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+1, 4, 4, __val) __val 119 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__cmd, __val) \ __val 120 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __val) __val 121 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__cmd, __val) \ __val 122 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __val) __val 123 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_PWR_STATE(__cmd, __val) \ __val 124 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd)+4, 0, 8, __val) __val 125 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_PWRMODE_PARM_BYTE5(__cmd, __val) \ __val 126 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__cmd) + 5, 0, 8, __val) __val 130 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ __val 131 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 132 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ __val 133 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 134 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ __val 135 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) __val 136 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ __val 137 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 138 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA(__ph2ccmd, __val) \ __val 139 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 3, 0, 8, __val) __val 140 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_BT_QOS_NULL_DATA(__ph2ccmd, __val) \ __val 141 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 4, 0, 8, __val) __val 144 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_MSRRPT_PARM_OPMODE(__cmd, __val) \ __val 145 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __val) __val 146 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_MSRRPT_PARM_MACID_IND(__cmd, __val) \ __val 147 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __val) __val 148 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_MSRRPT_PARM_MACID(__cmd, __val) \ __val 149 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd+1, 0, 8, __val) __val 150 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define SET_H2CCMD_MSRRPT_PARM_MACID_END(__cmd, __val) \ __val 151 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h SET_BITS_TO_LE_1BYTE(__cmd+2, 0, 8, __val) __val 17 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __val 19 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __val 22 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __val 24 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __val 27 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __val 29 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __val 32 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __val 34 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __val 37 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __val 39 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __val 42 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __val 44 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __val 47 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __val 49 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __val 52 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 62 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __val 64 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(6, 0)); __val 67 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __val 69 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); __val 72 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __val 74 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(20, 16)); __val 77 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __val 79 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); __val 82 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(28, 24)); __val 87 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(12)); __val 92 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(13)); __val 97 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __val 99 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(17)); __val 102 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); __val 107 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __val 109 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(8)); __val 112 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __val 114 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(10)); __val 117 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __val 119 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(11)); __val 122 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __val 124 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(12)); __val 127 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __val 129 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(13)); __val 132 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) __val 134 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(15)); __val 137 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __val 139 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(21, 17)); __val 143 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __val 145 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(6, 0)); __val 148 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 150 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(12, 8)); __val 153 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 155 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(16, 13)); __val 158 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __val 160 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(28, 24)); __val 164 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __val 166 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(3, 0)); __val 169 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __val 171 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(6, 5)); __val 174 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __val 176 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(12)); __val 179 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __val 181 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); __val 185 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __val 187 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); __val 191 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __val 193 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 9), __val, GENMASK(23, 12)); __val 197 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __val 199 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __val 203 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __val 205 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__pdesc + 12) = cpu_to_le32(__val); __val 208 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __val) __val 210 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__paddr, __val, GENMASK(3, 0)); __val 213 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_earlymode_len0(__le32 *__paddr, u32 __val) __val 215 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__paddr, __val, GENMASK(18, 4)); __val 218 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_earlymode_len1(__le32 *__paddr, u32 __val) __val 220 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__paddr, __val, GENMASK(17, 16)); __val 223 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __val) __val 225 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__paddr, __val, GENMASK(5, 2)); __val 228 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __val) __val 230 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__paddr + 1), __val, GENMASK(7, 0)); __val 233 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_earlymode_len3(__le32 *__paddr, u32 __val) __val 235 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__paddr + 1), __val, GENMASK(31, 17)); __val 238 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_earlymode_len4(__le32 *__paddr, u32 __val) __val 240 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__paddr + 1), __val, GENMASK(31, 20)); __val 247 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h u8 __offset, u32 __val) __val 249 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4 * __offset), __val, __val 254 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h u8 __offset, u32 __val) __val 256 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4 * __offset), __val, BIT(31)); __val 261 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h u32 __val) __val 263 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__pdesc + 4 * __offset + 1) = cpu_to_le32(__val); __val 288 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_buff_desc_len_0(__le32 *__pdesc, u32 __val) __val 290 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __val 293 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_buff_desc_psb(__le32 *__pdesc, u32 __val) __val 295 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(30, 16)); __val 298 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_buff_desc_own(__le32 *__pdesc, u32 __val) __val 300 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 304 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_buff_desc_addr_low_0(__le32 *__pdesc, u32 __val) __val 306 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__pdesc + 1) = cpu_to_le32(__val); __val 322 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_rx_buffer_desc_data_length(__le32 *__status, u32 __val) __val 324 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__status, __val, GENMASK(13, 0)); __val 327 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_rx_buffer_desc_ls(__le32 *__status, u32 __val) __val 329 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__status, __val, BIT(15)); __val 332 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_rx_buffer_desc_fs(__le32 *__status, u32 __val) __val 334 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__status, __val, BIT(16)); __val 337 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_rx_buffer_desc_total_length(__le32 *__status, u32 __val) __val 339 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__status, __val, GENMASK(30, 16)); __val 358 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_rx_buffer_physical_low(__le32 *__status, u32 __val) __val 360 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__status + 1) = cpu_to_le32(__val); __val 365 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h u32 __val, bool dma64) __val 368 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__rx_status_desc + 2) = cpu_to_le32(__val); __val 413 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __val 415 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __val 43 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ __val 47 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift))))); __val 52 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ __val 53 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val) __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_OFFSET(__pdesc, __val) \ __val 55 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val) __val 56 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TYPE(__pdesc, __val) \ __val 57 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 24, 2, __val) __val 58 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ __val 59 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val) __val 60 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_FIRST_SEG(__pdesc, __val) \ __val 61 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 27, 1, __val) __val 62 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_LINIP(__pdesc, __val) \ __val 63 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 28, 1, __val) __val 64 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_AMSDU(__pdesc, __val) \ __val 65 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 29, 1, __val) __val 66 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_GREEN_FIELD(__pdesc, __val) \ __val 67 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 30, 1, __val) __val 68 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_OWN(__pdesc, __val) \ __val 69 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 31, 1, __val) __val 75 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_MACID(__pdesc, __val) \ __val 76 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 0, 5, __val) __val 77 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_MORE_DATA(__pdesc, __val) \ __val 78 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 5, 1, __val) __val 79 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_MORE_FRAG(__pdesc, __val) \ __val 80 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 6, 1, __val) __val 81 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PIFS(__pdesc, __val) \ __val 82 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 7, 1, __val) __val 83 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_QUEUE_SEL(__pdesc, __val) \ __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 8, 5, __val) __val 85 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_ACK_POLICY(__pdesc, __val) \ __val 86 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 13, 2, __val) __val 87 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_NO_ACM(__pdesc, __val) \ __val 88 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 15, 1, __val) __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_NON_QOS(__pdesc, __val) \ __val 90 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 16, 1, __val) __val 91 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_KEY_ID(__pdesc, __val) \ __val 92 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 17, 2, __val) __val 93 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_OUI(__pdesc, __val) \ __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 19, 1, __val) __val 95 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PKT_TYPE(__pdesc, __val) \ __val 96 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 20, 1, __val) __val 97 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_EN_DESC_ID(__pdesc, __val) \ __val 98 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 21, 1, __val) __val 99 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_SEC_TYPE(__pdesc, __val) \ __val 100 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 22, 2, __val) __val 101 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_WDS(__pdesc, __val) \ __val 102 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 24, 1, __val) __val 103 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_HTC(__pdesc, __val) \ __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 25, 1, __val) __val 105 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PKT_OFFSET(__pdesc, __val) \ __val 106 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 26, 5, __val) __val 107 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_HWPC(__pdesc, __val) \ __val 108 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 27, 1, __val) __val 111 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DATA_RETRY_LIMIT(__pdesc, __val) \ __val 112 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 0, 6, __val) __val 113 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RETRY_LIMIT_ENABLE(__pdesc, __val) \ __val 114 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 6, 1, __val) __val 115 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TSFL(__pdesc, __val) \ __val 116 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 7, 5, __val) __val 117 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_RETRY_COUNT(__pdesc, __val) \ __val 118 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 12, 6, __val) __val 119 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DATA_RETRY_COUNT(__pdesc, __val) \ __val 120 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 18, 6, __val) __val 121 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RSVD_MACID(__pdesc, __val) \ __val 122 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(((__pdesc) + 8), 24, 5, __val) __val 123 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_AGG_ENABLE(__pdesc, __val) \ __val 124 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 29, 1, __val) __val 125 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_AGG_BREAK(__pdesc, __val) \ __val 126 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 30, 1, __val) __val 127 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_OWN_MAC(__pdesc, __val) \ __val 128 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 31, 1, __val) __val 131 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_NEXT_HEAP_PAGE(__pdesc, __val) \ __val 132 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 0, 8, __val) __val 133 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TAIL_PAGE(__pdesc, __val) \ __val 134 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 8, 8, __val) __val 135 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_SEQ(__pdesc, __val) \ __val 136 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 16, 12, __val) __val 137 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_FRAG(__pdesc, __val) \ __val 138 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 28, 4, __val) __val 141 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_RATE(__pdesc, __val) \ __val 142 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 0, 6, __val) __val 143 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DISABLE_RTS_FB(__pdesc, __val) \ __val 144 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 6, 1, __val) __val 145 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_RATE_FB_LIMIT(__pdesc, __val) \ __val 146 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 7, 4, __val) __val 147 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_CTS_ENABLE(__pdesc, __val) \ __val 148 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 11, 1, __val) __val 149 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_ENABLE(__pdesc, __val) \ __val 150 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 12, 1, __val) __val 151 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RA_BRSR_ID(__pdesc, __val) \ __val 152 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 13, 3, __val) __val 153 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TXHT(__pdesc, __val) \ __val 154 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 16, 1, __val) __val 155 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_SHORT(__pdesc, __val) \ __val 156 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 17, 1, __val) __val 157 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_BANDWIDTH(__pdesc, __val) \ __val 158 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 18, 1, __val) __val 159 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_SUB_CARRIER(__pdesc, __val) \ __val 160 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 19, 2, __val) __val 161 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_STBC(__pdesc, __val) \ __val 162 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 21, 2, __val) __val 163 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_REVERSE_DIRECTION(__pdesc, __val) \ __val 164 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 23, 1, __val) __val 165 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_HT(__pdesc, __val) \ __val 166 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 24, 1, __val) __val 167 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_SHORT(__pdesc, __val) \ __val 168 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 25, 1, __val) __val 169 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_BANDWIDTH(__pdesc, __val) \ __val 170 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 26, 1, __val) __val 171 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_SUB_CARRIER(__pdesc, __val) \ __val 172 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 27, 2, __val) __val 173 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_STBC(__pdesc, __val) \ __val 174 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 29, 2, __val) __val 175 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_USER_RATE(__pdesc, __val) \ __val 176 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 31, 1, __val) __val 179 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PACKET_ID(__pdesc, __val) \ __val 180 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 0, 9, __val) __val 181 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_RATE(__pdesc, __val) \ __val 182 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 9, 6, __val) __val 183 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DISABLE_FB(__pdesc, __val) \ __val 184 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 15, 1, __val) __val 185 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DATA_RATE_FB_LIMIT(__pdesc, __val) \ __val 186 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 16, 5, __val) __val 187 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_AGC(__pdesc, __val) \ __val 188 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 21, 11, __val) __val 191 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_IP_CHECK_SUM(__pdesc, __val) \ __val 192 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 24, 0, 16, __val) __val 193 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TCP_CHECK_SUM(__pdesc, __val) \ __val 194 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 24, 16, 16, __val) __val 197 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_BUFFER_SIZE(__pdesc, __val) \ __val 198 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 28, 0, 16, __val) __val 199 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_IP_HEADER_OFFSET(__pdesc, __val) \ __val 200 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 28, 16, 8, __val) __val 201 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TCP_ENABLE(__pdesc, __val) \ __val 202 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 28, 31, 1, __val) __val 205 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_BUFFER_ADDRESS(__pdesc, __val) \ __val 206 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 32, 0, 32, __val) __val 211 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_NEXT_DESC_ADDRESS(__pdesc, __val) \ __val 212 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 36, 0, 32, __val) __val 229 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PKT_LEN(__pdesc, __val) \ __val 230 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 0, 14, __val) __val 231 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_CRC32(__pdesc, __val) \ __val 232 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 14, 1, __val) __val 233 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_ICV(__pdesc, __val) \ __val 234 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 15, 1, __val) __val 235 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_DRVINFO_SIZE(__pdesc, __val) \ __val 236 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 16, 4, __val) __val 237 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SECURITY(__pdesc, __val) \ __val 238 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 20, 3, __val) __val 239 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_QOS(__pdesc, __val) \ __val 240 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 23, 1, __val) __val 241 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SHIFT(__pdesc, __val) \ __val 242 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 24, 2, __val) __val 243 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PHY_STATUS(__pdesc, __val) \ __val 244 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val) __val 245 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SWDEC(__pdesc, __val) \ __val 246 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 27, 1, __val) __val 247 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_LAST_SEG(__pdesc, __val) \ __val 248 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 28, 1, __val) __val 249 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_FIRST_SEG(__pdesc, __val) \ __val 250 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 29, 1, __val) __val 251 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_EOR(__pdesc, __val) \ __val 252 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 30, 1, __val) __val 253 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_OWN(__pdesc, __val) \ __val 254 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 31, 1, __val) __val 284 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_MACID(__pdesc, __val) \ __val 285 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 0, 5, __val) __val 286 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TID(__pdesc, __val) \ __val 287 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 5, 4, __val) __val 288 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PAGGR(__pdesc, __val) \ __val 289 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 14, 1, __val) __val 290 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_FAGGR(__pdesc, __val) \ __val 291 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 15, 1, __val) __val 292 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_A1_FIT(__pdesc, __val) \ __val 293 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 16, 4, __val) __val 294 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_A2_FIT(__pdesc, __val) \ __val 295 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 20, 4, __val) __val 296 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PAM(__pdesc, __val) \ __val 297 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 24, 1, __val) __val 298 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PWR(__pdesc, __val) \ __val 299 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 25, 1, __val) __val 300 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_MOREDATA(__pdesc, __val) \ __val 301 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 26, 1, __val) __val 302 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_MOREFRAG(__pdesc, __val) \ __val 303 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 27, 1, __val) __val 304 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TYPE(__pdesc, __val) \ __val 305 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 28, 2, __val) __val 306 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_MC(__pdesc, __val) \ __val 307 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 30, 1, __val) __val 308 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_BC(__pdesc, __val) \ __val 309 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 31, 1, __val) __val 339 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SEQ(__pdesc, __val) \ __val 340 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 0, 12, __val) __val 341 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_FRAG(__pdesc, __val) \ __val 342 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 12, 4, __val) __val 343 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_NEXT_PKTLEN(__pdesc, __val) \ __val 344 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 16, 8, __val) __val 345 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_NEXT_IND(__pdesc, __val) \ __val 346 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 30, 1, __val) __val 358 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_RX_MCS(__pdesc, __val) \ __val 359 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 0, 6, __val) __val 360 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_RX_HT(__pdesc, __val) \ __val 361 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 6, 1, __val) __val 362 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_AMSDU(__pdesc, __val) \ __val 363 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 7, 1, __val) __val 364 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SPLCP(__pdesc, __val) \ __val 365 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 8, 1, __val) __val 366 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_BW(__pdesc, __val) \ __val 367 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 9, 1, __val) __val 368 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_HTC(__pdesc, __val) \ __val 369 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 10, 1, __val) __val 370 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TCP_CHK_RPT(__pdesc, __val) \ __val 371 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 11, 1, __val) __val 372 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_IP_CHK_RPT(__pdesc, __val) \ __val 373 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 12, 1, __val) __val 374 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TCP_CHK_VALID(__pdesc, __val) \ __val 375 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 13, 1, __val) __val 376 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_HWPC_ERR(__pdesc, __val) \ __val 377 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 14, 1, __val) __val 378 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_HWPC_IND(__pdesc, __val) \ __val 379 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 15, 1, __val) __val 380 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_IV0(__pdesc, __val) \ __val 381 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 16, 16, __val) __val 409 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_IV1(__pdesc, __val) \ __val 410 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 0, 32, __val) __val 415 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TSFL(__pdesc, __val) \ __val 416 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 0, 32, __val) __val 421 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS__DESC_BUFF_ADDR(__pdesc, __val) \ __val 422 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 24, 0, 32, __val) __val 20 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ __val 21 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 22 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ __val 23 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) __val 24 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ __val 25 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 26 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ __val 27 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 28 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ __val 29 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 30 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ __val 31 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) __val 32 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ __val 33 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 17 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __val 19 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __val 22 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __val 24 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __val 27 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __val 29 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __val 32 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __val 34 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __val 37 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __val 39 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __val 42 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __val 44 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __val 47 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __val 49 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __val 52 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 62 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __val 64 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(4, 0)); __val 67 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_agg_break(__le32 *__pdesc, u32 __val) __val 69 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, BIT(5)); __val 72 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __val 74 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, BIT(7)); __val 77 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __val 79 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); __val 82 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(19, 16)); __val 87 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); __val 92 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(17)); __val 97 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __val 99 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); __val 102 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(27, 16)); __val 107 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_pkt_id(__le32 *__pdesc, u32 __val) __val 109 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(31, 28)); __val 113 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_hwseq_en_8723(__le32 *__pdesc, u32 __val) __val 115 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(31)); __val 123 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __val 125 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(4, 0)); __val 128 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __val 130 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(8)); __val 133 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __val 135 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(10)); __val 138 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __val 140 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(11)); __val 143 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __val 145 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(12)); __val 148 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __val 150 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(13)); __val 153 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __val 155 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(21, 20)); __val 158 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __val 160 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(25)); __val 163 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __val 165 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(26)); __val 168 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_bw(__le32 *__pdesc, u32 __val) __val 170 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(27)); __val 173 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __val 175 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(29, 28)); __val 178 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) __val 180 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(31, 30)); __val 183 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __val 185 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); __val 188 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __val 190 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(6)); __val 193 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 195 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(12, 8)); __val 198 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 200 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); __val 203 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __val 205 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 6), __val, GENMASK(15, 11)); __val 208 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __val 210 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); __val 213 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __val 215 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h *(__pdesc + 8) = cpu_to_le32(__val); __val 223 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __val 225 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __val 268 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __val 270 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __val 273 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __val 275 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __val 278 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __val 280 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 323 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __val 325 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __val 85 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ __val 86 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 87 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_PWRMODE_PARM_RLBM(__ph2ccmd, __val) \ __val 88 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 4, __val) __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ __val 90 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 4, 4, __val) __val 91 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__ph2ccmd, __val) \ __val 92 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 93 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__ph2ccmd, __val) \ __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+3, 0, 8, __val) __val 95 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_PWRMODE_PARM_PWR_STATE(__ph2ccmd, __val) \ __val 96 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+4, 0, 8, __val) __val 97 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_PWRMODE_PARM_BYTE5(__ph2ccmd, __val) \ __val 98 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 5, 0, 8, __val) __val 102 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_MSRRPT_PARM_OPMODE(__ph2ccmd, __val) \ __val 103 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 1, __val) __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_MSRRPT_PARM_MACID_IND(__ph2ccmd, __val) \ __val 105 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 1, 1, __val) __val 107 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ __val 108 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 109 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ __val 110 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) __val 111 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ __val 112 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 113 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA(__ph2ccmd, __val) \ __val 114 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 3, 0, 8, __val) __val 115 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_BT_QOS_NULL_DATA(__ph2ccmd, __val) \ __val 116 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 4, 0, 8, __val) __val 17 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __val 19 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __val 22 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __val 24 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __val 27 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __val 29 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __val 32 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __val 34 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __val 37 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __val 39 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __val 42 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __val 44 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __val 47 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __val 49 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __val 52 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 62 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __val 64 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(6, 0)); __val 67 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __val 69 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); __val 72 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __val 74 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(20, 16)); __val 77 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __val 79 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); __val 82 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(28, 24)); __val 87 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(12)); __val 92 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(13)); __val 97 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __val 99 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(17)); __val 102 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); __val 107 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_hwseq_sel(__le32 *__pdesc, u32 __val) __val 109 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(7, 6)); __val 112 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __val 114 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(8)); __val 117 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __val 119 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(10)); __val 122 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __val 124 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(11)); __val 127 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __val 129 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(12)); __val 132 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __val 134 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(13)); __val 137 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) __val 139 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(15)); __val 142 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __val 144 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(21, 17)); __val 147 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __val 149 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(6, 0)); __val 152 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 154 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(12, 8)); __val 157 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 159 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(16, 13)); __val 162 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __val 164 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(28, 24)); __val 167 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __val 169 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(3, 0)); __val 172 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __val 174 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(4)); __val 177 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __val 179 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(6, 5)); __val 182 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __val 184 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(12)); __val 187 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __val 189 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); __val 192 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __val 194 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); __val 197 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) __val 199 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 8), __val, BIT(15)); __val 202 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __val 204 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 9), __val, GENMASK(23, 12)); __val 207 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __val 209 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __val 217 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __val 219 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h *(__pdesc + 12) = cpu_to_le32(__val); __val 262 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __val 264 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __val 267 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __val 269 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __val 272 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __val 274 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 337 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __val 339 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __val 174 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ __val 175 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 191 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ __val 192 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) __val 193 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ __val 194 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) __val 195 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ __val 196 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) __val 197 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA(__ph2ccmd, __val) \ __val 198 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd)+3, 0, 8, __val) __val 199 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define SET_H2CCMD_RSVDPAGE_LOC_BT_QOS_NULL_DATA(__ph2ccmd, __val) \ __val 200 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 4, 0, 8, __val) __val 17 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __val 19 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __val 22 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __val 24 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __val 27 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __val 29 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __val 32 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __val 34 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __val 37 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __val 39 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __val 42 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __val 44 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __val 47 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __val 49 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __val 52 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __val 54 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 62 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __val 64 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(6, 0)); __val 67 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __val 69 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(12, 8)); __val 72 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __val 74 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(20, 16)); __val 77 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __val 79 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(23, 22)); __val 82 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) __val 84 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(28, 24)); __val 87 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) __val 89 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(12)); __val 92 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __val 94 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(13)); __val 97 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __val 99 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(17)); __val 102 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __val 104 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 2, __val, GENMASK(22, 20)); __val 107 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_hwseq_sel(__le32 *__pdesc, u32 __val) __val 109 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, GENMASK(7, 6)); __val 112 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __val 114 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(8)); __val 117 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __val 119 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(10)); __val 122 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __val 124 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(11)); __val 127 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __val 129 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(12)); __val 132 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __val 134 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(13)); __val 137 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) __val 139 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(15)); __val 142 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __val 144 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, GENMASK(21, 17)); __val 147 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_ant(__le32 *__pdesc, u32 __val) __val 149 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(27, 24)); __val 152 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __val 154 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(6, 0)); __val 157 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 159 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(12, 8)); __val 162 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __val 164 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(16, 13)); __val 167 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __val 169 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(28, 24)); __val 172 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __val 174 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(3, 0)); __val 177 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __val 179 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, BIT(4)); __val 182 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __val 184 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(6, 5)); __val 187 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __val 189 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, BIT(12)); __val 192 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __val 194 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(16, 13)); __val 197 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __val 199 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 7, __val, GENMASK(15, 0)); __val 202 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) __val 204 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 8, __val, BIT(15)); __val 207 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __val 209 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 9, __val, GENMASK(23, 12)); __val 212 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __val 214 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __val 222 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __val 224 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h *(__pdesc + 12) = cpu_to_le32(__val); __val 267 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __val 269 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __val 272 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __val 274 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __val 277 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __val 279 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __val 337 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __val 339 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __val 2998 drivers/net/wireless/realtek/rtlwifi/wifi.h #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 3002 drivers/net/wireless/realtek/rtlwifi/wifi.h ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \ __val 3004 drivers/net/wireless/realtek/rtlwifi/wifi.h #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 3008 drivers/net/wireless/realtek/rtlwifi/wifi.h ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \ __val 3010 drivers/net/wireless/realtek/rtlwifi/wifi.h #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 3014 drivers/net/wireless/realtek/rtlwifi/wifi.h ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \ __val 78 drivers/perf/qcom_l3_pmu.c #define EVSEL(__val) ((__val) & L3_EVTYPE_MASK) __val 21 drivers/scsi/bfa/bfa_ioc_ct.c #define bfa_ioc_ct_get_sync_ackd(__val) (__val & 0x0000ffff) __val 22 drivers/scsi/bfa/bfa_ioc_ct.c #define bfa_ioc_ct_clear_sync_ackd(__val) (__val & 0xffff0000) __val 23 drivers/scsi/bfa/bfa_ioc_ct.c #define bfa_ioc_ct_get_sync_reqd(__val) (__val >> BFA_IOC_SYNC_REQD_SH) __val 431 drivers/scsi/bfa/bfi.h #define BFI_ADAPTER_SETP(__prop, __val) \ __val 432 drivers/scsi/bfa/bfi.h ((__val) << BFI_ADAPTER_ ## __prop ## _SH) __val 750 drivers/scsi/virtio_scsi.c typeof(((struct virtio_scsi_config *)0)->fld) __val; \ __val 751 drivers/scsi/virtio_scsi.c virtio_cread(vdev, struct virtio_scsi_config, fld, &__val); \ __val 752 drivers/scsi/virtio_scsi.c __val; \ __val 757 drivers/scsi/virtio_scsi.c typeof(((struct virtio_scsi_config *)0)->fld) __val = (val); \ __val 758 drivers/scsi/virtio_scsi.c virtio_cwrite(vdev, struct virtio_scsi_config, fld, &__val); \ __val 113 drivers/staging/rtl8188eu/include/basic_types.h #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 117 drivers/staging/rtl8188eu/include/basic_types.h ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \ __val 120 drivers/staging/rtl8188eu/include/basic_types.h #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 124 drivers/staging/rtl8188eu/include/basic_types.h ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \ __val 127 drivers/staging/rtl8188eu/include/basic_types.h #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 131 drivers/staging/rtl8188eu/include/basic_types.h ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \ __val 156 drivers/staging/rtl8723bs/include/basic_types.h #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 160 drivers/staging/rtl8723bs/include/basic_types.h ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \ __val 163 drivers/staging/rtl8723bs/include/basic_types.h #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 167 drivers/staging/rtl8723bs/include/basic_types.h ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \ __val 170 drivers/staging/rtl8723bs/include/basic_types.h #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ __val 174 drivers/staging/rtl8723bs/include/basic_types.h ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \ __val 261 include/linux/compiler.h union { typeof(x) __val; char __c[1]; } __u; \ __val 267 include/linux/compiler.h __u.__val; \ __val 286 include/linux/compiler.h union { typeof(x) __val; char __c[1]; } __u = \ __val 287 include/linux/compiler.h { .__val = (__force typeof(x)) (val) }; \ __val 289 include/linux/compiler.h __u.__val; \ __val 377 include/linux/kfifo.h typeof(*__tmp->const_type) __val = (val); \ __val 382 include/linux/kfifo.h __ret = __kfifo_in_r(__kfifo, &__val, sizeof(__val), \ __val 391 include/linux/kfifo.h *(typeof(__tmp->type))&__val; \ __val 415 include/linux/kfifo.h typeof(__tmp->ptr) __val = (val); \ __val 420 include/linux/kfifo.h __ret = __kfifo_out_r(__kfifo, __val, sizeof(*__val), \ __val 425 include/linux/kfifo.h *(typeof(__tmp->type))__val = \ __val 454 include/linux/kfifo.h typeof(__tmp->ptr) __val = (val); \ __val 459 include/linux/kfifo.h __ret = __kfifo_out_peek_r(__kfifo, __val, sizeof(*__val), \ __val 464 include/linux/kfifo.h *(typeof(__tmp->type))__val = \ __val 22 include/linux/spi/spi-mem.h #define SPI_MEM_OP_ADDR(__nbytes, __val, __buswidth) \ __val 25 include/linux/spi/spi-mem.h .val = __val, \ __val 43 sound/drivers/pcsp/pcsp.h u64 __val = 1000000000ULL * (div); \ __val 44 sound/drivers/pcsp/pcsp.h do_div(__val, PIT_TICK_RATE); \ __val 45 sound/drivers/pcsp/pcsp.h __val; \ __val 29 tools/arch/arm64/include/asm/barrier.h union { typeof(*p) __val; char __c[1]; } __u = \ __val 30 tools/arch/arm64/include/asm/barrier.h { .__val = (v) }; \ __val 66 tools/arch/arm64/include/asm/barrier.h union { typeof(*p) __val; char __c[1]; } __u = \ __val 95 tools/arch/arm64/include/asm/barrier.h __u.__val; \ __val 156 tools/include/linux/compiler.h union { typeof(x) __val; char __c[1]; } __u = \ __val 159 tools/include/linux/compiler.h __u.__val; \ __val 164 tools/include/linux/compiler.h union { typeof(x) __val; char __c[1]; } __u = \ __val 165 tools/include/linux/compiler.h { .__val = (val) }; \ __val 167 tools/include/linux/compiler.h __u.__val; \ __val 1191 tools/perf/builtin-c2c.c #define MEAN_ENTRY(__func, __val) \ __val 1197 tools/perf/builtin-c2c.c return mean_entry(fmt, hpp, he, avg_stats(&c2c_he->cstats.__val)); \ __val 128 tools/perf/util/event.c #define CASE(__term, __val) \ __val 130 tools/perf/util/event.c config->__val = event->data[i].val; \ __val 1172 tools/perf/util/parse-events.c #define ADD_CONFIG_TERM(__type, __name, __val) \ __val 1182 tools/perf/util/parse-events.c __t->val.__name = __val; \ __val 1069 tools/perf/util/synthetic-events.c #define ADD(__term, __val) \ __val 1071 tools/perf/util/synthetic-events.c event->data[i].val = __val; \ __val 180 tools/virtio/ringtest/main.h union { typeof(x) __val; char __c[1]; } __u; \ __val 183 tools/virtio/ringtest/main.h __u.__val; \ __val 188 tools/virtio/ringtest/main.h union { typeof(x) __val; char __c[1]; } __u = \ __val 189 tools/virtio/ringtest/main.h { .__val = (typeof(x)) (val) }; \ __val 191 tools/virtio/ringtest/main.h __u.__val; \