Home
last modified time | relevance | path

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

12

/Linux-v6.1/include/linux/platform_data/
Dcros_ec_proto.h70 struct cros_ec_command { struct
160 struct cros_ec_command *msg);
162 struct cros_ec_command *msg);
216 struct cros_ec_command *msg);
219 struct cros_ec_command *msg);
222 struct cros_ec_command *msg);
225 struct cros_ec_command *msg);
Dcros_ec_chardev.h34 #define CROS_EC_DEV_IOCXCMD _IOWR(CROS_EC_DEV_IOC, 0, struct cros_ec_command)
Dcros_ec_sensorhub.h152 struct cros_ec_command *msg;
/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_proto.c56 struct cros_ec_command *msg) in prepare_tx()
89 struct cros_ec_command *msg) in prepare_tx_legacy()
110 static int cros_ec_xfer_command(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_xfer_command()
113 int (*xfer_fxn)(struct cros_ec_device *ec, struct cros_ec_command *msg); in cros_ec_xfer_command()
140 struct cros_ec_command msg; in cros_ec_wait_until_complete()
143 struct cros_ec_command *msg = &buf.msg; in cros_ec_wait_until_complete()
181 static int cros_ec_send_command(struct cros_ec_device *ec_dev, struct cros_ec_command *msg) in cros_ec_send_command()
202 struct cros_ec_command *msg) in cros_ec_prepare_tx()
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()
[all …]
Dcros_kunit_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);
Dcros_ec_lightbar.c85 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg()
87 struct cros_ec_command *msg; in alloc_lightbar_cmd_msg()
110 struct cros_ec_command *msg; in get_lightbar_version()
179 struct cros_ec_command *msg; in brightness_store()
220 struct cros_ec_command *msg; in led_rgb_store()
288 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()
Dcros_ec_debugfs.c47 struct cros_ec_command *read_msg;
66 struct cros_ec_command snapshot_msg = { in cros_ec_console_log_work()
203 struct cros_ec_command msg; in cros_ec_pdinfo_read()
209 struct cros_ec_command *msg; in cros_ec_pdinfo_read()
249 struct cros_ec_command cmd; in cros_ec_uptime_is_supported()
271 struct cros_ec_command cmd; in cros_ec_uptime_read()
322 struct cros_ec_command *msg; in ec_read_version_supported()
404 struct cros_ec_command *msg; in cros_ec_create_panicinfo()
Dcros_kbd_led_backlight.c129 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()
Dcros_kunit_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()
Dcros_ec_sysfs.c55 struct cros_ec_command *msg; in reboot_store()
118 struct cros_ec_command *msg; in version_show()
211 struct cros_ec_command *msg; in flashinfo_show()
247 struct cros_ec_command *msg; in kb_wake_angle_show()
279 struct cros_ec_command *msg; in kb_wake_angle_store()
Dcros_ec_sensorhub.c53 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()
Dcros_ec_spi.c83 struct cros_ec_command *ec_msg);
99 struct cros_ec_command *ec_msg;
390 struct cros_ec_command *ec_msg) in do_cros_ec_pkt_xfer_spi()
536 struct cros_ec_command *ec_msg) in do_cros_ec_cmd_xfer_spi()
659 struct cros_ec_command *ec_msg, in cros_ec_xfer_high_pri()
687 struct cros_ec_command *ec_msg) in cros_ec_pkt_xfer_spi()
693 struct cros_ec_command *ec_msg) in cros_ec_cmd_xfer_spi()
Dcros_ec_trace.h22 TP_PROTO(struct cros_ec_command *cmd),
45 TP_PROTO(struct cros_ec_command *cmd, int retval),
Dcros_usbpd_logger.c23 #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()
Dcros_ec_proto_test.c21 struct cros_ec_command *msg;
29 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_normal()
72 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize()
87 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_normal()
128 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_bad_msg_outsize()
141 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_check_result()
1546 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_normal()
1606 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_excess_msg_insize()
1644 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_excess_msg_outsize_without_passthru()
1667 struct cros_ec_command msg; in cros_ec_proto_test_cmd_xfer_excess_msg_outsize_with_passthru()
[all …]
Dcros_ec_vbc.c24 struct cros_ec_command *msg; in vboot_context_read()
64 struct cros_ec_command *msg; in vboot_context_write()
Dcros_ec_chardev.c60 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()
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()
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()
Dcros_ec_lpc.c142 struct cros_ec_command *msg) in cros_ec_pkt_xfer_lpc()
207 struct cros_ec_command *msg) in cros_ec_cmd_xfer_lpc()
/Linux-v6.1/drivers/pwm/
Dpwm-cros-ec.c84 struct cros_ec_command msg; in cros_ec_pwm_set_duty()
88 struct cros_ec_command *msg = &buf.msg; in cros_ec_pwm_set_duty()
119 struct cros_ec_command msg; in cros_ec_pwm_get_duty()
127 struct cros_ec_command *msg = &buf.msg; in cros_ec_pwm_get_duty()
/Linux-v6.1/drivers/media/cec/platform/cros-ec/
Dcros-ec-cec.c99 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()
/Linux-v6.1/drivers/iio/proximity/
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-v6.1/include/linux/iio/common/
Dcros_ec_sensors_core.h64 struct cros_ec_command *msg;
/Linux-v6.1/drivers/rtc/
Drtc-cros-ec.c37 struct cros_ec_command msg; in cros_ec_rtc_get()
64 struct cros_ec_command msg; in cros_ec_rtc_set()

12