Searched refs:usbdata (Results 1 – 3 of 3) sorted by relevance
/external/libmtp/src/ |
D | libusb-glue.c | 1202 PTPUSBBulkContainer usbdata; in ptp_usb_senddata() local 1214 usbdata.length = htod32(PTP_USB_BULK_HDR_LEN+size); in ptp_usb_senddata() 1215 usbdata.type = htod16(PTP_USB_CONTAINER_DATA); in ptp_usb_senddata() 1216 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata() 1217 usbdata.trans_id= htod32(ptp->Transaction_ID); in ptp_usb_senddata() 1231 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata() 1237 ptp_init_send_memory_handler (&memhandler, (unsigned char *)&usbdata, wlen); in ptp_usb_senddata() 1301 PTPUSBBulkContainer usbdata; in ptp_usb_getdata() local 1307 memset(&usbdata,0,sizeof(usbdata)); in ptp_usb_getdata() 1311 ret = ptp_usb_getpacket(params, &usbdata, &rlen); in ptp_usb_getdata() [all …]
|
D | libopenusb1-glue.c | 1210 PTPUSBBulkContainer usbdata; in ptp_usb_senddata() local 1221 usbdata.length = htod32(PTP_USB_BULK_HDR_LEN + size); in ptp_usb_senddata() 1222 usbdata.type = htod16(PTP_USB_CONTAINER_DATA); in ptp_usb_senddata() 1223 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata() 1224 usbdata.trans_id = htod32(ptp->Transaction_ID); in ptp_usb_senddata() 1238 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata() 1247 ptp_init_send_memory_handler(&memhandler, (unsigned char *) &usbdata, wlen); in ptp_usb_senddata() 1310 PTPUSBBulkContainer usbdata; in ptp_usb_getdata() local 1319 memset(&usbdata, 0, sizeof (usbdata)); in ptp_usb_getdata() 1323 ret = ptp_usb_getpacket(params, &usbdata, &rlen); in ptp_usb_getdata() [all …]
|
D | libusb1-glue.c | 1227 PTPUSBBulkContainer usbdata; in ptp_usb_senddata() local 1239 usbdata.length = htod32(PTP_USB_BULK_HDR_LEN+size); in ptp_usb_senddata() 1240 usbdata.type = htod16(PTP_USB_CONTAINER_DATA); in ptp_usb_senddata() 1241 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata() 1242 usbdata.trans_id= htod32(ptp->Transaction_ID); in ptp_usb_senddata() 1256 ret = handler->getfunc(params, handler->priv, datawlen, usbdata.payload.data, &gotlen); in ptp_usb_senddata() 1262 ptp_init_send_memory_handler (&memhandler, (unsigned char *)&usbdata, wlen); in ptp_usb_senddata() 1326 PTPUSBBulkContainer usbdata; in ptp_usb_getdata() local 1332 memset(&usbdata,0,sizeof(usbdata)); in ptp_usb_getdata() 1336 ret = ptp_usb_getpacket(params, &usbdata, &rlen); in ptp_usb_getdata() [all …]
|