| /linux/include/linux/platform_data/ |
| H A D | cros_ec_proto.h | 88 struct cros_ec_command { struct 192 struct cros_ec_command *msg); 194 struct cros_ec_command *msg); 253 struct cros_ec_command *msg); 256 struct cros_ec_command *msg); 259 struct cros_ec_command *msg); 262 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;
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_proto.c | 60 struct cros_ec_command *msg) in prepare_tx() 93 struct cros_ec_command *msg) in prepare_tx_legacy() 114 static int cros_ec_xfer_command(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_xfer_command() 117 int (*xfer_fxn)(struct cros_ec_device *ec, struct cros_ec_command *msg); in cros_ec_xfer_command() 143 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_wait_until_complete() 183 static int cros_ec_send_command(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_send_command() 204 struct cros_ec_command *msg) in cros_ec_prepare_tx() 227 struct cros_ec_command *msg) in cros_ec_check_result() 258 struct cros_ec_command *msg; in cros_ec_get_host_event_wake_mask() 294 struct cros_ec_command *msg; in cros_ec_rwsig_continue() [all …]
|
| H A D | cros_ec_proto_test_util.h | 26 struct cros_ec_command msg; 34 int cros_kunit_ec_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg); 35 int cros_kunit_ec_cmd_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg); 36 int cros_kunit_ec_pkt_xfer_mock(struct cros_ec_device *ec_dev, struct cros_ec_command *msg);
|
| H A D | cros_ec_lightbar.c | 98 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg() 101 struct cros_ec_command *msg; in alloc_lightbar_cmd_msg() 125 struct cros_ec_command *msg; in get_lightbar_version() 194 struct cros_ec_command *msg; in num_segments_show() 235 struct cros_ec_command *msg; in brightness_store() 276 struct cros_ec_command *msg; in led_rgb_store() 344 struct cros_ec_command *msg; in sequence_show() 378 struct cros_ec_command *msg; in lb_send_empty_cmd() 406 struct cros_ec_command *msg; in lb_manual_suspend_ctrl() 437 struct cros_ec_command *msg; in sequence_store() [all …]
|
| H A D | cros_ec_proto_test_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_ec_debugfs.c | 53 struct cros_ec_command *read_msg; 73 struct cros_ec_command snapshot_msg = { in cros_ec_console_log_work() 209 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_pdinfo_read() 248 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_uptime_is_supported() 268 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_uptime_read() 316 struct cros_ec_command *msg; in ec_read_version_supported() 402 struct cros_ec_command *msg; in cros_ec_get_panicinfo()
|
| H A D | cros_ec_sensorhub.c | 55 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register() 148 struct cros_ec_command *msg; in cros_ec_sensorhub_probe() 151 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_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_proto_test.c | 22 struct cros_ec_command *msg; 30 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_normal() 73 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize() 88 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_normal() 129 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_bad_msg_outsize() 142 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_check_result() 1546 DEFINE_RAW_FLEX(struct cros_ec_command, buf, data, 0x100); in cros_ec_proto_test_cmd_xfer_normal() 1603 DEFINE_RAW_FLEX(struct cros_ec_command, buf, data, 0x100); in cros_ec_proto_test_cmd_xfer_excess_msg_insize() 1638 DEFINE_RAW_FLEX(struct cros_ec_command, buf, data, 0x100); in cros_ec_proto_test_cmd_xfer_excess_msg_outsize_without_passthru() 1658 DEFINE_RAW_FLEX(struct cros_ec_command, buf, data, 0x100); in cros_ec_proto_test_cmd_xfer_excess_msg_outsize_with_passthru() [all …]
|
| H A D | cros_usbpd_logger.c | 25 #define CROS_USBPD_BUFFER_SIZE (sizeof(struct cros_ec_command) + \ 67 struct cros_ec_command *msg; in ec_get_log_entry() 70 msg = (struct cros_ec_command *)logger->ec_buffer; in ec_get_log_entry()
|
| H A D | cros_ec_vbc.c | 23 struct cros_ec_command *msg; in vboot_context_read() 68 struct cros_ec_command *msg; in vboot_context_write()
|
| H A D | cros_kbd_led_backlight.c | 133 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in keyboard_led_set_brightness_ec_pwm() 150 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in keyboard_led_get_brightness_ec_pwm()
|
| H A D | cros_ec_chardev.c | 88 struct cros_ec_command *msg; in ec_get_version() 322 struct cros_ec_command *s_cmd; in cros_ec_chardev_ioctl_xcmd() 323 struct cros_ec_command u_cmd; in cros_ec_chardev_ioctl_xcmd()
|
| /linux/drivers/iio/proximity/ |
| H A D | cros_ec_mkbp_proximity.c | 61 DEFINE_RAW_FLEX(struct cros_ec_command, buf, data, in cros_ec_mkbp_proximity_query() 64 struct cros_ec_command *msg = buf; in cros_ec_mkbp_proximity_query()
|
| /linux/include/linux/iio/common/ |
| H A D | cros_ec_sensors_core.h | 64 struct cros_ec_command *msg;
|
| /linux/drivers/rtc/ |
| H A D | rtc-cros-ec.c | 37 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_rtc_get() 56 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_rtc_set()
|
| /linux/drivers/watchdog/ |
| H A D | cros_ec_wdt.c | 27 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_wdt_send_cmd()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-cros-ec-tunnel.c | 184 struct cros_ec_command *msg; in ec_i2c_xfer()
|
| /linux/drivers/power/supply/ |
| H A D | cros_peripheral_charger.c | 63 struct cros_ec_command *msg; in cros_pchg_ec_command()
|
| H A D | cros_usbpd-charger.c | 93 struct cros_ec_command *msg; in cros_usbpd_charger_ec_command()
|
| /linux/drivers/extcon/ |
| H A D | extcon-usbc-cros-ec.c | 68 struct cros_ec_command *msg; in cros_ec_pd_command()
|
| /linux/drivers/hid/ |
| H A D | hid-google-hammer.c | 59 struct cros_ec_command *msg; in cbas_ec_query_base()
|