Home | History | Annotate | Download | only in fastboot

Lines Matching full:resp

76     int (*func)(Action *a, int status, char *resp);
84 static int cb_default(Action *a, int status, char *resp)
87 fprintf(stderr,"FAILED (%s)\n", resp);
168 static int cb_check(Action *a, int status, char *resp, int invert)
176 fprintf(stderr,"FAILED (%s)\n", resp);
180 yes = match(resp, value, count);
191 fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp);
201 static int cb_require(Action *a, int status, char *resp)
203 return cb_check(a, status, resp, 0);
206 static int cb_reject(Action *a, int status, char *resp)
208 return cb_check(a, status, resp, 1);
222 static int cb_display(Action *a, int status, char *resp)
225 fprintf(stderr, "%s FAILED (%s)\n", a->cmd, resp);
228 fprintf(stderr, "%s: %s\n", (char*) a->data, resp);
241 static int cb_do_nothing(Action *a, int status, char *resp)
277 char resp[FB_RESPONSE_SZ+1];
281 resp[FB_RESPONSE_SZ] = 0;
299 status = fb_command_response(usb, a->cmd, resp);
300 status = a->func(a, status, status ? fb_get_error() : resp);