Home
last modified time | relevance | path

Searched refs:cros_ec_cmd_xfer_status (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_sysfs.c102 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in reboot_store()
131 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in version_show()
149 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in version_show()
162 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in version_show()
181 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in version_show()
216 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in flashinfo_show()
254 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in kb_wake_angle_show()
291 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in kb_wake_angle_store()
H A Dcros_ec_lightbar.c122 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in get_lightbar_version()
199 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in brightness_store()
259 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in led_rgb_store()
303 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in sequence_show()
337 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in lb_send_empty_cmd()
367 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in lb_manual_suspend_ctrl()
412 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in sequence_store()
469 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in program_store()
H A Dcros_ec_debugfs.c80 ret = cros_ec_cmd_xfer_status(ec->ec_dev, &snapshot_msg); in cros_ec_console_log_work()
97 ret = cros_ec_cmd_xfer_status(ec->ec_dev, in cros_ec_console_log_work()
236 if (cros_ec_cmd_xfer_status(ec_dev, msg) < 0) in cros_ec_pdinfo_read()
260 ret = cros_ec_cmd_xfer_status(ec_dev, &msg.cmd); in cros_ec_uptime_is_supported()
286 ret = cros_ec_cmd_xfer_status(ec_dev, &msg.cmd); in cros_ec_uptime_read()
341 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg) >= 0 && in ec_read_version_supported()
423 ret = cros_ec_cmd_xfer_status(ec_dev, msg); in cros_ec_get_panicinfo()
H A Dcros_ec_vbc.c43 err = cros_ec_cmd_xfer_status(ecdev, msg); in vboot_context_read()
86 err = cros_ec_cmd_xfer_status(ecdev, msg); in vboot_context_write()
H A Dcros_ec_proto.c667 int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev, in cros_ec_cmd_xfer_status() function
685 EXPORT_SYMBOL(cros_ec_cmd_xfer_status);
699 ret = cros_ec_cmd_xfer_status(ec_dev, msg); in get_next_event_xfer()
743 ec_dev->event_size = cros_ec_cmd_xfer_status(ec_dev, msg); in get_keyboard_state_event()
960 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in cros_ec_get_sensor_count()
1029 ret = cros_ec_cmd_xfer_status(ec_dev, msg); in cros_ec_cmd()
H A Dcros_kbd_led_backlight.c143 return cros_ec_cmd_xfer_status(keyboard_led->ec, msg); in keyboard_led_set_brightness_ec_pwm()
163 ret = cros_ec_cmd_xfer_status(keyboard_led->ec, msg); in keyboard_led_get_brightness_ec_pwm()
H A Dcros_ec_sensorhub_ring.c126 ret = cros_ec_cmd_xfer_status(sensorhub->ec->ec_dev, sensorhub->msg); in cros_ec_sensorhub_ring_fifo_enable()
789 if (cros_ec_cmd_xfer_status(ec->ec_dev, sensorhub->msg) < 0) in cros_ec_sensorhub_ring_handler()
827 ret = cros_ec_cmd_xfer_status(ec->ec_dev, sensorhub->msg); in cros_ec_sensorhub_ring_handler()
1013 ret = cros_ec_cmd_xfer_status(ec->ec_dev, sensorhub->msg); in cros_ec_sensorhub_ring_add()
H A Dcros_ec_sensorhub.c67 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in cros_ec_sensorhub_register()
H A Dcros_usbpd_logger.c73 ret = cros_ec_cmd_xfer_status(ec_dev->ec_dev, msg); in ec_get_log_entry()
H A Dcros_ec.c135 ret = cros_ec_cmd_xfer_status(ec_dev, &buf.msg); in cros_ec_sleep_event()
H A Dcros_ec_chardev.c70 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in ec_get_version()
H A Dcros_ec_proto_test.c1985 ret = cros_ec_cmd_xfer_status(ec_dev, &msg); in cros_ec_proto_test_cmd_xfer_status_normal()
2005 ret = cros_ec_cmd_xfer_status(ec_dev, &msg); in cros_ec_proto_test_cmd_xfer_status_xfer_error()
2052 ret = cros_ec_cmd_xfer_status(ec_dev, &msg); in cros_ec_proto_test_cmd_xfer_status_return_error()
/openbmc/linux/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c109 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_cec_set_log_addr()
134 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_cec_transmit()
159 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_cec_adap_enable()
/openbmc/linux/drivers/pwm/
H A Dpwm-cros-ec.c113 return cros_ec_cmd_xfer_status(ec, msg); in cros_ec_pwm_set_duty()
150 ret = cros_ec_cmd_xfer_status(ec, msg); in cros_ec_pwm_get_duty()
/openbmc/linux/drivers/rtc/
H A Drtc-cros-ec.c47 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_rtc_get()
70 ret = cros_ec_cmd_xfer_status(cros_ec, &msg.msg); in cros_ec_rtc_set()
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_proto.h246 int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev,
/openbmc/linux/drivers/iio/proximity/
H A Dcros_ec_mkbp_proximity.c83 ret = cros_ec_cmd_xfer_status(ec_dev, msg); in cros_ec_mkbp_proximity_query()
/openbmc/linux/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors_core.c51 ret = cros_ec_cmd_xfer_status(ec_dev, &buf.msg); in cros_ec_get_host_cmd_version_mask()
427 ret = cros_ec_cmd_xfer_status(state->ec, state->msg); in cros_ec_motion_send_host_cmd()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c215 result = cros_ec_cmd_xfer_status(bus->ec, msg); in ec_i2c_xfer()
/openbmc/linux/drivers/power/supply/
H A Dcros_peripheral_charger.c78 ret = cros_ec_cmd_xfer_status(charger->ec_device, msg); in cros_pchg_ec_command()
H A Dcros_usbpd-charger.c120 ret = cros_ec_cmd_xfer_status(charger->ec_device, msg); in cros_usbpd_charger_ec_command()
/openbmc/linux/drivers/extcon/
H A Dextcon-usbc-cros-ec.c83 ret = cros_ec_cmd_xfer_status(info->ec, msg); in cros_ec_pd_command()
/openbmc/linux/drivers/hid/
H A Dhid-google-hammer.c77 ret = cros_ec_cmd_xfer_status(ec_dev, msg); in cbas_ec_query_base()
/openbmc/linux/drivers/input/keyboard/
H A Dcros_ec_keyb.c372 ret = cros_ec_cmd_xfer_status(ec_dev, msg); in cros_ec_keyb_info()
/openbmc/linux/sound/soc/codecs/
H A Dcros_ec_codec.c93 ret = cros_ec_cmd_xfer_status(ec_dev, msg); in send_ec_host_command()