Lines Matching refs:cros_ec_dev
18 struct cros_ec_dev { struct
72 int cros_ec_read_id(struct cros_ec_dev *dev, char *id, int maxlen);
92 int cros_ec_read_current_image(struct cros_ec_dev *dev,
102 int cros_ec_read_hash(struct cros_ec_dev *dev,
115 int cros_ec_reboot(struct cros_ec_dev *dev, enum ec_reboot_cmd cmd,
147 int cros_ec_init(const void *blob, struct cros_ec_dev **cros_ecp);
155 int cros_ec_info(struct cros_ec_dev *dev,
165 int cros_ec_get_host_events(struct cros_ec_dev *dev, uint32_t *events_ptr);
174 int cros_ec_clear_host_events(struct cros_ec_dev *dev, uint32_t events);
187 int cros_ec_flash_protect(struct cros_ec_dev *dev,
198 int cros_ec_test(struct cros_ec_dev *dev);
208 int cros_ec_flash_update_rw(struct cros_ec_dev *dev,
218 struct cros_ec_dev *board_get_cros_ec_dev(void);
252 int cros_ec_flash_erase(struct cros_ec_dev *dev, uint32_t offset,
270 int cros_ec_flash_read(struct cros_ec_dev *dev, uint8_t *data, uint32_t offset,
281 int cros_ec_read_flashinfo(struct cros_ec_dev *dev,
302 int cros_ec_flash_write(struct cros_ec_dev *dev, const uint8_t *data,
314 int cros_ec_flash_offset(struct cros_ec_dev *dev, enum ec_flash_region region,
324 int cros_ec_read_vbnvcontext(struct cros_ec_dev *dev, uint8_t *block);
325 int cros_ec_write_vbnvcontext(struct cros_ec_dev *dev, const uint8_t *block);
334 int cros_ec_read_version(struct cros_ec_dev *dev,
344 int cros_ec_read_build_info(struct cros_ec_dev *dev, char **strp);
390 void cros_ec_check_keyboard(struct cros_ec_dev *dev);