Lines Matching refs:prph_scratch
106 struct iwl_prph_scratch *prph_scratch;
145 prph_scratch = dma_alloc_coherent(trans->dev, sizeof(*prph_scratch),
148 if (!prph_scratch)
151 prph_sc_ctrl = &prph_scratch->ctrl_cfg;
156 prph_sc_ctrl->version.size = cpu_to_le16(sizeof(*prph_scratch) / 4);
193 ret = iwl_pcie_init_fw_sec(trans, img, &prph_scratch->dram.common);
235 BUILD_BUG_ON(offsetofend(typeof(*prph_scratch), dram.common) +
236 sizeof(prph_scratch->dram.fseq_img) !=
237 sizeof(*prph_scratch));
240 cpu_to_le32(sizeof(*prph_scratch));
243 cpu_to_le32(offsetofend(typeof(*prph_scratch),
263 trans_pcie->prph_scratch = prph_scratch;
290 sizeof(*prph_scratch),
291 prph_scratch,
333 /* ctxt_info_v2 and prph_scratch are still needed for PNVM load */
340 dma_free_coherent(trans->dev, sizeof(*trans_pcie->prph_scratch),
341 trans_pcie->prph_scratch,
344 trans_pcie->prph_scratch = NULL;
448 &trans_pcie->prph_scratch->ctrl_cfg;
503 &trans_pcie->prph_scratch->ctrl_cfg;
516 &trans_pcie->prph_scratch->ctrl_cfg;
542 &trans_pcie->prph_scratch->ctrl_cfg;
585 &trans_pcie->prph_scratch->ctrl_cfg;
598 &trans_pcie->prph_scratch->ctrl_cfg;