ucode_type
static char *get_ucode_type_str(int ucode_type)
switch (ucode_type) {
static int get_ucode_type(struct otx_cpt_ucode_hdr *ucode_hdr, int *ucode_type)
*ucode_type = val;
int ucode_type, ucode_size;
if (get_ucode_type(ucode_hdr, &ucode_type))
tar_info->ucode.type = ucode_type;
int ucode_type)
if (!is_eng_type(curr->ucode.type, ucode_type))
switch (ucode_type) {
static char *get_ucode_type_str(int ucode_type)
switch (ucode_type) {
int *ucode_type, u16 rid)
*ucode_type = val;
int ucode_type, ucode_size;
ret = get_ucode_type(dev, ucode_hdr, &ucode_type, rid);
uc_info->ucode.type = ucode_type;
int ucode_type)
if (!is_eng_type(curr->ucode.type, ucode_type))
if (il->ucode_type == UCODE_INIT)
base, (il->ucode_type == UCODE_INIT) ? "Init" : "RT");
il->ucode_type = UCODE_RT;
enum ucode_type ucode_type;
if (il->ucode_type == UCODE_INIT)
enum iwl_ucode_type ucode_type);
enum iwl_ucode_type ucode_type)
priv->cur_ucode = ucode_type;
ret = iwl_trans_start_fw(priv->trans, priv->fw, ucode_type, false);
if (ucode_type != IWL_UCODE_WOWLAN) {
iwl_get_ucode_image(const struct iwl_fw *fw, enum iwl_ucode_type ucode_type)
if (ucode_type >= IWL_UCODE_TYPE_MAX)
return &fw->img[ucode_type];
__le32 ucode_type;
u32 ucode_type = le32_to_cpu(def_calib->ucode_type);
if (ucode_type >= IWL_UCODE_TYPE_MAX) {
ucode_type);
drv->fw.default_calib[ucode_type].flow_trigger =
drv->fw.default_calib[ucode_type].event_trigger =
enum iwl_ucode_type ucode_type, bool run_in_rfkill)
img = iwl_get_ucode_image(fw, ucode_type);
enum iwl_ucode_type ucode_type, bool run_in_rfkill);
enum iwl_ucode_type ucode_type)
ucode_type == IWL_UCODE_INIT || iwl_mvm_has_unified_ucode(mvm);
if (ucode_type == IWL_UCODE_REGULAR &&
ucode_type = IWL_UCODE_REGULAR_USNIFFER;
iwl_fw_set_current_image(&mvm->fwrt, ucode_type);
ret = iwl_trans_start_fw(mvm->trans, mvm->fw, ucode_type,
enum iwl_ucode_type ucode_type = mvm->fwrt.cur_fw_img;
mvm->fw->default_calib[ucode_type].event_trigger;
mvm->fw->default_calib[ucode_type].flow_trigger;