Lines Matching refs:cl
60 struct mei_cl *cl = &dev->wd_cl; in mei_wd_host_init() local
64 mei_cl_init(cl, dev); in mei_wd_host_init()
77 cl->me_client_id = me_cl->client_id; in mei_wd_host_init()
78 cl->cl_uuid = me_cl->props.protocol_name; in mei_wd_host_init()
81 ret = mei_cl_link(cl, MEI_WD_HOST_CLIENT_ID); in mei_wd_host_init()
88 ret = mei_cl_connect(cl, NULL); in mei_wd_host_init()
92 mei_cl_unlink(cl); in mei_wd_host_init()
98 mei_cl_disconnect(cl); in mei_wd_host_init()
99 mei_cl_unlink(cl); in mei_wd_host_init()
116 struct mei_cl *cl = &dev->wd_cl; in mei_wd_send() local
120 hdr.host_addr = cl->host_client_id; in mei_wd_send()
121 hdr.me_addr = cl->me_client_id; in mei_wd_send()
141 ret = mei_cl_flow_ctrl_reduce(cl); in mei_wd_send()
163 struct mei_cl *cl = &dev->wd_cl; in mei_wd_stop() local
166 if (!mei_cl_is_connected(cl) || in mei_wd_stop()
174 ret = mei_cl_flow_ctrl_creds(cl); in mei_wd_stop()
216 struct mei_cl *cl; in mei_wd_ops_start() local
223 cl = &dev->wd_cl; in mei_wd_ops_start()
233 if (!mei_cl_is_connected(cl)) { in mei_wd_ops_start()
234 cl_dbg(dev, cl, "MEI Driver is not connected to Watchdog Client\n"); in mei_wd_ops_start()
278 struct mei_cl *cl; in mei_wd_ops_ping() local
285 cl = &dev->wd_cl; in mei_wd_ops_ping()
289 if (!mei_cl_is_connected(cl)) { in mei_wd_ops_ping()
290 cl_err(dev, cl, "wd: not connected.\n"); in mei_wd_ops_ping()
297 ret = mei_cl_flow_ctrl_creds(cl); in mei_wd_ops_ping()