Lines Matching full:table
516 static inline void SET_CTRL_INFO_MACID(void *table, u32 val) in SET_CTRL_INFO_MACID() argument
518 le32p_replace_bits((__le32 *)(table) + 0, val, GENMASK(6, 0)); in SET_CTRL_INFO_MACID()
521 static inline void SET_CTRL_INFO_OPERATION(void *table, u32 val) in SET_CTRL_INFO_OPERATION() argument
523 le32p_replace_bits((__le32 *)(table) + 0, val, BIT(7)); in SET_CTRL_INFO_OPERATION()
526 static inline void SET_CMC_TBL_DATARATE(void *table, u32 val) in SET_CMC_TBL_DATARATE() argument
528 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(8, 0)); in SET_CMC_TBL_DATARATE()
529 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_DATARATE, in SET_CMC_TBL_DATARATE()
533 static inline void SET_CMC_TBL_FORCE_TXOP(void *table, u32 val) in SET_CMC_TBL_FORCE_TXOP() argument
535 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(9)); in SET_CMC_TBL_FORCE_TXOP()
536 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_FORCE_TXOP, in SET_CMC_TBL_FORCE_TXOP()
540 static inline void SET_CMC_TBL_DATA_BW(void *table, u32 val) in SET_CMC_TBL_DATA_BW() argument
542 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(11, 10)); in SET_CMC_TBL_DATA_BW()
543 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_DATA_BW, in SET_CMC_TBL_DATA_BW()
547 static inline void SET_CMC_TBL_DATA_GI_LTF(void *table, u32 val) in SET_CMC_TBL_DATA_GI_LTF() argument
549 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(14, 12)); in SET_CMC_TBL_DATA_GI_LTF()
550 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_DATA_GI_LTF, in SET_CMC_TBL_DATA_GI_LTF()
554 static inline void SET_CMC_TBL_DARF_TC_INDEX(void *table, u32 val) in SET_CMC_TBL_DARF_TC_INDEX() argument
556 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(15)); in SET_CMC_TBL_DARF_TC_INDEX()
557 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_DARF_TC_INDEX, in SET_CMC_TBL_DARF_TC_INDEX()
561 static inline void SET_CMC_TBL_ARFR_CTRL(void *table, u32 val) in SET_CMC_TBL_ARFR_CTRL() argument
563 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(19, 16)); in SET_CMC_TBL_ARFR_CTRL()
564 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_ARFR_CTRL, in SET_CMC_TBL_ARFR_CTRL()
568 static inline void SET_CMC_TBL_ACQ_RPT_EN(void *table, u32 val) in SET_CMC_TBL_ACQ_RPT_EN() argument
570 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(20)); in SET_CMC_TBL_ACQ_RPT_EN()
571 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_ACQ_RPT_EN, in SET_CMC_TBL_ACQ_RPT_EN()
575 static inline void SET_CMC_TBL_MGQ_RPT_EN(void *table, u32 val) in SET_CMC_TBL_MGQ_RPT_EN() argument
577 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(21)); in SET_CMC_TBL_MGQ_RPT_EN()
578 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_MGQ_RPT_EN, in SET_CMC_TBL_MGQ_RPT_EN()
582 static inline void SET_CMC_TBL_ULQ_RPT_EN(void *table, u32 val) in SET_CMC_TBL_ULQ_RPT_EN() argument
584 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(22)); in SET_CMC_TBL_ULQ_RPT_EN()
585 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_ULQ_RPT_EN, in SET_CMC_TBL_ULQ_RPT_EN()
589 static inline void SET_CMC_TBL_TWTQ_RPT_EN(void *table, u32 val) in SET_CMC_TBL_TWTQ_RPT_EN() argument
591 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(23)); in SET_CMC_TBL_TWTQ_RPT_EN()
592 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_TWTQ_RPT_EN, in SET_CMC_TBL_TWTQ_RPT_EN()
596 static inline void SET_CMC_TBL_DISRTSFB(void *table, u32 val) in SET_CMC_TBL_DISRTSFB() argument
598 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(25)); in SET_CMC_TBL_DISRTSFB()
599 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_DISRTSFB, in SET_CMC_TBL_DISRTSFB()
603 static inline void SET_CMC_TBL_DISDATAFB(void *table, u32 val) in SET_CMC_TBL_DISDATAFB() argument
605 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(26)); in SET_CMC_TBL_DISDATAFB()
606 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_DISDATAFB, in SET_CMC_TBL_DISDATAFB()
610 static inline void SET_CMC_TBL_TRYRATE(void *table, u32 val) in SET_CMC_TBL_TRYRATE() argument
612 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(27)); in SET_CMC_TBL_TRYRATE()
613 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_TRYRATE, in SET_CMC_TBL_TRYRATE()
617 static inline void SET_CMC_TBL_AMPDU_DENSITY(void *table, u32 val) in SET_CMC_TBL_AMPDU_DENSITY() argument
619 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(31, 28)); in SET_CMC_TBL_AMPDU_DENSITY()
620 le32p_replace_bits((__le32 *)(table) + 9, SET_CMC_TBL_MASK_AMPDU_DENSITY, in SET_CMC_TBL_AMPDU_DENSITY()
624 static inline void SET_CMC_TBL_DATA_RTY_LOWEST_RATE(void *table, u32 val) in SET_CMC_TBL_DATA_RTY_LOWEST_RATE() argument
626 le32p_replace_bits((__le32 *)(table) + 2, val, GENMASK(8, 0)); in SET_CMC_TBL_DATA_RTY_LOWEST_RATE()
627 le32p_replace_bits((__le32 *)(table) + 10, SET_CMC_TBL_MASK_DATA_RTY_LOWEST_RATE, in SET_CMC_TBL_DATA_RTY_LOWEST_RATE()
631 static inline void SET_CMC_TBL_AMPDU_TIME_SEL(void *table, u32 val) in SET_CMC_TBL_AMPDU_TIME_SEL() argument
633 le32p_replace_bits((__le32 *)(table) + 2, val, BIT(9)); in SET_CMC_TBL_AMPDU_TIME_SEL()
634 le32p_replace_bits((__le32 *)(table) + 10, SET_CMC_TBL_MASK_AMPDU_TIME_SEL, in SET_CMC_TBL_AMPDU_TIME_SEL()
638 static inline void SET_CMC_TBL_AMPDU_LEN_SEL(void *table, u32 val) in SET_CMC_TBL_AMPDU_LEN_SEL() argument
640 le32p_replace_bits((__le32 *)(table) + 2, val, BIT(10)); in SET_CMC_TBL_AMPDU_LEN_SEL()
641 le32p_replace_bits((__le32 *)(table) + 10, SET_CMC_TBL_MASK_AMPDU_LEN_SEL, in SET_CMC_TBL_AMPDU_LEN_SEL()
645 static inline void SET_CMC_TBL_RTS_TXCNT_LMT_SEL(void *table, u32 val) in SET_CMC_TBL_RTS_TXCNT_LMT_SEL() argument
647 le32p_replace_bits((__le32 *)(table) + 2, val, BIT(11)); in SET_CMC_TBL_RTS_TXCNT_LMT_SEL()
648 le32p_replace_bits((__le32 *)(table) + 10, SET_CMC_TBL_MASK_RTS_TXCNT_LMT_SEL, in SET_CMC_TBL_RTS_TXCNT_LMT_SEL()
652 static inline void SET_CMC_TBL_RTS_TXCNT_LMT(void *table, u32 val) in SET_CMC_TBL_RTS_TXCNT_LMT() argument
654 le32p_replace_bits((__le32 *)(table) + 2, val, GENMASK(15, 12)); in SET_CMC_TBL_RTS_TXCNT_LMT()
655 le32p_replace_bits((__le32 *)(table) + 10, SET_CMC_TBL_MASK_RTS_TXCNT_LMT, in SET_CMC_TBL_RTS_TXCNT_LMT()
659 static inline void SET_CMC_TBL_RTSRATE(void *table, u32 val) in SET_CMC_TBL_RTSRATE() argument
661 le32p_replace_bits((__le32 *)(table) + 2, val, GENMASK(24, 16)); in SET_CMC_TBL_RTSRATE()
662 le32p_replace_bits((__le32 *)(table) + 10, SET_CMC_TBL_MASK_RTSRATE, in SET_CMC_TBL_RTSRATE()
666 static inline void SET_CMC_TBL_VCS_STBC(void *table, u32 val) in SET_CMC_TBL_VCS_STBC() argument
668 le32p_replace_bits((__le32 *)(table) + 2, val, BIT(27)); in SET_CMC_TBL_VCS_STBC()
669 le32p_replace_bits((__le32 *)(table) + 10, SET_CMC_TBL_MASK_VCS_STBC, in SET_CMC_TBL_VCS_STBC()
673 static inline void SET_CMC_TBL_RTS_RTY_LOWEST_RATE(void *table, u32 val) in SET_CMC_TBL_RTS_RTY_LOWEST_RATE() argument
675 le32p_replace_bits((__le32 *)(table) + 2, val, GENMASK(31, 28)); in SET_CMC_TBL_RTS_RTY_LOWEST_RATE()
676 le32p_replace_bits((__le32 *)(table) + 10, SET_CMC_TBL_MASK_RTS_RTY_LOWEST_RATE, in SET_CMC_TBL_RTS_RTY_LOWEST_RATE()
680 static inline void SET_CMC_TBL_DATA_TX_CNT_LMT(void *table, u32 val) in SET_CMC_TBL_DATA_TX_CNT_LMT() argument
682 le32p_replace_bits((__le32 *)(table) + 3, val, GENMASK(5, 0)); in SET_CMC_TBL_DATA_TX_CNT_LMT()
683 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_DATA_TX_CNT_LMT, in SET_CMC_TBL_DATA_TX_CNT_LMT()
687 static inline void SET_CMC_TBL_DATA_TXCNT_LMT_SEL(void *table, u32 val) in SET_CMC_TBL_DATA_TXCNT_LMT_SEL() argument
689 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(6)); in SET_CMC_TBL_DATA_TXCNT_LMT_SEL()
690 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_DATA_TXCNT_LMT_SEL, in SET_CMC_TBL_DATA_TXCNT_LMT_SEL()
694 static inline void SET_CMC_TBL_MAX_AGG_NUM_SEL(void *table, u32 val) in SET_CMC_TBL_MAX_AGG_NUM_SEL() argument
696 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(7)); in SET_CMC_TBL_MAX_AGG_NUM_SEL()
697 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_MAX_AGG_NUM_SEL, in SET_CMC_TBL_MAX_AGG_NUM_SEL()
701 static inline void SET_CMC_TBL_RTS_EN(void *table, u32 val) in SET_CMC_TBL_RTS_EN() argument
703 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(8)); in SET_CMC_TBL_RTS_EN()
704 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_RTS_EN, in SET_CMC_TBL_RTS_EN()
708 static inline void SET_CMC_TBL_CTS2SELF_EN(void *table, u32 val) in SET_CMC_TBL_CTS2SELF_EN() argument
710 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(9)); in SET_CMC_TBL_CTS2SELF_EN()
711 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_CTS2SELF_EN, in SET_CMC_TBL_CTS2SELF_EN()
715 static inline void SET_CMC_TBL_CCA_RTS(void *table, u32 val) in SET_CMC_TBL_CCA_RTS() argument
717 le32p_replace_bits((__le32 *)(table) + 3, val, GENMASK(11, 10)); in SET_CMC_TBL_CCA_RTS()
718 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_CCA_RTS, in SET_CMC_TBL_CCA_RTS()
722 static inline void SET_CMC_TBL_HW_RTS_EN(void *table, u32 val) in SET_CMC_TBL_HW_RTS_EN() argument
724 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(12)); in SET_CMC_TBL_HW_RTS_EN()
725 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_HW_RTS_EN, in SET_CMC_TBL_HW_RTS_EN()
729 static inline void SET_CMC_TBL_RTS_DROP_DATA_MODE(void *table, u32 val) in SET_CMC_TBL_RTS_DROP_DATA_MODE() argument
731 le32p_replace_bits((__le32 *)(table) + 3, val, GENMASK(14, 13)); in SET_CMC_TBL_RTS_DROP_DATA_MODE()
732 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_RTS_DROP_DATA_MODE, in SET_CMC_TBL_RTS_DROP_DATA_MODE()
736 static inline void SET_CMC_TBL_AMPDU_MAX_LEN(void *table, u32 val) in SET_CMC_TBL_AMPDU_MAX_LEN() argument
738 le32p_replace_bits((__le32 *)(table) + 3, val, GENMASK(26, 16)); in SET_CMC_TBL_AMPDU_MAX_LEN()
739 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_AMPDU_MAX_LEN, in SET_CMC_TBL_AMPDU_MAX_LEN()
743 static inline void SET_CMC_TBL_UL_MU_DIS(void *table, u32 val) in SET_CMC_TBL_UL_MU_DIS() argument
745 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(27)); in SET_CMC_TBL_UL_MU_DIS()
746 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_UL_MU_DIS, in SET_CMC_TBL_UL_MU_DIS()
750 static inline void SET_CMC_TBL_AMPDU_MAX_TIME(void *table, u32 val) in SET_CMC_TBL_AMPDU_MAX_TIME() argument
752 le32p_replace_bits((__le32 *)(table) + 3, val, GENMASK(31, 28)); in SET_CMC_TBL_AMPDU_MAX_TIME()
753 le32p_replace_bits((__le32 *)(table) + 11, SET_CMC_TBL_MASK_AMPDU_MAX_TIME, in SET_CMC_TBL_AMPDU_MAX_TIME()
757 static inline void SET_CMC_TBL_MAX_AGG_NUM(void *table, u32 val) in SET_CMC_TBL_MAX_AGG_NUM() argument
759 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(7, 0)); in SET_CMC_TBL_MAX_AGG_NUM()
760 le32p_replace_bits((__le32 *)(table) + 12, SET_CMC_TBL_MASK_MAX_AGG_NUM, in SET_CMC_TBL_MAX_AGG_NUM()
764 static inline void SET_CMC_TBL_BA_BMAP(void *table, u32 val) in SET_CMC_TBL_BA_BMAP() argument
766 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(9, 8)); in SET_CMC_TBL_BA_BMAP()
767 le32p_replace_bits((__le32 *)(table) + 12, SET_CMC_TBL_MASK_BA_BMAP, in SET_CMC_TBL_BA_BMAP()
771 static inline void SET_CMC_TBL_VO_LFTIME_SEL(void *table, u32 val) in SET_CMC_TBL_VO_LFTIME_SEL() argument
773 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(18, 16)); in SET_CMC_TBL_VO_LFTIME_SEL()
774 le32p_replace_bits((__le32 *)(table) + 12, SET_CMC_TBL_MASK_VO_LFTIME_SEL, in SET_CMC_TBL_VO_LFTIME_SEL()
778 static inline void SET_CMC_TBL_VI_LFTIME_SEL(void *table, u32 val) in SET_CMC_TBL_VI_LFTIME_SEL() argument
780 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(21, 19)); in SET_CMC_TBL_VI_LFTIME_SEL()
781 le32p_replace_bits((__le32 *)(table) + 12, SET_CMC_TBL_MASK_VI_LFTIME_SEL, in SET_CMC_TBL_VI_LFTIME_SEL()
785 static inline void SET_CMC_TBL_BE_LFTIME_SEL(void *table, u32 val) in SET_CMC_TBL_BE_LFTIME_SEL() argument
787 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(24, 22)); in SET_CMC_TBL_BE_LFTIME_SEL()
788 le32p_replace_bits((__le32 *)(table) + 12, SET_CMC_TBL_MASK_BE_LFTIME_SEL, in SET_CMC_TBL_BE_LFTIME_SEL()
792 static inline void SET_CMC_TBL_BK_LFTIME_SEL(void *table, u32 val) in SET_CMC_TBL_BK_LFTIME_SEL() argument
794 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(27, 25)); in SET_CMC_TBL_BK_LFTIME_SEL()
795 le32p_replace_bits((__le32 *)(table) + 12, SET_CMC_TBL_MASK_BK_LFTIME_SEL, in SET_CMC_TBL_BK_LFTIME_SEL()
799 static inline void SET_CMC_TBL_SECTYPE(void *table, u32 val) in SET_CMC_TBL_SECTYPE() argument
801 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(31, 28)); in SET_CMC_TBL_SECTYPE()
802 le32p_replace_bits((__le32 *)(table) + 12, SET_CMC_TBL_MASK_SECTYPE, in SET_CMC_TBL_SECTYPE()
806 static inline void SET_CMC_TBL_MULTI_PORT_ID(void *table, u32 val) in SET_CMC_TBL_MULTI_PORT_ID() argument
808 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(2, 0)); in SET_CMC_TBL_MULTI_PORT_ID()
809 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_MULTI_PORT_ID, in SET_CMC_TBL_MULTI_PORT_ID()
813 static inline void SET_CMC_TBL_BMC(void *table, u32 val) in SET_CMC_TBL_BMC() argument
815 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(3)); in SET_CMC_TBL_BMC()
816 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_BMC, in SET_CMC_TBL_BMC()
820 static inline void SET_CMC_TBL_MBSSID(void *table, u32 val) in SET_CMC_TBL_MBSSID() argument
822 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(7, 4)); in SET_CMC_TBL_MBSSID()
823 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_MBSSID, in SET_CMC_TBL_MBSSID()
827 static inline void SET_CMC_TBL_NAVUSEHDR(void *table, u32 val) in SET_CMC_TBL_NAVUSEHDR() argument
829 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(8)); in SET_CMC_TBL_NAVUSEHDR()
830 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_NAVUSEHDR, in SET_CMC_TBL_NAVUSEHDR()
834 static inline void SET_CMC_TBL_TXPWR_MODE(void *table, u32 val) in SET_CMC_TBL_TXPWR_MODE() argument
836 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(11, 9)); in SET_CMC_TBL_TXPWR_MODE()
837 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_TXPWR_MODE, in SET_CMC_TBL_TXPWR_MODE()
841 static inline void SET_CMC_TBL_DATA_DCM(void *table, u32 val) in SET_CMC_TBL_DATA_DCM() argument
843 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(12)); in SET_CMC_TBL_DATA_DCM()
844 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_DATA_DCM, in SET_CMC_TBL_DATA_DCM()
848 static inline void SET_CMC_TBL_DATA_ER(void *table, u32 val) in SET_CMC_TBL_DATA_ER() argument
850 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(13)); in SET_CMC_TBL_DATA_ER()
851 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_DATA_ER, in SET_CMC_TBL_DATA_ER()
855 static inline void SET_CMC_TBL_DATA_LDPC(void *table, u32 val) in SET_CMC_TBL_DATA_LDPC() argument
857 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(14)); in SET_CMC_TBL_DATA_LDPC()
858 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_DATA_LDPC, in SET_CMC_TBL_DATA_LDPC()
862 static inline void SET_CMC_TBL_DATA_STBC(void *table, u32 val) in SET_CMC_TBL_DATA_STBC() argument
864 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(15)); in SET_CMC_TBL_DATA_STBC()
865 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_DATA_STBC, in SET_CMC_TBL_DATA_STBC()
869 static inline void SET_CMC_TBL_A_CTRL_BQR(void *table, u32 val) in SET_CMC_TBL_A_CTRL_BQR() argument
871 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(16)); in SET_CMC_TBL_A_CTRL_BQR()
872 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_A_CTRL_BQR, in SET_CMC_TBL_A_CTRL_BQR()
876 static inline void SET_CMC_TBL_A_CTRL_UPH(void *table, u32 val) in SET_CMC_TBL_A_CTRL_UPH() argument
878 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(17)); in SET_CMC_TBL_A_CTRL_UPH()
879 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_A_CTRL_UPH, in SET_CMC_TBL_A_CTRL_UPH()
883 static inline void SET_CMC_TBL_A_CTRL_BSR(void *table, u32 val) in SET_CMC_TBL_A_CTRL_BSR() argument
885 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(18)); in SET_CMC_TBL_A_CTRL_BSR()
886 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_A_CTRL_BSR, in SET_CMC_TBL_A_CTRL_BSR()
890 static inline void SET_CMC_TBL_A_CTRL_CAS(void *table, u32 val) in SET_CMC_TBL_A_CTRL_CAS() argument
892 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(19)); in SET_CMC_TBL_A_CTRL_CAS()
893 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_A_CTRL_CAS, in SET_CMC_TBL_A_CTRL_CAS()
897 static inline void SET_CMC_TBL_DATA_BW_ER(void *table, u32 val) in SET_CMC_TBL_DATA_BW_ER() argument
899 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(20)); in SET_CMC_TBL_DATA_BW_ER()
900 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_DATA_BW_ER, in SET_CMC_TBL_DATA_BW_ER()
904 static inline void SET_CMC_TBL_LSIG_TXOP_EN(void *table, u32 val) in SET_CMC_TBL_LSIG_TXOP_EN() argument
906 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(21)); in SET_CMC_TBL_LSIG_TXOP_EN()
907 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_LSIG_TXOP_EN, in SET_CMC_TBL_LSIG_TXOP_EN()
911 static inline void SET_CMC_TBL_CTRL_CNT_VLD(void *table, u32 val) in SET_CMC_TBL_CTRL_CNT_VLD() argument
913 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(27)); in SET_CMC_TBL_CTRL_CNT_VLD()
914 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_CTRL_CNT_VLD, in SET_CMC_TBL_CTRL_CNT_VLD()
918 static inline void SET_CMC_TBL_CTRL_CNT(void *table, u32 val) in SET_CMC_TBL_CTRL_CNT() argument
920 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(31, 28)); in SET_CMC_TBL_CTRL_CNT()
921 le32p_replace_bits((__le32 *)(table) + 13, SET_CMC_TBL_MASK_CTRL_CNT, in SET_CMC_TBL_CTRL_CNT()
925 static inline void SET_CMC_TBL_RESP_REF_RATE(void *table, u32 val) in SET_CMC_TBL_RESP_REF_RATE() argument
927 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(8, 0)); in SET_CMC_TBL_RESP_REF_RATE()
928 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_RESP_REF_RATE, in SET_CMC_TBL_RESP_REF_RATE()
932 static inline void SET_CMC_TBL_ALL_ACK_SUPPORT(void *table, u32 val) in SET_CMC_TBL_ALL_ACK_SUPPORT() argument
934 le32p_replace_bits((__le32 *)(table) + 6, val, BIT(12)); in SET_CMC_TBL_ALL_ACK_SUPPORT()
935 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_ALL_ACK_SUPPORT, in SET_CMC_TBL_ALL_ACK_SUPPORT()
939 static inline void SET_CMC_TBL_BSR_QUEUE_SIZE_FORMAT(void *table, u32 val) in SET_CMC_TBL_BSR_QUEUE_SIZE_FORMAT() argument
941 le32p_replace_bits((__le32 *)(table) + 6, val, BIT(13)); in SET_CMC_TBL_BSR_QUEUE_SIZE_FORMAT()
942 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_BSR_QUEUE_SIZE_FORMAT, in SET_CMC_TBL_BSR_QUEUE_SIZE_FORMAT()
946 static inline void SET_CMC_TBL_NTX_PATH_EN(void *table, u32 val) in SET_CMC_TBL_NTX_PATH_EN() argument
948 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(19, 16)); in SET_CMC_TBL_NTX_PATH_EN()
949 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_NTX_PATH_EN, in SET_CMC_TBL_NTX_PATH_EN()
953 static inline void SET_CMC_TBL_PATH_MAP_A(void *table, u32 val) in SET_CMC_TBL_PATH_MAP_A() argument
955 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(21, 20)); in SET_CMC_TBL_PATH_MAP_A()
956 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_PATH_MAP_A, in SET_CMC_TBL_PATH_MAP_A()
960 static inline void SET_CMC_TBL_PATH_MAP_B(void *table, u32 val) in SET_CMC_TBL_PATH_MAP_B() argument
962 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(23, 22)); in SET_CMC_TBL_PATH_MAP_B()
963 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_PATH_MAP_B, in SET_CMC_TBL_PATH_MAP_B()
967 static inline void SET_CMC_TBL_PATH_MAP_C(void *table, u32 val) in SET_CMC_TBL_PATH_MAP_C() argument
969 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(25, 24)); in SET_CMC_TBL_PATH_MAP_C()
970 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_PATH_MAP_C, in SET_CMC_TBL_PATH_MAP_C()
974 static inline void SET_CMC_TBL_PATH_MAP_D(void *table, u32 val) in SET_CMC_TBL_PATH_MAP_D() argument
976 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(27, 26)); in SET_CMC_TBL_PATH_MAP_D()
977 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_PATH_MAP_D, in SET_CMC_TBL_PATH_MAP_D()
981 static inline void SET_CMC_TBL_ANTSEL_A(void *table, u32 val) in SET_CMC_TBL_ANTSEL_A() argument
983 le32p_replace_bits((__le32 *)(table) + 6, val, BIT(28)); in SET_CMC_TBL_ANTSEL_A()
984 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_ANTSEL_A, in SET_CMC_TBL_ANTSEL_A()
988 static inline void SET_CMC_TBL_ANTSEL_B(void *table, u32 val) in SET_CMC_TBL_ANTSEL_B() argument
990 le32p_replace_bits((__le32 *)(table) + 6, val, BIT(29)); in SET_CMC_TBL_ANTSEL_B()
991 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_ANTSEL_B, in SET_CMC_TBL_ANTSEL_B()
995 static inline void SET_CMC_TBL_ANTSEL_C(void *table, u32 val) in SET_CMC_TBL_ANTSEL_C() argument
997 le32p_replace_bits((__le32 *)(table) + 6, val, BIT(30)); in SET_CMC_TBL_ANTSEL_C()
998 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_ANTSEL_C, in SET_CMC_TBL_ANTSEL_C()
1002 static inline void SET_CMC_TBL_ANTSEL_D(void *table, u32 val) in SET_CMC_TBL_ANTSEL_D() argument
1004 le32p_replace_bits((__le32 *)(table) + 6, val, BIT(31)); in SET_CMC_TBL_ANTSEL_D()
1005 le32p_replace_bits((__le32 *)(table) + 14, SET_CMC_TBL_MASK_ANTSEL_D, in SET_CMC_TBL_ANTSEL_D()
1010 static inline void SET_CMC_TBL_NOMINAL_PKT_PADDING_V1(void *table, u32 val) in SET_CMC_TBL_NOMINAL_PKT_PADDING_V1() argument
1012 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(1, 0)); in SET_CMC_TBL_NOMINAL_PKT_PADDING_V1()
1013 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_NOMINAL_PKT_PADDING, in SET_CMC_TBL_NOMINAL_PKT_PADDING_V1()
1017 static inline void SET_CMC_TBL_NOMINAL_PKT_PADDING40_V1(void *table, u32 val) in SET_CMC_TBL_NOMINAL_PKT_PADDING40_V1() argument
1019 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(3, 2)); in SET_CMC_TBL_NOMINAL_PKT_PADDING40_V1()
1020 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_NOMINAL_PKT_PADDING, in SET_CMC_TBL_NOMINAL_PKT_PADDING40_V1()
1024 static inline void SET_CMC_TBL_NOMINAL_PKT_PADDING80_V1(void *table, u32 val) in SET_CMC_TBL_NOMINAL_PKT_PADDING80_V1() argument
1026 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(5, 4)); in SET_CMC_TBL_NOMINAL_PKT_PADDING80_V1()
1027 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_NOMINAL_PKT_PADDING, in SET_CMC_TBL_NOMINAL_PKT_PADDING80_V1()
1031 static inline void SET_CMC_TBL_NOMINAL_PKT_PADDING160_V1(void *table, u32 val) in SET_CMC_TBL_NOMINAL_PKT_PADDING160_V1() argument
1033 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(7, 6)); in SET_CMC_TBL_NOMINAL_PKT_PADDING160_V1()
1034 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_NOMINAL_PKT_PADDING, in SET_CMC_TBL_NOMINAL_PKT_PADDING160_V1()
1039 static inline void SET_CMC_TBL_ADDR_CAM_INDEX(void *table, u32 val) in SET_CMC_TBL_ADDR_CAM_INDEX() argument
1041 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(7, 0)); in SET_CMC_TBL_ADDR_CAM_INDEX()
1042 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_ADDR_CAM_INDEX, in SET_CMC_TBL_ADDR_CAM_INDEX()
1046 static inline void SET_CMC_TBL_PAID(void *table, u32 val) in SET_CMC_TBL_PAID() argument
1048 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(16, 8)); in SET_CMC_TBL_PAID()
1049 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_PAID, in SET_CMC_TBL_PAID()
1053 static inline void SET_CMC_TBL_ULDL(void *table, u32 val) in SET_CMC_TBL_ULDL() argument
1055 le32p_replace_bits((__le32 *)(table) + 7, val, BIT(17)); in SET_CMC_TBL_ULDL()
1056 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_ULDL, in SET_CMC_TBL_ULDL()
1060 static inline void SET_CMC_TBL_DOPPLER_CTRL(void *table, u32 val) in SET_CMC_TBL_DOPPLER_CTRL() argument
1062 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(19, 18)); in SET_CMC_TBL_DOPPLER_CTRL()
1063 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_DOPPLER_CTRL, in SET_CMC_TBL_DOPPLER_CTRL()
1066 static inline void SET_CMC_TBL_NOMINAL_PKT_PADDING(void *table, u32 val) in SET_CMC_TBL_NOMINAL_PKT_PADDING() argument
1068 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(21, 20)); in SET_CMC_TBL_NOMINAL_PKT_PADDING()
1069 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_NOMINAL_PKT_PADDING, in SET_CMC_TBL_NOMINAL_PKT_PADDING()
1073 static inline void SET_CMC_TBL_NOMINAL_PKT_PADDING40(void *table, u32 val) in SET_CMC_TBL_NOMINAL_PKT_PADDING40() argument
1075 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(23, 22)); in SET_CMC_TBL_NOMINAL_PKT_PADDING40()
1076 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_NOMINAL_PKT_PADDING, in SET_CMC_TBL_NOMINAL_PKT_PADDING40()
1080 static inline void SET_CMC_TBL_TXPWR_TOLERENCE(void *table, u32 val) in SET_CMC_TBL_TXPWR_TOLERENCE() argument
1082 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(27, 24)); in SET_CMC_TBL_TXPWR_TOLERENCE()
1083 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_TXPWR_TOLERENCE, in SET_CMC_TBL_TXPWR_TOLERENCE()
1087 static inline void SET_CMC_TBL_NOMINAL_PKT_PADDING80(void *table, u32 val) in SET_CMC_TBL_NOMINAL_PKT_PADDING80() argument
1089 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(31, 30)); in SET_CMC_TBL_NOMINAL_PKT_PADDING80()
1090 le32p_replace_bits((__le32 *)(table) + 15, SET_CMC_TBL_MASK_NOMINAL_PKT_PADDING, in SET_CMC_TBL_NOMINAL_PKT_PADDING80()
1094 static inline void SET_CMC_TBL_NC(void *table, u32 val) in SET_CMC_TBL_NC() argument
1096 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(2, 0)); in SET_CMC_TBL_NC()
1097 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_NC, in SET_CMC_TBL_NC()
1101 static inline void SET_CMC_TBL_NR(void *table, u32 val) in SET_CMC_TBL_NR() argument
1103 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(5, 3)); in SET_CMC_TBL_NR()
1104 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_NR, in SET_CMC_TBL_NR()
1108 static inline void SET_CMC_TBL_NG(void *table, u32 val) in SET_CMC_TBL_NG() argument
1110 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(7, 6)); in SET_CMC_TBL_NG()
1111 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_NG, in SET_CMC_TBL_NG()
1115 static inline void SET_CMC_TBL_CB(void *table, u32 val) in SET_CMC_TBL_CB() argument
1117 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(9, 8)); in SET_CMC_TBL_CB()
1118 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CB, in SET_CMC_TBL_CB()
1122 static inline void SET_CMC_TBL_CS(void *table, u32 val) in SET_CMC_TBL_CS() argument
1124 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(11, 10)); in SET_CMC_TBL_CS()
1125 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CS, in SET_CMC_TBL_CS()
1129 static inline void SET_CMC_TBL_CSI_TXBF_EN(void *table, u32 val) in SET_CMC_TBL_CSI_TXBF_EN() argument
1131 le32p_replace_bits((__le32 *)(table) + 8, val, BIT(12)); in SET_CMC_TBL_CSI_TXBF_EN()
1132 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CSI_TXBF_EN, in SET_CMC_TBL_CSI_TXBF_EN()
1136 static inline void SET_CMC_TBL_CSI_STBC_EN(void *table, u32 val) in SET_CMC_TBL_CSI_STBC_EN() argument
1138 le32p_replace_bits((__le32 *)(table) + 8, val, BIT(13)); in SET_CMC_TBL_CSI_STBC_EN()
1139 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CSI_STBC_EN, in SET_CMC_TBL_CSI_STBC_EN()
1143 static inline void SET_CMC_TBL_CSI_LDPC_EN(void *table, u32 val) in SET_CMC_TBL_CSI_LDPC_EN() argument
1145 le32p_replace_bits((__le32 *)(table) + 8, val, BIT(14)); in SET_CMC_TBL_CSI_LDPC_EN()
1146 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CSI_LDPC_EN, in SET_CMC_TBL_CSI_LDPC_EN()
1150 static inline void SET_CMC_TBL_CSI_PARA_EN(void *table, u32 val) in SET_CMC_TBL_CSI_PARA_EN() argument
1152 le32p_replace_bits((__le32 *)(table) + 8, val, BIT(15)); in SET_CMC_TBL_CSI_PARA_EN()
1153 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CSI_PARA_EN, in SET_CMC_TBL_CSI_PARA_EN()
1157 static inline void SET_CMC_TBL_CSI_FIX_RATE(void *table, u32 val) in SET_CMC_TBL_CSI_FIX_RATE() argument
1159 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(24, 16)); in SET_CMC_TBL_CSI_FIX_RATE()
1160 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CSI_FIX_RATE, in SET_CMC_TBL_CSI_FIX_RATE()
1164 static inline void SET_CMC_TBL_CSI_GI_LTF(void *table, u32 val) in SET_CMC_TBL_CSI_GI_LTF() argument
1166 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(27, 25)); in SET_CMC_TBL_CSI_GI_LTF()
1167 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CSI_GI_LTF, in SET_CMC_TBL_CSI_GI_LTF()
1171 static inline void SET_CMC_TBL_NOMINAL_PKT_PADDING160(void *table, u32 val) in SET_CMC_TBL_NOMINAL_PKT_PADDING160() argument
1173 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(29, 28)); in SET_CMC_TBL_NOMINAL_PKT_PADDING160()
1174 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_NOMINAL_PKT_PADDING, in SET_CMC_TBL_NOMINAL_PKT_PADDING160()
1179 static inline void SET_CMC_TBL_CSI_BW(void *table, u32 val) in SET_CMC_TBL_CSI_BW() argument
1181 le32p_replace_bits((__le32 *)(table) + 8, val, GENMASK(31, 30)); in SET_CMC_TBL_CSI_BW()
1182 le32p_replace_bits((__le32 *)(table) + 16, SET_CMC_TBL_MASK_CSI_BW, in SET_CMC_TBL_CSI_BW()
1186 static inline void SET_DCTL_MACID_V1(void *table, u32 val) in SET_DCTL_MACID_V1() argument
1188 le32p_replace_bits((__le32 *)(table) + 0, val, GENMASK(6, 0)); in SET_DCTL_MACID_V1()
1191 static inline void SET_DCTL_OPERATION_V1(void *table, u32 val) in SET_DCTL_OPERATION_V1() argument
1193 le32p_replace_bits((__le32 *)(table) + 0, val, BIT(7)); in SET_DCTL_OPERATION_V1()
1197 static inline void SET_DCTL_QOS_FIELD_V1(void *table, u32 val) in SET_DCTL_QOS_FIELD_V1() argument
1199 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(7, 0)); in SET_DCTL_QOS_FIELD_V1()
1200 le32p_replace_bits((__le32 *)(table) + 9, SET_DCTL_MASK_QOS_FIELD_V1, in SET_DCTL_QOS_FIELD_V1()
1205 static inline void SET_DCTL_HW_EXSEQ_MACID_V1(void *table, u32 val) in SET_DCTL_HW_EXSEQ_MACID_V1() argument
1207 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(14, 8)); in SET_DCTL_HW_EXSEQ_MACID_V1()
1208 le32p_replace_bits((__le32 *)(table) + 9, SET_DCTL_MASK_SET_DCTL_HW_EXSEQ_MACID, in SET_DCTL_HW_EXSEQ_MACID_V1()
1213 static inline void SET_DCTL_QOS_DATA_V1(void *table, u32 val) in SET_DCTL_QOS_DATA_V1() argument
1215 le32p_replace_bits((__le32 *)(table) + 1, val, BIT(15)); in SET_DCTL_QOS_DATA_V1()
1216 le32p_replace_bits((__le32 *)(table) + 9, SET_DCTL_MASK_QOS_DATA, in SET_DCTL_QOS_DATA_V1()
1221 static inline void SET_DCTL_AES_IV_L_V1(void *table, u32 val) in SET_DCTL_AES_IV_L_V1() argument
1223 le32p_replace_bits((__le32 *)(table) + 1, val, GENMASK(31, 16)); in SET_DCTL_AES_IV_L_V1()
1224 le32p_replace_bits((__le32 *)(table) + 9, SET_DCTL_MASK_AES_IV_L, in SET_DCTL_AES_IV_L_V1()
1229 static inline void SET_DCTL_AES_IV_H_V1(void *table, u32 val) in SET_DCTL_AES_IV_H_V1() argument
1231 le32p_replace_bits((__le32 *)(table) + 2, val, GENMASK(31, 0)); in SET_DCTL_AES_IV_H_V1()
1232 le32p_replace_bits((__le32 *)(table) + 10, SET_DCTL_MASK_AES_IV_H, in SET_DCTL_AES_IV_H_V1()
1237 static inline void SET_DCTL_SEQ0_V1(void *table, u32 val) in SET_DCTL_SEQ0_V1() argument
1239 le32p_replace_bits((__le32 *)(table) + 3, val, GENMASK(11, 0)); in SET_DCTL_SEQ0_V1()
1240 le32p_replace_bits((__le32 *)(table) + 11, SET_DCTL_MASK_SEQ0, in SET_DCTL_SEQ0_V1()
1245 static inline void SET_DCTL_SEQ1_V1(void *table, u32 val) in SET_DCTL_SEQ1_V1() argument
1247 le32p_replace_bits((__le32 *)(table) + 3, val, GENMASK(23, 12)); in SET_DCTL_SEQ1_V1()
1248 le32p_replace_bits((__le32 *)(table) + 11, SET_DCTL_MASK_SEQ1, in SET_DCTL_SEQ1_V1()
1253 static inline void SET_DCTL_AMSDU_MAX_LEN_V1(void *table, u32 val) in SET_DCTL_AMSDU_MAX_LEN_V1() argument
1255 le32p_replace_bits((__le32 *)(table) + 3, val, GENMASK(26, 24)); in SET_DCTL_AMSDU_MAX_LEN_V1()
1256 le32p_replace_bits((__le32 *)(table) + 11, SET_DCTL_MASK_AMSDU_MAX_LEN, in SET_DCTL_AMSDU_MAX_LEN_V1()
1261 static inline void SET_DCTL_STA_AMSDU_EN_V1(void *table, u32 val) in SET_DCTL_STA_AMSDU_EN_V1() argument
1263 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(27)); in SET_DCTL_STA_AMSDU_EN_V1()
1264 le32p_replace_bits((__le32 *)(table) + 11, SET_DCTL_MASK_STA_AMSDU_EN, in SET_DCTL_STA_AMSDU_EN_V1()
1269 static inline void SET_DCTL_CHKSUM_OFLD_EN_V1(void *table, u32 val) in SET_DCTL_CHKSUM_OFLD_EN_V1() argument
1271 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(28)); in SET_DCTL_CHKSUM_OFLD_EN_V1()
1272 le32p_replace_bits((__le32 *)(table) + 11, SET_DCTL_MASK_CHKSUM_OFLD_EN, in SET_DCTL_CHKSUM_OFLD_EN_V1()
1277 static inline void SET_DCTL_WITH_LLC_V1(void *table, u32 val) in SET_DCTL_WITH_LLC_V1() argument
1279 le32p_replace_bits((__le32 *)(table) + 3, val, BIT(29)); in SET_DCTL_WITH_LLC_V1()
1280 le32p_replace_bits((__le32 *)(table) + 11, SET_DCTL_MASK_WITH_LLC, in SET_DCTL_WITH_LLC_V1()
1285 static inline void SET_DCTL_SEQ2_V1(void *table, u32 val) in SET_DCTL_SEQ2_V1() argument
1287 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(11, 0)); in SET_DCTL_SEQ2_V1()
1288 le32p_replace_bits((__le32 *)(table) + 12, SET_DCTL_MASK_SEQ2, in SET_DCTL_SEQ2_V1()
1293 static inline void SET_DCTL_SEQ3_V1(void *table, u32 val) in SET_DCTL_SEQ3_V1() argument
1295 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(23, 12)); in SET_DCTL_SEQ3_V1()
1296 le32p_replace_bits((__le32 *)(table) + 12, SET_DCTL_MASK_SEQ3, in SET_DCTL_SEQ3_V1()
1301 static inline void SET_DCTL_TGT_IND_V1(void *table, u32 val) in SET_DCTL_TGT_IND_V1() argument
1303 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(27, 24)); in SET_DCTL_TGT_IND_V1()
1304 le32p_replace_bits((__le32 *)(table) + 12, SET_DCTL_MASK_TGT_IND, in SET_DCTL_TGT_IND_V1()
1309 static inline void SET_DCTL_TGT_IND_EN_V1(void *table, u32 val) in SET_DCTL_TGT_IND_EN_V1() argument
1311 le32p_replace_bits((__le32 *)(table) + 4, val, BIT(28)); in SET_DCTL_TGT_IND_EN_V1()
1312 le32p_replace_bits((__le32 *)(table) + 12, SET_DCTL_MASK_TGT_IND_EN, in SET_DCTL_TGT_IND_EN_V1()
1317 static inline void SET_DCTL_HTC_LB_V1(void *table, u32 val) in SET_DCTL_HTC_LB_V1() argument
1319 le32p_replace_bits((__le32 *)(table) + 4, val, GENMASK(31, 29)); in SET_DCTL_HTC_LB_V1()
1320 le32p_replace_bits((__le32 *)(table) + 12, SET_DCTL_MASK_HTC_LB, in SET_DCTL_HTC_LB_V1()
1325 static inline void SET_DCTL_MHDR_LEN_V1(void *table, u32 val) in SET_DCTL_MHDR_LEN_V1() argument
1327 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(4, 0)); in SET_DCTL_MHDR_LEN_V1()
1328 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_MHDR_LEN, in SET_DCTL_MHDR_LEN_V1()
1333 static inline void SET_DCTL_VLAN_TAG_VALID_V1(void *table, u32 val) in SET_DCTL_VLAN_TAG_VALID_V1() argument
1335 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(5)); in SET_DCTL_VLAN_TAG_VALID_V1()
1336 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_VLAN_TAG_VALID, in SET_DCTL_VLAN_TAG_VALID_V1()
1341 static inline void SET_DCTL_VLAN_TAG_SEL_V1(void *table, u32 val) in SET_DCTL_VLAN_TAG_SEL_V1() argument
1343 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(7, 6)); in SET_DCTL_VLAN_TAG_SEL_V1()
1344 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_VLAN_TAG_SEL, in SET_DCTL_VLAN_TAG_SEL_V1()
1349 static inline void SET_DCTL_HTC_ORDER_V1(void *table, u32 val) in SET_DCTL_HTC_ORDER_V1() argument
1351 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(8)); in SET_DCTL_HTC_ORDER_V1()
1352 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_HTC_ORDER, in SET_DCTL_HTC_ORDER_V1()
1357 static inline void SET_DCTL_SEC_KEY_ID_V1(void *table, u32 val) in SET_DCTL_SEC_KEY_ID_V1() argument
1359 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(10, 9)); in SET_DCTL_SEC_KEY_ID_V1()
1360 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_KEY_ID, in SET_DCTL_SEC_KEY_ID_V1()
1365 static inline void SET_DCTL_WAPI_V1(void *table, u32 val) in SET_DCTL_WAPI_V1() argument
1367 le32p_replace_bits((__le32 *)(table) + 5, val, BIT(15)); in SET_DCTL_WAPI_V1()
1368 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_WAPI, in SET_DCTL_WAPI_V1()
1373 static inline void SET_DCTL_SEC_ENT_MODE_V1(void *table, u32 val) in SET_DCTL_SEC_ENT_MODE_V1() argument
1375 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(17, 16)); in SET_DCTL_SEC_ENT_MODE_V1()
1376 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_ENT_MODE, in SET_DCTL_SEC_ENT_MODE_V1()
1381 static inline void SET_DCTL_SEC_ENT0_KEYID_V1(void *table, u32 val) in SET_DCTL_SEC_ENT0_KEYID_V1() argument
1383 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(19, 18)); in SET_DCTL_SEC_ENT0_KEYID_V1()
1384 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_ENTX_KEYID, in SET_DCTL_SEC_ENT0_KEYID_V1()
1388 static inline void SET_DCTL_SEC_ENT1_KEYID_V1(void *table, u32 val) in SET_DCTL_SEC_ENT1_KEYID_V1() argument
1390 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(21, 20)); in SET_DCTL_SEC_ENT1_KEYID_V1()
1391 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_ENTX_KEYID, in SET_DCTL_SEC_ENT1_KEYID_V1()
1395 static inline void SET_DCTL_SEC_ENT2_KEYID_V1(void *table, u32 val) in SET_DCTL_SEC_ENT2_KEYID_V1() argument
1397 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(23, 22)); in SET_DCTL_SEC_ENT2_KEYID_V1()
1398 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_ENTX_KEYID, in SET_DCTL_SEC_ENT2_KEYID_V1()
1402 static inline void SET_DCTL_SEC_ENT3_KEYID_V1(void *table, u32 val) in SET_DCTL_SEC_ENT3_KEYID_V1() argument
1404 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(25, 24)); in SET_DCTL_SEC_ENT3_KEYID_V1()
1405 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_ENTX_KEYID, in SET_DCTL_SEC_ENT3_KEYID_V1()
1409 static inline void SET_DCTL_SEC_ENT4_KEYID_V1(void *table, u32 val) in SET_DCTL_SEC_ENT4_KEYID_V1() argument
1411 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(27, 26)); in SET_DCTL_SEC_ENT4_KEYID_V1()
1412 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_ENTX_KEYID, in SET_DCTL_SEC_ENT4_KEYID_V1()
1416 static inline void SET_DCTL_SEC_ENT5_KEYID_V1(void *table, u32 val) in SET_DCTL_SEC_ENT5_KEYID_V1() argument
1418 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(29, 28)); in SET_DCTL_SEC_ENT5_KEYID_V1()
1419 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_ENTX_KEYID, in SET_DCTL_SEC_ENT5_KEYID_V1()
1423 static inline void SET_DCTL_SEC_ENT6_KEYID_V1(void *table, u32 val) in SET_DCTL_SEC_ENT6_KEYID_V1() argument
1425 le32p_replace_bits((__le32 *)(table) + 5, val, GENMASK(31, 30)); in SET_DCTL_SEC_ENT6_KEYID_V1()
1426 le32p_replace_bits((__le32 *)(table) + 13, SET_DCTL_MASK_SEC_ENTX_KEYID, in SET_DCTL_SEC_ENT6_KEYID_V1()
1431 static inline void SET_DCTL_SEC_ENT_VALID_V1(void *table, u32 val) in SET_DCTL_SEC_ENT_VALID_V1() argument
1433 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(7, 0)); in SET_DCTL_SEC_ENT_VALID_V1()
1434 le32p_replace_bits((__le32 *)(table) + 14, SET_DCTL_MASK_SEC_ENT_VALID, in SET_DCTL_SEC_ENT_VALID_V1()
1439 static inline void SET_DCTL_SEC_ENT0_V1(void *table, u32 val) in SET_DCTL_SEC_ENT0_V1() argument
1441 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(15, 8)); in SET_DCTL_SEC_ENT0_V1()
1442 le32p_replace_bits((__le32 *)(table) + 14, SET_DCTL_MASK_SEC_ENTX, in SET_DCTL_SEC_ENT0_V1()
1446 static inline void SET_DCTL_SEC_ENT1_V1(void *table, u32 val) in SET_DCTL_SEC_ENT1_V1() argument
1448 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(23, 16)); in SET_DCTL_SEC_ENT1_V1()
1449 le32p_replace_bits((__le32 *)(table) + 14, SET_DCTL_MASK_SEC_ENTX, in SET_DCTL_SEC_ENT1_V1()
1453 static inline void SET_DCTL_SEC_ENT2_V1(void *table, u32 val) in SET_DCTL_SEC_ENT2_V1() argument
1455 le32p_replace_bits((__le32 *)(table) + 6, val, GENMASK(31, 24)); in SET_DCTL_SEC_ENT2_V1()
1456 le32p_replace_bits((__le32 *)(table) + 14, SET_DCTL_MASK_SEC_ENTX, in SET_DCTL_SEC_ENT2_V1()
1460 static inline void SET_DCTL_SEC_ENT3_V1(void *table, u32 val) in SET_DCTL_SEC_ENT3_V1() argument
1462 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(7, 0)); in SET_DCTL_SEC_ENT3_V1()
1463 le32p_replace_bits((__le32 *)(table) + 15, SET_DCTL_MASK_SEC_ENTX, in SET_DCTL_SEC_ENT3_V1()
1467 static inline void SET_DCTL_SEC_ENT4_V1(void *table, u32 val) in SET_DCTL_SEC_ENT4_V1() argument
1469 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(15, 8)); in SET_DCTL_SEC_ENT4_V1()
1470 le32p_replace_bits((__le32 *)(table) + 15, SET_DCTL_MASK_SEC_ENTX, in SET_DCTL_SEC_ENT4_V1()
1474 static inline void SET_DCTL_SEC_ENT5_V1(void *table, u32 val) in SET_DCTL_SEC_ENT5_V1() argument
1476 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(23, 16)); in SET_DCTL_SEC_ENT5_V1()
1477 le32p_replace_bits((__le32 *)(table) + 15, SET_DCTL_MASK_SEC_ENTX, in SET_DCTL_SEC_ENT5_V1()
1481 static inline void SET_DCTL_SEC_ENT6_V1(void *table, u32 val) in SET_DCTL_SEC_ENT6_V1() argument
1483 le32p_replace_bits((__le32 *)(table) + 7, val, GENMASK(31, 24)); in SET_DCTL_SEC_ENT6_V1()
1484 le32p_replace_bits((__le32 *)(table) + 15, SET_DCTL_MASK_SEC_ENTX, in SET_DCTL_SEC_ENT6_V1()