Lines Matching refs:cldev
112 struct mei_cl_device *cldev; member
179 ret = mei_cldev_send(csi->cldev, buf, len); in mei_csi_send()
259 static void mei_csi_rx(struct mei_cl_device *cldev) in mei_csi_rx() argument
261 struct mei_csi *csi = mei_cldev_get_drvdata(cldev); in mei_csi_rx()
265 ret = mei_cldev_recv(cldev, (u8 *)¬if, sizeof(notif)); in mei_csi_rx()
267 dev_err(&cldev->dev, "recv error: %d\n", ret); in mei_csi_rx()
298 dev_err(&csi->cldev->dev, in mei_csi_set_stream()
324 dev_warn(&csi->cldev->dev, in mei_csi_set_stream()
541 dev_err(&csi->cldev->dev, in mei_csi_g_volatile_ctrl()
655 struct device *dev = &csi->cldev->dev; in mei_csi_parse_firmware()
702 static int mei_csi_probe(struct mei_cl_device *cldev, in mei_csi_probe() argument
705 struct device *dev = &cldev->dev; in mei_csi_probe()
716 csi->cldev = cldev; in mei_csi_probe()
720 mei_cldev_set_drvdata(cldev, csi); in mei_csi_probe()
722 ret = mei_cldev_enable(cldev); in mei_csi_probe()
728 ret = mei_cldev_register_rx_cb(cldev, mei_csi_rx); in mei_csi_probe()
738 csi->subdev.dev = &cldev->dev; in mei_csi_probe()
771 pm_runtime_enable(&cldev->dev); in mei_csi_probe()
788 mei_cldev_disable(cldev); in mei_csi_probe()
796 static void mei_csi_remove(struct mei_cl_device *cldev) in mei_csi_remove() argument
798 struct mei_csi *csi = mei_cldev_get_drvdata(cldev); in mei_csi_remove()
808 pm_runtime_disable(&cldev->dev); in mei_csi_remove()