Lines Matching refs:cur_cmd
189 const struct rtw_pwr_seq_cmd *cur_cmd;
193 for (cur_cmd = cmd; cur_cmd->cmd != RTW_PWR_CMD_END; cur_cmd++) {
194 if (!(cur_cmd->intf_mask & intf_mask) ||
195 !(cur_cmd->cut_mask & cut_mask))
198 switch (cur_cmd->cmd) {
200 offset = cur_cmd->offset;
202 if (cur_cmd->base == RTW_PWR_ADDR_SDIO)
206 value &= ~cur_cmd->mask;
207 value |= (cur_cmd->value & cur_cmd->mask);
211 if (rtw_pwr_cmd_polling(rtwdev, cur_cmd))
215 if (cur_cmd->value == RTW_PWR_DELAY_US)
216 udelay(cur_cmd->offset);
218 mdelay(cur_cmd->offset);