Lines Matching refs:PTP_RC_OK

882     if (putfunc_ret != PTP_RC_OK)  in ptp_read_func()
928 return PTP_RC_OK; in ptp_read_func()
961 if (getfunc_ret != PTP_RC_OK) in ptp_write_func()
1021 return PTP_RC_OK; in ptp_write_func()
1043 return PTP_RC_OK; in memory_getfunc()
1060 return PTP_RC_OK; in memory_putfunc()
1074 return PTP_RC_OK; in ptp_init_recv_memory_handler()
1094 return PTP_RC_OK; in ptp_init_send_memory_handler()
1103 return PTP_RC_OK; in ptp_exit_send_memory_handler()
1115 return PTP_RC_OK; in ptp_exit_recv_memory_handler()
1155 if (ret!=PTP_RC_OK && ret!=PTP_ERROR_CANCEL) { in ptp_usb_sendreq()
1201 if (ret != PTP_RC_OK) in ptp_usb_senddata()
1210 if (ret!=PTP_RC_OK) { in ptp_usb_senddata()
1216 ret = PTP_RC_OK; in ptp_usb_senddata()
1219 if (ret != PTP_RC_OK) in ptp_usb_senddata()
1227 if (ret!=PTP_RC_OK && ret!=PTP_ERROR_CANCEL) in ptp_usb_senddata()
1248 return PTP_RC_OK; in ptp_usb_getpacket()
1276 if (ret!=PTP_RC_OK) { in ptp_usb_getdata()
1292 ret = PTP_RC_OK; in ptp_usb_getdata()
1314 if (putfunc_ret != PTP_RC_OK) in ptp_usb_getdata()
1328 if (xret != PTP_RC_OK) in ptp_usb_getdata()
1333 return PTP_RC_OK; in ptp_usb_getdata()
1383 if (putfunc_ret != PTP_RC_OK) in ptp_usb_getdata()
1420 if (ret!=PTP_RC_OK) { in ptp_usb_getdata()
1446 while (ret==PTP_RC_OK && rlen<PTP_USB_BULK_HDR_LEN && usbresp.length==0) { in ptp_usb_getresp()
1453 if (ret!=PTP_RC_OK) { in ptp_usb_getresp()
1465 if (ret!=PTP_RC_OK) { in ptp_usb_getresp()
1511 ret = PTP_RC_OK; in ptp_usb_event()
1529 if (ret!=PTP_RC_OK) { in ptp_usb_event()
1576 return PTP_RC_OK; in ptp_usb_control_cancel_request()
1875 if (ret != PTP_RC_SessionAlreadyOpened && ret != PTP_RC_OK) { in configure_usb_device()
1892 if (ptp_closesession(params)!=PTP_RC_OK) in close_device()