Lines Matching refs:response

59 	void (*dispatch)(char *cmd_parameter, char *response);
145 int fastboot_handle_command(char *cmd_string, char *response) in fastboot_handle_command() argument
157 response); in fastboot_handle_command()
166 fastboot_fail("unrecognized command", response); in fastboot_handle_command()
180 static void okay(char *cmd_parameter, char *response) in okay() argument
182 fastboot_okay(NULL, response); in okay()
191 static void getvar(char *cmd_parameter, char *response) in getvar() argument
193 fastboot_getvar(cmd_parameter, response); in getvar()
202 static void download(char *cmd_parameter, char *response) in download() argument
207 fastboot_fail("Expected command parameter", response); in download()
213 fastboot_fail("Expected nonzero image size", response); in download()
223 fastboot_fail(cmd_parameter, response); in download()
227 fastboot_response("DATA", response, "%s", cmd_parameter); in download()
257 char *response) in fastboot_data_download() argument
266 response); in fastboot_data_download()
282 *response = '\0'; in fastboot_data_download()
292 void fastboot_data_complete(char *response) in fastboot_data_complete() argument
295 fastboot_okay(NULL, response); in fastboot_data_complete()
313 static void flash(char *cmd_parameter, char *response) in flash() argument
317 response); in flash()
321 response); in flash()
334 static void erase(char *cmd_parameter, char *response) in erase() argument
337 fastboot_mmc_erase(cmd_parameter, response); in erase()
340 fastboot_nand_erase(cmd_parameter, response); in erase()
352 static void run_ucmd(char *cmd_parameter, char *response) in run_ucmd() argument
356 fastboot_fail("missing command", response); in run_ucmd()
361 fastboot_fail("", response); in run_ucmd()
363 fastboot_okay(NULL, response); in run_ucmd()
379 static void run_acmd(char *cmd_parameter, char *response) in run_acmd() argument
383 fastboot_fail("missing command", response); in run_acmd()
389 fastboot_fail("too long command", response); in run_acmd()
394 fastboot_okay(NULL, response); in run_acmd()
404 static void reboot_bootloader(char *cmd_parameter, char *response) in reboot_bootloader() argument
407 fastboot_fail("Cannot set reboot flag", response); in reboot_bootloader()
409 fastboot_okay(NULL, response); in reboot_bootloader()
418 static void reboot_fastbootd(char *cmd_parameter, char *response) in reboot_fastbootd() argument
421 fastboot_fail("Cannot set fastboot flag", response); in reboot_fastbootd()
423 fastboot_okay(NULL, response); in reboot_fastbootd()
432 static void reboot_recovery(char *cmd_parameter, char *response) in reboot_recovery() argument
435 fastboot_fail("Cannot set recovery flag", response); in reboot_recovery()
437 fastboot_okay(NULL, response); in reboot_recovery()
447 static void oem_format(char *cmd_parameter, char *response) in oem_format() argument
452 fastboot_fail("partitions not set", response); in oem_format()
457 fastboot_fail("", response); in oem_format()
459 fastboot_okay(NULL, response); in oem_format()
471 static void oem_partconf(char *cmd_parameter, char *response) in oem_partconf() argument
476 fastboot_fail("Expected command parameter", response); in oem_partconf()
485 fastboot_fail("Cannot set oem partconf", response); in oem_partconf()
487 fastboot_okay(NULL, response); in oem_partconf()
498 static void oem_bootbus(char *cmd_parameter, char *response) in oem_bootbus() argument
503 fastboot_fail("Expected command parameter", response); in oem_bootbus()
512 fastboot_fail("Cannot set oem bootbus", response); in oem_bootbus()
514 fastboot_okay(NULL, response); in oem_bootbus()