Lines Matching refs:usbresp
1502 PTPUSBBulkContainer usbresp; in ptp_usb_getresp() local
1508 memset(&usbresp,0,sizeof(usbresp)); in ptp_usb_getresp()
1510 ret = ptp_usb_getpacket(params, &usbresp, &rlen); in ptp_usb_getresp()
1516 while (ret==PTP_RC_OK && rlen<PTP_USB_BULK_HDR_LEN && usbresp.length==0) { in ptp_usb_getresp()
1520 ret = ptp_usb_getpacket(params, &usbresp, &rlen); in ptp_usb_getresp()
1526 if (dtoh16(usbresp.type)!=PTP_USB_CONTAINER_RESPONSE) { in ptp_usb_getresp()
1529 if (dtoh16(usbresp.code)!=resp->Code) { in ptp_usb_getresp()
1530 ret = dtoh16(usbresp.code); in ptp_usb_getresp()
1542 resp->Code=dtoh16(usbresp.code); in ptp_usb_getresp()
1544 resp->Transaction_ID=dtoh32(usbresp.trans_id); in ptp_usb_getresp()
1554 resp->Param1=dtoh32(usbresp.payload.params.param1); in ptp_usb_getresp()
1555 resp->Param2=dtoh32(usbresp.payload.params.param2); in ptp_usb_getresp()
1556 resp->Param3=dtoh32(usbresp.payload.params.param3); in ptp_usb_getresp()
1557 resp->Param4=dtoh32(usbresp.payload.params.param4); in ptp_usb_getresp()
1558 resp->Param5=dtoh32(usbresp.payload.params.param5); in ptp_usb_getresp()