Lines Matching refs:cmd
119 const enum carl9170_cmd_oids cmd, const unsigned int len) in carl9170_cmd_buf() argument
125 tmp->hdr.cmd = cmd; in carl9170_cmd_buf()
134 struct carl9170_cmd *cmd; in carl9170_reboot() local
137 cmd = carl9170_cmd_buf(ar, CARL9170_CMD_REBOOT_ASYNC, 0); in carl9170_reboot()
138 if (!cmd) in carl9170_reboot()
141 err = __carl9170_exec_cmd(ar, cmd, true); in carl9170_reboot()
154 struct carl9170_cmd *cmd; in carl9170_bcn_ctrl() local
156 cmd = carl9170_cmd_buf(ar, CARL9170_CMD_BCN_CTRL_ASYNC, in carl9170_bcn_ctrl()
158 if (!cmd) in carl9170_bcn_ctrl()
161 cmd->bcn_ctrl.vif_id = cpu_to_le32(vif_id); in carl9170_bcn_ctrl()
162 cmd->bcn_ctrl.mode = cpu_to_le32(mode); in carl9170_bcn_ctrl()
163 cmd->bcn_ctrl.bcn_addr = cpu_to_le32(addr); in carl9170_bcn_ctrl()
164 cmd->bcn_ctrl.bcn_len = cpu_to_le32(len); in carl9170_bcn_ctrl()
166 return __carl9170_exec_cmd(ar, cmd, true); in carl9170_bcn_ctrl()
204 struct carl9170_cmd *cmd; in carl9170_powersave() local
207 cmd = carl9170_cmd_buf(ar, CARL9170_CMD_PSM_ASYNC, in carl9170_powersave()
209 if (!cmd) in carl9170_powersave()
220 cmd->psm.state = cpu_to_le32(state); in carl9170_powersave()
221 return __carl9170_exec_cmd(ar, cmd, true); in carl9170_powersave()