Home
last modified time | relevance | path

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

12

/linux-6.15/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-6.15/drivers/platform/chrome/
H A Dcros_ec_proto.c143 struct cros_ec_command msg; in cros_ec_wait_until_complete()
228 struct cros_ec_command *msg) in cros_ec_check_result()
259 struct cros_ec_command *msg; in cros_ec_get_host_event_wake_mask()
295 struct cros_ec_command *msg; in cros_ec_rwsig_continue()
353 struct cros_ec_command *msg; in cros_ec_get_proto_info()
422 struct cros_ec_command *msg; in cros_ec_get_proto_info_legacy()
500 struct cros_ec_command *msg; in cros_ec_get_host_command_version_mask()
761 struct cros_ec_command msg; in get_next_event()
795 struct cros_ec_command *msg = (struct cros_ec_command *)&buffer; in get_keyboard_state_event()
1002 struct cros_ec_command *msg; in cros_ec_get_sensor_count()
[all …]
H A Dcros_ec_proto_test_util.h16 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 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_kbd_led_backlight.c141 struct cros_ec_command msg; in keyboard_led_set_brightness_ec_pwm()
145 struct cros_ec_command *msg = &buf.msg; in keyboard_led_set_brightness_ec_pwm()
162 struct cros_ec_command msg; in keyboard_led_get_brightness_ec_pwm()
166 struct cros_ec_command *msg = &buf.msg; in keyboard_led_get_brightness_ec_pwm()
H A Dcros_ec_debugfs.c54 struct cros_ec_command *read_msg;
74 struct cros_ec_command snapshot_msg = { in cros_ec_console_log_work()
211 struct cros_ec_command msg; in cros_ec_pdinfo_read()
217 struct cros_ec_command *msg; in cros_ec_pdinfo_read()
257 struct cros_ec_command cmd; in cros_ec_uptime_is_supported()
279 struct cros_ec_command cmd; in cros_ec_uptime_read()
329 struct cros_ec_command *msg; in ec_read_version_supported()
415 struct cros_ec_command *msg; in cros_ec_get_panicinfo()
H A Dcros_ec_sensorhub.c54 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register()
130 struct cros_ec_command *msg; in cros_ec_sensorhub_probe()
133 msg = devm_kzalloc(dev, sizeof(struct cros_ec_command) + in cros_ec_sensorhub_probe()
H A Dcros_ec_spi.c83 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 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;
1678 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_protocol_v3_normal()
1698 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_protocol_v3_no_op()
1715 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_protocol_v2_normal()
1735 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_protocol_v2_no_op()
1753 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_normal()
1808 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_retries_eagain()
1836 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_retries_status_processing()
1875 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_xfer_error()
1901 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_in_progress_return_error()
[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_ec_chardev.c61 struct cros_ec_command *msg; in ec_get_version()
277 struct cros_ec_command *s_cmd; in cros_ec_chardev_ioctl_xcmd()
278 struct cros_ec_command u_cmd; in cros_ec_chardev_ioctl_xcmd()
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()
/linux-6.15/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-6.15/drivers/iio/proximity/
H A Dcros_ec_mkbp_proximity.c63 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()
/linux-6.15/include/linux/iio/common/
H A Dcros_ec_sensors_core.h64 struct cros_ec_command *msg;
/linux-6.15/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-6.15/drivers/watchdog/
H A Dcros_ec_wdt.c29 struct cros_ec_command msg; in cros_ec_wdt_send_cmd()

12