Lines Matching refs:mei_cl

329 static inline bool mei_cl_cmp_id(const struct mei_cl *cl1,  in mei_cl_cmp_id()
330 const struct mei_cl *cl2) in mei_cl_cmp_id()
361 struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, enum mei_cb_file_ops type, in mei_io_cb_init()
386 struct mei_cl *cl, bool free) in __mei_io_list_flush()
406 void mei_io_list_flush(struct mei_cl_cb *list, struct mei_cl *cl) in mei_io_list_flush()
417 static inline void mei_io_list_free(struct mei_cl_cb *list, struct mei_cl *cl) in mei_io_list_free()
457 struct mei_cl_cb *mei_cl_alloc_cb(struct mei_cl *cl, size_t length, in mei_cl_alloc_cb()
483 struct mei_cl_cb *mei_cl_read_cb(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb()
501 void mei_cl_read_cb_flush(const struct mei_cl *cl, const struct file *fp) in mei_cl_read_cb_flush()
523 int mei_cl_flush_queues(struct mei_cl *cl, const struct file *fp) in mei_cl_flush_queues()
552 void mei_cl_init(struct mei_cl *cl, struct mei_device *dev) in mei_cl_init()
554 memset(cl, 0, sizeof(struct mei_cl)); in mei_cl_init()
573 struct mei_cl *mei_cl_allocate(struct mei_device *dev) in mei_cl_allocate()
575 struct mei_cl *cl; in mei_cl_allocate()
577 cl = kmalloc(sizeof(struct mei_cl), GFP_KERNEL); in mei_cl_allocate()
596 int mei_cl_link(struct mei_cl *cl, int id) in mei_cl_link()
643 int mei_cl_unlink(struct mei_cl *cl) in mei_cl_unlink()
734 void mei_cl_set_disconnected(struct mei_cl *cl) in mei_cl_set_disconnected()
761 static int mei_cl_set_connecting(struct mei_cl *cl, struct mei_me_client *me_cl) in mei_cl_set_connecting()
789 static int mei_cl_send_disconnect(struct mei_cl *cl, struct mei_cl_cb *cb) in mei_cl_send_disconnect()
819 int mei_cl_irq_disconnect(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_disconnect()
848 static int __mei_cl_disconnect(struct mei_cl *cl) in __mei_cl_disconnect()
904 int mei_cl_disconnect(struct mei_cl *cl) in mei_cl_disconnect()
949 static bool mei_cl_is_other_connecting(struct mei_cl *cl) in mei_cl_is_other_connecting()
973 static int mei_cl_send_connect(struct mei_cl *cl, struct mei_cl_cb *cb) in mei_cl_send_connect()
1001 int mei_cl_irq_connect(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_connect()
1036 int mei_cl_connect(struct mei_cl *cl, struct mei_me_client *me_cl, in mei_cl_connect()
1126 struct mei_cl *mei_cl_alloc_linked(struct mei_device *dev, int id) in mei_cl_alloc_linked()
1128 struct mei_cl *cl; in mei_cl_alloc_linked()
1156 int mei_cl_flow_ctrl_creds(struct mei_cl *cl) in mei_cl_flow_ctrl_creds()
1189 int mei_cl_flow_ctrl_reduce(struct mei_cl *cl) in mei_cl_flow_ctrl_reduce()
1248 int mei_cl_irq_notify(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_notify()
1286 int mei_cl_notify_request(struct mei_cl *cl, struct file *file, u8 request) in mei_cl_notify_request()
1357 void mei_cl_notify(struct mei_cl *cl) in mei_cl_notify()
1390 int mei_cl_notify_get(struct mei_cl *cl, bool block, bool *notify_ev) in mei_cl_notify_get()
1433 int mei_cl_read_start(struct mei_cl *cl, size_t length, struct file *fp) in mei_cl_read_start()
1506 int mei_cl_irq_write(struct mei_cl *cl, struct mei_cl_cb *cb, in mei_cl_irq_write()
1595 int mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, bool blocking) in mei_cl_write()
1706 void mei_cl_complete(struct mei_cl *cl, struct mei_cl_cb *cb) in mei_cl_complete()
1755 struct mei_cl *cl; in mei_cl_all_disconnect()
1769 struct mei_cl *cl; in mei_cl_all_wakeup()