Searched refs:flash_cmd (Results 1 – 3 of 3) sorted by relevance
/device/google/dragon/recovery/updater/ |
D | debug_ec.c | 50 return flash_cmd(ec, EC_CMD_READ_MEMMAP, 0, in ec_readmem() 144 rv = flash_cmd(ec, EC_CMD_I2C_READ, 0, &p, sizeof(p), &r, sizeof(r)); in bq25892_read() 162 rv = flash_cmd(ec, EC_CMD_I2C_WRITE, 0, &p, sizeof(p), NULL, 0); in bq25892_write() 227 rv = flash_cmd(ec, EC_CMD_I2C_READ, 0, &p, sizeof(p), &r, sizeof(r)); in bq27742_read() 245 rv = flash_cmd(ec, EC_CMD_I2C_WRITE, 0, &p, sizeof(p), NULL, 0); in bq27742_write() 302 rv = flash_cmd(ec, EC_CMD_CHARGE_CONTROL, 1, &p, sizeof(p), NULL, 0); in cmd_ec_chargecontrol() 333 rv = flash_cmd(ec, EC_CMD_CONSOLE_SNAPSHOT, 0, NULL, 0, NULL, 0); in cmd_ec_console() 340 rv = flash_cmd(ec, EC_CMD_CONSOLE_READ, 0, in cmd_ec_console() 392 rv = flash_cmd(ec, EC_CMD_GPIO_GET, 1, &p_v1, in cmd_ec_gpioget() 405 rv = flash_cmd(ec, EC_CMD_GPIO_GET, 1, &p_v1, in cmd_ec_gpioget() [all …]
|
D | flash_device.h | 48 int flash_cmd(struct flash_device *dev, int cmd, int ver,
|
D | flash_device.c | 155 int flash_cmd(struct flash_device *dev, int cmd, int ver, in flash_cmd() function
|