Lines Matching refs:fw_mon
387 struct iwl_fw_mon *fw_mon; in iwl_dbg_tlv_fragments_free() local
394 fw_mon = &trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_fragments_free()
396 for (i = 0; i < fw_mon->num_frags; i++) { in iwl_dbg_tlv_fragments_free()
397 struct iwl_dram_data *frag = &fw_mon->frags[i]; in iwl_dbg_tlv_fragments_free()
407 kfree(fw_mon->frags); in iwl_dbg_tlv_fragments_free()
408 fw_mon->frags = NULL; in iwl_dbg_tlv_fragments_free()
409 fw_mon->num_frags = 0; in iwl_dbg_tlv_fragments_free()
562 struct iwl_fw_mon *fw_mon; in iwl_dbg_tlv_alloc_fragments() local
572 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_alloc_fragments()
574 if (fw_mon->num_frags || in iwl_dbg_tlv_alloc_fragments()
593 fw_mon->frags = kcalloc(num_frags, sizeof(*fw_mon->frags), GFP_KERNEL); in iwl_dbg_tlv_alloc_fragments()
594 if (!fw_mon->frags) in iwl_dbg_tlv_alloc_fragments()
604 pages = iwl_dbg_tlv_alloc_fragment(fwrt, &fw_mon->frags[i], in iwl_dbg_tlv_alloc_fragments()
619 fw_mon->num_frags++; in iwl_dbg_tlv_alloc_fragments()
628 struct iwl_fw_mon *fw_mon; in iwl_dbg_tlv_apply_buffer() local
644 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_apply_buffer()
652 remain_frags = fw_mon->num_frags - fw_mon_idx; in iwl_dbg_tlv_apply_buffer()
680 &fw_mon->frags[fw_mon_idx++]; in iwl_dbg_tlv_apply_buffer()