Lines Matching full:ec

29  * The EC is unresponsive for a time after a reboot command.  Add a
50 * EC panic is not covered by the standard (0-F) ACPI notify values.
51 * Arbitrarily choosing B0 to notify ec panic, which is in the 84-BF
57 * Command interface between EC and AP, for LPC, I2C and SPI interfaces.
74 * struct cros_ec_command - Information about a ChromeOS EC command.
78 * @insize: Max number of bytes to accept from the EC.
79 * @result: EC's response to the command (separate from communication failure).
80 * @data: Where to put the incoming data from EC and outgoing data to EC.
92 * struct cros_ec_device - Information about a ChromeOS EC device.
96 * @cmd_readmem: Direct read of the EC memory-mapped region, if supported.
109 * @din: Input buffer (for data from EC). This buffer will always be
115 * @dout: Output buffer (for data to EC). This buffer will always be
125 * @cmd_xfer: Send command to EC and get response.
127 * succeeded, but that doesn't mean the EC was happy with the
128 * command. The caller should check msg.result for the EC's result
130 * @pkt_xfer: Send packet to EC and get response.
137 * @host_sleep_v1: True if this EC supports the sleep v1 command.
143 * is received and when the EC will declare sleep
153 * @notifier_ready: The notifier_block to let the kernel re-query EC
154 * communication protocol when the EC sends
156 * @ec: The platform_device used by the mfd driver to interface with the
157 * main EC.
159 * PD behind an EC.
160 * @panic_notifier: EC panic notifier.
163 /* These are used by other drivers that want to talk to the EC */
167 int (*cmd_readmem)(struct cros_ec_device *ec, unsigned int offset,
183 int (*cmd_xfer)(struct cros_ec_device *ec,
185 int (*pkt_xfer)(struct cros_ec_device *ec,
202 struct platform_device *ec; member
209 * struct cros_ec_platform - ChromeOS EC platform information.
210 * @ec_name: Name of EC device (e.g. 'cros-ec', 'cros-pd', ...)
221 * struct cros_ec_dev - ChromeOS EC device entry point.
226 * @has_kb_wake_angle: True if at least 2 accelerometer are connected to the EC.
228 * @features: Features supported by the EC.
264 bool cros_ec_check_features(struct cros_ec_dev *ec, int feature);
266 int cros_ec_get_sensor_count(struct cros_ec_dev *ec);