Lines Matching refs:prph_scratch
126 struct iwl_prph_scratch *prph_scratch; in iwl_pcie_ctxt_info_gen3_init() local
156 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init()
159 if (!prph_scratch) in iwl_pcie_ctxt_info_gen3_init()
162 prph_sc_ctrl = &prph_scratch->ctrl_cfg; in iwl_pcie_ctxt_info_gen3_init()
167 prph_sc_ctrl->version.size = cpu_to_le16(sizeof(*prph_scratch) / 4); in iwl_pcie_ctxt_info_gen3_init()
181 ret = iwl_pcie_init_fw_sec(trans, fw, &prph_scratch->dram); in iwl_pcie_ctxt_info_gen3_init()
212 cpu_to_le32(sizeof(*prph_scratch)); in iwl_pcie_ctxt_info_gen3_init()
234 trans_pcie->prph_scratch = prph_scratch; in iwl_pcie_ctxt_info_gen3_init()
290 sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init()
291 prph_scratch, in iwl_pcie_ctxt_info_gen3_init()
312 dma_free_coherent(trans->dev, sizeof(*trans_pcie->prph_scratch), in iwl_pcie_ctxt_info_gen3_free()
313 trans_pcie->prph_scratch, in iwl_pcie_ctxt_info_gen3_free()
316 trans_pcie->prph_scratch = NULL; in iwl_pcie_ctxt_info_gen3_free()
330 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_trans_pcie_ctx_info_gen3_set_pnvm()