/openbmc/linux/include/linux/platform_data/ |
H A D | cros_ec_proto.h | 77 struct cros_ec_command { struct 179 struct cros_ec_command *msg); 181 struct cros_ec_command *msg); 238 struct cros_ec_command *msg); 241 struct cros_ec_command *msg); 244 struct cros_ec_command *msg); 247 struct cros_ec_command *msg);
|
H A D | cros_ec_chardev.h | 34 #define CROS_EC_DEV_IOCXCMD _IOWR(CROS_EC_DEV_IOC, 0, struct cros_ec_command)
|
H A D | cros_ec_sensorhub.h | 152 struct cros_ec_command *msg;
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_kunit_util.h | 16 struct cros_ec_command msg; 31 int cros_kunit_ec_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg); 32 int cros_kunit_ec_cmd_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg); 33 int cros_kunit_ec_pkt_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg);
|
H A D | cros_ec_proto.c | 56 struct cros_ec_command *msg) in prepare_tx() 140 struct cros_ec_command msg; in cros_ec_wait_until_complete() 225 struct cros_ec_command *msg) in cros_ec_check_result() 257 struct cros_ec_command *msg; in cros_ec_get_host_event_wake_mask() 293 struct cros_ec_command *msg; in cros_ec_get_proto_info() 371 struct cros_ec_command *msg; in cros_ec_get_proto_info_legacy() 450 struct cros_ec_command *msg; in cros_ec_get_host_command_version_mask() 711 struct cros_ec_command msg; in get_next_event() 736 struct cros_ec_command *msg = (struct cros_ec_command *)&buffer; in get_keyboard_state_event() 943 struct cros_ec_command *msg; in cros_ec_get_sensor_count() [all …]
|
H A D | cros_ec_lightbar.c | 86 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg() 88 struct cros_ec_command *msg; in alloc_lightbar_cmd_msg() 111 struct cros_ec_command *msg; in get_lightbar_version() 180 struct cros_ec_command *msg; in brightness_store() 221 struct cros_ec_command *msg; in led_rgb_store() 289 struct cros_ec_command *msg; in sequence_show() 323 struct cros_ec_command *msg; in lb_send_empty_cmd() 351 struct cros_ec_command *msg; in lb_manual_suspend_ctrl() 382 struct cros_ec_command *msg; in sequence_store() 427 struct cros_ec_command *msg; in program_store()
|
H A D | cros_kunit_util.c | 24 int cros_kunit_ec_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_kunit_ec_xfer_mock() 52 int cros_kunit_ec_cmd_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_kunit_ec_cmd_xfer_mock() 58 int cros_kunit_ec_pkt_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_kunit_ec_pkt_xfer_mock()
|
H A D | cros_kbd_led_backlight.c | 129 struct cros_ec_command msg; in keyboard_led_set_brightness_ec_pwm() 133 struct cros_ec_command *msg = &buf.msg; in keyboard_led_set_brightness_ec_pwm() 150 struct cros_ec_command msg; in keyboard_led_get_brightness_ec_pwm() 154 struct cros_ec_command *msg = &buf.msg; in keyboard_led_get_brightness_ec_pwm()
|
H A D | cros_ec_debugfs.c | 49 struct cros_ec_command *read_msg; 69 struct cros_ec_command snapshot_msg = { in cros_ec_console_log_work() 206 struct cros_ec_command msg; in cros_ec_pdinfo_read() 212 struct cros_ec_command *msg; in cros_ec_pdinfo_read() 252 struct cros_ec_command cmd; in cros_ec_uptime_is_supported() 274 struct cros_ec_command cmd; in cros_ec_uptime_read() 325 struct cros_ec_command *msg; in ec_read_version_supported() 411 struct cros_ec_command *msg; in cros_ec_get_panicinfo()
|
H A D | cros_ec_sysfs.c | 54 struct cros_ec_command *msg; in reboot_store() 117 struct cros_ec_command *msg; in version_show() 203 struct cros_ec_command *msg; in flashinfo_show() 239 struct cros_ec_command *msg; in kb_wake_angle_show() 271 struct cros_ec_command *msg; in kb_wake_angle_store()
|
H A D | cros_ec_sensorhub.c | 53 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register() 129 struct cros_ec_command *msg; in cros_ec_sensorhub_probe() 132 msg = devm_kzalloc(dev, sizeof(struct cros_ec_command) + in cros_ec_sensorhub_probe()
|
H A D | cros_ec_trace.h | 22 TP_PROTO(struct cros_ec_command *cmd), 45 TP_PROTO(struct cros_ec_command *cmd, int retval),
|
H A D | cros_ec_spi.c | 83 struct cros_ec_command *ec_msg); 99 struct cros_ec_command *ec_msg; 384 struct cros_ec_command *ec_msg) in do_cros_ec_pkt_xfer_spi() 530 struct cros_ec_command *ec_msg) in do_cros_ec_cmd_xfer_spi() 653 struct cros_ec_command *ec_msg, in cros_ec_xfer_high_pri() 681 struct cros_ec_command *ec_msg) in cros_ec_pkt_xfer_spi() 687 struct cros_ec_command *ec_msg) in cros_ec_cmd_xfer_spi()
|
H A D | cros_usbpd_logger.c | 23 #define CROS_USBPD_BUFFER_SIZE (sizeof(struct cros_ec_command) + \ 65 struct cros_ec_command *msg; in ec_get_log_entry() 68 msg = (struct cros_ec_command *)logger->ec_buffer; in ec_get_log_entry()
|
H A D | cros_ec_vbc.c | 24 struct cros_ec_command *msg; in vboot_context_read() 64 struct cros_ec_command *msg; in vboot_context_write()
|
H A D | cros_ec_proto_test.c | 22 struct cros_ec_command *msg; 1690 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_protocol_v3_normal() 1710 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_protocol_v3_no_op() 1727 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_protocol_v2_normal() 1747 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_protocol_v2_no_op() 1765 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_normal() 1820 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_retries_eagain() 1848 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_retries_status_processing() 1887 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_xfer_error() 1913 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_return_error() [all …]
|
H A D | cros_ec_chardev.c | 60 struct cros_ec_command *msg; in ec_get_version() 276 struct cros_ec_command *s_cmd; in cros_ec_chardev_ioctl_xcmd() 277 struct cros_ec_command u_cmd; in cros_ec_chardev_ioctl_xcmd()
|
H A D | cros_ec_rpmsg.c | 66 struct cros_ec_command *ec_msg) in cros_ec_cmd_xfer_rpmsg() 80 struct cros_ec_command *ec_msg) in cros_ec_pkt_xfer_rpmsg()
|
H A D | cros_ec_i2c.c | 53 struct cros_ec_command *msg) in cros_ec_pkt_xfer_i2c() 189 struct cros_ec_command *msg) in cros_ec_cmd_xfer_i2c()
|
H A D | cros_ec_lpc.c | 144 struct cros_ec_command *msg) in cros_ec_pkt_xfer_lpc() 209 struct cros_ec_command *msg) in cros_ec_cmd_xfer_lpc()
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-cros-ec.c | 85 struct cros_ec_command msg; in cros_ec_pwm_set_duty() 89 struct cros_ec_command *msg = &buf.msg; in cros_ec_pwm_set_duty() 120 struct cros_ec_command msg; in cros_ec_pwm_get_duty() 128 struct cros_ec_command *msg = &buf.msg; in cros_ec_pwm_get_duty()
|
/openbmc/linux/drivers/media/cec/platform/cros-ec/ |
H A D | cros-ec-cec.c | 99 struct cros_ec_command msg; in cros_ec_cec_set_log_addr() 125 struct cros_ec_command msg; in cros_ec_cec_transmit() 149 struct cros_ec_command msg; in cros_ec_cec_adap_enable()
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | cros_ec_mkbp_proximity.c | 63 struct cros_ec_command msg; in cros_ec_mkbp_proximity_query() 70 struct cros_ec_command *msg = &buf.msg; in cros_ec_mkbp_proximity_query()
|
/openbmc/linux/include/linux/iio/common/ |
H A D | cros_ec_sensors_core.h | 64 struct cros_ec_command *msg;
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-cros-ec.c | 39 struct cros_ec_command msg; in cros_ec_rtc_get() 61 struct cros_ec_command msg; in cros_ec_rtc_set()
|