Lines Matching refs:usb_status
245 PIEUSB_USB_Status usb_status = USB_STATUS_AGAIN;
251 DBG (DBG_info_usb, "\tsanei_pieusb_command loop, status %d:%s\n", usb_status, code_to_text (usb_code_text, usb_status));
252 if (usb_status == USB_STATUS_AGAIN) {
253 usb_status = _pieusb_scsi_command (device_number, command, data, size);
254 DBG (DBG_info_usb, "\t_pieusb_scsi_command returned %d:%s\n", usb_status, code_to_text (usb_code_text, usb_status));
257 if (usb_status == USB_STATUS_OK) {
261 if (usb_status == USB_STATUS_READ) {
266 if (usb_status == USB_STATUS_CHECK) {
291 if (usb_status == USB_STATUS_BUSY) {
299 usb_status = usbstat;
300 if (usb_status == USB_STATUS_AGAIN) {
305 if (usb_status == USB_STATUS_AGAIN) {
309 if (usb_status == USB_STATUS_FAIL) {
311 usb_status = USB_STATUS_ERROR;
316 if (usb_status == USB_STATUS_ERROR) {
322 DBG (DBG_error, "\tsanei_pieusb_command() unhandled usb status 0x%02x\n", usb_status);