Searched refs:cros_ec_dev (Results 1 – 8 of 8) sorted by relevance
/external/u-boot/include/ |
D | cros_ec.h | 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, [all …]
|
/external/u-boot/drivers/misc/ |
D | cros_ec.c | 86 static int create_proto3_request(struct cros_ec_dev *dev, in create_proto3_request() 126 static int prepare_proto3_response_buffer(struct cros_ec_dev *dev, int din_len) in prepare_proto3_response_buffer() 152 static int handle_proto3_response(struct cros_ec_dev *dev, in handle_proto3_response() 200 static int send_command_proto3(struct cros_ec_dev *dev, in send_command_proto3() 229 static int send_command(struct cros_ec_dev *dev, uint8_t cmd, int cmd_version, in send_command() 265 static int ec_command_inptr(struct cros_ec_dev *dev, uint8_t cmd, in ec_command_inptr() 331 static int ec_command(struct cros_ec_dev *dev, uint8_t cmd, int cmd_version, in ec_command() 356 struct cros_ec_dev *cdev = dev_get_uclass_priv(dev); in cros_ec_scan_keyboard() 365 int cros_ec_read_id(struct cros_ec_dev *dev, char *id, int maxlen) in cros_ec_read_id() 391 int cros_ec_read_version(struct cros_ec_dev *dev, in cros_ec_read_version() [all …]
|
D | cros_ec_lpc.c | 27 static int wait_for_sync(struct cros_ec_dev *dev) in wait_for_sync() 47 struct cros_ec_dev *dev = dev_get_uclass_priv(udev); in cros_ec_lpc_command() 155 int cros_ec_lpc_init(struct cros_ec_dev *dev, const void *blob) in cros_ec_lpc_init()
|
D | cros_ec_spi.c | 23 struct cros_ec_dev *dev = dev_get_uclass_priv(udev); in cros_ec_spi_packet() 83 struct cros_ec_dev *dev = dev_get_uclass_priv(udev); in cros_ec_spi_command()
|
D | cros_ec_i2c.c | 53 struct cros_ec_dev *dev = dev_get_uclass_priv(udev); in cros_ec_i2c_packet() 113 struct cros_ec_dev *dev = dev_get_uclass_priv(udev); in cros_ec_i2c_command()
|
D | cros_ec_sandbox.c | 470 struct cros_ec_dev *dev = dev_get_uclass_priv(udev); in cros_ec_sandbox_packet() 494 void cros_ec_check_keyboard(struct cros_ec_dev *dev) in cros_ec_check_keyboard() 513 struct cros_ec_dev *cdev = dev->uclass_priv; in cros_ec_probe()
|
/external/u-boot/common/ |
D | cros_ec.c | 16 struct cros_ec_dev *board_get_cros_ec_dev(void) in board_get_cros_ec_dev()
|
/external/u-boot/cmd/ |
D | cros_ec.c | 52 static int do_read_write(struct cros_ec_dev *dev, int is_write, int argc, in do_read_write() 97 struct cros_ec_dev *dev; in do_cros_ec()
|