Lines Matching refs:mei_cl_device
12 struct mei_cl_device;
15 typedef void (*mei_cldev_cb_t)(struct mei_cl_device *cldev);
41 struct mei_cl_device { struct
61 #define to_mei_cl_device(d) container_of(d, struct mei_cl_device, dev) argument
69 int (*probe)(struct mei_cl_device *cldev,
71 int (*remove)(struct mei_cl_device *cldev);
94 ssize_t mei_cldev_send(struct mei_cl_device *cldev, u8 *buf, size_t length);
95 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length);
96 ssize_t mei_cldev_recv_nonblock(struct mei_cl_device *cldev, u8 *buf,
99 int mei_cldev_register_rx_cb(struct mei_cl_device *cldev, mei_cldev_cb_t rx_cb);
100 int mei_cldev_register_notif_cb(struct mei_cl_device *cldev,
103 const uuid_le *mei_cldev_uuid(const struct mei_cl_device *cldev);
104 u8 mei_cldev_ver(const struct mei_cl_device *cldev);
106 void *mei_cldev_get_drvdata(const struct mei_cl_device *cldev);
107 void mei_cldev_set_drvdata(struct mei_cl_device *cldev, void *data);
109 int mei_cldev_enable(struct mei_cl_device *cldev);
110 int mei_cldev_disable(struct mei_cl_device *cldev);
111 bool mei_cldev_enabled(struct mei_cl_device *cldev);