host_cmd
u32 host_cmd;
host_cmd = TLAN_HC_ACK | ack | (type << 18);
outl(host_cmd, dev->base_addr + TLAN_HOST_CMD);
static int __ipw_send_cmd(struct ipw_priv *priv, struct host_cmd *cmd)
struct host_cmd cmd = {
struct host_cmd cmd = {
int (*send_hcmd)(void *ctx, struct iwl_host_cmd *host_cmd);
static int iwl_mld_fwrt_send_hcmd(void *ctx, struct iwl_host_cmd *host_cmd)
ret = iwl_mld_send_cmd(mld, host_cmd);
struct iwl_host_cmd host_cmd = {
host_cmd.data[1] = mvm->error_recovery_buf;
host_cmd.len[1] = error_log_size;
host_cmd.dataflags[1] = IWL_HCMD_DFL_NOCOPY;
ret = iwl_mvm_send_cmd_status(mvm, &host_cmd, &status);
static int iwl_mvm_fwrt_send_hcmd(void *ctx, struct iwl_host_cmd *host_cmd)
return iwl_mvm_send_cmd(mvm, host_cmd);
struct host_cmd_ds_command *host_cmd = (void *)cmd_node->cmd_skb->data;
le16_to_cpu(host_cmd->command),
struct host_cmd_ds_command *host_cmd;
host_cmd = (struct host_cmd_ds_command *) (cmd_node->cmd_skb->data);
if (host_cmd->size == 0) {
cmd_code = le16_to_cpu(host_cmd->command);
cmd_size = le16_to_cpu(host_cmd->size);
host_cmd->seq_num = cpu_to_le16(HostCmd_SET_SEQ_NO_BSS_INFO
get_unaligned_le16((u8 *)host_cmd + S_DS_GEN),
cmd_size, le16_to_cpu(host_cmd->seq_num));
mwifiex_dbg_dump(adapter, CMD_D, "cmd buffer:", host_cmd, cmd_size);
get_unaligned_le16((u8 *)host_cmd + S_DS_GEN);
struct host_cmd_ds_command *host_cmd = NULL;
host_cmd = (struct host_cmd_ds_command *) (cmd_node->cmd_skb->data);
if (!host_cmd) {
command = le16_to_cpu(host_cmd->command);
&host_cmd->params.psmode_enh;
&host_cmd->params.opt_hs_cfg;
struct host_cmd_ds_command *host_cmd;
host_cmd = (struct host_cmd_ds_command *) (cmd_node->cmd_skb->data);
if (host_cmd->command != cpu_to_le16(HostCmd_CMD_802_11_HS_CFG_ENH)) {
WRT_REG_WORD(®->host_cmd, HC_CLR_RISC_INT);
WRT_REG_WORD(®->host_cmd, HC_CLR_HOST_INT);
RD_REG_WORD(®->host_cmd);
WRT_REG_WORD(®->host_cmd, HC_RESET_RISC |
WRT_REG_WORD(®->host_cmd, HC_SET_HOST_INT);
WRT_REG_WORD(®->host_cmd,
WRT_REG_WORD(®->host_cmd, HC_CLR_RISC_INT);
WRT_REG_WORD(®->host_cmd, HC_CLR_RISC_INT);
WRT_REG_WORD(®->host_cmd, HC_PAUSE_RISC);
WRT_REG_WORD(®->host_cmd, HC_PAUSE_RISC);
WRT_REG_WORD(®->host_cmd, HC_RELEASE_RISC);
RD_REG_WORD(&ha->iobase->host_cmd),
uint16_t host_cmd; /* Host command and control */
u32 address = HPI_HIF_ADDR(host_cmd);
HPI_HIF_ADDR(host_cmd));
u16 dsp_index, u32 host_cmd)
hpi_write_word(pdo, HPI_HIF_ADDR(host_cmd), host_cmd);
hpi_set_address(pdo, HPI_HIF_ADDR(host_cmd));
hpi_set_address(pdo, HPI_HIF_ADDR(host_cmd));
u16 dsp_index, u32 host_cmd);
u32 host_cmd;
interface->host_cmd = cmd;
u32 host_cmd;