Lines Matching refs:PwrCfgCmd

50 	WLAN_PWR_CFG	PwrCfgCmd = {0};  in HalPwrSeqCmdParsing()  local
61 PwrCfgCmd = PwrSeqCmd[AryIdx]; in HalPwrSeqCmdParsing()
65 if ((GET_PWR_CFG_FAB_MASK(PwrCfgCmd) & FabVersion) && in HalPwrSeqCmdParsing()
66 (GET_PWR_CFG_CUT_MASK(PwrCfgCmd) & CutVersion) && in HalPwrSeqCmdParsing()
67 (GET_PWR_CFG_INTF_MASK(PwrCfgCmd) & InterfaceType)) { in HalPwrSeqCmdParsing()
68 switch (GET_PWR_CFG_CMD(PwrCfgCmd)) { in HalPwrSeqCmdParsing()
73 offset = GET_PWR_CFG_OFFSET(PwrCfgCmd); in HalPwrSeqCmdParsing()
80 if (GET_PWR_CFG_BASE(PwrCfgCmd) == PWR_BASEADDR_SDIO) { in HalPwrSeqCmdParsing()
84 value &= ~(GET_PWR_CFG_MASK(PwrCfgCmd)); in HalPwrSeqCmdParsing()
85 value |= (GET_PWR_CFG_VALUE(PwrCfgCmd) & GET_PWR_CFG_MASK(PwrCfgCmd)); in HalPwrSeqCmdParsing()
93 if (GET_PWR_CFG_BASE(PwrCfgCmd) == PWR_BASEADDR_SDIO) in HalPwrSeqCmdParsing()
99 value = value & (~(GET_PWR_CFG_MASK(PwrCfgCmd))); in HalPwrSeqCmdParsing()
100 value = value | (GET_PWR_CFG_VALUE(PwrCfgCmd) & GET_PWR_CFG_MASK(PwrCfgCmd)); in HalPwrSeqCmdParsing()
110 offset = GET_PWR_CFG_OFFSET(PwrCfgCmd); in HalPwrSeqCmdParsing()
120 if (GET_PWR_CFG_BASE(PwrCfgCmd) == PWR_BASEADDR_SDIO) in HalPwrSeqCmdParsing()
125 if (GET_PWR_CFG_BASE(PwrCfgCmd) == PWR_BASEADDR_SDIO) in HalPwrSeqCmdParsing()
131 value = value & GET_PWR_CFG_MASK(PwrCfgCmd); in HalPwrSeqCmdParsing()
132 if (value == (GET_PWR_CFG_VALUE(PwrCfgCmd) & GET_PWR_CFG_MASK(PwrCfgCmd))) in HalPwrSeqCmdParsing()
165 if (GET_PWR_CFG_VALUE(PwrCfgCmd) == PWRSEQ_DELAY_US) in HalPwrSeqCmdParsing()
166 rtw_udelay_os(GET_PWR_CFG_OFFSET(PwrCfgCmd)); in HalPwrSeqCmdParsing()
168 rtw_udelay_os(GET_PWR_CFG_OFFSET(PwrCfgCmd) * 1000); in HalPwrSeqCmdParsing()