Lines Matching refs:prph_scratch

106 	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()
243 cpu_to_le32(offsetofend(typeof(*prph_scratch), in iwl_pcie_ctxt_info_v2_alloc()
263 trans_pcie->prph_scratch = prph_scratch; in iwl_pcie_ctxt_info_v2_alloc()
290 sizeof(*prph_scratch), in iwl_pcie_ctxt_info_v2_alloc()
291 prph_scratch, in iwl_pcie_ctxt_info_v2_alloc()
340 dma_free_coherent(trans->dev, sizeof(*trans_pcie->prph_scratch), in iwl_pcie_ctxt_info_v2_free()
341 trans_pcie->prph_scratch, in iwl_pcie_ctxt_info_v2_free()
344 trans_pcie->prph_scratch = NULL; in iwl_pcie_ctxt_info_v2_free()
448 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_trans_pcie_ctx_info_v2_load_pnvm()
503 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_pcie_set_pnvm_segments()
516 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_pcie_set_contig_pnvm()
542 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_trans_pcie_ctx_info_v2_load_reduce_power()
585 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_pcie_set_reduce_power_segments()
598 &trans_pcie->prph_scratch->ctrl_cfg; in iwl_pcie_set_contig_reduce_power()