Lines Matching defs: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);
391 enum iwl_fw_ini_allocation_id alloc_id)
396 if (alloc_id <= IWL_FW_INI_ALLOCATION_INVALID ||
397 alloc_id >= IWL_FW_INI_ALLOCATION_NUM)
400 fw_mon = &trans->dbg.fw_mon_ini[alloc_id];
580 enum iwl_fw_ini_allocation_id alloc_id)
587 if (alloc_id < IWL_FW_INI_ALLOCATION_INVALID ||
588 alloc_id >= IWL_FW_INI_ALLOCATION_NUM)
591 fw_mon_cfg = &fwrt->trans->dbg.fw_mon_cfg[alloc_id];
592 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id];
607 if (alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1)
611 alloc_id > IWL_FW_INI_ALLOCATION_ID_DBGC3) {
629 "WRT: Allocating DRAM buffer (alloc_id=%u, fragment=%u, size=0x%lx)\n",
630 alloc_id, i, pages * PAGE_SIZE);
640 alloc_id);
654 enum iwl_fw_ini_allocation_id alloc_id)
664 if (alloc_id < IWL_FW_INI_ALLOCATION_INVALID ||
665 alloc_id >= IWL_FW_INI_ALLOCATION_NUM)
668 if (le32_to_cpu(fwrt->trans->dbg.fw_mon_cfg[alloc_id].buf_location) !=
672 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id];
677 if (alloc_id == IWL_FW_INI_ALLOCATION_ID_DBGC1)
686 IWL_DEBUG_FW(fwrt, "WRT: Applying DRAM destination (alloc_id=%u)\n",
687 alloc_id);
693 .alloc_id = cpu_to_le32(alloc_id),
742 enum iwl_fw_ini_allocation_id alloc_id,
750 if (le32_to_cpu(fwrt->trans->dbg.fw_mon_cfg[alloc_id].buf_location) !=
752 IWL_DEBUG_FW(fwrt, "WRT: alloc_id %u location is not in DRAM_PATH\n",
753 alloc_id);
757 fw_mon = &fwrt->trans->dbg.fw_mon_ini[alloc_id];
762 if (alloc_id == IWL_FW_INI_ALLOCATION_ID_DBGC1)
770 data = &dram_info->dram_frags[alloc_id - 1];
771 data->alloc_id = cpu_to_le32(alloc_id);
775 IWL_DEBUG_FW(fwrt, "WRT: DRAM buffer details alloc_id=%u, num_frags=%u\n",
776 cpu_to_le32(alloc_id), cpu_to_le32(num_frags));