Home | History | Annotate | Download | only in src

Lines Matching refs:Code

503  * <code>free_mtpdevice_list(mtp_device_list)</code> when you are done 
575 * The user shall simply <code>free()</code> this
600 "error code: %d on line %d\n", ret, __LINE__);
1131 (void) ptp_render_opcode (params, req->Code, sizeof(txt), txt);
1132 printf("REQUEST: 0x%04x, %s\n", req->Code, txt);
1138 usbreq.code=htod16(req->Code);
1160 "PTP: request code 0x%04x sending req wrote only %ld bytes instead of %d",
1161 req->Code, written, towrite
1185 usbdata.code = htod16(ptp->Code);
1284 if (dtoh16(usbdata.code)!=ptp->Code) {
1287 "PTP header, code field insane, expect problems! (But continuing)");
1290 usbdata.code = htod16(ptp->Code);
1294 ret = dtoh16(usbdata.code);
1296 // makes it possible to return error codes in the code field when
1301 "PTP header, code field insane.");
1444 // after a NULL packet when it should send the response. This code ignores
1459 if (dtoh16(usbresp.code)!=resp->Code) {
1460 ret = dtoh16(usbresp.code);
1467 "PTP: request code 0x%04x getting resp error 0x%04x",
1468 resp->Code, ret);*/
1472 resp->Code=dtoh16(usbresp.code);
1542 event->Code=dtoh16(usbevent.code);
1779 * @return an error code.
1877 "(Return code %d)\n Try to reset the device.\n",