Home
last modified time | relevance | path

Searched refs:alloc_id (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-dbg-tlv.c126 u32 alloc_id; in iwl_dbg_tlv_alloc_buf_alloc() local
132 alloc_id = le32_to_cpu(alloc->alloc_id); in iwl_dbg_tlv_alloc_buf_alloc()
138 if (alloc_id == IWL_FW_INI_ALLOCATION_INVALID || in iwl_dbg_tlv_alloc_buf_alloc()
139 alloc_id >= IWL_FW_INI_ALLOCATION_NUM) in iwl_dbg_tlv_alloc_buf_alloc()
143 alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1) in iwl_dbg_tlv_alloc_buf_alloc()
147 alloc_id != IWL_FW_INI_ALLOCATION_ID_DBGC1) in iwl_dbg_tlv_alloc_buf_alloc()
156 trans->dbg.fw_mon_cfg[alloc_id] = *alloc; in iwl_dbg_tlv_alloc_buf_alloc()
162 alloc_id, buf_location); in iwl_dbg_tlv_alloc_buf_alloc()
391 enum iwl_fw_ini_allocation_id alloc_id) in iwl_dbg_tlv_fragments_free() argument
396 if (alloc_id <= IWL_FW_INI_ALLOCATION_INVALID || in iwl_dbg_tlv_fragments_free()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dctxt-info-v2.c37 enum iwl_fw_ini_allocation_id alloc_id = IWL_FW_INI_ALLOCATION_ID_DBGC1; in iwl_pcie_ctxt_info_dbg_enable() local
59 fw_mon_cfg = &trans->dbg.fw_mon_cfg[alloc_id]; in iwl_pcie_ctxt_info_dbg_enable()
75 if (trans->dbg.fw_mon_ini[alloc_id].num_frags) { in iwl_pcie_ctxt_info_dbg_enable()
77 &trans->dbg.fw_mon_ini[alloc_id].frags[0]; in iwl_pcie_ctxt_info_dbg_enable()
87 alloc_id, in iwl_pcie_ctxt_info_dbg_enable()
88 trans->dbg.fw_mon_ini[alloc_id].num_frags); in iwl_pcie_ctxt_info_dbg_enable()
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Ddbg-tlv.h139 __le32 alloc_id; member
228 __le32 alloc_id; member
H A Ddebug.h382 __le32 alloc_id; member
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Ddbg.c1317 u32 alloc_id = le32_to_cpu(reg->dram_alloc_id); in iwl_dump_ini_mon_dram_iter() local
1319 frag = &fwrt->trans->dbg.fw_mon_ini[alloc_id].frags[idx]; in iwl_dump_ini_mon_dram_iter()
1792 static __le32 iwl_get_mon_reg(struct iwl_fw_runtime *fwrt, u32 alloc_id, in iwl_get_mon_reg() argument
1800 offs = (alloc_id - IWL_FW_INI_ALLOCATION_ID_DBGC1) * 0x100; in iwl_get_mon_reg()
1811 iwl_dump_ini_mon_fill_header(struct iwl_fw_runtime *fwrt, u32 alloc_id, in iwl_dump_ini_mon_fill_header() argument
1820 data->write_ptr = iwl_get_mon_reg(fwrt, alloc_id, in iwl_dump_ini_mon_fill_header()
1827 data->cycle_cnt = iwl_get_mon_reg(fwrt, alloc_id, in iwl_dump_ini_mon_fill_header()
1829 data->cur_frag = iwl_get_mon_reg(fwrt, alloc_id, in iwl_dump_ini_mon_fill_header()
1846 u32 alloc_id = le32_to_cpu(reg->dram_alloc_id); in iwl_dump_ini_mon_dram_fill_header() local
1848 return iwl_dump_ini_mon_fill_header(fwrt, alloc_id, mon_dump, in iwl_dump_ini_mon_dram_fill_header()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtrans.c793 enum iwl_fw_ini_allocation_id alloc_id = IWL_FW_INI_ALLOCATION_ID_DBGC1; in iwl_pcie_apply_destination_ini() local
795 &trans->dbg.fw_mon_cfg[alloc_id]; in iwl_pcie_apply_destination_ini()
813 !trans->dbg.fw_mon_ini[alloc_id].num_frags) in iwl_pcie_apply_destination_ini()
816 frag = &trans->dbg.fw_mon_ini[alloc_id].frags[0]; in iwl_pcie_apply_destination_ini()
819 alloc_id); in iwl_pcie_apply_destination_ini()
/freebsd/sys/contrib/dev/rtw89/
H A Dfw.c5474 u8 alloc_id; local
5477 alloc_id = rtw89_core_acquire_bit_map(rtwdev->pkt_offload,
5479 if (alloc_id == RTW89_MAX_PKT_OFLD_NUM)
5482 *id = alloc_id;
5487 rtw89_core_release_bit_map(rtwdev->pkt_offload, alloc_id);
5493 RTW89_SET_FWCMD_PACKET_OFLD_PKT_IDX(cmd, alloc_id);
5503 cond = RTW89_FW_OFLD_WAIT_COND_PKT_OFLD(alloc_id, RTW89_PKT_OFLD_OP_ADD);
5509 alloc_id, ret);
5510 rtw89_core_release_bit_map(rtwdev->pkt_offload, alloc_id);