/linux/drivers/platform/chrome/ |
A D | cros_ec_proto.c | 56 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 D | cros_ec_lightbar.c | 85 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 D | cros_ec_debugfs.c | 45 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 D | cros_ec_sysfs.c | 55 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 D | cros_ec_spi.c | 83 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 D | cros_ec_sensorhub.c | 53 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 D | cros_usbpd_logger.c | 23 #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 D | cros_ec_typec.c | 568 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 D | cros_ec_vbc.c | 24 struct cros_ec_command *msg; in vboot_context_read() 64 struct cros_ec_command *msg; in vboot_context_write()
|
A D | cros_ec_chardev.c | 60 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 D | cros_ec_trace.h | 23 TP_PROTO(struct cros_ec_command *cmd), 46 TP_PROTO(struct cros_ec_command *cmd, int retval),
|
A D | cros_ec_rpmsg.c | 66 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 D | cros_ec_i2c.c | 53 struct cros_ec_command *msg) in cros_ec_pkt_xfer_i2c() 181 struct cros_ec_command *msg) in cros_ec_cmd_xfer_i2c()
|
A D | cros_ec_lpc.c | 142 struct cros_ec_command *msg) in cros_ec_pkt_xfer_lpc() 205 struct cros_ec_command *msg) in cros_ec_cmd_xfer_lpc()
|
A D | cros_usbpd_notify.c | 74 ret = cros_ec_command(ec_dev, 0, EC_CMD_PD_HOST_EVENT_STATUS, in cros_usbpd_get_event_and_notify()
|
A D | cros_ec_ishtp.c | 451 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 D | cros_ec_proto.h | 66 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 D | cros_ec_chardev.h | 34 #define CROS_EC_DEV_IOCXCMD _IOWR(CROS_EC_DEV_IOC, 0, struct cros_ec_command)
|
A D | cros_ec_sensorhub.h | 152 struct cros_ec_command *msg;
|
/linux/drivers/pwm/ |
A D | pwm-cros-ec.c | 64 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 D | cros-ec-cec.c | 97 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 D | cros_ec_mkbp_proximity.c | 63 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 D | cros_ec_sensors_core.h | 65 struct cros_ec_command *msg;
|
/linux/drivers/rtc/ |
A D | rtc-cros-ec.c | 37 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 D | cros-ec-regulator.c | 28 struct cros_ec_command *msg; in cros_ec_cmd()
|