Searched refs:PTP_RC_OK (Results 1 – 10 of 10) sorted by relevance
923 if (putfunc_ret != PTP_RC_OK) in ptp_read_func()973 return PTP_RC_OK; in ptp_read_func()1008 if (getfunc_ret != PTP_RC_OK) { in ptp_write_func()1078 return PTP_RC_OK; in ptp_write_func()1100 return PTP_RC_OK; in memory_getfunc()1115 return PTP_RC_OK; in memory_putfunc()1129 return PTP_RC_OK; in ptp_init_recv_memory_handler()1149 return PTP_RC_OK; in ptp_init_send_memory_handler()1158 return PTP_RC_OK; in ptp_exit_send_memory_handler()1170 return PTP_RC_OK; in ptp_exit_recv_memory_handler()[all …]
908 if (putfunc_ret != PTP_RC_OK) in ptp_read_func()957 return PTP_RC_OK; in ptp_read_func()990 if (getfunc_ret != PTP_RC_OK) in ptp_write_func()1053 return PTP_RC_OK; in ptp_write_func()1075 return PTP_RC_OK; in memory_getfunc()1090 return PTP_RC_OK; in memory_putfunc()1104 return PTP_RC_OK; in ptp_init_recv_memory_handler()1124 return PTP_RC_OK; in ptp_init_send_memory_handler()1133 return PTP_RC_OK; in ptp_exit_send_memory_handler()1145 return PTP_RC_OK; in ptp_exit_recv_memory_handler()[all …]
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()[all …]
882 if (putfunc_ret != PTP_RC_OK) in ptp_read_func()940 return PTP_RC_OK; in ptp_read_func()977 if (getfunc_ret != PTP_RC_OK) in ptp_write_func()1061 return PTP_RC_OK; in ptp_write_func()1083 return PTP_RC_OK; in memory_getfunc()1098 return PTP_RC_OK; in memory_putfunc()1112 return PTP_RC_OK; in ptp_init_recv_memory_handler()1133 return PTP_RC_OK; in ptp_init_send_memory_handler()1142 return PTP_RC_OK; in ptp_exit_send_memory_handler()1154 return PTP_RC_OK; in ptp_exit_recv_memory_handler()[all …]
970 if (ret != PTP_RC_OK) { in LIBMTP_Get_Allowed_Property_Values()1174 if (ret != PTP_RC_OK) { in LIBMTP_Is_Property_Supported()1361 if (ret == PTP_RC_OK) { in get_string_from_object()1404 if (ret == PTP_RC_OK) { in get_u64_from_object()1444 if (ret == PTP_RC_OK) { in get_u32_from_object()1485 if (ret == PTP_RC_OK) { in get_u16_from_object()1527 if (ret == PTP_RC_OK) { in get_u8_from_object()1564 if (ret != PTP_RC_OK) { in set_object_string()1602 if (ret != PTP_RC_OK) { in set_object_u32()1638 if (ret != PTP_RC_OK) { in set_object_u16()[all …]
1515 if (ret != PTP_RC_OK) in ptp_mtpz_validatehandshakeresponse()1783 uint16_t ret = PTP_RC_OK; in ptp_mtpz_handshake()1798 if (ret != PTP_RC_OK) in ptp_mtpz_handshake()1803 if (ret != PTP_RC_OK) in ptp_mtpz_handshake()1810 if (ret != PTP_RC_OK) in ptp_mtpz_handshake()1815 if (ret != PTP_RC_OK) in ptp_mtpz_handshake()1821 if (ret != PTP_RC_OK) in ptp_mtpz_handshake()
701 #define PTP_RC_OK 0x2001 macro
2823 return PTP_RC_OK; in ptp_unpack_canon_directory()
502 Return Code ("RC") = 0x2001, PTP_RC_OK, all went fine.
706 * src/libusb-glue.c: return PTP_RC_OK on zero read