Lines Matching refs:cldev

35 	struct mei_cl_device *cldev;  in mei_pxp_send_message()  local
41 cldev = to_mei_cl_device(dev); in mei_pxp_send_message()
43 byte = mei_cldev_send(cldev, message, size); in mei_pxp_send_message()
62 struct mei_cl_device *cldev; in mei_pxp_receive_message() local
68 cldev = to_mei_cl_device(dev); in mei_pxp_receive_message()
70 byte = mei_cldev_recv(cldev, buffer, size); in mei_pxp_receive_message()
96 struct mei_cl_device *cldev; in mei_pxp_gsc_command() local
98 cldev = to_mei_cl_device(dev); in mei_pxp_gsc_command()
100 return mei_cldev_send_gsc_command(cldev, client_id, fence_id, sg_in, total_in_len, sg_out); in mei_pxp_gsc_command()
112 struct mei_cl_device *cldev = to_mei_cl_device(dev); in mei_component_master_bind() local
113 struct i915_pxp_component *comp_master = mei_cldev_get_drvdata(cldev); in mei_component_master_bind()
127 struct mei_cl_device *cldev = to_mei_cl_device(dev); in mei_component_master_unbind() local
128 struct i915_pxp_component *comp_master = mei_cldev_get_drvdata(cldev); in mei_component_master_unbind()
179 static int mei_pxp_probe(struct mei_cl_device *cldev, in mei_pxp_probe() argument
186 ret = mei_cldev_enable(cldev); in mei_pxp_probe()
188 dev_err(&cldev->dev, "mei_cldev_enable Failed. %d\n", ret); in mei_pxp_probe()
199 component_match_add_typed(&cldev->dev, &master_match, in mei_pxp_probe()
200 mei_pxp_component_match, &cldev->dev); in mei_pxp_probe()
206 mei_cldev_set_drvdata(cldev, comp_master); in mei_pxp_probe()
207 ret = component_master_add_with_match(&cldev->dev, in mei_pxp_probe()
211 dev_err(&cldev->dev, "Master comp add failed %d\n", ret); in mei_pxp_probe()
218 mei_cldev_set_drvdata(cldev, NULL); in mei_pxp_probe()
220 mei_cldev_disable(cldev); in mei_pxp_probe()
225 static void mei_pxp_remove(struct mei_cl_device *cldev) in mei_pxp_remove() argument
227 struct i915_pxp_component *comp_master = mei_cldev_get_drvdata(cldev); in mei_pxp_remove()
230 component_master_del(&cldev->dev, &mei_component_master_ops); in mei_pxp_remove()
232 mei_cldev_set_drvdata(cldev, NULL); in mei_pxp_remove()
234 ret = mei_cldev_disable(cldev); in mei_pxp_remove()
236 dev_warn(&cldev->dev, "mei_cldev_disable() failed\n"); in mei_pxp_remove()