Lines Matching refs:alloc_id
169 u32 alloc_id; in iwl_dbg_tlv_alloc_buf_alloc() local
175 alloc_id = le32_to_cpu(alloc->alloc_id); in iwl_dbg_tlv_alloc_buf_alloc()
181 if (alloc_id == IWL_FW_INI_ALLOCATION_INVALID || in iwl_dbg_tlv_alloc_buf_alloc()
182 alloc_id >= IWL_FW_INI_ALLOCATION_NUM) in iwl_dbg_tlv_alloc_buf_alloc()
186 alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1) in iwl_dbg_tlv_alloc_buf_alloc()
190 alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1 && in iwl_dbg_tlv_alloc_buf_alloc()
191 alloc_id != IWL_FW_INI_ALLOCATION_ID_INTERNAL) in iwl_dbg_tlv_alloc_buf_alloc()
194 trans->dbg.fw_mon_cfg[alloc_id] = *alloc; in iwl_dbg_tlv_alloc_buf_alloc()
200 alloc_id, buf_location); in iwl_dbg_tlv_alloc_buf_alloc()
385 enum iwl_fw_ini_allocation_id alloc_id) in iwl_dbg_tlv_fragments_free() argument
390 if (alloc_id <= IWL_FW_INI_ALLOCATION_INVALID || in iwl_dbg_tlv_fragments_free()
391 alloc_id >= IWL_FW_INI_ALLOCATION_NUM) in iwl_dbg_tlv_fragments_free()
394 fw_mon = &trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_fragments_free()
560 enum iwl_fw_ini_allocation_id alloc_id) in iwl_dbg_tlv_alloc_fragments() argument
567 if (alloc_id < IWL_FW_INI_ALLOCATION_INVALID || in iwl_dbg_tlv_alloc_fragments()
568 alloc_id >= IWL_FW_INI_ALLOCATION_NUM) in iwl_dbg_tlv_alloc_fragments()
571 fw_mon_cfg = &fwrt->trans->dbg.fw_mon_cfg[alloc_id]; in iwl_dbg_tlv_alloc_fragments()
572 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_alloc_fragments()
582 if (alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1) in iwl_dbg_tlv_alloc_fragments()
602 alloc_id, i, pages * PAGE_SIZE); in iwl_dbg_tlv_alloc_fragments()
612 alloc_id); in iwl_dbg_tlv_alloc_fragments()
626 enum iwl_fw_ini_allocation_id alloc_id) in iwl_dbg_tlv_apply_buffer() argument
636 if (alloc_id < IWL_FW_INI_ALLOCATION_INVALID || in iwl_dbg_tlv_apply_buffer()
637 alloc_id >= IWL_FW_INI_ALLOCATION_NUM) in iwl_dbg_tlv_apply_buffer()
640 if (le32_to_cpu(fwrt->trans->dbg.fw_mon_cfg[alloc_id].buf_location) != in iwl_dbg_tlv_apply_buffer()
644 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_apply_buffer()
649 if (alloc_id == IWL_FW_INI_ALLOCATION_ID_DBGC1) in iwl_dbg_tlv_apply_buffer()
659 alloc_id); in iwl_dbg_tlv_apply_buffer()
665 .alloc_id = cpu_to_le32(alloc_id), in iwl_dbg_tlv_apply_buffer()