Home
last modified time | relevance | path

Searched refs:hdcp_ctrl (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c156 static int msm_hdmi_hdcp_scm_wr(struct hdmi_hdcp_ctrl *hdcp_ctrl, u32 *preg, in msm_hdmi_hdcp_scm_wr() argument
159 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_scm_wr()
166 if (hdcp_ctrl->tz_hdcp) { in msm_hdmi_hdcp_scm_wr()
196 void msm_hdmi_hdcp_irq(struct hdmi_hdcp_ctrl *hdcp_ctrl) in msm_hdmi_hdcp_irq() argument
198 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_irq()
221 if (HDCP_STATE_AUTHENTICATING == hdcp_ctrl->hdcp_state) { in msm_hdmi_hdcp_irq()
222 set_bit(AUTH_RESULT_RDY_EV, &hdcp_ctrl->auth_event); in msm_hdmi_hdcp_irq()
223 wake_up_all(&hdcp_ctrl->auth_event_queue); in msm_hdmi_hdcp_irq()
231 if (HDCP_STATE_AUTHENTICATED == hdcp_ctrl->hdcp_state) in msm_hdmi_hdcp_irq()
232 queue_work(hdmi->workq, &hdcp_ctrl->hdcp_reauth_work); in msm_hdmi_hdcp_irq()
[all …]
Dhdmi.h73 struct hdmi_hdcp_ctrl *hdcp_ctrl; member
251 void msm_hdmi_hdcp_on(struct hdmi_hdcp_ctrl *hdcp_ctrl);
252 void msm_hdmi_hdcp_off(struct hdmi_hdcp_ctrl *hdcp_ctrl);
253 void msm_hdmi_hdcp_irq(struct hdmi_hdcp_ctrl *hdcp_ctrl);
260 static inline void msm_hdmi_hdcp_on(struct hdmi_hdcp_ctrl *hdcp_ctrl) {} in msm_hdmi_hdcp_on() argument
261 static inline void msm_hdmi_hdcp_off(struct hdmi_hdcp_ctrl *hdcp_ctrl) {} in msm_hdmi_hdcp_off() argument
262 static inline void msm_hdmi_hdcp_irq(struct hdmi_hdcp_ctrl *hdcp_ctrl) {} in msm_hdmi_hdcp_irq() argument
Dhdmi_bridge.c165 if (hdmi->hdcp_ctrl) in msm_hdmi_bridge_pre_enable()
166 msm_hdmi_hdcp_on(hdmi->hdcp_ctrl); in msm_hdmi_bridge_pre_enable()
183 if (hdmi->hdcp_ctrl) in msm_hdmi_bridge_post_disable()
184 msm_hdmi_hdcp_off(hdmi->hdcp_ctrl); in msm_hdmi_bridge_post_disable()
Dhdmi.c52 if (hdmi->hdcp_ctrl) in msm_hdmi_irq()
53 msm_hdmi_hdcp_irq(hdmi->hdcp_ctrl); in msm_hdmi_irq()
282 hdmi->hdcp_ctrl = msm_hdmi_hdcp_init(hdmi); in msm_hdmi_init()
283 if (IS_ERR(hdmi->hdcp_ctrl)) { in msm_hdmi_init()
285 hdmi->hdcp_ctrl = NULL; in msm_hdmi_init()