Lines Matching refs:write_fb_response
69 static void write_fb_response(const char*, const char*, char*);
92 write_fb_response("INFO", msg, response); in fastboot_send_info()
179 write_fb_response("OKAY", "", response); in fastboot_send()
186 write_fb_response("OKAY", "", response); in fastboot_send()
189 write_fb_response("FAIL", "unrecognized command", response); in fastboot_send()
242 write_fb_response("FAIL", "missing var", response); in fb_getvar()
244 write_fb_response("OKAY", FASTBOOT_VERSION, response); in fb_getvar()
247 write_fb_response("OKAY", U_BOOT_VERSION, response); in fb_getvar()
252 write_fb_response("OKAY", buf_size_str, response); in fb_getvar()
256 write_fb_response("OKAY", tmp, response); in fb_getvar()
258 write_fb_response("FAIL", "Value not set", response); in fb_getvar()
261 write_fb_response("OKAY", "N/A", response); in fb_getvar()
265 write_fb_response("OKAY", board, response); in fb_getvar()
267 write_fb_response("FAIL", "Board not set", response); in fb_getvar()
271 write_fb_response("OKAY", "_a", response); in fb_getvar()
273 write_fb_response("OKAY", "_a,_b", response); in fb_getvar()
279 write_fb_response("OKAY", "yes", response); in fb_getvar()
281 write_fb_response("OKAY", "no", response); in fb_getvar()
293 write_fb_response("FAIL", "block device not found", response); in fb_getvar()
295 write_fb_response("FAIL", "partition not found", response); in fb_getvar()
297 write_fb_response("OKAY", (char*)part_info.type, response); in fb_getvar()
300 write_fb_response("OKAY", part_size_str, response); in fb_getvar()
304 write_fb_response("FAIL", "Variable not implemented", response); in fb_getvar()
323 write_fb_response("FAIL", "Expected command parameter", response); in fb_download()
328 write_fb_response("FAIL", "Expected nonzero image size", response); in fb_download()
339 write_fb_response("FAIL", cmd_parameter, response); in fb_download()
341 write_fb_response("DATA", cmd_parameter, response); in fb_download()
345 write_fb_response("OKAY", "", response); in fb_download()
351 write_fb_response("FAIL", "Received invalid data length", response); in fb_download()
395 write_fb_response("OKAY", "", response); in fb_continue()
397 write_fb_response("FAIL", "bootcmd not set", response); in fb_continue()
408 write_fb_response("OKAY", "", response); in fb_reboot()
440 static void write_fb_response(const char* tag, const char *reason, in write_fb_response() function