Home
last modified time | relevance | path

Searched refs:hdcp (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp_log.h39 HDCP_LOG_ERR(hdcp, \
46 HDCP_LOG_VER(hdcp, \
50 HDCP_LOG_VER(hdcp, \
54 HDCP_LOG_VER(hdcp, \
58 HDCP_LOG_VER(hdcp, \
87 HDCP_LOG_FSM(hdcp, "[Link %d] --> TIMEOUT", hdcp->config.index)
89 HDCP_LOG_FSM(hdcp, "[Link %d] --> CPIRQ", hdcp->config.index)
99 HDCP_LOG_DDC(hdcp, "[Link %d] Read %s%s", hdcp->config.index, \
107 hdcp->buf); \
124 HDCP_LOG_TOP(hdcp, "[Link %d]\treset connection", hdcp->config.index)
[all …]
A Dhdcp_ddc.c162 success = hdcp->config.ddc.funcs.read_dpcd(hdcp->config.ddc.handle, in read()
239 hdcp->buf, in write()
264 if (is_dp_hdcp(hdcp)) in mod_hdcp_read_bstatus()
287 if (is_dp_hdcp(hdcp)) in mod_hdcp_read_ksvlist()
333 if (is_dp_hdcp(hdcp)) in mod_hdcp_read_binfo()
368 if (is_dp_hdcp(hdcp)) in mod_hdcp_read_hdcp2version()
533 if (is_dp_hdcp(hdcp)) in mod_hdcp_write_ake_init()
548 if (is_dp_hdcp(hdcp)) in mod_hdcp_write_no_stored_km()
563 if (is_dp_hdcp(hdcp)) in mod_hdcp_write_stored_km()
578 if (is_dp_hdcp(hdcp)) in mod_hdcp_write_lc_init()
[all …]
A Dhdcp.c40 if (is_hdcp1(hdcp)) { in push_error_status()
138 if (is_dp_hdcp(hdcp)) in transition()
193 if (is_hdcp1(hdcp)) { in reset_authentication()
249 memset(&hdcp->connection, 0, sizeof(hdcp->connection)); in reset_connection()
265 if (is_hdcp1(hdcp)) in update_display_adjustments()
357 memset(&hdcp->connection.trace, 0, sizeof(hdcp->connection.trace)); in mod_hdcp_add_display()
403 memset(&hdcp->connection.trace, 0, sizeof(hdcp->connection.trace)); in mod_hdcp_remove_display()
467 memset(&hdcp->connection.trace, 0, sizeof(hdcp->connection.trace)); in mod_hdcp_update_display()
504 if (is_hdcp1(hdcp)) { in mod_hdcp_query_display()
547 exec_status = execution(hdcp, &event_ctx, &hdcp->auth.trans_input); in mod_hdcp_process_event()
[all …]
A Dhdcp_log.c57 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_log_ddc_trace()
59 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_log_ddc_trace()
64 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, in mod_hdcp_log_ddc_trace()
66 HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv, in mod_hdcp_log_ddc_trace()
68 HDCP_DDC_WRITE_TRACE(hdcp, "AINFO", &hdcp->auth.msg.hdcp1.ainfo, in mod_hdcp_log_ddc_trace()
76 HDCP_DDC_READ_TRACE(hdcp, "KSVLIST", hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_log_ddc_trace()
78 HDCP_DDC_READ_TRACE(hdcp, "V'", hdcp->auth.msg.hdcp1.vp, in mod_hdcp_log_ddc_trace()
84 HDCP_DDC_READ_TRACE(hdcp, "Rx Caps", hdcp->auth.msg.hdcp2.rxcaps_dp, in mod_hdcp_log_ddc_trace()
96 HDCP_DDC_READ_TRACE(hdcp, "H'", hdcp->auth.msg.hdcp2.ake_h_prime, in mod_hdcp_log_ddc_trace()
101 HDCP_DDC_WRITE_TRACE(hdcp, "LC Init", hdcp->auth.msg.hdcp2.lc_init, in mod_hdcp_log_ddc_trace()
[all …]
A Dhdcp2_execution.c34 if (is_dp_hdcp(hdcp)) in check_receiver_id_list_ready()
48 if (is_dp_hdcp(hdcp)) in check_hdcp2_capable()
61 struct mod_hdcp *hdcp) in check_reauthentication_request() argument
65 if (is_dp_hdcp(hdcp)) in check_reauthentication_request()
77 struct mod_hdcp *hdcp) in check_link_integrity_failure_dp() argument
89 if (is_dp_hdcp(hdcp)) { in check_ake_cert_available()
113 if (is_dp_hdcp(hdcp)) { in check_h_prime_available()
137 if (is_dp_hdcp(hdcp)) { in check_pairing_info_available()
160 if (is_dp_hdcp(hdcp)) in poll_l_prime_available()
219 return ((1 + get_device_count(hdcp)) < get_active_display_count(hdcp)) ? in check_device_count()
[all …]
A Dhdcp.h341 struct mod_hdcp *hdcp);
354 struct mod_hdcp *hdcp);
356 struct mod_hdcp *hdcp);
358 struct mod_hdcp *hdcp);
410 return hdcp->state.id; in current_state()
416 memset(&hdcp->state, 0, sizeof(hdcp->state)); in set_state_id()
417 hdcp->state.id = id; in set_state_id()
458 return (is_in_hdcp1_states(hdcp) || is_in_hdcp1_dp_states(hdcp)); in is_hdcp1()
463 return (is_in_hdcp2_states(hdcp) || is_in_hdcp2_dp_states(hdcp)); in is_hdcp2()
536 struct mod_hdcp *hdcp) in get_first_active_display() argument
[all …]
A Dhdcp1_execution.c34 memcpy(bksv, hdcp->auth.msg.hdcp1.bksv, sizeof(hdcp->auth.msg.hdcp1.bksv)); in validate_bksv()
47 if (is_dp_hdcp(hdcp)) in check_ksv_ready()
66 if (is_dp_hdcp(hdcp)) { in check_r0p_available_dp()
98 if (is_dp_hdcp(hdcp)) in check_no_max_cascade()
113 if (is_dp_hdcp(hdcp)) in check_no_max_devs()
143 return ((1 + get_device_count(hdcp)) < get_active_display_count(hdcp)) ? in check_device_count()
161 hdcp, "bksv_read")) in wait_for_active_rx()
188 hdcp, "an_write")) in exchange_ksvs()
196 hdcp, "bksv_read")) in exchange_ksvs()
226 hdcp, "r0p_read")) in computations_validate_rx_test_for_repeater()
[all …]
A Dhdcp2_transition.c37 switch (current_state(hdcp)) { in mod_hdcp_hdcp2_transition()
78 increment_stay_counter(hdcp); in mod_hdcp_hdcp2_transition()
120 increment_stay_counter(hdcp); in mod_hdcp_hdcp2_transition()
142 increment_stay_counter(hdcp); in mod_hdcp_hdcp2_transition()
172 increment_stay_counter(hdcp); in mod_hdcp_hdcp2_transition()
202 increment_stay_counter(hdcp); in mod_hdcp_hdcp2_transition()
258 increment_stay_counter(hdcp); in mod_hdcp_hdcp2_transition()
276 increment_stay_counter(hdcp); in mod_hdcp_hdcp2_transition()
378 switch (current_state(hdcp)) { in mod_hdcp_hdcp2_dp_transition()
511 increment_stay_counter(hdcp); in mod_hdcp_hdcp2_dp_transition()
[all …]
A Dhdcp_psp.c148 if (is_dp_hdcp(hdcp)) in add_display_to_topology_v2()
195 if (is_dp_hdcp(hdcp)) in add_display_to_topology_v3()
312 hdcp->displays[i].state = in mod_hdcp_hdcp1_destroy_session()
315 hdcp, hdcp->displays[i].index); in mod_hdcp_hdcp1_destroy_session()
411 is_dp_hdcp(hdcp) ? hdcp->auth.msg.hdcp1.binfo_dp : hdcp->auth.msg.hdcp1.bstatus; in mod_hdcp_hdcp1_validate_ksvlist_vp()
462 HDCP_HDCP1_ENABLED_TRACE(hdcp, hdcp->displays[i].index); in mod_hdcp_hdcp1_enable_dp_stream_encryption()
564 hdcp->displays[i].state = in mod_hdcp_hdcp2_destroy_session()
567 hdcp, hdcp->displays[i].index); in mod_hdcp_hdcp2_destroy_session()
800 if (is_dp_hdcp(hdcp)) in mod_hdcp_hdcp2_prepare_eks()
815 if (is_dp_hdcp(hdcp)) { in mod_hdcp_hdcp2_prepare_eks()
[all …]
A Dhdcp1_transition.c37 switch (current_state(hdcp)) { in mod_hdcp_hdcp1_transition()
42 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_transition()
64 set_state_id(hdcp, output, in mod_hdcp_hdcp1_transition()
92 set_auth_complete(hdcp, output); in mod_hdcp_hdcp1_transition()
103 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_transition()
116 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_transition()
140 set_auth_complete(hdcp, output); in mod_hdcp_hdcp1_transition()
160 switch (current_state(hdcp)) { in mod_hdcp_hdcp1_dp_transition()
200 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_dp_transition()
215 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_dp_transition()
[all …]
A DMakefile26 HDCP = hdcp_ddc.o hdcp_log.o hdcp_psp.o hdcp.o \
30 AMD_DAL_HDCP = $(addprefix $(AMDDALPATH)/modules/hdcp/,$(HDCP))
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_hdcp.c128 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp_prepare_streams() local
205 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp2_capable() local
735 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp_auth() local
907 struct intel_hdcp *hdcp = &connector->hdcp; in _intel_hdcp_disable() local
962 struct intel_hdcp *hdcp = &connector->hdcp; in _intel_hdcp_enable() local
1014 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp_update_value() local
1042 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp_check_link() local
1444 struct intel_hdcp *hdcp = &connector->hdcp; in hdcp2_authentication_key_exchange() local
1532 struct intel_hdcp *hdcp = &connector->hdcp; in hdcp2_locality_check() local
1568 struct intel_hdcp *hdcp = &connector->hdcp; in hdcp2_session_key_exchange() local
[all …]
A Dintel_dp_hdcp.c43 #define C (hdcp->cp_irq_count_cached != atomic_read(&hdcp->cp_irq_count)) in intel_dp_hdcp_wait_for_cp_irq()
391 struct intel_hdcp *hdcp = &dp->attached_connector->hdcp; in intel_dp_hdcp2_wait_for_msg() local
413 intel_dp_hdcp_wait_for_cp_irq(hdcp, timeout); in intel_dp_hdcp2_wait_for_msg()
502 struct intel_hdcp *hdcp = &dp->attached_connector->hdcp; in intel_dp_hdcp2_read_msg() local
520 hdcp->cp_irq_count_cached = atomic_read(&hdcp->cp_irq_count); in intel_dp_hdcp2_read_msg()
671 struct intel_hdcp *hdcp = &connector->hdcp; in intel_dp_mst_toggle_hdcp_stream_select() local
675 hdcp->stream_transcoder, enable, in intel_dp_mst_toggle_hdcp_stream_select()
689 struct intel_hdcp *hdcp = &connector->hdcp; in intel_dp_mst_hdcp_stream_encryption() local
724 struct intel_hdcp *hdcp = &connector->hdcp; in intel_dp_mst_hdcp2_stream_encryption() local
756 struct intel_hdcp *hdcp = &connector->hdcp; in intel_dp_mst_hdcp2_check_link() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/bridge/cadence/
A Dcdns-mhdp8546-hdcp.c437 mutex_lock(&mhdp->hdcp.mutex); in cdns_mhdp_hdcp_check_link()
462 mutex_unlock(&mhdp->hdcp.mutex); in cdns_mhdp_hdcp_check_link()
474 hdcp); in cdns_mhdp_hdcp_check_work()
488 hdcp); in cdns_mhdp_hdcp_prop_work()
493 mutex_lock(&mhdp->hdcp.mutex); in cdns_mhdp_hdcp_prop_work()
498 mutex_unlock(&mhdp->hdcp.mutex); in cdns_mhdp_hdcp_prop_work()
534 mutex_lock(&mhdp->hdcp.mutex); in cdns_mhdp_hdcp_enable()
545 mutex_unlock(&mhdp->hdcp.mutex); in cdns_mhdp_hdcp_enable()
553 mutex_lock(&mhdp->hdcp.mutex); in cdns_mhdp_hdcp_disable()
559 mutex_unlock(&mhdp->hdcp.mutex); in cdns_mhdp_hdcp_disable()
[all …]
A DMakefile6 cdns-mhdp8546-y := cdns-mhdp8546-core.o cdns-mhdp8546-hdcp.o
/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/inc/
A Dmod_hdcp.h281 enum mod_hdcp_status mod_hdcp_setup(struct mod_hdcp *hdcp,
285 enum mod_hdcp_status mod_hdcp_teardown(struct mod_hdcp *hdcp);
288 enum mod_hdcp_status mod_hdcp_add_display(struct mod_hdcp *hdcp,
293 enum mod_hdcp_status mod_hdcp_remove_display(struct mod_hdcp *hdcp,
297 enum mod_hdcp_status mod_hdcp_update_display(struct mod_hdcp *hdcp,
304 enum mod_hdcp_status mod_hdcp_query_display(struct mod_hdcp *hdcp,
308 enum mod_hdcp_status mod_hdcp_reset_connection(struct mod_hdcp *hdcp,
312 enum mod_hdcp_status mod_hdcp_process_event(struct mod_hdcp *hdcp,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_hdcp.c256 mod_hdcp_reset_connection(&hdcp_w->hdcp, &hdcp_w->output); in hdcp_reset_display()
291 mod_hdcp_process_event(&hdcp_work->hdcp, MOD_HDCP_EVENT_CALLBACK, in event_callback()
439 mod_hdcp_process_event(&hdcp_work->hdcp, in event_watchdog_timer()
486 struct mod_hdcp hdcp = hdcp_work->hdcp; in enable_assr() local
487 struct psp_context *psp = hdcp.config.psp.handle; in enable_assr()
744 hdcp_work[i].hdcp.config.psp.handle = &adev->psp; in hdcp_create_workqueue()
749 hdcp_work[i].hdcp.config.psp.caps.dtm_v3_supported = 1; in hdcp_create_workqueue()
751 hdcp_work[i].hdcp.config.ddc.funcs.write_i2c = lp_write_i2c; in hdcp_create_workqueue()
752 hdcp_work[i].hdcp.config.ddc.funcs.read_i2c = lp_read_i2c; in hdcp_create_workqueue()
753 hdcp_work[i].hdcp.config.ddc.funcs.write_dpcd = lp_write_dpcd; in hdcp_create_workqueue()
[all …]
A Damdgpu_dm_hdcp.h49 struct mod_hdcp hdcp; member
/linux-6.3-rc2/Documentation/devicetree/bindings/display/
A Dallwinner,sun8i-a83t-dw-hdmi.yaml64 - const: hdcp
65 - const: hdcp-bus
77 - const: hdcp
227 clock-names = "iahb", "isfr", "tmds", "cec", "hdcp",
228 "hdcp-bus";
230 reset-names = "ctrl", "hdcp";
/linux-6.3-rc2/drivers/gpu/drm/amd/display/
A DMakefile40 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/hdcp
49 DAL_LIBS += modules/hdcp
/linux-6.3-rc2/Documentation/driver-api/mei/
A Dhdcp.rst24 .. kernel-doc:: drivers/misc/mei/hdcp/mei_hdcp.c
30 .. kernel-doc:: drivers/misc/mei/hdcp/mei_hdcp.c
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/hdcp/
A DMakefile26 AMD_DAL_HDCP_MSG = $(addprefix $(AMDDALPATH)/dc/hdcp/,$(HDCP_MSG))
/linux-6.3-rc2/drivers/misc/mei/
A DMakefile31 obj-$(CONFIG_INTEL_MEI_HDCP) += hdcp/
A DKconfig63 source "drivers/misc/mei/hdcp/Kconfig"
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A DMakefile60 DC_LIBS += hdcp

Completed in 62 milliseconds

12