Lines Matching refs:cldev
114 struct mei_cl_device *cldev; member
177 ret = mei_cldev_send(csi->cldev, buf, len); in mei_csi_send()
257 static void mei_csi_rx(struct mei_cl_device *cldev) in mei_csi_rx() argument
259 struct mei_csi *csi = mei_cldev_get_drvdata(cldev); in mei_csi_rx()
263 ret = mei_cldev_recv(cldev, (u8 *)¬if, sizeof(notif)); in mei_csi_rx()
265 dev_err(&cldev->dev, "recv error: %d\n", ret); in mei_csi_rx()
295 dev_err(&csi->cldev->dev, in mei_csi_set_stream()
321 dev_warn(&csi->cldev->dev, in mei_csi_set_stream()
484 dev_err(&csi->cldev->dev, in mei_csi_g_volatile_ctrl()
601 struct device *dev = &csi->cldev->dev; in mei_csi_parse_firmware()
667 static int mei_csi_probe(struct mei_cl_device *cldev, in mei_csi_probe() argument
670 struct device *dev = &cldev->dev; in mei_csi_probe()
696 csi->cldev = cldev; in mei_csi_probe()
700 mei_cldev_set_drvdata(cldev, csi); in mei_csi_probe()
702 ret = mei_cldev_enable(cldev); in mei_csi_probe()
708 ret = mei_cldev_register_rx_cb(cldev, mei_csi_rx); in mei_csi_probe()
718 csi->subdev.dev = &cldev->dev; in mei_csi_probe()
750 pm_runtime_enable(&cldev->dev); in mei_csi_probe()
767 mei_cldev_disable(cldev); in mei_csi_probe()
775 static void mei_csi_remove(struct mei_cl_device *cldev) in mei_csi_remove() argument
777 struct mei_csi *csi = mei_cldev_get_drvdata(cldev); in mei_csi_remove()
787 pm_runtime_disable(&cldev->dev); in mei_csi_remove()