Lines Matching refs:PTP_RC_OK

60 #define CHECK_PTP_RC(RESULT) do { uint16_t r = (RESULT); if (r != PTP_RC_OK) return r; } while(0)
255 return PTP_RC_OK; in memory_getfunc()
272 return PTP_RC_OK; in memory_putfunc()
289 return PTP_RC_OK; in ptp_init_recv_memory_handler()
309 return PTP_RC_OK; in ptp_init_send_memory_handler()
319 return PTP_RC_OK; in ptp_exit_send_memory_handler()
331 return PTP_RC_OK; in ptp_exit_recv_memory_handler()
352 return PTP_RC_OK; in fd_getfunc()
365 return PTP_RC_OK; in fd_putfunc()
379 return PTP_RC_OK; in ptp_init_fd_handler()
387 return PTP_RC_OK; in ptp_exit_fd_handler()
431 if (ret != PTP_RC_OK) { in ptp_transaction()
475 return PTP_RC_OK; in ptp_getdeviceinfo()
493 return PTP_RC_OK; in ptp_canon_eos_getdeviceinfo()
524 return PTP_RC_OK; in traverse_tree()
551 return PTP_RC_OK; in parse_9301_cmd_tree()
650 return PTP_RC_OK; in parse_9301_value()
739 return PTP_RC_OK; in parse_9301_propdesc()
788 return PTP_RC_OK; in parse_9301_prop_tree()
815 return PTP_RC_OK; in parse_9301_event_tree()
844 return PTP_RC_OK; in parse_9301_tree()
905 if (result != PTP_RC_OK) { in ptp_olympus_parse_output_xml()
930 if (ret != PTP_RC_OK) in ptp_olympus_getdeviceinfo()
1166 return PTP_RC_OK; in ptp_getstorageids()
1197 return PTP_RC_OK; in ptp_getstorageinfo()
1229 if (ret == PTP_RC_OK) { in ptp_getobjecthandles()
1241 ret = PTP_RC_OK; in ptp_getobjecthandles()
1286 return PTP_RC_OK; in ptp_getnumobjects()
1306 return PTP_RC_OK; in ptp_canon_eos_bulbstart()
1330 return PTP_RC_OK; in ptp_canon_eos_capture()
1350 return PTP_RC_OK; in ptp_canon_eos_bulbend()
1375 return PTP_RC_OK; in ptp_getobjectinfo()
1551 return PTP_RC_OK; in ptp_deleteobject()
1665 uint16_t ret = PTP_RC_OK; in ptp_getdevicepropdesc()
1682 if (ret == PTP_RC_OK) { in ptp_getdevicepropdesc()
1720 …ret = ptp_unpack_DPV(params, data, &offset, size, value, datatype) ? PTP_RC_OK : PTP_RC_GeneralErr… in ptp_getdevicepropvalue()
1721 if (ret != PTP_RC_OK) in ptp_getdevicepropvalue()
1842 return PTP_RC_OK; in ptp_ek_9009()
1959 return PTP_RC_OK; in ptp_canon_getpartialobjectinfo()
2031 return PTP_RC_OK; in ptp_canon_gettreeinfo()
2070 uint16_t ret = PTP_RC_OK; in ptp_canon_gettreesize()
2128 return PTP_RC_OK; in ptp_canon_checkevent()
2137 return PTP_RC_OK; in ptp_add_event()
2193 if (ret == PTP_RC_OK) { in ptp_check_event_queue()
2199 ret = PTP_RC_OK; in ptp_check_event_queue()
2232 return PTP_RC_OK; in ptp_check_event()
2239 return PTP_RC_OK; in ptp_check_event()
2250 ret = PTP_RC_OK; in ptp_check_event()
2255 return PTP_RC_OK; in ptp_check_event()
2263 return PTP_RC_OK; in ptp_check_event()
2269 if (ret == PTP_RC_OK) { in ptp_check_event()
2278 ret = PTP_RC_OK; in ptp_check_event()
2289 if (ret == PTP_RC_OK) { in ptp_wait_event()
2296 ret = PTP_RC_OK; in ptp_wait_event()
2342 return PTP_RC_OK; in ptp_canon_eos_getevent()
2354 return PTP_RC_OK; in ptp_check_eos_events()
2369 return PTP_RC_OK; in ptp_check_eos_events()
2415 return PTP_RC_OK; in ptp_canon_eos_getdevicepropdesc()
2430 return PTP_RC_OK; in ptp_canon_eos_getstorageids()
2449 uint16_t ret = PTP_RC_OK; in ptp_canon_eos_getobjectinfoex()
2457 return PTP_RC_OK; in ptp_canon_eos_getobjectinfoex()
2642 if (ret==PTP_RC_OK) { in ptp_canon_getpartialobject()
2674 if (ret==PTP_RC_OK) in ptp_canon_getviewfinderimage()
2707 return PTP_RC_OK; in ptp_canon_getchanges()
2749 if (ret != PTP_RC_OK) in ptp_canon_getobjectinfo()
2866 return PTP_RC_OK; in ptp_sony_sdioconnect()
2894 return PTP_RC_OK; in ptp_sony_get_vendorpropcodes()
2908 return PTP_RC_OK; in ptp_sony_get_vendorpropcodes()
2916 return PTP_RC_OK; in ptp_sony_get_vendorpropcodes()
2931 ret = ptp_unpack_Sony_DPD(params,data,dpd,size,&len) ? PTP_RC_OK : PTP_RC_GeneralError; in ptp_sony_getdevicepropdesc()
3034 return PTP_RC_OK; in ptp_sony_getalldevicepropdesc()
3142 return PTP_RC_OK; in ptp_generic_getdevicepropdesc()
3163 return PTP_RC_OK; in ptp_generic_getdevicepropdesc()
3173 return PTP_RC_OK; in ptp_generic_getdevicepropdesc()
3183 return PTP_RC_OK; in ptp_generic_getdevicepropdesc()
3186 return PTP_RC_OK; in ptp_generic_getdevicepropdesc()
3249 return PTP_RC_OK; in ptp_nikon_get_vendorpropcodes()
3307 return PTP_RC_OK; in ptp_nikon_get_preview_image()
3362 return PTP_RC_OK; in ptp_nikon_check_event()
3481 ret = PTP_RC_OK; in ptp_nikon_getwifiprofilelist()
3612 return PTP_RC_OK; in ptp_mtp_getobjectpropssupported()
3639 return PTP_RC_OK; in ptp_mtp_getobjectpropdesc()
3660 uint16_t ret = PTP_RC_OK; in ptp_mtp_getobjectpropvalue()
3721 return PTP_RC_OK; in ptp_mtp_getobjectreferences()
3755 return PTP_RC_OK; in ptp_mtp_getobjectproplist()
3774 return PTP_RC_OK; in ptp_mtp_getobjectproplist_single()
3812 return PTP_RC_OK; in ptp_mtp_setobjectproplist()
3903 if ( ret != PTP_RC_OK )
3930 return PTP_RC_OK; in ptp_chdk_rcisready()
3949 return PTP_RC_OK; in ptp_chdk_rcgetchunk()
3963 return PTP_RC_OK; in ptp_chdk_exec_lua()
3975 return PTP_RC_OK; in ptp_chdk_get_version()
3986 return PTP_RC_OK; in ptp_chdk_get_script_status()
3996 return PTP_RC_OK; in ptp_chdk_get_script_support()
4014 return PTP_RC_OK; in ptp_chdk_write_script_msg()
4042 return PTP_RC_OK; in ptp_chdk_read_script_msg()
4054 return PTP_RC_OK; in ptp_chdk_get_live_data()
4066 return PTP_RC_OK; in ptp_chdk_call_function()
4180 {PTP_RC_OK, 0, N_("PTP OK!")},
6515 if (ret != PTP_RC_OK) in ptp_find_object_prop_in_cache()
6542 return PTP_RC_OK; in ptp_remove_object_from_cache()
6574 return PTP_RC_OK; in ptp_object_find()
6592 return PTP_RC_OK; in ptp_object_find_or_insert()
6602 return PTP_RC_OK; in ptp_object_find_or_insert()
6613 return PTP_RC_OK; in ptp_object_find_or_insert()
6617 return PTP_RC_OK; in ptp_object_find_or_insert()
6637 return PTP_RC_OK; in ptp_object_find_or_insert()
6660 return PTP_RC_OK; in ptp_object_want()
6671 if (ret != PTP_RC_OK) { in ptp_object_want()
6695 if ((ret == PTP_RC_OK) && (numents >= 1)) in ptp_object_want()
6722 if (ret != PTP_RC_OK) in ptp_object_want()
6885 return PTP_RC_OK; in ptp_object_want()