Home
last modified time | relevance | path

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

12

/linux/drivers/platform/chrome/
A Dcros_ec_proto.c56 struct cros_ec_command *msg) in prepare_packet()
89 struct cros_ec_command *msg) in send_command()
115 struct cros_ec_command *status_msg; in send_command()
205 struct cros_ec_command *msg) in cros_ec_check_result()
309 struct cros_ec_command *msg; in cros_ec_host_command_proto_query_v2()
377 struct cros_ec_command *msg; in cros_ec_get_host_command_version_mask()
414 struct cros_ec_command *proto_msg; in cros_ec_query_all()
654 struct cros_ec_command msg; in get_next_event()
679 struct cros_ec_command *msg = (struct cros_ec_command *)&buffer; in get_keyboard_state_event()
851 struct cros_ec_command *msg; in cros_ec_get_sensor_count()
[all …]
A 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()
A Dcros_ec_debugfs.c45 struct cros_ec_command *read_msg;
65 struct cros_ec_command snapshot_msg = { in cros_ec_console_log_work()
202 struct cros_ec_command msg; in cros_ec_pdinfo_read()
208 struct cros_ec_command *msg; in cros_ec_pdinfo_read()
248 struct cros_ec_command cmd; in cros_ec_uptime_is_supported()
270 struct cros_ec_command cmd; in cros_ec_uptime_read()
321 struct cros_ec_command *msg; in ec_read_version_supported()
404 struct cros_ec_command *msg; in cros_ec_create_panicinfo()
A 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()
A Dcros_ec_spi.c83 struct cros_ec_command *ec_msg);
99 struct cros_ec_command *ec_msg;
389 struct cros_ec_command *ec_msg) in do_cros_ec_pkt_xfer_spi()
533 struct cros_ec_command *ec_msg) in do_cros_ec_cmd_xfer_spi()
654 struct cros_ec_command *ec_msg, in cros_ec_xfer_high_pri()
682 struct cros_ec_command *ec_msg) in cros_ec_pkt_xfer_spi()
688 struct cros_ec_command *ec_msg) in cros_ec_cmd_xfer_spi()
A 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()
A 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()
A Dcros_ec_typec.c568 if (cros_ec_command(typec->ec, 0, EC_CMD_USB_PD_MUX_ACK, &mux_ack, in cros_typec_configure_mux()
640 return cros_ec_command(typec->ec, 0, EC_CMD_USB_PD_MUX_INFO, &req, in cros_typec_get_mux_info()
748 ret = cros_ec_command(typec->ec, 0, EC_CMD_TYPEC_DISCOVERY, &req, sizeof(req), in cros_typec_handle_sop_prime_disc()
831 ret = cros_ec_command(typec->ec, 0, EC_CMD_TYPEC_DISCOVERY, &req, sizeof(req), in cros_typec_handle_sop_disc()
864 return cros_ec_command(typec->ec, 0, EC_CMD_TYPEC_CONTROL, &req, in cros_typec_send_clear_event()
876 ret = cros_ec_command(typec->ec, 0, EC_CMD_TYPEC_STATUS, &req, sizeof(req), in cros_typec_handle_status()
955 ret = cros_ec_command(typec->ec, typec->pd_ctrl_ver, in cros_typec_port_update()
1007 ret = cros_ec_command(typec->ec, 1, EC_CMD_GET_CMD_VERSIONS, in cros_typec_get_cmd_version()
1091 ret = cros_ec_command(typec->ec, 0, EC_CMD_USB_PD_PORTS, NULL, 0, in cros_typec_probe()
A Dcros_ec_vbc.c24 struct cros_ec_command *msg; in vboot_context_read()
64 struct cros_ec_command *msg; in vboot_context_write()
A 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()
A Dcros_ec_trace.h23 TP_PROTO(struct cros_ec_command *cmd),
46 TP_PROTO(struct cros_ec_command *cmd, int retval),
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()
A Dcros_ec_i2c.c53 struct cros_ec_command *msg) in cros_ec_pkt_xfer_i2c()
181 struct cros_ec_command *msg) in cros_ec_cmd_xfer_i2c()
A Dcros_ec_lpc.c142 struct cros_ec_command *msg) in cros_ec_pkt_xfer_lpc()
205 struct cros_ec_command *msg) in cros_ec_cmd_xfer_lpc()
A Dcros_usbpd_notify.c74 ret = cros_ec_command(ec_dev, 0, EC_CMD_PD_HOST_EVENT_STATUS, in cros_usbpd_get_event_and_notify()
A Dcros_ec_ishtp.c451 struct cros_ec_command *msg) in prepare_cros_ec_rx()
485 struct cros_ec_command *msg) in cros_ec_pkt_xfer_ish()
/linux/include/linux/platform_data/
A Dcros_ec_proto.h66 struct cros_ec_command { struct
159 struct cros_ec_command *msg);
161 struct cros_ec_command *msg);
214 struct cros_ec_command *msg);
217 struct cros_ec_command *msg);
220 struct cros_ec_command *msg);
234 int cros_ec_command(struct cros_ec_device *ec_dev, unsigned int version, int command, void *outdata,
A Dcros_ec_chardev.h34 #define CROS_EC_DEV_IOCXCMD _IOWR(CROS_EC_DEV_IOC, 0, struct cros_ec_command)
A Dcros_ec_sensorhub.h152 struct cros_ec_command *msg;
/linux/drivers/pwm/
A Dpwm-cros-ec.c64 struct cros_ec_command msg; in cros_ec_pwm_set_duty()
68 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/drivers/media/cec/platform/cros-ec/
A Dcros-ec-cec.c97 struct cros_ec_command msg; in cros_ec_cec_set_log_addr()
123 struct cros_ec_command msg; in cros_ec_cec_transmit()
147 struct cros_ec_command msg; in cros_ec_cec_adap_enable()
/linux/drivers/iio/proximity/
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/include/linux/iio/common/
A Dcros_ec_sensors_core.h65 struct cros_ec_command *msg;
/linux/drivers/rtc/
A 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()
/linux/drivers/regulator/
A Dcros-ec-regulator.c28 struct cros_ec_command *msg; in cros_ec_cmd()

Completed in 29 milliseconds

12