/linux-6.1.9/drivers/gpu/drm/i915/pxp/ |
D | intel_pxp.c | 42 struct intel_gt *pxp_to_gt(const struct intel_pxp *pxp) in pxp_to_gt() argument 44 return container_of(pxp, struct intel_gt, pxp); in pxp_to_gt() 47 bool intel_pxp_is_enabled(const struct intel_pxp *pxp) in intel_pxp_is_enabled() argument 49 return pxp->ce; in intel_pxp_is_enabled() 52 bool intel_pxp_is_active(const struct intel_pxp *pxp) in intel_pxp_is_active() argument 54 return pxp->arb_is_valid; in intel_pxp_is_active() 74 static int create_vcs_context(struct intel_pxp *pxp) in create_vcs_context() argument 77 struct intel_gt *gt = pxp_to_gt(pxp); in create_vcs_context() 99 pxp->ce = ce; in create_vcs_context() 104 static void destroy_vcs_context(struct intel_pxp *pxp) in destroy_vcs_context() argument [all …]
|
D | intel_pxp_session.c | 21 static bool intel_pxp_session_is_in_play(struct intel_pxp *pxp, u32 id) in intel_pxp_session_is_in_play() argument 23 struct intel_uncore *uncore = pxp_to_gt(pxp)->uncore; in intel_pxp_session_is_in_play() 34 static int pxp_wait_for_session_state(struct intel_pxp *pxp, u32 id, bool in_play) in pxp_wait_for_session_state() argument 36 struct intel_uncore *uncore = pxp_to_gt(pxp)->uncore; in pxp_wait_for_session_state() 57 static int pxp_create_arb_session(struct intel_pxp *pxp) in pxp_create_arb_session() argument 59 struct intel_gt *gt = pxp_to_gt(pxp); in pxp_create_arb_session() 62 pxp->arb_is_valid = false; in pxp_create_arb_session() 64 if (intel_pxp_session_is_in_play(pxp, ARB_SESSION)) { in pxp_create_arb_session() 69 ret = intel_pxp_tee_cmd_create_arb_session(pxp, ARB_SESSION); in pxp_create_arb_session() 75 ret = pxp_wait_for_session_state(pxp, ARB_SESSION, true); in pxp_create_arb_session() [all …]
|
D | intel_pxp_pm.c | 12 void intel_pxp_suspend_prepare(struct intel_pxp *pxp) in intel_pxp_suspend_prepare() argument 14 if (!intel_pxp_is_enabled(pxp)) in intel_pxp_suspend_prepare() 17 pxp->arb_is_valid = false; in intel_pxp_suspend_prepare() 19 intel_pxp_invalidate(pxp); in intel_pxp_suspend_prepare() 22 void intel_pxp_suspend(struct intel_pxp *pxp) in intel_pxp_suspend() argument 26 if (!intel_pxp_is_enabled(pxp)) in intel_pxp_suspend() 29 with_intel_runtime_pm(&pxp_to_gt(pxp)->i915->runtime_pm, wakeref) { in intel_pxp_suspend() 30 intel_pxp_fini_hw(pxp); in intel_pxp_suspend() 31 pxp->hw_state_invalidated = false; in intel_pxp_suspend() 35 void intel_pxp_resume(struct intel_pxp *pxp) in intel_pxp_resume() argument [all …]
|
D | intel_pxp.h | 16 struct intel_gt *pxp_to_gt(const struct intel_pxp *pxp); 17 bool intel_pxp_is_enabled(const struct intel_pxp *pxp); 18 bool intel_pxp_is_active(const struct intel_pxp *pxp); 20 void intel_pxp_init(struct intel_pxp *pxp); 21 void intel_pxp_fini(struct intel_pxp *pxp); 23 void intel_pxp_init_hw(struct intel_pxp *pxp); 24 void intel_pxp_fini_hw(struct intel_pxp *pxp); 26 void intel_pxp_mark_termination_in_progress(struct intel_pxp *pxp); 28 int intel_pxp_start(struct intel_pxp *pxp); 30 int intel_pxp_key_check(struct intel_pxp *pxp, [all …]
|
D | intel_pxp_tee.c | 21 return &to_gt(i915)->pxp; in i915_dev_to_pxp() 24 static int intel_pxp_tee_io_message(struct intel_pxp *pxp, in intel_pxp_tee_io_message() argument 29 struct drm_i915_private *i915 = pxp_to_gt(pxp)->i915; in intel_pxp_tee_io_message() 30 struct i915_pxp_component *pxp_component = pxp->pxp_component; in intel_pxp_tee_io_message() 33 mutex_lock(&pxp->tee_mutex); in intel_pxp_tee_io_message() 68 mutex_unlock(&pxp->tee_mutex); in intel_pxp_tee_io_message() 86 struct intel_pxp *pxp = i915_dev_to_pxp(i915_kdev); in i915_pxp_tee_component_bind() local 89 mutex_lock(&pxp->tee_mutex); in i915_pxp_tee_component_bind() 90 pxp->pxp_component = data; in i915_pxp_tee_component_bind() 91 pxp->pxp_component->tee_dev = tee_kdev; in i915_pxp_tee_component_bind() [all …]
|
D | intel_pxp_irq.c | 21 void intel_pxp_irq_handler(struct intel_pxp *pxp, u16 iir) in intel_pxp_irq_handler() argument 23 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_handler() 25 if (GEM_WARN_ON(!intel_pxp_is_enabled(pxp))) in intel_pxp_irq_handler() 36 intel_pxp_mark_termination_in_progress(pxp); in intel_pxp_irq_handler() 37 pxp->session_events |= PXP_TERMINATION_REQUEST | PXP_INVAL_REQUIRED; in intel_pxp_irq_handler() 41 pxp->session_events |= PXP_TERMINATION_COMPLETE; in intel_pxp_irq_handler() 43 if (pxp->session_events) in intel_pxp_irq_handler() 44 queue_work(system_unbound_wq, &pxp->session_work); in intel_pxp_irq_handler() 63 void intel_pxp_irq_enable(struct intel_pxp *pxp) in intel_pxp_irq_enable() argument 65 struct intel_gt *gt = pxp_to_gt(pxp); in intel_pxp_irq_enable() [all …]
|
D | intel_pxp_pm.h | 12 void intel_pxp_suspend_prepare(struct intel_pxp *pxp); 13 void intel_pxp_suspend(struct intel_pxp *pxp); 14 void intel_pxp_resume(struct intel_pxp *pxp); 15 void intel_pxp_runtime_suspend(struct intel_pxp *pxp); 17 static inline void intel_pxp_suspend_prepare(struct intel_pxp *pxp) in intel_pxp_suspend_prepare() argument 21 static inline void intel_pxp_suspend(struct intel_pxp *pxp) in intel_pxp_suspend() argument 25 static inline void intel_pxp_resume(struct intel_pxp *pxp) in intel_pxp_resume() argument 29 static inline void intel_pxp_runtime_suspend(struct intel_pxp *pxp) in intel_pxp_runtime_suspend() argument 33 static inline void intel_pxp_runtime_resume(struct intel_pxp *pxp) in intel_pxp_runtime_resume() argument 35 intel_pxp_resume(pxp); in intel_pxp_runtime_resume()
|
D | intel_pxp_debugfs.c | 19 struct intel_pxp *pxp = m->private; in pxp_info_show() local 21 bool enabled = intel_pxp_is_enabled(pxp); in pxp_info_show() 28 drm_printf(&p, "active: %s\n", str_yes_no(intel_pxp_is_active(pxp))); in pxp_info_show() 29 drm_printf(&p, "instance counter: %u\n", pxp->key_instance); in pxp_info_show() 43 struct intel_pxp *pxp = data; in pxp_terminate_set() local 44 struct intel_gt *gt = pxp_to_gt(pxp); in pxp_terminate_set() 46 if (!intel_pxp_is_active(pxp)) in pxp_terminate_set() 51 intel_pxp_irq_handler(pxp, GEN12_DISPLAY_PXP_STATE_TERMINATED_INTERRUPT); in pxp_terminate_set() 54 if (!wait_for_completion_timeout(&pxp->termination, in pxp_terminate_set() 62 void intel_pxp_debugfs_register(struct intel_pxp *pxp, struct dentry *gt_root) in intel_pxp_debugfs_register() argument [all …]
|
D | intel_pxp_irq.h | 23 void intel_pxp_irq_enable(struct intel_pxp *pxp); 24 void intel_pxp_irq_disable(struct intel_pxp *pxp); 25 void intel_pxp_irq_handler(struct intel_pxp *pxp, u16 iir); 27 static inline void intel_pxp_irq_handler(struct intel_pxp *pxp, u16 iir) in intel_pxp_irq_handler() argument
|
D | intel_pxp_tee.h | 11 int intel_pxp_tee_component_init(struct intel_pxp *pxp); 12 void intel_pxp_tee_component_fini(struct intel_pxp *pxp); 14 int intel_pxp_tee_cmd_create_arb_session(struct intel_pxp *pxp,
|
D | intel_pxp_debugfs.h | 13 void intel_pxp_debugfs_register(struct intel_pxp *pxp, struct dentry *root); 16 intel_pxp_debugfs_register(struct intel_pxp *pxp, struct dentry *root) in intel_pxp_debugfs_register() argument
|
D | intel_pxp_cmd.c | 95 int intel_pxp_terminate_session(struct intel_pxp *pxp, u32 id) in intel_pxp_terminate_session() argument 98 struct intel_context *ce = pxp->ce; in intel_pxp_terminate_session() 102 if (!intel_pxp_is_enabled(pxp)) in intel_pxp_terminate_session()
|
D | intel_pxp_cmd.h | 13 int intel_pxp_terminate_session(struct intel_pxp *pxp, u32 idx);
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_hw.c | 34 struct pxp_ptt_entry pxp; member 55 p_pool->ptts[i].pxp.offset = QED_BAR_INVALID_OFFSET; in qed_ptt_pool_alloc() 56 p_pool->ptts[i].pxp.pretend.control = 0; in qed_ptt_pool_alloc() 76 p_ptt->pxp.offset = QED_BAR_INVALID_OFFSET; in qed_ptt_invalidate() 125 return le32_to_cpu(p_ptt->pxp.offset) << 2; in qed_ptt_get_hw_addr() 156 p_ptt->pxp.offset = cpu_to_le32(new_hw_addr >> 2); in qed_ptt_set_win() 161 le32_to_cpu(p_ptt->pxp.offset)); in qed_ptt_set_win() 295 p_ptt->pxp.pretend.control = cpu_to_le16(control); in qed_fid_pretend() 296 p_ptt->pxp.pretend.fid.concrete_fid.fid = cpu_to_le16(fid); in qed_fid_pretend() 301 *(u32 *)&p_ptt->pxp.pretend); in qed_fid_pretend() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/media/ |
D | fsl-pxp.txt | 10 - compatible: should be "fsl,<soc>-pxp", where SoC can be one of imx23, imx28, 19 pxp@21cc000 { 20 compatible = "fsl,imx6ull-pxp";
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_gt_pm.c | 279 intel_pxp_resume(>->pxp); in intel_gt_resume() 315 intel_pxp_suspend_prepare(>->pxp); in intel_gt_suspend_prepare() 340 intel_pxp_suspend(>->pxp); in intel_gt_suspend_late() 368 intel_pxp_runtime_suspend(>->pxp); in intel_gt_runtime_suspend() 386 intel_pxp_runtime_resume(>->pxp); in intel_gt_runtime_resume()
|
D | intel_gt_debugfs.c | 102 intel_pxp_debugfs_register(>->pxp, root); in intel_gt_debugfs_register()
|
D | intel_gt_types.h | 264 struct intel_pxp pxp; member
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | Makefile | 315 pxp/intel_pxp.o \ 316 pxp/intel_pxp_cmd.o \ 317 pxp/intel_pxp_debugfs.o \ 318 pxp/intel_pxp_irq.o \ 319 pxp/intel_pxp_pm.o \ 320 pxp/intel_pxp_session.o \ 321 pxp/intel_pxp_tee.o
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | imx6ull.dtsi | 38 &pxp { 39 compatible = "fsl,imx6ull-pxp";
|
D | imx6dl.dtsi | 94 pxp: pxp@20f0000 { label
|
/linux-6.1.9/Documentation/devicetree/bindings/soc/imx/ |
D | fsl,imx93-media-blk-ctrl.yaml | 43 - const: pxp 78 "pxp", "lcdif", "isi", "csi", "dsi";
|
/linux-6.1.9/drivers/media/platform/nxp/ |
D | Makefile | 7 obj-$(CONFIG_VIDEO_IMX_PXP) += imx-pxp.o
|
/linux-6.1.9/drivers/misc/mei/ |
D | Makefile | 32 obj-$(CONFIG_INTEL_MEI_PXP) += pxp/
|
D | Kconfig | 64 source "drivers/misc/mei/pxp/Kconfig"
|