Lines Matching refs:timeout
100 ustorage_cbw_t cmd, rt_uint8_t* buffer, int timeout) in rt_usb_bulk_only_xfer() argument
123 cmd, SIZEOF_CBW, timeout); in rt_usb_bulk_only_xfer()
134 cmd->xfer_len, timeout); in rt_usb_bulk_only_xfer()
145 &csw, SIZEOF_CSW, timeout); in rt_usb_bulk_only_xfer()
197 int timeout = USB_TIMEOUT_BASIC; in rt_usbh_storage_get_max_lun() local
221 if(rt_usb_hcd_setup_xfer(device->hcd, device->pipe_ep0_out, &setup, timeout) != 8) in rt_usbh_storage_get_max_lun()
225 if(rt_usb_hcd_pipe_xfer(device->hcd, device->pipe_ep0_in, max_lun, 1, timeout) != 1) in rt_usbh_storage_get_max_lun()
229 if(rt_usb_hcd_pipe_xfer(device->hcd, device->pipe_ep0_out, RT_NULL, 0, timeout) != 0) in rt_usbh_storage_get_max_lun()
247 int timeout = USB_TIMEOUT_BASIC; in rt_usbh_storage_reset() local
270 if(rt_usb_hcd_setup_xfer(device->hcd, device->pipe_ep0_out, &setup, timeout) != 8) in rt_usbh_storage_reset()
274 if(rt_usb_hcd_pipe_xfer(device->hcd, device->pipe_ep0_in, RT_NULL, 0, timeout) != 0) in rt_usbh_storage_reset()
292 rt_uint32_t sector, rt_size_t count, int timeout) in rt_usbh_storage_read10() argument
324 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_read10()
338 rt_uint32_t sector, rt_size_t count, int timeout) in rt_usbh_storage_write10() argument
370 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_write10()
384 int timeout = USB_TIMEOUT_LONG; in rt_usbh_storage_request_sense() local
407 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_request_sense()
420 int timeout = USB_TIMEOUT_LONG; in rt_usbh_storage_test_unit_ready() local
442 return rt_usb_bulk_only_xfer(intf, &cmd, RT_NULL, timeout); in rt_usbh_storage_test_unit_ready()
456 int timeout = USB_TIMEOUT_LONG; in rt_usbh_storage_inquiry() local
479 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_inquiry()
493 int timeout = USB_TIMEOUT_LONG; in rt_usbh_storage_get_capacity() local
515 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_get_capacity()