Searched refs:PTP_ERROR_CANCEL (Results 1 – 7 of 7) sorted by relevance
927 return PTP_ERROR_CANCEL; in ptp_read_func()1024 return PTP_ERROR_CANCEL; in ptp_write_func()1182 if (ret!=PTP_RC_OK && ret!=PTP_ERROR_CANCEL) { in ptp_usb_sendreq()1185 if (written != towrite && ret != PTP_ERROR_CANCEL && ret != PTP_ERROR_IO) { in ptp_usb_sendreq()1260 if (ret!=PTP_RC_OK && ret!=PTP_ERROR_CANCEL) in ptp_usb_senddata()1626 return PTP_ERROR_CANCEL; in ptp_usb_event_async()
942 return PTP_ERROR_CANCEL; in ptp_read_func()1047 return PTP_ERROR_CANCEL; in ptp_write_func()1207 if (ret != PTP_RC_OK && ret != PTP_ERROR_CANCEL) { in ptp_usb_sendreq()1210 if (written != towrite && ret != PTP_ERROR_CANCEL && ret != PTP_ERROR_IO) { in ptp_usb_sendreq()1285 if (ret != PTP_RC_OK && ret != PTP_ERROR_CANCEL) in ptp_usb_senddata()1684 code = PTP_ERROR_CANCEL; in ptp_usb_event_cb()
901 return PTP_ERROR_CANCEL; in ptp_read_func()1021 return PTP_ERROR_CANCEL; in ptp_write_func()1190 if (ret != PTP_RC_OK && ret != PTP_ERROR_CANCEL) { in ptp_usb_sendreq()1193 if (written != towrite && ret != PTP_ERROR_CANCEL && ret != PTP_ERROR_IO) { in ptp_usb_sendreq()1271 if (ret != PTP_RC_OK && ret != PTP_ERROR_CANCEL) in ptp_usb_senddata()1700 return PTP_ERROR_CANCEL; in ptp_usb_event_async()
2270 case PTP_ERROR_CANCEL: in LIBMTP_Read_Event_Cb()5156 return PTP_ERROR_CANCEL; in get_func_wrapper()5183 return PTP_ERROR_CANCEL; in put_func_wrapper()5299 if (ret == PTP_ERROR_CANCEL) {5374 if (ret == PTP_ERROR_CANCEL) {5959 if (ret == PTP_ERROR_CANCEL) {6072 if (ret == PTP_ERROR_CANCEL) {
178 if (ret == PTP_ERROR_CANCEL) in ptp_transaction_new()186 if (ret == PTP_ERROR_CANCEL) in ptp_transaction_new()4239 {PTP_ERROR_CANCEL, 0, N_("PTP Cancel Request")},
801 #define PTP_ERROR_CANCEL 0x02FB macro
473 value so the handler can return PTP_ERROR_CANCEL to cancel the