Lines Matching refs:PTP_RC_OK

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()
1182 if (ret!=PTP_RC_OK && ret!=PTP_ERROR_CANCEL) { in ptp_usb_sendreq()
1232 if (ret != PTP_RC_OK) in ptp_usb_senddata()
1241 if (ret!=PTP_RC_OK) { in ptp_usb_senddata()
1247 ret = PTP_RC_OK; in ptp_usb_senddata()
1252 if (ret != PTP_RC_OK) in ptp_usb_senddata()
1260 if (ret!=PTP_RC_OK && ret!=PTP_ERROR_CANCEL) in ptp_usb_senddata()
1285 return PTP_RC_OK; in ptp_usb_getpacket()
1312 if (ret!=PTP_RC_OK) { in ptp_usb_getdata()
1328 ret = PTP_RC_OK; in ptp_usb_getdata()
1349 if (putfunc_ret != PTP_RC_OK) in ptp_usb_getdata()
1364 if (xret != PTP_RC_OK) in ptp_usb_getdata()
1369 return PTP_RC_OK; in ptp_usb_getdata()
1419 if (putfunc_ret != PTP_RC_OK) in ptp_usb_getdata()
1464 if (ret!=PTP_RC_OK) { in ptp_usb_getdata()
1490 while (ret==PTP_RC_OK && rlen<PTP_USB_BULK_HDR_LEN && usbresp.length==0) { in ptp_usb_getresp()
1497 if (ret!=PTP_RC_OK) { in ptp_usb_getresp()
1509 if (ret!=PTP_RC_OK) { in ptp_usb_getresp()
1555 ret = PTP_RC_OK; in ptp_usb_event()
1589 if (ret!=PTP_RC_OK) { in ptp_usb_event()
1650 return PTP_RC_OK; in ptp_usb_control_cancel_request()
2063 if (ret != PTP_RC_SessionAlreadyOpened && ret != PTP_RC_OK) { in configure_usb_device()
2080 if (ptp_closesession(params)!=PTP_RC_OK) in close_device()