Lines Matching defs:me_cl
42 struct mei_me_client *me_cl;
44 list_for_each_entry(me_cl, &dev->me_clients, list)
45 if (uuid_le_cmp(*uuid, me_cl->props.protocol_name) == 0)
46 return me_cl;
64 struct mei_me_client *me_cl;
66 list_for_each_entry(me_cl, &dev->me_clients, list)
67 if (me_cl->client_id == client_id)
68 return me_cl;
86 struct mei_me_client *me_cl;
88 list_for_each_entry(me_cl, &dev->me_clients, list)
89 if (uuid_le_cmp(*uuid, me_cl->props.protocol_name) == 0 &&
90 me_cl->client_id == client_id)
91 return me_cl;
104 struct mei_me_client *me_cl, *next;
106 list_for_each_entry_safe(me_cl, next, &dev->me_clients, list) {
107 if (uuid_le_cmp(*uuid, me_cl->props.protocol_name) == 0 &&
108 me_cl->client_id == client_id) {
109 list_del(&me_cl->list);
110 kfree(me_cl);
404 * mei_cl_unlink - remove me_cl from the list
445 struct mei_me_client *me_cl;
450 list_for_each_entry(me_cl, &dev->me_clients, list) {
451 props = &me_cl->props;
697 struct mei_me_client *me_cl;
707 me_cl = mei_me_cl_by_id(dev, cl->me_client_id);
708 if (!me_cl) {
713 if (me_cl->mei_flow_ctrl_creds) {
714 if (WARN_ON(me_cl->props.single_recv_buf == 0))
734 struct mei_me_client *me_cl;
741 me_cl = mei_me_cl_by_id(dev, cl->me_client_id);
742 if (!me_cl) {
747 if (me_cl->props.single_recv_buf) {
748 if (WARN_ON(me_cl->mei_flow_ctrl_creds <= 0))
750 me_cl->mei_flow_ctrl_creds--;
771 struct mei_me_client *me_cl;
786 me_cl = mei_me_cl_by_uuid_id(dev, &cl->cl_uuid, cl->me_client_id);
787 if (!me_cl) {
806 length = max_t(size_t, length, me_cl->props.max_msg_length);