Lines Matching refs:response
47 void (*dispatch)(char *cmd_parameter, char *response);
127 int fastboot_handle_command(char *cmd_string, char *response) in fastboot_handle_command() argument
139 response); in fastboot_handle_command()
143 fastboot_fail("Unsupported command", response); in fastboot_handle_command()
150 fastboot_fail("unrecognized command", response); in fastboot_handle_command()
164 static void okay(char *cmd_parameter, char *response) in okay() argument
166 fastboot_okay(NULL, response); in okay()
175 static void getvar(char *cmd_parameter, char *response) in getvar() argument
177 fastboot_getvar(cmd_parameter, response); in getvar()
186 static void download(char *cmd_parameter, char *response) in download() argument
191 fastboot_fail("Expected command parameter", response); in download()
197 fastboot_fail("Expected nonzero image size", response); in download()
207 fastboot_fail(cmd_parameter, response); in download()
211 fastboot_response("DATA", response, "%s", cmd_parameter); in download()
241 char *response) in fastboot_data_download() argument
250 response); in fastboot_data_download()
266 *response = '\0'; in fastboot_data_download()
276 void fastboot_data_complete(char *response) in fastboot_data_complete() argument
279 fastboot_okay(NULL, response); in fastboot_data_complete()
296 static void __maybe_unused flash(char *cmd_parameter, char *response) in flash() argument
300 image_size, response); in flash()
304 image_size, response); in flash()
316 static void __maybe_unused erase(char *cmd_parameter, char *response) in erase() argument
319 fastboot_mmc_erase(cmd_parameter, response); in erase()
322 fastboot_nand_erase(cmd_parameter, response); in erase()
331 static void __maybe_unused run_ucmd(char *cmd_parameter, char *response) in run_ucmd() argument
335 fastboot_fail("missing command", response); in run_ucmd()
340 fastboot_fail("", response); in run_ucmd()
342 fastboot_okay(NULL, response); in run_ucmd()
358 static void __maybe_unused run_acmd(char *cmd_parameter, char *response) in run_acmd() argument
362 fastboot_fail("missing command", response); in run_acmd()
368 fastboot_fail("too long command", response); in run_acmd()
373 fastboot_okay(NULL, response); in run_acmd()
382 static void reboot_bootloader(char *cmd_parameter, char *response) in reboot_bootloader() argument
385 fastboot_fail("Cannot set reboot flag", response); in reboot_bootloader()
387 fastboot_okay(NULL, response); in reboot_bootloader()
396 static void reboot_fastbootd(char *cmd_parameter, char *response) in reboot_fastbootd() argument
399 fastboot_fail("Cannot set fastboot flag", response); in reboot_fastbootd()
401 fastboot_okay(NULL, response); in reboot_fastbootd()
410 static void reboot_recovery(char *cmd_parameter, char *response) in reboot_recovery() argument
413 fastboot_fail("Cannot set recovery flag", response); in reboot_recovery()
415 fastboot_okay(NULL, response); in reboot_recovery()
424 static void __maybe_unused oem_format(char *cmd_parameter, char *response) in oem_format() argument
431 fastboot_fail("partitions not set", response); in oem_format()
435 fastboot_fail("", response); in oem_format()
437 fastboot_okay(NULL, response); in oem_format()
447 static void __maybe_unused oem_partconf(char *cmd_parameter, char *response) in oem_partconf() argument
454 fastboot_fail("Expected command parameter", response); in oem_partconf()
462 fastboot_fail("Cannot set oem partconf", response); in oem_partconf()
464 fastboot_okay(NULL, response); in oem_partconf()
473 static void __maybe_unused oem_bootbus(char *cmd_parameter, char *response) in oem_bootbus() argument
480 fastboot_fail("Expected command parameter", response); in oem_bootbus()
488 fastboot_fail("Cannot set oem bootbus", response); in oem_bootbus()
490 fastboot_okay(NULL, response); in oem_bootbus()