Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_hdcp.c166 if (hdcp_ctrl->tz_hdcp) { in msm_hdmi_hdcp_scm_wr()
267 if ((hweight32(hdcp_ctrl->aksv_lsb) + hweight32(hdcp_ctrl->aksv_msb)) in msm_hdmi_hdcp_read_validate_aksv()
273 hdcp_ctrl->aksv_lsb); in msm_hdmi_hdcp_read_validate_aksv()
276 DBG("AKSV=%02x%08x", hdcp_ctrl->aksv_msb, hdcp_ctrl->aksv_lsb); in msm_hdmi_hdcp_read_validate_aksv()
706 DBG(":BKSV=%02x%08x", hdcp_ctrl->bksv_msb, hdcp_ctrl->bksv_lsb); in msm_hdmi_hdcp_recv_bksv()
709 if ((hweight32(hdcp_ctrl->bksv_lsb) + hweight32(hdcp_ctrl->bksv_msb)) in msm_hdmi_hdcp_recv_bksv()
1403 hdcp_ctrl = kzalloc(sizeof(*hdcp_ctrl), GFP_KERNEL); in msm_hdmi_hdcp_init()
1404 if (!hdcp_ctrl) in msm_hdmi_hdcp_init()
1410 hdcp_ctrl->hdmi = hdmi; in msm_hdmi_hdcp_init()
1419 return hdcp_ctrl; in msm_hdmi_hdcp_init()
[all …]
H A Dhdmi.h75 struct hdmi_hdcp_ctrl *hdcp_ctrl; member
250 void msm_hdmi_hdcp_on(struct hdmi_hdcp_ctrl *hdcp_ctrl);
251 void msm_hdmi_hdcp_off(struct hdmi_hdcp_ctrl *hdcp_ctrl);
252 void msm_hdmi_hdcp_irq(struct hdmi_hdcp_ctrl *hdcp_ctrl);
259 static inline void msm_hdmi_hdcp_on(struct hdmi_hdcp_ctrl *hdcp_ctrl) {} in msm_hdmi_hdcp_on() argument
260 static inline void msm_hdmi_hdcp_off(struct hdmi_hdcp_ctrl *hdcp_ctrl) {} in msm_hdmi_hdcp_off() argument
261 static inline void msm_hdmi_hdcp_irq(struct hdmi_hdcp_ctrl *hdcp_ctrl) {} in msm_hdmi_hdcp_irq() argument
H A Dhdmi_bridge.c159 if (hdmi->hdcp_ctrl) in msm_hdmi_bridge_pre_enable()
160 msm_hdmi_hdcp_on(hdmi->hdcp_ctrl); in msm_hdmi_bridge_pre_enable()
169 if (hdmi->hdcp_ctrl) in msm_hdmi_bridge_post_disable()
170 msm_hdmi_hdcp_off(hdmi->hdcp_ctrl); in msm_hdmi_bridge_post_disable()
H A Dhdmi.c55 if (hdmi->hdcp_ctrl) in msm_hdmi_irq()
56 msm_hdmi_hdcp_irq(hdmi->hdcp_ctrl); in msm_hdmi_irq()
138 hdmi->hdcp_ctrl = msm_hdmi_hdcp_init(hdmi); in msm_hdmi_init()
139 if (IS_ERR(hdmi->hdcp_ctrl)) { in msm_hdmi_init()
141 hdmi->hdcp_ctrl = NULL; in msm_hdmi_init()