Lines Matching full:status
29 enum mod_hdcp_status status) in push_error_status() argument
34 trace->errors[trace->error_count].status = status; in push_error_status()
37 HDCP_ERROR_TRACE(hdcp, status); in push_error_status()
95 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in execution() local
110 status = mod_hdcp_hdcp1_execution(hdcp, event_ctx, &input->hdcp1); in execution()
112 status = mod_hdcp_hdcp1_dp_execution(hdcp, in execution()
115 status = mod_hdcp_hdcp2_execution(hdcp, event_ctx, &input->hdcp2); in execution()
117 status = mod_hdcp_hdcp2_dp_execution(hdcp, in execution()
124 return status; in execution()
132 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in transition() local
170 status = mod_hdcp_hdcp1_transition(hdcp, in transition()
173 status = mod_hdcp_hdcp1_dp_transition(hdcp, in transition()
176 status = mod_hdcp_hdcp2_transition(hdcp, in transition()
179 status = mod_hdcp_hdcp2_dp_transition(hdcp, in transition()
182 status = MOD_HDCP_STATUS_INVALID_STATE; in transition()
185 return status; in transition()
191 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in reset_authentication() local
208 status = mod_hdcp_hdcp2_destroy_session(hdcp); in reset_authentication()
209 if (status != MOD_HDCP_STATUS_SUCCESS) { in reset_authentication()
231 return status; in reset_authentication()
237 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in reset_connection() local
241 status = reset_authentication(hdcp, output); in reset_connection()
242 if (status != MOD_HDCP_STATUS_SUCCESS) in reset_connection()
251 return status; in reset_connection()
258 enum mod_hdcp_status status = MOD_HDCP_STATUS_NOT_IMPLEMENTED; in update_display_adjustments() local
266 status = mod_hdcp_hdcp1_enable_dp_stream_encryption(hdcp); in update_display_adjustments()
268 status = mod_hdcp_hdcp2_enable_dp_stream_encryption(hdcp); in update_display_adjustments()
270 if (status != MOD_HDCP_STATUS_SUCCESS) in update_display_adjustments()
274 if (status == MOD_HDCP_STATUS_SUCCESS && in update_display_adjustments()
277 status = MOD_HDCP_STATUS_NOT_IMPLEMENTED; in update_display_adjustments()
279 return status; in update_display_adjustments()
293 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_setup() local
298 status = reset_connection(hdcp, &output); in mod_hdcp_setup()
299 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_setup()
300 push_error_status(hdcp, status); in mod_hdcp_setup()
301 return status; in mod_hdcp_setup()
306 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_teardown() local
311 status = reset_connection(hdcp, &output); in mod_hdcp_teardown()
312 if (status == MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_teardown()
315 push_error_status(hdcp, status); in mod_hdcp_teardown()
316 return status; in mod_hdcp_teardown()
323 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_add_display() local
331 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_add_display()
337 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_add_display()
344 status = MOD_HDCP_STATUS_DISPLAY_OUT_OF_BOUND; in mod_hdcp_add_display()
348 /* reset existing authentication status */ in mod_hdcp_add_display()
349 status = reset_authentication(hdcp, output); in mod_hdcp_add_display()
350 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_add_display()
362 status = mod_hdcp_add_display_to_topology(hdcp, display_container); in mod_hdcp_add_display()
364 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_add_display()
372 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_add_display()
373 push_error_status(hdcp, status); in mod_hdcp_add_display()
375 return status; in mod_hdcp_add_display()
381 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_remove_display() local
390 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_remove_display()
395 status = reset_authentication(hdcp, output); in mod_hdcp_remove_display()
396 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_remove_display()
406 status = mod_hdcp_remove_display_from_topology(hdcp, index); in mod_hdcp_remove_display()
407 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_remove_display()
416 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_remove_display()
417 push_error_status(hdcp, status); in mod_hdcp_remove_display()
418 return status; in mod_hdcp_remove_display()
427 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_update_display() local
436 status = MOD_HDCP_STATUS_DISPLAY_NOT_FOUND; in mod_hdcp_update_display()
445 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_update_display()
453 status = update_display_adjustments(hdcp, display, display_adjust); in mod_hdcp_update_display()
454 if (status != MOD_HDCP_STATUS_NOT_IMPLEMENTED) in mod_hdcp_update_display()
459 status = reset_authentication(hdcp, output); in mod_hdcp_update_display()
460 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_update_display()
479 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_update_display()
480 push_error_status(hdcp, status); in mod_hdcp_update_display()
481 return status; in mod_hdcp_update_display()
487 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_query_display() local
493 status = MOD_HDCP_STATUS_DISPLAY_NOT_FOUND; in mod_hdcp_query_display()
519 return status; in mod_hdcp_query_display()
525 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_reset_connection() local
528 status = reset_connection(hdcp, output); in mod_hdcp_reset_connection()
529 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_reset_connection()
530 push_error_status(hdcp, status); in mod_hdcp_reset_connection()
532 return status; in mod_hdcp_reset_connection()
538 enum mod_hdcp_status exec_status, trans_status, reset_status, status; in mod_hdcp_process_event() local
551 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_process_event()
553 status = MOD_HDCP_STATUS_INTERNAL_POLICY_FAILURE; in mod_hdcp_process_event()
554 push_error_status(hdcp, status); in mod_hdcp_process_event()
556 status = exec_status; in mod_hdcp_process_event()
557 push_error_status(hdcp, status); in mod_hdcp_process_event()
568 /* Clear CP_IRQ status if needed */ in mod_hdcp_process_event()
570 status = mod_hdcp_clear_cp_irq_status(hdcp); in mod_hdcp_process_event()
571 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_process_event()
572 push_error_status(hdcp, status); in mod_hdcp_process_event()
575 return status; in mod_hdcp_process_event()