Lines Matching refs:cmd
59 struct iwl_soc_configuration_cmd cmd = {}; in iwl_set_soc_latency() local
62 .data[0] = &cmd, in iwl_set_soc_latency()
63 .len[0] = sizeof(cmd), in iwl_set_soc_latency()
74 cmd.flags = cpu_to_le32(SOC_CONFIG_CMD_FLAGS_DISCRETE); in iwl_set_soc_latency()
87 cmd.flags |= le32_encode_bits(fwrt->trans->trans_cfg->ltr_delay, in iwl_set_soc_latency()
93 cmd.flags |= cpu_to_le32(SOC_CONFIG_CMD_FLAGS_LOW_LATENCY); in iwl_set_soc_latency()
95 cmd.latency = cpu_to_le32(fwrt->trans->trans_cfg->xtal_latency); in iwl_set_soc_latency()
107 struct iwl_rfh_queue_config *cmd; in iwl_configure_rxq() local
126 size = struct_size(cmd, data, num_queues); in iwl_configure_rxq()
128 cmd = kzalloc(size, GFP_KERNEL); in iwl_configure_rxq()
129 if (!cmd) in iwl_configure_rxq()
132 cmd->num_queues = num_queues; in iwl_configure_rxq()
137 cmd->data[i].q_num = i + 1; in iwl_configure_rxq()
140 cmd->data[i].fr_bd_cb = cpu_to_le64(data.fr_bd_cb); in iwl_configure_rxq()
141 cmd->data[i].urbd_stts_wrptr = in iwl_configure_rxq()
143 cmd->data[i].ur_bd_cb = cpu_to_le64(data.ur_bd_cb); in iwl_configure_rxq()
144 cmd->data[i].fr_bd_wid = cpu_to_le32(data.fr_bd_wid); in iwl_configure_rxq()
147 hcmd.data[0] = cmd; in iwl_configure_rxq()
152 kfree(cmd); in iwl_configure_rxq()