Searched refs:usbresp (Results 1 – 1 of 1) sorted by relevance
1432 PTPUSBBulkContainer usbresp; in ptp_usb_getresp() local1438 memset(&usbresp,0,sizeof(usbresp)); in ptp_usb_getresp()1440 ret = ptp_usb_getpacket(params, &usbresp, &rlen); in ptp_usb_getresp()1446 while (ret==PTP_RC_OK && rlen<PTP_USB_BULK_HDR_LEN && usbresp.length==0) { in ptp_usb_getresp()1450 ret = ptp_usb_getpacket(params, &usbresp, &rlen); in ptp_usb_getresp()1456 if (dtoh16(usbresp.type)!=PTP_USB_CONTAINER_RESPONSE) { in ptp_usb_getresp()1459 if (dtoh16(usbresp.code)!=resp->Code) { in ptp_usb_getresp()1460 ret = dtoh16(usbresp.code); in ptp_usb_getresp()1472 resp->Code=dtoh16(usbresp.code); in ptp_usb_getresp()1474 resp->Transaction_ID=dtoh32(usbresp.trans_id); in ptp_usb_getresp()[all …]