Lines Matching refs:flash_cmd

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()
422 rv = flash_cmd(ec, EC_CMD_GPIO_GET, 1, &p_v1, in cmd_ec_gpioget()
461 rv = flash_cmd(ec, EC_CMD_GPIO_SET, 0, &p, sizeof(p), NULL, 0); in cmd_ec_gpioset()
513 rv = flash_cmd(ec, EC_CMD_VBOOT_HASH, 0, in cmd_ec_echash()
524 rv = flash_cmd(ec, EC_CMD_VBOOT_HASH, 0, in cmd_ec_echash()
584 rv = flash_cmd(ec, EC_CMD_VBOOT_HASH, 0, &p, sizeof(p), &r, sizeof(r)); in cmd_ec_echash()
604 rv = flash_cmd(ec, EC_CMD_LIGHTBAR_CMD, 0, in lb_do_cmd()
774 rv = flash_cmd(ec, EC_CMD_I2C_READ, 0, &p, sizeof(p), &r, sizeof(r)); in pi3usb9281_read()
933 rv = flash_cmd(ec, EC_CMD_USB_PD_CONTROL, 1, &p, sizeof(p), in cmd_ec_usbpd()
1023 rv = flash_cmd(ec, EC_CMD_USB_PD_PORTS, 0, NULL, 0, &rp, sizeof(rp)); in cmd_ec_usbpdpower()
1029 rv = flash_cmd(ec, EC_CMD_USB_PD_POWER_INFO, 0, in cmd_ec_usbpdpower()
1051 rv = flash_cmd(ec, EC_CMD_GET_VERSION, 0, NULL, 0, &r, sizeof(r)); in cmd_ec_version()
1056 rv = flash_cmd(ec, EC_CMD_GET_BUILD_INFO, 0, in cmd_ec_version()