/openbsd-src/sys/dev/pci/drm/amd/display/modules/hdcp/ |
H A D | hdcp_log.h | 29 #define HDCP_LOG_ERR(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) argument 30 #define HDCP_LOG_VER(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) argument 31 #define HDCP_LOG_FSM(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) argument 32 #define HDCP_LOG_TOP(hdcp, ...) pr_debug("[HDCP_TOP]:"__VA_ARGS__) argument 33 #define HDCP_LOG_DDC(hdcp, ...) pr_debug("[HDCP_DDC]:"__VA_ARGS__) argument 36 #define HDCP_ERROR_TRACE(hdcp, status) \ argument 43 #define HDCP_HDCP1_ENABLED_TRACE(hdcp, displayIndex) \ argument 47 #define HDCP_HDCP2_ENABLED_TRACE(hdcp, displayIndex) \ argument 51 #define HDCP_HDCP1_DISABLED_TRACE(hdcp, displayIndex) \ argument 55 #define HDCP_HDCP2_DISABLED_TRACE(hdcp, displayIndex) \ argument [all …]
|
H A D | hdcp2_execution.c | 30 static inline enum mod_hdcp_status check_receiver_id_list_ready(struct mod_hdcp *hdcp) in check_receiver_id_list_ready() 44 static inline enum mod_hdcp_status check_hdcp2_capable(struct mod_hdcp *hdcp) in check_hdcp2_capable() 61 struct mod_hdcp *hdcp) in check_reauthentication_request() 77 struct mod_hdcp *hdcp) in check_link_integrity_failure_dp() 84 static enum mod_hdcp_status check_ake_cert_available(struct mod_hdcp *hdcp) in check_ake_cert_available() 104 static enum mod_hdcp_status check_h_prime_available(struct mod_hdcp *hdcp) in check_h_prime_available() 128 static enum mod_hdcp_status check_pairing_info_available(struct mod_hdcp *hdcp) in check_pairing_info_available() 152 static enum mod_hdcp_status poll_l_prime_available(struct mod_hdcp *hdcp) in poll_l_prime_available() 181 static enum mod_hdcp_status check_stream_ready_available(struct mod_hdcp *hdcp) in check_stream_ready_available() 202 static inline uint8_t get_device_count(struct mod_hdcp *hdcp) in get_device_count() [all …]
|
H A D | hdcp1_execution.c | 28 static inline enum mod_hdcp_status validate_bksv(struct mod_hdcp *hdcp) in validate_bksv() argument 45 static inline enum mod_hdcp_status check_ksv_ready(struct mod_hdcp *hdcp) in check_ksv_ready() argument 56 static inline enum mod_hdcp_status check_hdcp_capable_dp(struct mod_hdcp *hdcp) in check_hdcp_capable_dp() argument 63 check_r0p_available_dp(struct mod_hdcp * hdcp) check_r0p_available_dp() argument 78 check_link_integrity_dp(struct mod_hdcp * hdcp) check_link_integrity_dp() argument 87 check_no_reauthentication_request_dp(struct mod_hdcp * hdcp) check_no_reauthentication_request_dp() argument 94 check_no_max_cascade(struct mod_hdcp * hdcp) check_no_max_cascade() argument 109 check_no_max_devs(struct mod_hdcp * hdcp) check_no_max_devs() argument 124 get_device_count(struct mod_hdcp * hdcp) get_device_count() argument 131 check_device_count(struct mod_hdcp * hdcp) check_device_count() argument 148 wait_for_active_rx(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) wait_for_active_rx() argument 171 exchange_ksvs(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) exchange_ksvs() argument 213 computations_validate_rx_test_for_repeater(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) computations_validate_rx_test_for_repeater() argument 255 authenticated(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) authenticated() argument 273 wait_for_ready(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) wait_for_ready() argument 313 read_ksv_list(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) read_ksv_list() 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) determine_rx_hdcp_capable_dp() 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) wait_for_r0_prime_dp() argument 424 authenticated_dp(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) authenticated_dp() argument 453 mod_hdcp_execute_and_set(mod_hdcp_action func,uint8_t * flag,enum mod_hdcp_status * status,struct mod_hdcp * hdcp,char * str) mod_hdcp_execute_and_set() argument 466 mod_hdcp_hdcp1_execution(struct mod_hdcp * hdcp,struct mod_hdcp_event_context * event_ctx,struct mod_hdcp_transition_input_hdcp1 * input) mod_hdcp_hdcp1_execution() 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) mod_hdcp_hdcp1_dp_execution() argument [all...] |
H A D | hdcp_ddc.c | 152 static enum mod_hdcp_status read(struct mod_hdcp *hdcp, in read() argument 191 hdcp->config.ddc.handle, in read_repeatedly() argument 215 write(struct mod_hdcp * hdcp,enum mod_hdcp_ddc_message_id msg_id,uint8_t * buf,uint32_t buf_len) write() argument 256 mod_hdcp_read_bksv(struct mod_hdcp * hdcp) mod_hdcp_read_bksv() argument 263 mod_hdcp_read_bcaps(struct mod_hdcp * hdcp) mod_hdcp_read_bcaps() argument 270 mod_hdcp_read_bstatus(struct mod_hdcp * hdcp) mod_hdcp_read_bstatus() argument 285 mod_hdcp_read_r0p(struct mod_hdcp * hdcp) mod_hdcp_read_r0p() argument 293 mod_hdcp_read_ksvlist(struct mod_hdcp * hdcp) mod_hdcp_read_ksvlist() argument 309 mod_hdcp_read_vp(struct mod_hdcp * hdcp) mod_hdcp_read_vp() argument 339 mod_hdcp_read_binfo(struct mod_hdcp * hdcp) mod_hdcp_read_binfo() argument 353 mod_hdcp_write_aksv(struct mod_hdcp * hdcp) mod_hdcp_write_aksv() argument 360 mod_hdcp_write_ainfo(struct mod_hdcp * hdcp) mod_hdcp_write_ainfo() argument 367 mod_hdcp_write_an(struct mod_hdcp * hdcp) mod_hdcp_write_an() argument 374 mod_hdcp_read_hdcp2version(struct mod_hdcp * hdcp) mod_hdcp_read_hdcp2version() argument 388 mod_hdcp_read_rxcaps(struct mod_hdcp * hdcp) mod_hdcp_read_rxcaps() argument 402 mod_hdcp_read_rxstatus(struct mod_hdcp * hdcp) mod_hdcp_read_rxstatus() argument 418 mod_hdcp_read_ake_cert(struct mod_hdcp * hdcp) mod_hdcp_read_ake_cert() argument 436 mod_hdcp_read_h_prime(struct mod_hdcp * hdcp) mod_hdcp_read_h_prime() argument 454 mod_hdcp_read_pairing_info(struct mod_hdcp * hdcp) mod_hdcp_read_pairing_info() argument 472 mod_hdcp_read_l_prime(struct mod_hdcp * hdcp) mod_hdcp_read_l_prime() argument 490 mod_hdcp_read_rx_id_list(struct mod_hdcp * hdcp) mod_hdcp_read_rx_id_list() argument 521 mod_hdcp_read_stream_ready(struct mod_hdcp * hdcp) mod_hdcp_read_stream_ready() argument 539 mod_hdcp_write_ake_init(struct mod_hdcp * hdcp) mod_hdcp_write_ake_init() argument 554 mod_hdcp_write_no_stored_km(struct mod_hdcp * hdcp) mod_hdcp_write_no_stored_km() argument 569 mod_hdcp_write_stored_km(struct mod_hdcp * hdcp) mod_hdcp_write_stored_km() argument 584 mod_hdcp_write_lc_init(struct mod_hdcp * hdcp) mod_hdcp_write_lc_init() argument 599 mod_hdcp_write_eks(struct mod_hdcp * hdcp) mod_hdcp_write_eks() argument 616 mod_hdcp_write_repeater_auth_ack(struct mod_hdcp * hdcp) mod_hdcp_write_repeater_auth_ack() argument 631 mod_hdcp_write_stream_manage(struct mod_hdcp * hdcp) mod_hdcp_write_stream_manage() argument 648 mod_hdcp_write_content_type(struct mod_hdcp * hdcp) mod_hdcp_write_content_type() argument 661 mod_hdcp_clear_cp_irq_status(struct mod_hdcp * hdcp) mod_hdcp_clear_cp_irq_status() argument [all...] |
H A D | hdcp_psp.c | 34 static void hdcp2_message_init(struct mod_hdcp *hdcp, in hdcp2_message_init() 49 struct mod_hdcp *hdcp, uint8_t index) in remove_display_from_topology_v2() 85 struct mod_hdcp *hdcp, uint8_t index) in remove_display_from_topology_v3() 123 struct mod_hdcp *hdcp, struct mod_hdcp_display *display) in add_display_to_topology_v2() 170 struct mod_hdcp *hdcp, struct mod_hdcp_display *display) in add_display_to_topology_v3() 225 struct mod_hdcp *hdcp, uint8_t index) in mod_hdcp_remove_display_from_topology() 237 enum mod_hdcp_status mod_hdcp_add_display_to_topology(struct mod_hdcp *hdcp, in mod_hdcp_add_display_to_topology() 250 enum mod_hdcp_status mod_hdcp_hdcp1_create_session(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_create_session() 289 enum mod_hdcp_status mod_hdcp_hdcp1_destroy_session(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_destroy_session() 323 enum mod_hdcp_status mod_hdcp_hdcp1_validate_rx(struct mod_hdcp *hdcp) in mod_hdcp_hdcp1_validate_rx() [all …]
|
H A D | hdcp.c | 28 static void push_error_status(struct mod_hdcp *hdcp, in push_error_status() 51 static uint8_t is_cp_desired_hdcp1(struct mod_hdcp *hdcp) in is_cp_desired_hdcp1() 71 static uint8_t is_cp_desired_hdcp2(struct mod_hdcp *hdcp) in is_cp_desired_hdcp2() 91 static enum mod_hdcp_status execution(struct mod_hdcp *hdcp, in execution() 127 static enum mod_hdcp_status transition(struct mod_hdcp *hdcp, in transition() 188 static enum mod_hdcp_status reset_authentication(struct mod_hdcp *hdcp, in reset_authentication() 234 static enum mod_hdcp_status reset_connection(struct mod_hdcp *hdcp, in reset_connection() 254 static enum mod_hdcp_status update_display_adjustments(struct mod_hdcp *hdcp, in update_display_adjustments() 289 enum mod_hdcp_status mod_hdcp_setup(struct mod_hdcp *hdcp, in mod_hdcp_setup() 304 enum mod_hdcp_status mod_hdcp_teardown(struct mod_hdcp *hdcp) in mod_hdcp_teardown() [all …]
|
H A D | hdcp.h | 391 static inline uint8_t is_dp_hdcp(struct mod_hdcp *hdcp) in is_dp_hdcp() 396 static inline uint8_t is_dp_mst_hdcp(struct mod_hdcp *hdcp) in is_dp_mst_hdcp() 402 static inline uint8_t is_hdmi_dvi_sl_hdcp(struct mod_hdcp *hdcp) in is_hdmi_dvi_sl_hdcp() 408 static inline uint8_t current_state(struct mod_hdcp *hdcp) in current_state() 413 static inline void set_state_id(struct mod_hdcp *hdcp, in set_state_id() 424 static inline uint8_t is_in_hdcp1_states(struct mod_hdcp *hdcp) in is_in_hdcp1_states() 430 static inline uint8_t is_in_hdcp1_dp_states(struct mod_hdcp *hdcp) in is_in_hdcp1_dp_states() 436 static inline uint8_t is_in_hdcp2_states(struct mod_hdcp *hdcp) in is_in_hdcp2_states() 442 static inline uint8_t is_in_hdcp2_dp_states(struct mod_hdcp *hdcp) in is_in_hdcp2_dp_states() 448 static inline uint8_t is_in_authenticated_states(struct mod_hdcp *hdcp) in is_in_authenticated_states() [all …]
|
H A D | hdcp1_transition.c | 28 enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp, in mod_hdcp_hdcp1_transition() 151 enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp, in mod_hdcp_hdcp1_dp_transition()
|
H A D | hdcp2_transition.c | 28 enum mod_hdcp_status mod_hdcp_hdcp2_transition(struct mod_hdcp *hdcp, in mod_hdcp_hdcp2_transition() 369 enum mod_hdcp_status mod_hdcp_hdcp2_dp_transition(struct mod_hdcp *hdcp, in mod_hdcp_hdcp2_dp_transition()
|
H A D | hdcp_log.c | 54 void mod_hdcp_log_ddc_trace(struct mod_hdcp *hdcp) in mod_hdcp_log_ddc_trace()
|
/openbsd-src/sys/dev/pci/drm/i915/display/ |
H A D | intel_hdcp.c | 97 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp_prepare_streams() local 168 struct intel_hdcp *hdcp = &connector->hdcp; in intel_hdcp2_capable() local 710 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_auth() local 882 struct intel_hdcp *hdcp = &connector->hdcp; _intel_hdcp_disable() local 936 struct intel_hdcp *hdcp = &connector->hdcp; _intel_hdcp_enable() local 978 intel_hdcp_to_connector(struct intel_hdcp * hdcp) intel_hdcp_to_connector() argument 988 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_update_value() local 1017 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_check_link() local 1085 struct intel_hdcp *hdcp = container_of(work, struct intel_hdcp, intel_hdcp_prop_work() local 1420 struct intel_hdcp *hdcp = &connector->hdcp; hdcp2_authentication_key_exchange() local 1508 struct intel_hdcp *hdcp = &connector->hdcp; hdcp2_locality_check() local 1544 struct intel_hdcp *hdcp = &connector->hdcp; hdcp2_session_key_exchange() local 1565 struct intel_hdcp *hdcp = &connector->hdcp; _hdcp2_propagate_stream_management_info() local 1615 struct intel_hdcp *hdcp = &connector->hdcp; hdcp2_authenticate_repeater_topology() local 1690 struct intel_hdcp *hdcp = &connector->hdcp; hdcp2_authenticate_sink() local 1738 struct intel_hdcp *hdcp = &connector->hdcp; hdcp2_enable_stream_encryption() local 1778 struct intel_hdcp *hdcp = &connector->hdcp; hdcp2_enable_encryption() local 1817 struct intel_hdcp *hdcp = &connector->hdcp; hdcp2_disable_encryption() local 1936 struct intel_hdcp *hdcp = &connector->hdcp; _intel_hdcp2_enable() local 1964 struct intel_hdcp *hdcp = &connector->hdcp; _intel_hdcp2_disable() local 2001 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp2_check_link() local 2093 struct intel_hdcp *hdcp = container_of(to_delayed_work(work), intel_hdcp_check_work() local 2257 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp2_init() local 2274 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_init() local 2359 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_enable() local 2434 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_disable() local 2467 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_update_pipe() local 2540 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_cleanup() local 2624 struct intel_hdcp *hdcp = &connector->hdcp; intel_hdcp_handle_cp_irq() local [all...] |
H A D | intel_dp_hdcp.c | 39 static void intel_dp_hdcp_wait_for_cp_irq(struct intel_hdcp *hdcp, int timeout) 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 502 struct intel_hdcp *hdcp = &dp->attached_connector->hdcp; in intel_dp_hdcp2_read_msg() local 671 struct intel_hdcp *hdcp = &connector->hdcp; in intel_dp_mst_toggle_hdcp_stream_select() local 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
|
H A D | intel_display_core.h | 419 /* Mutex to protect the above hdcp related values. */ member
|
H A D | intel_hdmi.c | 1683 struct intel_hdcp *hdcp = &hdmi->attached_connector->hdcp; in intel_hdmi_hdcp2_read_msg() local
|
H A D | intel_display_types.h | 626 struct intel_hdcp hdcp; member
|
/openbsd-src/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_hdcp.h | 49 struct mod_hdcp hdcp; member
|
H A D | amdgpu_dm_hdcp.c | 469 struct mod_hdcp hdcp = hdcp_work->hdcp; in enable_assr() local
|
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_ucode.h | 143 struct psp_fw_legacy_bin_desc hdcp; member
|