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 void (*remove)(struct mei_cl_device *cldev);
94 ssize_t mei_cldev_send(struct mei_cl_device *cldev, const u8 *buf,
96 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length);
97 ssize_t mei_cldev_recv_nonblock(struct mei_cl_device *cldev, u8 *buf,
99 ssize_t mei_cldev_send_vtag(struct mei_cl_device *cldev, const u8 *buf,
101 ssize_t mei_cldev_recv_vtag(struct mei_cl_device *cldev, u8 *buf, size_t length,
103 ssize_t mei_cldev_recv_nonblock_vtag(struct mei_cl_device *cldev, u8 *buf,
106 int mei_cldev_register_rx_cb(struct mei_cl_device *cldev, mei_cldev_cb_t rx_cb);
107 int mei_cldev_register_notif_cb(struct mei_cl_device *cldev,
110 const uuid_le *mei_cldev_uuid(const struct mei_cl_device *cldev);
111 u8 mei_cldev_ver(const struct mei_cl_device *cldev);
113 void *mei_cldev_get_drvdata(const struct mei_cl_device *cldev);
114 void mei_cldev_set_drvdata(struct mei_cl_device *cldev, void *data);
116 int mei_cldev_enable(struct mei_cl_device *cldev);
117 int mei_cldev_disable(struct mei_cl_device *cldev);
118 bool mei_cldev_enabled(const struct mei_cl_device *cldev);
120 void *mei_cldev_dma_map(struct mei_cl_device *cldev, u8 buffer_id, size_t size);
121 int mei_cldev_dma_unmap(struct mei_cl_device *cldev);