Lines Matching refs:alloc_id

126 	u32 alloc_id;
132 alloc_id = le32_to_cpu(alloc->alloc_id);
138 if (alloc_id == IWL_FW_INI_ALLOCATION_INVALID ||
139 alloc_id >= IWL_FW_INI_ALLOCATION_NUM)
143 alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1)
147 alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1)
156 trans->dbg.fw_mon_cfg[alloc_id] = *alloc;
162 alloc_id, buf_location);
397 enum iwl_fw_ini_allocation_id alloc_id)
402 if (alloc_id <= IWL_FW_INI_ALLOCATION_INVALID ||
403 alloc_id >= IWL_FW_INI_ALLOCATION_NUM)
406 fw_mon = &trans->dbg.fw_mon_ini[alloc_id];
586 enum iwl_fw_ini_allocation_id alloc_id)
593 if (alloc_id < IWL_FW_INI_ALLOCATION_INVALID ||
594 alloc_id >= IWL_FW_INI_ALLOCATION_NUM)
597 fw_mon_cfg = &fwrt->trans->dbg.fw_mon_cfg[alloc_id];
598 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id];
613 if (alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1)
617 alloc_id > IWL_FW_INI_ALLOCATION_ID_DBGC3) {
635 "WRT: Allocating DRAM buffer (alloc_id=%u, fragment=%u, size=0x%lx)\n",
636 alloc_id, i, pages * PAGE_SIZE);
646 alloc_id);
660 enum iwl_fw_ini_allocation_id alloc_id)
670 if (alloc_id < IWL_FW_INI_ALLOCATION_INVALID ||
671 alloc_id >= IWL_FW_INI_ALLOCATION_NUM)
674 if (le32_to_cpu(fwrt->trans->dbg.fw_mon_cfg[alloc_id].buf_location) !=
678 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id];
683 if (alloc_id == IWL_FW_INI_ALLOCATION_ID_DBGC1)
692 IWL_DEBUG_FW(fwrt, "WRT: Applying DRAM destination (alloc_id=%u)\n",
693 alloc_id);
699 .alloc_id = cpu_to_le32(alloc_id),
748 enum iwl_fw_ini_allocation_id alloc_id,
756 if (le32_to_cpu(fwrt->trans->dbg.fw_mon_cfg[alloc_id].buf_location) !=
758 IWL_DEBUG_FW(fwrt, "WRT: alloc_id %u location is not in DRAM_PATH\n",
759 alloc_id);
763 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id];
768 if (alloc_id == IWL_FW_INI_ALLOCATION_ID_DBGC1)
776 data = &dram_info->dram_frags[alloc_id - 1];
777 data->alloc_id = cpu_to_le32(alloc_id);
781 IWL_DEBUG_FW(fwrt, "WRT: DRAM buffer details alloc_id=%u, num_frags=%u\n",
782 cpu_to_le32(alloc_id), cpu_to_le32(num_frags));