Lines Matching refs:PTP_RC_OK
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()
1190 if (ret != PTP_RC_OK && ret != PTP_ERROR_CANCEL) { in ptp_usb_sendreq()
1239 if (ret != PTP_RC_OK){ in ptp_usb_senddata()
1251 if (ret != PTP_RC_OK) { in ptp_usb_senddata()
1257 ret = PTP_RC_OK; in ptp_usb_senddata()
1262 if (ret != PTP_RC_OK){ in ptp_usb_senddata()
1271 if (ret != PTP_RC_OK && ret != PTP_ERROR_CANCEL) in ptp_usb_senddata()
1295 return PTP_RC_OK; in ptp_usb_getpacket()
1324 if (ret != PTP_RC_OK) { in ptp_usb_getdata()
1340 ret = PTP_RC_OK; in ptp_usb_getdata()
1361 if (putfunc_ret != PTP_RC_OK) in ptp_usb_getdata()
1376 if (xret != PTP_RC_OK) in ptp_usb_getdata()
1381 return PTP_RC_OK; in ptp_usb_getdata()
1431 if (putfunc_ret != PTP_RC_OK) in ptp_usb_getdata()
1497 if (ret != PTP_RC_OK) { in ptp_usb_getdata()
1520 while (ret == PTP_RC_OK && rlen < PTP_USB_BULK_HDR_LEN && usbresp.length == 0) { in ptp_usb_getresp()
1526 if (ret != PTP_RC_OK) { in ptp_usb_getresp()
1537 if (ret != PTP_RC_OK) { in ptp_usb_getresp()
1584 ret = PTP_RC_OK; in ptp_usb_event()
1663 if (ret != PTP_RC_OK) { in ptp_usb_event()
1738 return PTP_RC_OK; in ptp_usb_control_cancel_request()
2175 if (ret != PTP_RC_SessionAlreadyOpened && ret != PTP_RC_OK) { in configure_usb_device()
2189 if (ptp_closesession(params) != PTP_RC_OK) in close_device()