Lines Matching full:ec
21 struct gpio_desc ec_int; /* GPIO used as EC interrupt line */
52 /* Holds information about the Chrome EC */
54 struct fmap_entry flash; /* Address and size of EC flash */
64 * Read the ID of the CROS-EC device
66 * The ID is a string identifying the CROS-EC device.
68 * @param dev CROS-EC device
76 * Read a keyboard scan from the CROS-EC device
80 * @param dev CROS-EC device
87 * Read which image is currently running on the CROS-EC device.
89 * @param dev CROS-EC device
97 * Read the hash of the CROS-EC device firmware.
99 * @param dev CROS-EC device
107 * Send a reboot command to the CROS-EC device.
111 * @param dev CROS-EC device
120 * Check if the CROS-EC device has an interrupt pending.
122 * Read the status of the external interrupt connected to the CROS-EC device.
125 * @param dev CROS-EC device
140 * Initialise the Chromium OS EC driver
153 * @param dev CROS-EC device
162 * @param dev CROS-EC device
171 * @param dev CROS-EC device
180 * @param dev CROS-EC device
185 * @param prot Destination for updated protection state from EC.
196 * @param dev CROS-EC device
202 * Update the EC RW copy.
204 * @param dev CROS-EC device
213 * Return a pointer to the board's CROS-EC device
217 * @return pointer to CROS-EC device, or NULL if none is available
259 * Read an arbitrary amount of data from the EC flash, by repeatedly reading
265 * @param dev CROS-EC device
277 * This function reads back parameters of the flash as reported by the EC
288 * Write an arbitrary amount of data to the EC flash, by repeatedly writing
294 * Attempting to write to the region where the EC is currently running from
297 * @param dev CROS-EC device
309 * @param dev CROS-EC device
311 * @param offset Returns offset of flash region in EC flash
319 * Read/write VbNvContext from/to a CROS-EC device.
321 * @param dev CROS-EC device
329 * Read the version information for the EC images
331 * @param dev CROS-EC device
339 * Read the build information for the EC
341 * @param dev CROS-EC device
350 * @param dev CROS-EC device
360 * @param dev CROS-EC device
370 * This permits delayed reporting of the EC error if it failed during
378 * Returns information from the FDT about the Chrome EC flash
389 * @param ec CROS-EC device
395 * Tunnel an I2C transfer to the EC
397 * @param dev CROS-EC device
398 * @param port The remote port on EC to use