Lines Matching refs:cldev
45 struct mei_cl_device *cldev; in mei_hdcp_initiate_session() local
51 cldev = to_mei_cl_device(dev); in mei_hdcp_initiate_session()
64 byte = mei_cldev_send(cldev, (u8 *)&session_init_in, in mei_hdcp_initiate_session()
71 byte = mei_cldev_recv(cldev, (u8 *)&session_init_out, in mei_hdcp_initiate_session()
115 struct mei_cl_device *cldev; in mei_hdcp_verify_receiver_cert_prepare_km() local
121 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_receiver_cert_prepare_km()
137 byte = mei_cldev_send(cldev, (u8 *)&verify_rxcert_in, in mei_hdcp_verify_receiver_cert_prepare_km()
144 byte = mei_cldev_recv(cldev, (u8 *)&verify_rxcert_out, in mei_hdcp_verify_receiver_cert_prepare_km()
187 struct mei_cl_device *cldev; in mei_hdcp_verify_hprime() local
193 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_hprime()
207 byte = mei_cldev_send(cldev, (u8 *)&send_hprime_in, in mei_hdcp_verify_hprime()
214 byte = mei_cldev_recv(cldev, (u8 *)&send_hprime_out, in mei_hdcp_verify_hprime()
244 struct mei_cl_device *cldev; in mei_hdcp_store_pairing_info() local
250 cldev = to_mei_cl_device(dev); in mei_hdcp_store_pairing_info()
265 byte = mei_cldev_send(cldev, (u8 *)&pairing_info_in, in mei_hdcp_store_pairing_info()
272 byte = mei_cldev_recv(cldev, (u8 *)&pairing_info_out, in mei_hdcp_store_pairing_info()
304 struct mei_cl_device *cldev; in mei_hdcp_initiate_locality_check() local
310 cldev = to_mei_cl_device(dev); in mei_hdcp_initiate_locality_check()
321 byte = mei_cldev_send(cldev, (u8 *)&lc_init_in, sizeof(lc_init_in)); in mei_hdcp_initiate_locality_check()
327 byte = mei_cldev_recv(cldev, (u8 *)&lc_init_out, sizeof(lc_init_out)); in mei_hdcp_initiate_locality_check()
359 struct mei_cl_device *cldev; in mei_hdcp_verify_lprime() local
365 cldev = to_mei_cl_device(dev); in mei_hdcp_verify_lprime()
380 byte = mei_cldev_send(cldev, (u8 *)&verify_lprime_in, in mei_hdcp_verify_lprime()
387 byte = mei_cldev_recv(cldev, (u8 *)&verify_lprime_out, in mei_hdcp_verify_lprime()
418 struct mei_cl_device *cldev; in mei_hdcp_get_session_key() local
424 cldev = to_mei_cl_device(dev); in mei_hdcp_get_session_key()
435 byte = mei_cldev_send(cldev, (u8 *)&get_skey_in, sizeof(get_skey_in)); in mei_hdcp_get_session_key()
441 byte = mei_cldev_recv(cldev, (u8 *)&get_skey_out, sizeof(get_skey_out)); in mei_hdcp_get_session_key()
482 struct mei_cl_device *cldev; in mei_hdcp_repeater_check_flow_prepare_ack() local
488 cldev = to_mei_cl_device(dev); in mei_hdcp_repeater_check_flow_prepare_ack()
509 byte = mei_cldev_send(cldev, (u8 *)&verify_repeater_in, in mei_hdcp_repeater_check_flow_prepare_ack()
516 byte = mei_cldev_recv(cldev, (u8 *)&verify_repeater_out, in mei_hdcp_repeater_check_flow_prepare_ack()
552 struct mei_cl_device *cldev; in mei_hdcp_verify_mprime() local
559 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
740 mei_cldev_get_drvdata(cldev); in mei_component_master_bind()
755 struct mei_cl_device *cldev = to_mei_cl_device(dev); in mei_component_master_unbind() local
757 mei_cldev_get_drvdata(cldev); in mei_component_master_unbind()
802 static int mei_hdcp_probe(struct mei_cl_device *cldev, in mei_hdcp_probe() argument
809 ret = mei_cldev_enable(cldev); in mei_hdcp_probe()
811 dev_err(&cldev->dev, "mei_cldev_enable Failed. %d\n", ret); in mei_hdcp_probe()
822 component_match_add_typed(&cldev->dev, &master_match, in mei_hdcp_probe()
823 mei_hdcp_component_match, &cldev->dev); in mei_hdcp_probe()
829 mei_cldev_set_drvdata(cldev, comp_master); in mei_hdcp_probe()
830 ret = component_master_add_with_match(&cldev->dev, in mei_hdcp_probe()
834 dev_err(&cldev->dev, "Master comp add failed %d\n", ret); in mei_hdcp_probe()
841 mei_cldev_set_drvdata(cldev, NULL); in mei_hdcp_probe()
843 mei_cldev_disable(cldev); in mei_hdcp_probe()
848 static int mei_hdcp_remove(struct mei_cl_device *cldev) in mei_hdcp_remove() argument
851 mei_cldev_get_drvdata(cldev); in mei_hdcp_remove()
853 component_master_del(&cldev->dev, &mei_component_master_ops); in mei_hdcp_remove()
855 mei_cldev_set_drvdata(cldev, NULL); in mei_hdcp_remove()
857 return mei_cldev_disable(cldev); in mei_hdcp_remove()