Home
last modified time | relevance | path

Searched refs:prph_scratch (Results 1 – 4 of 4) sorted by relevance

/src/sys/contrib/dev/iwlwifi/pcie/
H A Dctxt-info-v2.c106 struct iwl_prph_scratch *prph_scratch; in iwl_pcie_ctxt_info_v2_alloc() local
145 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch), in iwl_pcie_ctxt_info_v2_alloc()
148 if (!prph_scratch) in iwl_pcie_ctxt_info_v2_alloc()
151 prph_sc_ctrl = &prph_scratch->ctrl_cfg; in iwl_pcie_ctxt_info_v2_alloc()
156 prph_sc_ctrl->version.size = cpu_to_le16(sizeof(*prph_scratch) / 4); in iwl_pcie_ctxt_info_v2_alloc()
193 ret = iwl_pcie_init_fw_sec(trans, img, &prph_scratch->dram.common); in iwl_pcie_ctxt_info_v2_alloc()
235 BUILD_BUG_ON(offsetofend(typeof(*prph_scratch), dram.common) + in iwl_pcie_ctxt_info_v2_alloc()
236 sizeof(prph_scratch->dram.fseq_img) != in iwl_pcie_ctxt_info_v2_alloc()
237 sizeof(*prph_scratch)); in iwl_pcie_ctxt_info_v2_alloc()
240 cpu_to_le32(sizeof(*prph_scratch)); in iwl_pcie_ctxt_info_v2_alloc()
[all …]
/src/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtrans-gen2.c627 trans_pcie->prph_scratch->ctrl_cfg.control.control_flags &= in iwl_trans_pcie_gen2_start_fw()
H A Dinternal.h419 struct iwl_prph_scratch *prph_scratch; member
/src/sys/dev/iwx/
H A Dif_iwx.c1129 struct iwx_prph_scratch *prph_scratch; in iwx_ctxt_info_gen3_init() local
1152 prph_scratch = sc->prph_scratch_dma.vaddr; in iwx_ctxt_info_gen3_init()
1153 memset(prph_scratch, 0, sizeof(*prph_scratch)); in iwx_ctxt_info_gen3_init()
1154 prph_sc_ctrl = &prph_scratch->ctrl_cfg; in iwx_ctxt_info_gen3_init()
1157 prph_sc_ctrl->version.size = htole16(sizeof(*prph_scratch) / 4); in iwx_ctxt_info_gen3_init()
1171 err = iwx_init_fw_sec(sc, fws, &prph_scratch->dram); in iwx_ctxt_info_gen3_init()
1183 scratch_size = sizeof(*prph_scratch); in iwx_ctxt_info_gen3_init()
3928 struct iwx_prph_scratch *prph_scratch; in iwx_ctxt_info_gen3_set_pnvm() local
3931 prph_scratch = sc->prph_scratch_dma.vaddr; in iwx_ctxt_info_gen3_set_pnvm()
3932 prph_sc_ctrl = &prph_scratch->ctrl_cfg; in iwx_ctxt_info_gen3_set_pnvm()