Lines Matching full:timeout
96 ustorage_cbw_t cmd, rt_uint8_t* buffer, int timeout) in rt_usb_bulk_only_xfer() argument
119 cmd, SIZEOF_CBW, timeout); in rt_usb_bulk_only_xfer()
130 cmd->xfer_len, timeout); in rt_usb_bulk_only_xfer()
141 &csw, SIZEOF_CSW, timeout); in rt_usb_bulk_only_xfer()
193 int timeout = USB_TIMEOUT_BASIC; in rt_usbh_storage_get_max_lun() local
217 if(rt_usb_hcd_setup_xfer(device->hcd, device->pipe_ep0_out, &setup, timeout) != 8) in rt_usbh_storage_get_max_lun()
221 if(rt_usb_hcd_pipe_xfer(device->hcd, device->pipe_ep0_in, max_lun, 1, timeout) != 1) in rt_usbh_storage_get_max_lun()
225 if(rt_usb_hcd_pipe_xfer(device->hcd, device->pipe_ep0_out, RT_NULL, 0, timeout) != 0) in rt_usbh_storage_get_max_lun()
243 int timeout = USB_TIMEOUT_BASIC; in rt_usbh_storage_reset() local
266 if(rt_usb_hcd_setup_xfer(device->hcd, device->pipe_ep0_out, &setup, timeout) != 8) in rt_usbh_storage_reset()
270 if(rt_usb_hcd_pipe_xfer(device->hcd, device->pipe_ep0_in, RT_NULL, 0, timeout) != 0) in rt_usbh_storage_reset()
288 rt_uint32_t sector, rt_size_t count, int timeout) in rt_usbh_storage_read10() argument
320 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_read10()
334 rt_uint32_t sector, rt_size_t count, int timeout) in rt_usbh_storage_write10() argument
366 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_write10()
380 int timeout = USB_TIMEOUT_LONG; in rt_usbh_storage_request_sense() local
403 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_request_sense()
416 int timeout = USB_TIMEOUT_LONG; in rt_usbh_storage_test_unit_ready() local
438 return rt_usb_bulk_only_xfer(intf, &cmd, RT_NULL, timeout); in rt_usbh_storage_test_unit_ready()
452 int timeout = USB_TIMEOUT_LONG; in rt_usbh_storage_inquiry() local
475 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_inquiry()
489 int timeout = USB_TIMEOUT_LONG; in rt_usbh_storage_get_capacity() local
511 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_get_capacity()