Lines Matching refs:fw_mon

393 	struct iwl_fw_mon *fw_mon;  in iwl_dbg_tlv_fragments_free()  local
400 fw_mon = &trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_fragments_free()
402 for (i = 0; i < fw_mon->num_frags; i++) { in iwl_dbg_tlv_fragments_free()
403 struct iwl_dram_data *frag = &fw_mon->frags[i]; in iwl_dbg_tlv_fragments_free()
413 kfree(fw_mon->frags); in iwl_dbg_tlv_fragments_free()
414 fw_mon->frags = NULL; in iwl_dbg_tlv_fragments_free()
415 fw_mon->num_frags = 0; in iwl_dbg_tlv_fragments_free()
582 struct iwl_fw_mon *fw_mon; in iwl_dbg_tlv_alloc_fragments() local
592 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_alloc_fragments()
594 if (fw_mon->num_frags) { in iwl_dbg_tlv_alloc_fragments()
595 for (i = 0; i < fw_mon->num_frags; i++) in iwl_dbg_tlv_alloc_fragments()
596 memset(fw_mon->frags[i].block, 0, in iwl_dbg_tlv_alloc_fragments()
597 fw_mon->frags[i].size); in iwl_dbg_tlv_alloc_fragments()
621 fw_mon->frags = kcalloc(num_frags, sizeof(*fw_mon->frags), GFP_KERNEL); in iwl_dbg_tlv_alloc_fragments()
622 if (!fw_mon->frags) in iwl_dbg_tlv_alloc_fragments()
632 pages = iwl_dbg_tlv_alloc_fragment(fwrt, &fw_mon->frags[i], in iwl_dbg_tlv_alloc_fragments()
647 fw_mon->num_frags++; in iwl_dbg_tlv_alloc_fragments()
656 struct iwl_fw_mon *fw_mon; in iwl_dbg_tlv_apply_buffer() local
672 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_apply_buffer()
680 remain_frags = fw_mon->num_frags - fw_mon_idx; in iwl_dbg_tlv_apply_buffer()
709 &fw_mon->frags[fw_mon_idx++]; in iwl_dbg_tlv_apply_buffer()
745 struct iwl_fw_mon *fw_mon; in iwl_dbg_tlv_update_dram() local
757 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_update_dram()
765 remain_frags = fw_mon->num_frags - fw_mon_idx; in iwl_dbg_tlv_update_dram()
780 struct iwl_dram_data *fw_mon_frag = &fw_mon->frags[fw_mon_idx++]; in iwl_dbg_tlv_update_dram()