Searched refs:hdcp (Results 1 - 25 of 27) sorted by relevance

12

/openbsd-current/sys/dev/pci/drm/amd/display/modules/hdcp/
H A Dhdcp_log.h29 #define HDCP_LOG_ERR(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__)
30 #define HDCP_LOG_VER(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__)
31 #define HDCP_LOG_FSM(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__)
32 #define HDCP_LOG_TOP(hdcp, ...) pr_debug("[HDCP_TOP]:"__VA_ARGS__)
33 #define HDCP_LOG_DDC(hdcp, ...) pr_debug("[HDCP_DDC]:"__VA_ARGS__)
36 #define HDCP_ERROR_TRACE(hdcp, status) \
37 HDCP_LOG_ERR(hdcp, \
39 hdcp->config.index, \
41 mod_hdcp_state_id_to_str(hdcp->state.id), \
42 hdcp
[all...]
H A Dhdcp_log.c27 #include "hdcp.h"
54 void mod_hdcp_log_ddc_trace(struct mod_hdcp *hdcp) argument
56 if (is_hdcp1(hdcp)) {
57 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv,
58 sizeof(hdcp->auth.msg.hdcp1.bksv));
59 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps,
60 sizeof(hdcp->auth.msg.hdcp1.bcaps));
61 HDCP_DDC_READ_TRACE(hdcp, "BSTATU
[all...]
H A Dhdcp.c26 #include "hdcp.h"
28 static void push_error_status(struct mod_hdcp *hdcp, argument
31 struct mod_hdcp_trace *trace = &hdcp->connection.trace;
35 trace->errors[trace->error_count].state_id = hdcp->state.id;
37 HDCP_ERROR_TRACE(hdcp, status);
40 if (is_hdcp1(hdcp)) {
41 hdcp->connection.hdcp1_retry_count++;
42 if (hdcp->connection.hdcp1_retry_count == MAX_NUM_OF_ATTEMPTS)
43 hdcp->connection.link.adjust.hdcp1.disable = 1;
44 } else if (is_hdcp2(hdcp)) {
51 is_cp_desired_hdcp1(struct mod_hdcp *hdcp) argument
71 is_cp_desired_hdcp2(struct mod_hdcp *hdcp) argument
91 execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, union mod_hdcp_transition_input *input) argument
127 transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, union mod_hdcp_transition_input *input, struct mod_hdcp_output *output) argument
188 reset_authentication(struct mod_hdcp *hdcp, struct mod_hdcp_output *output) argument
234 reset_connection(struct mod_hdcp *hdcp, struct mod_hdcp_output *output) argument
254 update_display_adjustments(struct mod_hdcp *hdcp, struct mod_hdcp_display *display, struct mod_hdcp_display_adjustment *adj) argument
289 mod_hdcp_setup(struct mod_hdcp *hdcp, struct mod_hdcp_config *config) argument
304 mod_hdcp_teardown(struct mod_hdcp *hdcp) argument
319 mod_hdcp_add_display(struct mod_hdcp *hdcp, struct mod_hdcp_link *link, struct mod_hdcp_display *display, struct mod_hdcp_output *output) argument
378 mod_hdcp_remove_display(struct mod_hdcp *hdcp, uint8_t index, struct mod_hdcp_output *output) argument
421 mod_hdcp_update_display(struct mod_hdcp *hdcp, uint8_t index, struct mod_hdcp_link_adjustment *link_adjust, struct mod_hdcp_display_adjustment *display_adjust, struct mod_hdcp_output *output) argument
484 mod_hdcp_query_display(struct mod_hdcp *hdcp, uint8_t index, struct mod_hdcp_display_query *query) argument
522 mod_hdcp_reset_connection(struct mod_hdcp *hdcp, struct mod_hdcp_output *output) argument
535 mod_hdcp_process_event(struct mod_hdcp *hdcp, enum mod_hdcp_event event, struct mod_hdcp_output *output) argument
[all...]
H A Dhdcp1_execution.c26 #include "hdcp.h"
28 static inline enum mod_hdcp_status validate_bksv(struct mod_hdcp *hdcp) argument
34 memcpy(bksv, hdcp->auth.msg.hdcp1.bksv, sizeof(hdcp->auth.msg.hdcp1.bksv));
45 static inline enum mod_hdcp_status check_ksv_ready(struct mod_hdcp *hdcp) argument
47 if (is_dp_hdcp(hdcp))
48 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ?
51 return (hdcp->auth.msg.hdcp1.bcaps & DRM_HDCP_DDC_BCAPS_KSV_FIFO_READY) ?
56 static inline enum mod_hdcp_status check_hdcp_capable_dp(struct mod_hdcp *hdcp) argument
58 return (hdcp
63 check_r0p_available_dp(struct mod_hdcp *hdcp) argument
77 check_link_integrity_dp( struct mod_hdcp *hdcp) argument
86 check_no_reauthentication_request_dp( struct mod_hdcp *hdcp) argument
94 check_no_max_cascade(struct mod_hdcp *hdcp) argument
109 check_no_max_devs(struct mod_hdcp *hdcp) argument
124 get_device_count(struct mod_hdcp *hdcp) argument
131 check_device_count(struct mod_hdcp *hdcp) argument
148 wait_for_active_rx(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
171 exchange_ksvs(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
212 computations_validate_rx_test_for_repeater( struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
255 authenticated(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
273 wait_for_ready(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
313 read_ksv_list(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
377 determine_rx_hdcp_capable_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
400 wait_for_r0_prime_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
424 authenticated_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
451 mod_hdcp_execute_and_set( mod_hdcp_action func, uint8_t *flag, enum mod_hdcp_status *status, struct mod_hdcp *hdcp, char *str) argument
466 mod_hdcp_hdcp1_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
500 mod_hdcp_hdcp1_dp_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument
[all...]
H A Dhdcp_ddc.c26 #include "hdcp.h"
152 static enum mod_hdcp_status read(struct mod_hdcp *hdcp, argument
161 if (is_dp_hdcp(hdcp)) {
164 success = hdcp->config.ddc.funcs.read_dpcd(hdcp->config.ddc.handle,
176 success = hdcp->config.ddc.funcs.read_i2c(
177 hdcp->config.ddc.handle,
187 static enum mod_hdcp_status read_repeatedly(struct mod_hdcp *hdcp, argument
199 status = read(hdcp, msg_id, buf + data_offset, cur_size);
211 static enum mod_hdcp_status write(struct mod_hdcp *hdcp, argument
248 mod_hdcp_read_bksv(struct mod_hdcp *hdcp) argument
255 mod_hdcp_read_bcaps(struct mod_hdcp *hdcp) argument
262 mod_hdcp_read_bstatus(struct mod_hdcp *hdcp) argument
277 mod_hdcp_read_r0p(struct mod_hdcp *hdcp) argument
285 mod_hdcp_read_ksvlist(struct mod_hdcp *hdcp) argument
301 mod_hdcp_read_vp(struct mod_hdcp *hdcp) argument
331 mod_hdcp_read_binfo(struct mod_hdcp *hdcp) argument
345 mod_hdcp_write_aksv(struct mod_hdcp *hdcp) argument
352 mod_hdcp_write_ainfo(struct mod_hdcp *hdcp) argument
359 mod_hdcp_write_an(struct mod_hdcp *hdcp) argument
366 mod_hdcp_read_hdcp2version(struct mod_hdcp *hdcp) argument
380 mod_hdcp_read_rxcaps(struct mod_hdcp *hdcp) argument
394 mod_hdcp_read_rxstatus(struct mod_hdcp *hdcp) argument
410 mod_hdcp_read_ake_cert(struct mod_hdcp *hdcp) argument
428 mod_hdcp_read_h_prime(struct mod_hdcp *hdcp) argument
446 mod_hdcp_read_pairing_info(struct mod_hdcp *hdcp) argument
464 mod_hdcp_read_l_prime(struct mod_hdcp *hdcp) argument
482 mod_hdcp_read_rx_id_list(struct mod_hdcp *hdcp) argument
513 mod_hdcp_read_stream_ready(struct mod_hdcp *hdcp) argument
531 mod_hdcp_write_ake_init(struct mod_hdcp *hdcp) argument
546 mod_hdcp_write_no_stored_km(struct mod_hdcp *hdcp) argument
561 mod_hdcp_write_stored_km(struct mod_hdcp *hdcp) argument
576 mod_hdcp_write_lc_init(struct mod_hdcp *hdcp) argument
591 mod_hdcp_write_eks(struct mod_hdcp *hdcp) argument
608 mod_hdcp_write_repeater_auth_ack(struct mod_hdcp *hdcp) argument
623 mod_hdcp_write_stream_manage(struct mod_hdcp *hdcp) argument
640 mod_hdcp_write_content_type(struct mod_hdcp *hdcp) argument
653 mod_hdcp_clear_cp_irq_status(struct mod_hdcp *hdcp) argument
[all...]
H A Dhdcp.h289 typedef enum mod_hdcp_status (*mod_hdcp_action)(struct mod_hdcp *hdcp);
292 enum mod_hdcp_status *status, struct mod_hdcp *hdcp, char *str);
293 enum mod_hdcp_status mod_hdcp_hdcp1_execution(struct mod_hdcp *hdcp,
296 enum mod_hdcp_status mod_hdcp_hdcp1_dp_execution(struct mod_hdcp *hdcp,
299 enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp,
303 enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp,
309 enum mod_hdcp_status mod_hdcp_hdcp2_execution(struct mod_hdcp *hdcp,
312 enum mod_hdcp_status mod_hdcp_hdcp2_dp_execution(struct mod_hdcp *hdcp,
315 enum mod_hdcp_status mod_hdcp_hdcp2_transition(struct mod_hdcp *hdcp,
319 enum mod_hdcp_status mod_hdcp_hdcp2_dp_transition(struct mod_hdcp *hdcp,
391 is_dp_hdcp(struct mod_hdcp *hdcp) argument
396 is_dp_mst_hdcp(struct mod_hdcp *hdcp) argument
402 is_hdmi_dvi_sl_hdcp(struct mod_hdcp *hdcp) argument
408 current_state(struct mod_hdcp *hdcp) argument
413 set_state_id(struct mod_hdcp *hdcp, struct mod_hdcp_output *output, uint8_t id) argument
424 is_in_hdcp1_states(struct mod_hdcp *hdcp) argument
430 is_in_hdcp1_dp_states(struct mod_hdcp *hdcp) argument
436 is_in_hdcp2_states(struct mod_hdcp *hdcp) argument
442 is_in_hdcp2_dp_states(struct mod_hdcp *hdcp) argument
448 is_in_authenticated_states(struct mod_hdcp *hdcp) argument
456 is_hdcp1(struct mod_hdcp *hdcp) argument
461 is_hdcp2(struct mod_hdcp *hdcp) argument
466 is_in_cp_not_desired_state(struct mod_hdcp *hdcp) argument
471 is_in_initialized_state(struct mod_hdcp *hdcp) argument
477 increment_stay_counter(struct mod_hdcp *hdcp) argument
499 set_watchdog_in_ms(struct mod_hdcp *hdcp, uint16_t time, struct mod_hdcp_output *output) argument
506 set_auth_complete(struct mod_hdcp *hdcp, struct mod_hdcp_output *output) argument
524 get_active_display_count(struct mod_hdcp *hdcp) argument
535 get_first_active_display( struct mod_hdcp *hdcp) argument
549 get_active_display_at_index( struct mod_hdcp *hdcp, uint8_t index) argument
564 get_empty_display_container( struct mod_hdcp *hdcp) argument
578 reset_retry_counts(struct mod_hdcp *hdcp) argument
[all...]
H A Dhdcp2_execution.c28 #include "hdcp.h"
30 static inline enum mod_hdcp_status check_receiver_id_list_ready(struct mod_hdcp *hdcp) argument
34 if (is_dp_hdcp(hdcp))
35 is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0;
37 is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[1]) &&
38 (HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(hdcp->auth.msg.hdcp2.rxstatus[1]) << 8 |
39 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0;
44 static inline enum mod_hdcp_status check_hdcp2_capable(struct mod_hdcp *hdcp) argument
48 if (is_dp_hdcp(hdcp))
49 status = (hdcp
60 check_reauthentication_request( struct mod_hdcp *hdcp) argument
76 check_link_integrity_failure_dp( struct mod_hdcp *hdcp) argument
84 check_ake_cert_available(struct mod_hdcp *hdcp) argument
104 check_h_prime_available(struct mod_hdcp *hdcp) argument
128 check_pairing_info_available(struct mod_hdcp *hdcp) argument
152 poll_l_prime_available(struct mod_hdcp *hdcp) argument
181 check_stream_ready_available(struct mod_hdcp *hdcp) argument
202 get_device_count(struct mod_hdcp *hdcp) argument
208 check_device_count(struct mod_hdcp *hdcp) argument
224 process_rxstatus(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input, enum mod_hdcp_status *status) argument
260 known_hdcp2_capable_rx(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
283 send_ake_init(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
310 validate_ake_cert(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
340 send_no_stored_km(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
359 read_h_prime(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
385 read_pairing_info_and_validate_h_prime( struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
415 send_stored_km(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
434 validate_h_prime(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
463 locality_check(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
501 exchange_ks_and_test_for_repeater(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
524 enable_encryption(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
561 authenticated(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
578 wait_for_rx_id_list(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
601 verify_rx_id_list_and_send_ack(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
637 send_stream_management(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
672 validate_stream_ready(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
714 determine_rx_hdcp_capable_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
737 send_content_stream_type_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
759 mod_hdcp_hdcp2_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
823 mod_hdcp_hdcp2_dp_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument
[all...]
H A Dhdcp1_transition.c26 #include "hdcp.h"
28 enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp, argument
34 struct mod_hdcp_connection *conn = &hdcp->connection;
35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust;
37 switch (current_state(hdcp)) {
42 increment_stay_counter(hdcp);
46 set_state_id(hdcp, output, H1_A1_EXCHANGE_KSVS);
64 set_state_id(hdcp, output,
87 set_watchdog_in_ms(hdcp, 5000, output);
88 set_state_id(hdcp, outpu
151 mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input, struct mod_hdcp_output *output) argument
[all...]
H A Dhdcp2_transition.c26 #include "hdcp.h"
28 enum mod_hdcp_status mod_hdcp_hdcp2_transition(struct mod_hdcp *hdcp, argument
34 struct mod_hdcp_connection *conn = &hdcp->connection;
35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust;
37 switch (current_state(hdcp)) {
43 set_state_id(hdcp, output, HDCP_INITIALIZED);
46 set_state_id(hdcp, output, H2_A1_SEND_AKE_INIT);
60 set_watchdog_in_ms(hdcp, 100, output);
62 set_state_id(hdcp, output, H2_A1_VALIDATE_AKE_CERT);
78 increment_stay_counter(hdcp);
369 mod_hdcp_hdcp2_dp_transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input, struct mod_hdcp_output *output) argument
[all...]
H A Dhdcp_psp.c29 #include "hdcp.h"
34 static void hdcp2_message_init(struct mod_hdcp *hdcp, argument
37 in->session_handle = hdcp->auth.id;
49 struct mod_hdcp *hdcp, uint8_t index)
51 struct psp_context *psp = hdcp->config.psp.handle;
54 get_active_display_at_index(hdcp, index);
77 HDCP_TOP_REMOVE_DISPLAY_TRACE(hdcp, display->index);
85 struct mod_hdcp *hdcp, uint8_t index)
87 struct psp_context *psp = hdcp->config.psp.handle;
90 get_active_display_at_index(hdcp, inde
48 remove_display_from_topology_v2( struct mod_hdcp *hdcp, uint8_t index) argument
84 remove_display_from_topology_v3( struct mod_hdcp *hdcp, uint8_t index) argument
122 add_display_to_topology_v2( struct mod_hdcp *hdcp, struct mod_hdcp_display *display) argument
169 add_display_to_topology_v3( struct mod_hdcp *hdcp, struct mod_hdcp_display *display) argument
224 mod_hdcp_remove_display_from_topology( struct mod_hdcp *hdcp, uint8_t index) argument
237 mod_hdcp_add_display_to_topology(struct mod_hdcp *hdcp, struct mod_hdcp_display *display) argument
250 mod_hdcp_hdcp1_create_session(struct mod_hdcp *hdcp) argument
289 mod_hdcp_hdcp1_destroy_session(struct mod_hdcp *hdcp) argument
323 mod_hdcp_hdcp1_validate_rx(struct mod_hdcp *hdcp) argument
364 mod_hdcp_hdcp1_enable_encryption(struct mod_hdcp *hdcp) argument
391 mod_hdcp_hdcp1_validate_ksvlist_vp(struct mod_hdcp *hdcp) argument
432 mod_hdcp_hdcp1_enable_dp_stream_encryption(struct mod_hdcp *hdcp) argument
469 mod_hdcp_hdcp1_link_maintenance(struct mod_hdcp *hdcp) argument
495 mod_hdcp_hdcp2_create_session(struct mod_hdcp *hdcp) argument
545 mod_hdcp_hdcp2_destroy_session(struct mod_hdcp *hdcp) argument
578 mod_hdcp_hdcp2_prepare_ake_init(struct mod_hdcp *hdcp) argument
610 mod_hdcp_hdcp2_validate_ake_cert(struct mod_hdcp *hdcp) argument
670 mod_hdcp_hdcp2_validate_h_prime(struct mod_hdcp *hdcp) argument
716 mod_hdcp_hdcp2_prepare_lc_init(struct mod_hdcp *hdcp) argument
749 mod_hdcp_hdcp2_validate_l_prime(struct mod_hdcp *hdcp) argument
784 mod_hdcp_hdcp2_prepare_eks(struct mod_hdcp *hdcp) argument
829 mod_hdcp_hdcp2_enable_encryption(struct mod_hdcp *hdcp) argument
860 mod_hdcp_hdcp2_validate_rx_id_list(struct mod_hdcp *hdcp) argument
913 mod_hdcp_hdcp2_enable_dp_stream_encryption(struct mod_hdcp *hdcp) argument
956 mod_hdcp_hdcp2_prepare_stream_management(struct mod_hdcp *hdcp) argument
993 mod_hdcp_hdcp2_validate_stream_ready(struct mod_hdcp *hdcp) argument
[all...]
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_hdcp.c97 struct intel_hdcp *hdcp = &connector->hdcp; local
100 data->streams[0].stream_type = hdcp->content_type;
146 const struct intel_hdcp_shim *shim = connector->hdcp.shim;
168 struct intel_hdcp *hdcp = &connector->hdcp; local
172 if (!hdcp->hdcp2_supported)
188 mutex_lock(&i915->display.hdcp.hdcp_mutex);
189 if (!i915->display.hdcp.comp_added || !i915->display.hdcp
710 struct intel_hdcp *hdcp = &connector->hdcp; local
882 struct intel_hdcp *hdcp = &connector->hdcp; local
936 struct intel_hdcp *hdcp = &connector->hdcp; local
978 intel_hdcp_to_connector(struct intel_hdcp *hdcp) argument
988 struct intel_hdcp *hdcp = &connector->hdcp; local
1017 struct intel_hdcp *hdcp = &connector->hdcp; local
1085 struct intel_hdcp *hdcp = container_of(work, struct intel_hdcp, local
1420 struct intel_hdcp *hdcp = &connector->hdcp; local
1508 struct intel_hdcp *hdcp = &connector->hdcp; local
1544 struct intel_hdcp *hdcp = &connector->hdcp; local
1565 struct intel_hdcp *hdcp = &connector->hdcp; local
1615 struct intel_hdcp *hdcp = &connector->hdcp; local
1690 struct intel_hdcp *hdcp = &connector->hdcp; local
1738 struct intel_hdcp *hdcp = &connector->hdcp; local
1778 struct intel_hdcp *hdcp = &connector->hdcp; local
1817 struct intel_hdcp *hdcp = &connector->hdcp; local
1936 struct intel_hdcp *hdcp = &connector->hdcp; local
1964 struct intel_hdcp *hdcp = &connector->hdcp; local
2001 struct intel_hdcp *hdcp = &connector->hdcp; local
2093 struct intel_hdcp *hdcp = container_of(to_delayed_work(work), local
2257 struct intel_hdcp *hdcp = &connector->hdcp; local
2274 struct intel_hdcp *hdcp = &connector->hdcp; local
2359 struct intel_hdcp *hdcp = &connector->hdcp; local
2434 struct intel_hdcp *hdcp = &connector->hdcp; local
2467 struct intel_hdcp *hdcp = &connector->hdcp; local
2540 struct intel_hdcp *hdcp = &connector->hdcp; local
2624 struct intel_hdcp *hdcp = &connector->hdcp; local
[all...]
H A Dintel_dp_hdcp.c39 static void intel_dp_hdcp_wait_for_cp_irq(struct intel_hdcp *hdcp, int timeout) argument
43 #define C (hdcp->cp_irq_count_cached != atomic_read(&hdcp->cp_irq_count))
44 ret = wait_event_interruptible_timeout(hdcp->cp_irq_queue, C,
391 struct intel_hdcp *hdcp = &dp->attached_connector->hdcp; local
396 if (msg_id == HDCP_2_2_AKE_SEND_HPRIME && !hdcp->is_paired)
413 intel_dp_hdcp_wait_for_cp_irq(hdcp, timeout);
502 struct intel_hdcp *hdcp = &dp->attached_connector->hdcp; local
671 struct intel_hdcp *hdcp = &connector->hdcp; local
689 struct intel_hdcp *hdcp = &connector->hdcp; local
724 struct intel_hdcp *hdcp = &connector->hdcp; local
756 struct intel_hdcp *hdcp = &connector->hdcp; local
[all...]
H A Dintel_hdcp_gsc.c728 i915->display.hdcp.hdcp_message = hdcp_message;
740 i915->display.hdcp.hdcp_message;
757 mutex_lock(&i915->display.hdcp.hdcp_mutex);
758 i915->display.hdcp.arbiter = data;
759 i915->display.hdcp.arbiter->hdcp_dev = i915->drm.dev;
760 i915->display.hdcp.arbiter->ops = &gsc_hdcp_ops;
762 mutex_unlock(&i915->display.hdcp.hdcp_mutex);
770 kfree(i915->display.hdcp.arbiter);
841 hdcp_message = i915->display.hdcp.hdcp_message;
H A Dintel_display_core.h417 /* Mutex to protect the above hdcp related values. */
419 } hdcp; member in struct:intel_display
H A Dintel_hdmi.c1532 enum transcoder cpu_transcoder = connector->hdcp.cpu_transcoder;
1683 struct intel_hdcp *hdcp = &hdmi->attached_connector->hdcp; local
1688 hdcp->is_paired);
H A Dintel_display_types.h495 /* Detects panel's hdcp capability. This is optional for HDMI. */
533 /* Mutex for hdcp state of the connector */
626 struct intel_hdcp hdcp; member in struct:intel_connector
H A Dintel_display_debugfs.c212 if (!intel_connector->hdcp.shim) {
/openbsd-current/sys/dev/pci/drm/amd/display/modules/inc/
H A Dmod_hdcp.h215 /* per link events dm has to notify to hdcp module */
263 /* a query structure for a display's hdcp information */
282 enum mod_hdcp_status mod_hdcp_setup(struct mod_hdcp *hdcp,
286 enum mod_hdcp_status mod_hdcp_teardown(struct mod_hdcp *hdcp);
289 enum mod_hdcp_status mod_hdcp_add_display(struct mod_hdcp *hdcp,
294 enum mod_hdcp_status mod_hdcp_remove_display(struct mod_hdcp *hdcp,
298 enum mod_hdcp_status mod_hdcp_update_display(struct mod_hdcp *hdcp,
304 /* called to query hdcp information on a specific index */
305 enum mod_hdcp_status mod_hdcp_query_display(struct mod_hdcp *hdcp,
309 enum mod_hdcp_status mod_hdcp_reset_connection(struct mod_hdcp *hdcp,
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.h30 #include "hdcp.h"
49 struct mod_hdcp hdcp; member in struct:hdcp_workqueue
57 * hdcp perperties, like type, undesired, desired, enabled,
58 * will be lost. So, save hdcp properties into hdcp_work within
60 * plugged back with same display index, its hdcp properties
H A Damdgpu_dm_hdcp.c84 DRM_WARN("Failed to get hdcp srm. HDCP TA is not initialized.");
109 DRM_WARN("Failed to get hdcp srm. HDCP TA is not initialized.");
182 /* Explicitly set the saved SRM as sysfs call will be after we already enabled hdcp
186 psp_set_srm(hdcp_work->hdcp.config.psp.handle, hdcp_work->srm,
209 mod_hdcp_update_display(&hdcp_w->hdcp, conn_index, &link_adjust, &display_adjust, &hdcp_w->output);
226 /* the removal of display will invoke auth reset -> hdcp destroy and
239 mod_hdcp_remove_display(&hdcp_w->hdcp, aconnector->base.index, &hdcp_w->output);
252 mod_hdcp_reset_connection(&hdcp_w->hdcp, &hdcp_w->output);
284 mod_hdcp_process_event(&hdcp_work->hdcp, MOD_HDCP_EVENT_CALLBACK,
388 mod_hdcp_query_display(&hdcp_work->hdcp, aconnecto
469 struct mod_hdcp hdcp = hdcp_work->hdcp; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_ucode.h143 struct psp_fw_legacy_bin_desc hdcp; member in struct:ta_firmware_header_v1_0
/openbsd-current/sys/arch/arm64/conf/
H A DMakefile.arm6450 -I$S/dev/pci/drm/amd/display/modules/hdcp \
/openbsd-current/sys/arch/powerpc64/conf/
H A DMakefile.powerpc6450 -I$S/dev/pci/drm/amd/display/modules/hdcp \
/openbsd-current/sys/arch/amd64/conf/
H A DMakefile.amd6450 -I$S/dev/pci/drm/amd/display/modules/hdcp \
/openbsd-current/sys/dev/pci/drm/i915/
H A Di915_driver.c238 rw_init(&dev_priv->display.hdcp.hdcp_mutex, "hdcpc");

Completed in 231 milliseconds

12