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()
93 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in execution() local
108 status = mod_hdcp_hdcp1_execution(hdcp, event_ctx, &input->hdcp1); in execution()
110 status = mod_hdcp_hdcp1_dp_execution(hdcp, in execution()
113 status = mod_hdcp_hdcp2_execution(hdcp, event_ctx, &input->hdcp2); in execution()
115 status = mod_hdcp_hdcp2_dp_execution(hdcp, in execution()
122 return status; in execution()
130 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in transition() local
165 status = mod_hdcp_hdcp1_transition(hdcp, in transition()
168 status = mod_hdcp_hdcp1_dp_transition(hdcp, in transition()
171 status = mod_hdcp_hdcp2_transition(hdcp, in transition()
174 status = mod_hdcp_hdcp2_dp_transition(hdcp, in transition()
177 status = MOD_HDCP_STATUS_INVALID_STATE; in transition()
180 return status; in transition()
186 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in reset_authentication() local
203 status = mod_hdcp_hdcp2_destroy_session(hdcp); in reset_authentication()
204 if (status != MOD_HDCP_STATUS_SUCCESS) { in reset_authentication()
226 return status; in reset_authentication()
232 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in reset_connection() local
236 status = reset_authentication(hdcp, output); in reset_connection()
237 if (status != MOD_HDCP_STATUS_SUCCESS) in reset_connection()
246 return status; in reset_connection()
261 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_setup() local
267 status = reset_connection(hdcp, &output); in mod_hdcp_setup()
268 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_setup()
269 push_error_status(hdcp, status); in mod_hdcp_setup()
270 return status; in mod_hdcp_setup()
275 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_teardown() local
280 status = reset_connection(hdcp, &output); in mod_hdcp_teardown()
281 if (status == MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_teardown()
284 push_error_status(hdcp, status); in mod_hdcp_teardown()
285 return status; in mod_hdcp_teardown()
292 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_add_display() local
300 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_add_display()
306 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_add_display()
313 status = MOD_HDCP_STATUS_DISPLAY_OUT_OF_BOUND; in mod_hdcp_add_display()
317 /* reset existing authentication status */ in mod_hdcp_add_display()
318 status = reset_authentication(hdcp, output); in mod_hdcp_add_display()
319 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_add_display()
331 status = mod_hdcp_add_display_to_topology(hdcp, display_container); in mod_hdcp_add_display()
333 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_add_display()
341 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_add_display()
342 push_error_status(hdcp, status); in mod_hdcp_add_display()
344 return status; in mod_hdcp_add_display()
350 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_remove_display() local
359 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_remove_display()
364 status = reset_authentication(hdcp, output); in mod_hdcp_remove_display()
365 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_remove_display()
375 status = mod_hdcp_remove_display_from_topology(hdcp, index); in mod_hdcp_remove_display()
376 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_remove_display()
385 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_remove_display()
386 push_error_status(hdcp, status); in mod_hdcp_remove_display()
387 return status; in mod_hdcp_remove_display()
393 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_query_display() local
399 status = MOD_HDCP_STATUS_DISPLAY_NOT_FOUND; in mod_hdcp_query_display()
425 return status; in mod_hdcp_query_display()
431 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_reset_connection() local
434 status = reset_connection(hdcp, output); in mod_hdcp_reset_connection()
435 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_reset_connection()
436 push_error_status(hdcp, status); in mod_hdcp_reset_connection()
438 return status; in mod_hdcp_reset_connection()
444 enum mod_hdcp_status exec_status, trans_status, reset_status, status; in mod_hdcp_process_event() local
457 status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_process_event()
459 status = MOD_HDCP_STATUS_INTERNAL_POLICY_FAILURE; in mod_hdcp_process_event()
460 push_error_status(hdcp, status); in mod_hdcp_process_event()
462 status = exec_status; in mod_hdcp_process_event()
463 push_error_status(hdcp, status); in mod_hdcp_process_event()
474 /* Clear CP_IRQ status if needed */ in mod_hdcp_process_event()
476 status = mod_hdcp_clear_cp_irq_status(hdcp); in mod_hdcp_process_event()
477 if (status != MOD_HDCP_STATUS_SUCCESS) in mod_hdcp_process_event()
478 push_error_status(hdcp, status); in mod_hdcp_process_event()
481 return status; in mod_hdcp_process_event()