Home
last modified time | relevance | path

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

12

/linux/include/linux/platform_data/
H A Dcros_ec_proto.h82 struct cros_ec_command { struct
184 struct cros_ec_command *msg);
186 struct cros_ec_command *msg);
243 struct cros_ec_command *msg);
246 struct cros_ec_command *msg);
249 struct cros_ec_command *msg);
252 struct cros_ec_command *msg);
H A Dcros_ec_chardev.h34 #define CROS_EC_DEV_IOCXCMD _IOWR(CROS_EC_DEV_IOC, 0, struct cros_ec_command)
H A Dcros_ec_sensorhub.h152 struct cros_ec_command *msg;
/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test_util.h26 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 Dcros_ec_proto.c59 struct cros_ec_command *msg) in prepare_tx()
92 struct cros_ec_command *msg) in prepare_tx_legacy()
113 static int cros_ec_xfer_command(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_xfer_command()
116 int (*xfer_fxn)(struct cros_ec_device *ec, struct cros_ec_command *msg); in cros_ec_xfer_command()
142 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_wait_until_complete()
182 static int cros_ec_send_command(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_send_command()
203 struct cros_ec_command *msg) in cros_ec_prepare_tx()
226 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_rwsig_continue()
[all …]
H A Dcros_ec_lightbar.c87 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg()
89 struct cros_ec_command *msg; in alloc_lightbar_cmd_msg()
112 struct cros_ec_command *msg; in get_lightbar_version()
181 struct cros_ec_command *msg; in brightness_store()
222 struct cros_ec_command *msg; in led_rgb_store()
290 struct cros_ec_command *msg; in sequence_show()
324 struct cros_ec_command *msg; in lb_send_empty_cmd()
352 struct cros_ec_command *msg; in lb_manual_suspend_ctrl()
383 struct cros_ec_command *msg; in sequence_store()
428 struct cros_ec_command *msg; in program_store()
H A Dcros_ec_proto_test_util.c24 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 Dcros_ec_sensorhub.c56 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register()
145 struct cros_ec_command *msg; in cros_ec_sensorhub_probe()
148 msg = devm_kzalloc(dev, sizeof(struct cros_ec_command) + in cros_ec_sensorhub_probe()
H A Dcros_ec_trace.h22 TP_PROTO(struct cros_ec_command *cmd),
45 TP_PROTO(struct cros_ec_command *cmd, int retval),
H A Dcros_ec_sysfs.c55 struct cros_ec_command *msg; in reboot_store()
118 struct cros_ec_command *msg; in version_show()
204 struct cros_ec_command *msg; in flashinfo_show()
240 struct cros_ec_command *msg; in kb_wake_angle_show()
272 struct cros_ec_command *msg; in kb_wake_angle_store()
H A Dcros_usbpd_logger.c25 #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 Dcros_ec_proto_test.c22 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 Dcros_ec_vbc.c24 struct cros_ec_command *msg; in vboot_context_read()
69 struct cros_ec_command *msg; in vboot_context_write()
H A Dcros_kbd_led_backlight.c140 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in keyboard_led_set_brightness_ec_pwm()
157 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in keyboard_led_get_brightness_ec_pwm()
H A Dcros_ec_rpmsg.c66 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 Dcros_ec_i2c.c53 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 Dcros_ec_ishtp.c426 struct cros_ec_command *msg) in prepare_cros_ec_rx()
460 struct cros_ec_command *msg) in cros_ec_pkt_xfer_ish()
H A Dcros_ec_uart.c130 struct cros_ec_command *ec_msg) in cros_ec_uart_pkt_xfer()
H A Dcros_ec_lpc.c229 struct cros_ec_command *msg) in cros_ec_pkt_xfer_lpc()
311 struct cros_ec_command *msg) in cros_ec_cmd_xfer_lpc()
H A Dcros_ec.c106 struct cros_ec_command msg; in cros_ec_sleep_event()
/linux/drivers/pwm/
H A Dpwm-cros-ec.c53 struct cros_ec_command msg; in cros_ec_pwm_set_duty()
57 struct cros_ec_command *msg = &buf.msg; in cros_ec_pwm_set_duty()
87 struct cros_ec_command msg; in cros_ec_pwm_get_duty()
95 struct cros_ec_command *msg = &buf.msg; in cros_ec_pwm_get_duty()
/linux/include/linux/iio/common/
H A Dcros_ec_sensors_core.h64 struct cros_ec_command *msg;
/linux/drivers/rtc/
H A Drtc-cros-ec.c38 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_rtc_get()
57 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_rtc_set()
/linux/drivers/watchdog/
H A Dcros_ec_wdt.c28 DEFINE_RAW_FLEX(struct cros_ec_command, msg, data, in cros_ec_wdt_send_cmd()
/linux/drivers/power/supply/
H A Dcros_peripheral_charger.c64 struct cros_ec_command *msg; in cros_pchg_ec_command()

12