Lines Matching refs:ptp_transaction
400 ptp_transaction (PTPParams* params, PTPContainer* ptp, in ptp_transaction() function
471 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_getdeviceinfo()
489 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_canon_eos_getdeviceinfo()
926 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size); in ptp_olympus_getdeviceinfo()
948 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, len); in ptp_olympus_opensession()
957 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, len); in ptp_olympus_getcameraid()
990 return ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL); in ptp_generic_no_data()
1163 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_getstorageids()
1188 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_getstorageinfo()
1228 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size); in ptp_getobjecthandles()
1256 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, NULL); in ptp_getfilesystemmanifest()
1281 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_getnumobjects()
1303 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_canon_eos_bulbstart()
1327 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_canon_eos_capture()
1347 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_canon_eos_bulbend()
1372 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_getobjectinfo()
1395 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, object, NULL); in ptp_getobject()
1416 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, object, size); in ptp_getobject_with_size()
1486 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, object, len); in ptp_getpartialobject()
1529 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, object, len); in ptp_getthumb()
1548 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_deleteobject()
1584 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_sendobjectinfo()
1609 return ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &object, NULL); in ptp_sendobject()
1670 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_getdevicepropdesc()
1719 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_getdevicepropvalue()
1738 ret=ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_setdevicepropvalue()
1773 ret=ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_ek_sendfileobjectinfo()
1798 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_ek_getserial()
1818 return ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_ek_setserial()
1828 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_ek_9007()
1839 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_ek_9009()
1852 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_ek_900c()
1877 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_ek_settext()
1899 return ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &object, NULL); in ptp_ek_sendfileobject()
1956 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_canon_getpartialobjectinfo()
1978 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, mac, NULL); in ptp_canon_get_mac_address()
2004 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, NULL)); in ptp_canon_get_directory()
2028 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_canon_gettreeinfo()
2050 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_canon_getpairinginfo()
2075 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_canon_gettreesize()
2122 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_canon_checkevent()
2339 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_canon_eos_getevent()
2427 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_canon_eos_getstorageids()
2439 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_canon_eos_getstorageinfo()
2454 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_canon_eos_getobjectinfoex()
2517 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, NULL); in ptp_canon_eos_getpartialobject()
2526 return ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_canon_eos_setdevicepropvalueex()
2607 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_canon_eos_setdevicepropvalue()
2641 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, NULL); in ptp_canon_getpartialobject()
2673 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, image, NULL); in ptp_canon_getviewfinderimage()
2704 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_canon_getchanges()
2748 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, NULL); in ptp_canon_getobjectinfo()
2807 ret=ptp_transaction (params, &ptp, PTP_DP_SENDDATA, (len+1)*2+1, &data, NULL); in ptp_canon_get_objecthandle_by_name()
2834 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_canon_get_customize_data()
2844 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_nikon_curve_download()
2864 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, NULL)); in ptp_sony_sdioconnect()
2891 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &xdata, &xsize)); in ptp_sony_get_vendorpropcodes()
2928 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_sony_getdevicepropdesc()
2945 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_sony_getalldevicepropdesc()
3048 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_sony_setdevicecontrolvaluea()
3064 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_sony_setdevicecontrolvalueb()
3091 return ptp_transaction(params, &ptp, PTP_DP_SENDDATA, 16+additional, &buffer, NULL); in ptp_sony_9280()
3102 ret = ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &buffer, &size); in ptp_sony_9281()
3246 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &xsize)); in ptp_nikon_get_vendorpropcodes()
3260 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_nikon_getfileinfoinblock()
3279 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_nikon_get_liveview_image()
3304 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, xdata, xsize)); in ptp_nikon_get_preview_image()
3326 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_canon_eos_get_viewfinder_image()
3359 CHECK_PTP_RC(ptp_transaction (params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_nikon_check_event()
3383 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, size); in ptp_nikon_getptpipinfo()
3407 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_nikon_getwifiprofilelist()
3583 return ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_nikon_writewifiprofile()
3608 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &xsize)); in ptp_mtp_getobjectpropssupported()
3636 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_mtp_getobjectpropdesc()
3665 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_mtp_getobjectpropvalue()
3698 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_mtp_setobjectpropvalue()
3711 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data , &size)); in ptp_mtp_getobjectreferences()
3734 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_mtp_setobjectreferences()
3752 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_mtp_getobjectproplist()
3771 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); in ptp_mtp_getobjectproplist_single()
3792 ret = ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL); in ptp_mtp_sendobjectproplist()
3810 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, &data, NULL)); in ptp_mtp_setobjectproplist()
3821 return ptp_transaction (params, &ptp, PTP_DP_SENDDATA, size, &appcertmsg, NULL); in ptp_mtpz_sendwmdrmpdapprequest()
3832 return ptp_transaction (params, &ptp, PTP_DP_GETDATA, 0, response, size); in ptp_mtpz_getwmdrmpdappresponse()
3843 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, buf, NULL); in ptp_chdk_get_memory()
3853 return ptp_transaction(params, &ptp, PTP_DP_SENDDATA, 4, &buf, NULL); in ptp_chdk_set_memory_long()
3862 …CHECK_PTP_RC (ptp_transaction(params, &ptp, PTP_DP_SENDDATA, strlen(remote_fn), (unsigned char**)&… in ptp_chdk_download()
3899 ret=ptp_transaction(params, &ptp, PTP_DP_SENDDATA, data_len, &buf, NULL);
3927 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_chdk_rcisready()
3945 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &chunk->data, NULL)); in ptp_chdk_rcgetchunk()
3960 …CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_SENDDATA, strlen(script)+1, (unsigned char**)&sc… in ptp_chdk_exec_lua()
3972 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_chdk_get_version()
3984 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_chdk_get_script_status()
3994 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_NODATA, 0, NULL, NULL)); in ptp_chdk_get_script_support()
4012 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size, (unsigned char**)&data, NULL)); in ptp_chdk_write_script_msg()
4027 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, NULL)); in ptp_chdk_read_script_msg()
4052 CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, data, NULL)); in ptp_chdk_get_live_data()
4063 …CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_SENDDATA, size*sizeof(int), (unsigned char **) &… in ptp_chdk_call_function()
4101 return ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, object, len); in ptp_android_getpartialobject64()
4119 ret=ptp_transaction(params, &ptp, PTP_DP_SENDDATA, len, &object, NULL); in ptp_android_sendpartialobject()