Lines Matching refs:ec_dev
77 ret = cros_ec_cmd_xfer_status(ec->ec_dev, &snapshot_msg); in cros_ec_console_log_work()
94 ret = cros_ec_cmd_xfer_status(ec->ec_dev, in cros_ec_console_log_work()
201 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_pdinfo_read() local
233 if (cros_ec_cmd_xfer_status(ec_dev, msg) < 0) in cros_ec_pdinfo_read()
250 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_uptime_read() local
264 ret = cros_ec_cmd_xfer_status(ec_dev, &msg.cmd); in cros_ec_uptime_read()
318 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg) >= 0 && in ec_read_version_supported()
345 read_response_size = ec->ec_dev->max_response; in cros_ec_create_console_log()
384 struct cros_ec_device *ec_dev = debug_info->ec->ec_dev; in cros_ec_create_panicinfo() local
389 insize = ec_dev->max_response; in cros_ec_create_panicinfo()
399 ret = cros_ec_cmd_xfer_status(ec_dev, msg); in cros_ec_create_panicinfo()
452 &ec->ec_dev->last_resume_result); in cros_ec_debugfs_probe()