Lines Matching refs:usbresp
1432 PTPUSBBulkContainer usbresp; in ptp_usb_getresp() local
1438 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()
1484 resp->Param1=dtoh32(usbresp.payload.params.param1); in ptp_usb_getresp()
1485 resp->Param2=dtoh32(usbresp.payload.params.param2); in ptp_usb_getresp()
1486 resp->Param3=dtoh32(usbresp.payload.params.param3); in ptp_usb_getresp()
1487 resp->Param4=dtoh32(usbresp.payload.params.param4); in ptp_usb_getresp()
1488 resp->Param5=dtoh32(usbresp.payload.params.param5); in ptp_usb_getresp()