Lines Matching refs:PTP_ERROR_IO
906 return PTP_ERROR_IO; in ptp_read_func()
992 return PTP_ERROR_IO; in ptp_write_func()
1024 return PTP_ERROR_IO; in ptp_write_func()
1077 return PTP_ERROR_IO; in ptp_write_func()
1208 ret = PTP_ERROR_IO; in ptp_usb_sendreq()
1210 if (written != towrite && ret != PTP_ERROR_CANCEL && ret != PTP_ERROR_IO) { in ptp_usb_sendreq()
1215 ret = PTP_ERROR_IO; in ptp_usb_sendreq()
1280 ret = PTP_ERROR_IO; in ptp_usb_senddata()
1286 ret = PTP_ERROR_IO; in ptp_usb_senddata()
1338 ret = PTP_ERROR_IO; in ptp_usb_getdata()
1363 ret = PTP_ERROR_IO; in ptp_usb_getdata()
1524 ret = PTP_ERROR_IO; in ptp_usb_getresp()
1599 if (result < 0) ret = PTP_ERROR_IO; in ptp_usb_event()
1615 if (result < 0) ret = PTP_ERROR_IO; in ptp_usb_event()
1624 return PTP_ERROR_IO; in ptp_usb_event()
1630 return PTP_ERROR_IO; in ptp_usb_event()
1669 code = PTP_ERROR_IO; in ptp_usb_event_cb()
1693 code = PTP_ERROR_IO; in ptp_usb_event_cb()
1719 return PTP_ERROR_IO; in ptp_usb_event_async()
1725 return PTP_ERROR_IO; in ptp_usb_event_async()
1732 return PTP_ERROR_IO; in ptp_usb_event_async()
1746 return ret == 0 ? PTP_RC_OK : PTP_ERROR_IO; in ptp_usb_event_async()
1773 return PTP_ERROR_IO; in ptp_usb_control_cancel_request()
2182 if ((ret = ptp_opensession(params, 1)) == PTP_ERROR_IO) { in configure_usb_device()
2196 if ((ret = ptp_opensession(params, 1)) == PTP_ERROR_IO) { in configure_usb_device()