Lines Matching refs:cldev
46 struct mei_cl_device *cldev; in mei_hdcp_initiate_session() local
52 cldev = to_mei_cl_device(dev); in mei_hdcp_initiate_session()
65 byte = mei_cldev_send(cldev, (u8 *)&session_init_in, in mei_hdcp_initiate_session()
72 byte = mei_cldev_recv(cldev, (u8 *)&session_init_out, in mei_hdcp_initiate_session()
116 struct mei_cl_device *cldev; in mei_hdcp_verify_receiver_cert_prepare_km() local
122 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_receiver_cert_prepare_km()
138 byte = mei_cldev_send(cldev, (u8 *)&verify_rxcert_in, in mei_hdcp_verify_receiver_cert_prepare_km()
145 byte = mei_cldev_recv(cldev, (u8 *)&verify_rxcert_out, in mei_hdcp_verify_receiver_cert_prepare_km()
188 struct mei_cl_device *cldev; in mei_hdcp_verify_hprime() local
194 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_hprime()
208 byte = mei_cldev_send(cldev, (u8 *)&send_hprime_in, in mei_hdcp_verify_hprime()
215 byte = mei_cldev_recv(cldev, (u8 *)&send_hprime_out, in mei_hdcp_verify_hprime()
245 struct mei_cl_device *cldev; in mei_hdcp_store_pairing_info() local
251 cldev = to_mei_cl_device(dev); in mei_hdcp_store_pairing_info()
266 byte = mei_cldev_send(cldev, (u8 *)&pairing_info_in, in mei_hdcp_store_pairing_info()
273 byte = mei_cldev_recv(cldev, (u8 *)&pairing_info_out, in mei_hdcp_store_pairing_info()
305 struct mei_cl_device *cldev; in mei_hdcp_initiate_locality_check() local
311 cldev = to_mei_cl_device(dev); in mei_hdcp_initiate_locality_check()
322 byte = mei_cldev_send(cldev, (u8 *)&lc_init_in, sizeof(lc_init_in)); in mei_hdcp_initiate_locality_check()
328 byte = mei_cldev_recv(cldev, (u8 *)&lc_init_out, sizeof(lc_init_out)); in mei_hdcp_initiate_locality_check()
360 struct mei_cl_device *cldev; in mei_hdcp_verify_lprime() local
366 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_lprime()
381 byte = mei_cldev_send(cldev, (u8 *)&verify_lprime_in, in mei_hdcp_verify_lprime()
388 byte = mei_cldev_recv(cldev, (u8 *)&verify_lprime_out, in mei_hdcp_verify_lprime()
419 struct mei_cl_device *cldev; in mei_hdcp_get_session_key() local
425 cldev = to_mei_cl_device(dev); in mei_hdcp_get_session_key()
436 byte = mei_cldev_send(cldev, (u8 *)&get_skey_in, sizeof(get_skey_in)); in mei_hdcp_get_session_key()
442 byte = mei_cldev_recv(cldev, (u8 *)&get_skey_out, sizeof(get_skey_out)); in mei_hdcp_get_session_key()
483 struct mei_cl_device *cldev; in mei_hdcp_repeater_check_flow_prepare_ack() local
489 cldev = to_mei_cl_device(dev); in mei_hdcp_repeater_check_flow_prepare_ack()
510 byte = mei_cldev_send(cldev, (u8 *)&verify_repeater_in, in mei_hdcp_repeater_check_flow_prepare_ack()
517 byte = mei_cldev_recv(cldev, (u8 *)&verify_repeater_out, in mei_hdcp_repeater_check_flow_prepare_ack()
553 struct mei_cl_device *cldev; in mei_hdcp_verify_mprime() local
560 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_mprime()
587 byte = mei_cldev_send(cldev, (u8 *)verify_mprime_in, cmd_size); in mei_hdcp_verify_mprime()
594 byte = mei_cldev_recv(cldev, (u8 *)&verify_mprime_out, in mei_hdcp_verify_mprime()
624 struct mei_cl_device *cldev; in mei_hdcp_enable_authentication() local
630 cldev = to_mei_cl_device(dev); in mei_hdcp_enable_authentication()
642 byte = mei_cldev_send(cldev, (u8 *)&enable_auth_in, in mei_hdcp_enable_authentication()
649 byte = mei_cldev_recv(cldev, (u8 *)&enable_auth_out, in mei_hdcp_enable_authentication()
678 struct mei_cl_device *cldev; in mei_hdcp_close_session() local
684 cldev = to_mei_cl_device(dev); in mei_hdcp_close_session()
696 byte = mei_cldev_send(cldev, (u8 *)&session_close_in, in mei_hdcp_close_session()
703 byte = mei_cldev_recv(cldev, (u8 *)&session_close_out, in mei_hdcp_close_session()
738 struct mei_cl_device *cldev = to_mei_cl_device(dev); in mei_component_master_bind() local
739 struct i915_hdcp_arbiter *comp_arbiter = mei_cldev_get_drvdata(cldev); in mei_component_master_bind()
754 struct mei_cl_device *cldev = to_mei_cl_device(dev); in mei_component_master_unbind() local
755 struct i915_hdcp_arbiter *comp_arbiter = mei_cldev_get_drvdata(cldev); in mei_component_master_unbind()
809 static int mei_hdcp_probe(struct mei_cl_device *cldev, in mei_hdcp_probe() argument
816 ret = mei_cldev_enable(cldev); in mei_hdcp_probe()
818 dev_err(&cldev->dev, "mei_cldev_enable Failed. %d\n", ret); in mei_hdcp_probe()
829 component_match_add_typed(&cldev->dev, &master_match, in mei_hdcp_probe()
830 mei_hdcp_component_match, &cldev->dev); in mei_hdcp_probe()
836 mei_cldev_set_drvdata(cldev, comp_arbiter); in mei_hdcp_probe()
837 ret = component_master_add_with_match(&cldev->dev, in mei_hdcp_probe()
841 dev_err(&cldev->dev, "Master comp add failed %d\n", ret); in mei_hdcp_probe()
848 mei_cldev_set_drvdata(cldev, NULL); in mei_hdcp_probe()
850 mei_cldev_disable(cldev); in mei_hdcp_probe()
855 static void mei_hdcp_remove(struct mei_cl_device *cldev) in mei_hdcp_remove() argument
857 struct i915_hdcp_arbiter *comp_arbiter = mei_cldev_get_drvdata(cldev); in mei_hdcp_remove()
860 component_master_del(&cldev->dev, &mei_component_master_ops); in mei_hdcp_remove()
862 mei_cldev_set_drvdata(cldev, NULL); in mei_hdcp_remove()
864 ret = mei_cldev_disable(cldev); in mei_hdcp_remove()
866 dev_warn(&cldev->dev, "mei_cldev_disable() failed\n"); in mei_hdcp_remove()