Searched refs:ec_rpmsg (Results 1 – 1 of 1) sorted by relevance
82 struct cros_ec_rpmsg *ec_rpmsg = ec_dev->priv; in cros_ec_pkt_xfer_rpmsg() local96 reinit_completion(&ec_rpmsg->xfer_ack); in cros_ec_pkt_xfer_rpmsg()97 ret = rpmsg_send(ec_rpmsg->ept, ec_dev->dout, len); in cros_ec_pkt_xfer_rpmsg()104 ret = wait_for_completion_timeout(&ec_rpmsg->xfer_ack, timeout); in cros_ec_pkt_xfer_rpmsg()151 struct cros_ec_rpmsg *ec_rpmsg = container_of(host_event_work, in cros_ec_rpmsg_host_event_function() local155 cros_ec_irq_thread(0, dev_get_drvdata(&ec_rpmsg->rpdev->dev)); in cros_ec_rpmsg_host_event_function()162 struct cros_ec_rpmsg *ec_rpmsg = ec_dev->priv; in cros_ec_rpmsg_callback() local181 complete(&ec_rpmsg->xfer_ack); in cros_ec_rpmsg_callback()187 if (ec_rpmsg->probe_done) in cros_ec_rpmsg_callback()188 schedule_work(&ec_rpmsg->host_event_work); in cros_ec_rpmsg_callback()[all …]