Lines Matching full:shim

182 			       const struct intel_hdcp_shim *shim, u8 *bksv)  in intel_hdcp_read_valid_bksv()  argument
189 ret = shim->read_bksv(dig_port, bksv); in intel_hdcp_read_valid_bksv()
207 const struct intel_hdcp_shim *shim = connector->hdcp.shim; in intel_hdcp_get_capability() local
216 if (!shim) in intel_hdcp_get_capability()
219 if (shim->hdcp_get_capability) { in intel_hdcp_get_capability()
220 shim->hdcp_get_capability(dig_port, &capable); in intel_hdcp_get_capability()
222 if (!intel_hdcp_read_valid_bksv(dig_port, shim, bksv)) in intel_hdcp_get_capability()
269 hdcp->shim->hdcp_2_2_get_capability(connector, &capable); in intel_hdcp2_get_capability()
280 if (!hdcp->shim->get_remote_hdcp_capability) in intel_hdcp_get_remote_capability()
283 hdcp->shim->get_remote_hdcp_capability(connector, hdcp_capable, in intel_hdcp_get_remote_capability()
307 const struct intel_hdcp_shim *shim) in intel_hdcp_poll_ksv_fifo() argument
313 ret = __wait_for(read_ret = shim->read_ksv_ready(dig_port, in intel_hdcp_poll_ksv_fifo()
469 const struct intel_hdcp_shim *shim, in intel_hdcp_validate_v_prime() argument
481 ret = shim->read_v_prime_part(dig_port, i, &vprime); in intel_hdcp_validate_v_prime()
716 const struct intel_hdcp_shim *shim = connector->hdcp.shim; in intel_hdcp_auth_downstream() local
720 ret = intel_hdcp_poll_ksv_fifo(dig_port, shim); in intel_hdcp_auth_downstream()
727 ret = shim->read_bstatus(dig_port, bstatus); in intel_hdcp_auth_downstream()
757 ret = shim->read_ksv_fifo(dig_port, num_downstream, ksv_fifo); in intel_hdcp_auth_downstream()
773 ret = intel_hdcp_validate_v_prime(connector, shim, in intel_hdcp_auth_downstream()
800 const struct intel_hdcp_shim *shim = hdcp->shim; in intel_hdcp_auth() local
807 u8 shim[DRM_HDCP_AN_LEN]; in intel_hdcp_auth() member
811 u8 shim[DRM_HDCP_KSV_LEN]; in intel_hdcp_auth() member
815 u8 shim[DRM_HDCP_RI_LEN]; in intel_hdcp_auth() member
825 if (shim->hdcp_get_capability) { in intel_hdcp_auth()
826 ret = shim->hdcp_get_capability(dig_port, &hdcp_capable); in intel_hdcp_auth()
856 ret = shim->write_an_aksv(dig_port, an.shim); in intel_hdcp_auth()
864 ret = intel_hdcp_read_valid_bksv(dig_port, shim, bksv.shim); in intel_hdcp_auth()
868 if (drm_hdcp_check_ksvs_revoked(&i915->drm, bksv.shim, 1) > 0) { in intel_hdcp_auth()
878 ret = shim->repeater_present(dig_port, &repeater_present); in intel_hdcp_auth()
885 ret = shim->toggle_signalling(dig_port, cpu_transcoder, true); in intel_hdcp_auth()
918 ret = shim->read_ri_prime(dig_port, ri.shim); in intel_hdcp_auth()
949 if (shim->stream_encryption) { in intel_hdcp_auth()
950 ret = shim->stream_encryption(connector, true); in intel_hdcp_auth()
980 if (hdcp->shim->stream_encryption) { in _intel_hdcp_disable()
981 ret = hdcp->shim->stream_encryption(connector, false); in _intel_hdcp_disable()
1012 ret = hdcp->shim->toggle_signalling(dig_port, cpu_transcoder, false); in _intel_hdcp_disable()
1137 if (hdcp->shim->check_link(dig_port, connector)) { in intel_hdcp_check_link()
1511 const struct intel_hdcp_shim *shim = hdcp->shim; in hdcp2_authentication_key_exchange() local
1523 ret = shim->write_2_2_msg(connector, &msgs.ake_init, in hdcp2_authentication_key_exchange()
1528 ret = shim->read_2_2_msg(connector, HDCP_2_2_AKE_SEND_CERT, in hdcp2_authentication_key_exchange()
1557 ret = shim->write_2_2_msg(connector, &msgs.no_stored_km, size); in hdcp2_authentication_key_exchange()
1561 ret = shim->read_2_2_msg(connector, HDCP_2_2_AKE_SEND_HPRIME, in hdcp2_authentication_key_exchange()
1572 ret = shim->read_2_2_msg(connector, in hdcp2_authentication_key_exchange()
1595 const struct intel_hdcp_shim *shim = hdcp->shim; in hdcp2_locality_check() local
1603 ret = shim->write_2_2_msg(connector, &msgs.lc_init, in hdcp2_locality_check()
1608 ret = shim->read_2_2_msg(connector, in hdcp2_locality_check()
1633 ret = hdcp->shim->write_2_2_msg(connector, &send_eks, in hdcp2_session_key_exchange()
1651 const struct intel_hdcp_shim *shim = hdcp->shim; in _hdcp2_propagate_stream_management_info() local
1671 ret = shim->write_2_2_msg(connector, &msgs.stream_manage, in _hdcp2_propagate_stream_management_info()
1676 ret = shim->read_2_2_msg(connector, HDCP_2_2_REP_STREAM_READY, in _hdcp2_propagate_stream_management_info()
1701 const struct intel_hdcp_shim *shim = hdcp->shim; in hdcp2_authenticate_repeater_topology() local
1706 ret = shim->read_2_2_msg(connector, HDCP_2_2_REP_SEND_RECVID_LIST, in hdcp2_authenticate_repeater_topology()
1765 ret = shim->write_2_2_msg(connector, &msgs.rep_ack, in hdcp2_authenticate_repeater_topology()
1777 const struct intel_hdcp_shim *shim = hdcp->shim; in hdcp2_authenticate_sink() local
1799 if (shim->config_stream_type) { in hdcp2_authenticate_sink()
1800 ret = shim->config_stream_type(connector, in hdcp2_authenticate_sink()
1837 if (hdcp->shim->stream_2_2_encryption) { in hdcp2_enable_stream_encryption()
1838 ret = hdcp->shim->stream_2_2_encryption(connector, true); in hdcp2_enable_stream_encryption()
1872 if (hdcp->shim->toggle_signalling) { in hdcp2_enable_encryption()
1873 ret = hdcp->shim->toggle_signalling(dig_port, cpu_transcoder, in hdcp2_enable_encryption()
1922 if (hdcp->shim->toggle_signalling) { in hdcp2_disable_encryption()
1923 ret = hdcp->shim->toggle_signalling(dig_port, cpu_transcoder, in hdcp2_disable_encryption()
2066 if (hdcp->shim->stream_2_2_encryption) { in _intel_hdcp2_disable()
2067 ret = hdcp->shim->stream_2_2_encryption(connector, false); in _intel_hdcp2_disable()
2126 ret = hdcp->shim->check_2_2_link(dig_port, connector); in intel_hdcp2_check_link()
2241 const struct intel_hdcp_shim *shim) in initialize_hdcp_port_data() argument
2264 data->protocol = (u8)shim->protocol; in initialize_hdcp_port_data()
2322 const struct intel_hdcp_shim *shim) in intel_hdcp2_init() argument
2328 ret = initialize_hdcp_port_data(connector, dig_port, shim); in intel_hdcp2_init()
2339 const struct intel_hdcp_shim *shim) in intel_hdcp_init() argument
2345 if (!shim) in intel_hdcp_init()
2349 intel_hdcp2_init(connector, dig_port, shim); in intel_hdcp_init()
2360 hdcp->shim = shim; in intel_hdcp_init()
2382 if (!hdcp->shim) in _intel_hdcp_enable()
2469 if (!hdcp->shim) in intel_hdcp_disable()
2503 if (!connector->hdcp.shim) in intel_hdcp_update_pipe()
2577 if (!hdcp->shim) in intel_hdcp_cleanup()
2605 hdcp->shim = NULL; in intel_hdcp_cleanup()
2662 if (!hdcp->shim) in intel_hdcp_handle_cp_irq()