Searched refs:dtoh32 (Results 1 – 4 of 4) sorted by relevance
1396 if (rlen > dtoh32(usbdata.length)) { in ptp_usb_getdata()1409 unsigned int packlen = dtoh32(usbdata.length); in ptp_usb_getdata()1419 (rlen - dtoh32(usbdata.length) == 1)) { in ptp_usb_getdata()1422 rlen - dtoh32(usbdata.length)); in ptp_usb_getdata()1432 len=dtoh32(usbdata.length)-PTP_USB_BULK_HDR_LEN; in ptp_usb_getdata()1435 if (dtoh32(usbdata.length) > 12 && (rlen==12)) in ptp_usb_getdata()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()[all …]
1371 if (rlen > dtoh32(usbdata.length)) { in ptp_usb_getdata()1384 unsigned int packlen = dtoh32(usbdata.length); in ptp_usb_getdata()1394 (rlen - dtoh32(usbdata.length) == 1)) { in ptp_usb_getdata()1397 rlen - dtoh32(usbdata.length)); in ptp_usb_getdata()1407 len=dtoh32(usbdata.length)-PTP_USB_BULK_HDR_LEN; in ptp_usb_getdata()1410 if (dtoh32(usbdata.length) > 12 && (rlen==12)) in ptp_usb_getdata()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()[all …]
1383 if (rlen > dtoh32(usbdata.length)) { in ptp_usb_getdata()1396 unsigned int packlen = dtoh32(usbdata.length); in ptp_usb_getdata()1406 (rlen - dtoh32(usbdata.length) == 1)) { in ptp_usb_getdata()1409 rlen - dtoh32(usbdata.length)); in ptp_usb_getdata()1419 len = dtoh32(usbdata.length) - PTP_USB_BULK_HDR_LEN; in ptp_usb_getdata()1422 if (dtoh32(usbdata.length) > 12 && (rlen == 12)) in ptp_usb_getdata()1546 resp->Transaction_ID = dtoh32(usbresp.trans_id); in ptp_usb_getresp()1556 resp->Param1 = dtoh32(usbresp.payload.params.param1); in ptp_usb_getresp()1557 resp->Param2 = dtoh32(usbresp.payload.params.param2); in ptp_usb_getresp()1558 resp->Param3 = dtoh32(usbresp.payload.params.param3); in ptp_usb_getresp()[all …]
125 #define dtoh32(x) dtoh32p(params,x) macro