Lines Matching refs:prph_scratch
83 struct iwl_prph_scratch *prph_scratch; in iwl_pcie_ctxt_info_gen3_init() local
112 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init()
115 if (!prph_scratch) in iwl_pcie_ctxt_info_gen3_init()
118 prph_sc_ctrl = &prph_scratch->ctrl_cfg; in iwl_pcie_ctxt_info_gen3_init()
123 prph_sc_ctrl->version.size = cpu_to_le16(sizeof(*prph_scratch) / 4); in iwl_pcie_ctxt_info_gen3_init()
140 ret = iwl_pcie_init_fw_sec(trans, fw, &prph_scratch->dram); in iwl_pcie_ctxt_info_gen3_init()
178 cpu_to_le32(sizeof(*prph_scratch)); in iwl_pcie_ctxt_info_gen3_init()
196 trans_pcie->prph_scratch = prph_scratch; in iwl_pcie_ctxt_info_gen3_init()
234 sizeof(*prph_scratch), in iwl_pcie_ctxt_info_gen3_init()
235 prph_scratch, in iwl_pcie_ctxt_info_gen3_init()
267 dma_free_coherent(trans->dev, sizeof(*trans_pcie->prph_scratch), in iwl_pcie_ctxt_info_gen3_free()
268 trans_pcie->prph_scratch, in iwl_pcie_ctxt_info_gen3_free()
271 trans_pcie->prph_scratch = NULL; in iwl_pcie_ctxt_info_gen3_free()
285 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_trans_pcie_ctx_info_gen3_set_pnvm()
318 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_trans_pcie_ctx_info_gen3_set_reduce_power()