Lines Matching full:ec
20 struct gpio_desc ec_int; /* GPIO used as EC interrupt line */
51 /* Holds information about the Chrome EC */
53 struct fmap_entry flash; /* Address and size of EC flash */
63 * Read the ID of the CROS-EC device
65 * The ID is a string identifying the CROS-EC device.
67 * @param dev CROS-EC device
75 * Read a keyboard scan from the CROS-EC device
79 * @param dev CROS-EC device
86 * Read which image is currently running on the CROS-EC device.
88 * @param dev CROS-EC device
96 * Read the hash of the CROS-EC device firmware.
98 * @param dev CROS-EC device
107 * Send a reboot command to the CROS-EC device.
111 * @param dev CROS-EC device
119 * Check if the CROS-EC device has an interrupt pending.
121 * Read the status of the external interrupt connected to the CROS-EC device.
124 * @param dev CROS-EC device
139 * Initialise the Chromium OS EC driver
152 * @param dev CROS-EC device
160 * @param dev CROS-EC device
169 * @param dev CROS-EC device
178 * @param dev CROS-EC device
183 * @param prot Destination for updated protection state from EC.
191 * Notify EC of current boot mode
193 * @param dev CROS-EC device
202 * @param dev CROS-EC device
208 * Update the EC RW copy.
210 * @param dev CROS-EC device
219 * Return a pointer to the board's CROS-EC device
221 * @return pointer to CROS-EC device, or NULL if none is available
262 * Read an arbitrary amount of data from the EC flash, by repeatedly reading
268 * @param dev CROS-EC device
280 * This function reads back parameters of the flash as reported by the EC
291 * Write an arbitrary amount of data to the EC flash, by repeatedly writing
297 * Attempting to write to the region where the EC is currently running from
300 * @param dev CROS-EC device
312 * @param dev CROS-EC device
314 * @param offset Returns offset of flash region in EC flash
322 * Read/write non-volatile data from/to a CROS-EC device.
324 * @param dev CROS-EC device
332 * Read the version information for the EC images
334 * @param dev CROS-EC device
342 * Read the build information for the EC
344 * @param dev CROS-EC device
353 * @param dev CROS-EC device
363 * @param dev CROS-EC device
373 * This permits delayed reporting of the EC error if it failed during
381 * Returns information from the FDT about the Chrome EC flash
392 * @param ec CROS-EC device
398 * Tunnel an I2C transfer to the EC
400 * @param dev CROS-EC device
401 * @param port The remote port on EC to use
425 * cros_ec_efs_verify() - tell the EC to verify one of its images
427 * @param dev CROS-EC device
440 * @param dev CROS-EC device
452 * @param dev CROS-EC device
454 * @return 0 if OK, -ENOSYS if the EC does not support this comment, -EINVAL
455 * if the EC returned an invalid response
462 * @param dev CROS-EC device
473 * @param dev CROS-EC device
483 * @param dev CROS-EC device