Lines Matching refs:query
485 uint8_t index, struct mod_hdcp_display_query *query) in mod_hdcp_query_display() argument
498 query->link = &hdcp->connection.link; in mod_hdcp_query_display()
499 query->display = display; in mod_hdcp_query_display()
500 query->trace = &hdcp->connection.trace; in mod_hdcp_query_display()
501 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; in mod_hdcp_query_display()
505 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP1_ON; in mod_hdcp_query_display()
507 if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_query_display()
508 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE0_ON; in mod_hdcp_query_display()
509 else if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_1) in mod_hdcp_query_display()
510 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE1_ON; in mod_hdcp_query_display()
512 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_ON; in mod_hdcp_query_display()
515 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; in mod_hdcp_query_display()