Lines Matching full:response

43 	void (*dispatch)(char *cmd_parameter, char *response);
95 * @response: Pointer to fastboot response buffer
99 int fastboot_handle_command(char *cmd_string, char *response) in fastboot_handle_command() argument
111 response); in fastboot_handle_command()
120 fastboot_fail("unrecognized command", response); in fastboot_handle_command()
125 * okay() - Send bare OKAY response
128 * @response: Pointer to fastboot response buffer
130 * Send a bare OKAY fastboot response. This is used where the command is
131 * valid, but all the work is done after the response has been sent (e.g.
134 static void okay(char *cmd_parameter, char *response) in okay() argument
136 fastboot_okay(NULL, response); in okay()
143 * @response: Pointer to fastboot response buffer
145 static void getvar(char *cmd_parameter, char *response) in getvar() argument
147 fastboot_getvar(cmd_parameter, response); in getvar()
154 * @response: Pointer to fastboot response buffer
156 static void download(char *cmd_parameter, char *response) in download() argument
161 fastboot_fail("Expected command parameter", response); in download()
167 fastboot_fail("Expected nonzero image size", response); in download()
171 * Nothing to download yet. Response is of the form: in download()
177 fastboot_fail(cmd_parameter, response); in download()
181 fastboot_response("DATA", response, "%s", cmd_parameter); in download()
200 * @response: Pointer to fastboot response buffer
203 * response. fastboot_bytes_received is updated to indicate the number
211 char *response) in fastboot_data_download() argument
220 response); in fastboot_data_download()
236 *response = '\0'; in fastboot_data_download()
242 * @response: Pointer to fastboot response buffer
246 void fastboot_data_complete(char *response) in fastboot_data_complete() argument
249 fastboot_okay(NULL, response); in fastboot_data_complete()
262 * @response: Pointer to fastboot response buffer
265 * cmd_parameter. Writes to response.
267 static void flash(char *cmd_parameter, char *response) in flash() argument
271 response); in flash()
275 response); in flash()
283 * @response: Pointer to fastboot response buffer
286 * to response.
288 static void erase(char *cmd_parameter, char *response) in erase() argument
291 fastboot_mmc_erase(cmd_parameter, response); in erase()
294 fastboot_nand_erase(cmd_parameter, response); in erase()
303 * @response: Pointer to fastboot response buffer
305 static void reboot_bootloader(char *cmd_parameter, char *response) in reboot_bootloader() argument
308 fastboot_fail("Cannot set reboot flag", response); in reboot_bootloader()
310 fastboot_okay(NULL, response); in reboot_bootloader()
318 * @response: Pointer to fastboot response buffer
320 static void oem_format(char *cmd_parameter, char *response) in oem_format() argument
325 fastboot_fail("partitions not set", response); in oem_format()
330 fastboot_fail("", response); in oem_format()
332 fastboot_okay(NULL, response); in oem_format()