Lines Matching refs:usbresp
1476 PTPUSBBulkContainer usbresp; in ptp_usb_getresp() local
1482 memset(&usbresp,0,sizeof(usbresp)); in ptp_usb_getresp()
1484 ret = ptp_usb_getpacket(params, &usbresp, &rlen); in ptp_usb_getresp()
1490 while (ret==PTP_RC_OK && rlen<PTP_USB_BULK_HDR_LEN && usbresp.length==0) { in ptp_usb_getresp()
1494 ret = ptp_usb_getpacket(params, &usbresp, &rlen); in ptp_usb_getresp()
1500 if (dtoh16(usbresp.type)!=PTP_USB_CONTAINER_RESPONSE) { in ptp_usb_getresp()
1503 if (dtoh16(usbresp.code)!=resp->Code) { in ptp_usb_getresp()
1504 ret = dtoh16(usbresp.code); in ptp_usb_getresp()
1516 resp->Code=dtoh16(usbresp.code); in ptp_usb_getresp()
1518 resp->Transaction_ID=dtoh32(usbresp.trans_id); in ptp_usb_getresp()
1528 resp->Param1=dtoh32(usbresp.payload.params.param1); in ptp_usb_getresp()
1529 resp->Param2=dtoh32(usbresp.payload.params.param2); in ptp_usb_getresp()
1530 resp->Param3=dtoh32(usbresp.payload.params.param3); in ptp_usb_getresp()
1531 resp->Param4=dtoh32(usbresp.payload.params.param4); in ptp_usb_getresp()
1532 resp->Param5=dtoh32(usbresp.payload.params.param5); in ptp_usb_getresp()