Lines Matching full:buffer
26 * @param max_lun the buffer to save max_lun.
91 * @param max_lun the buffer to save max_lun.
96 ustorage_cbw_t cmd, rt_uint8_t* buffer, int timeout) in rt_usb_bulk_only_xfer() argument
129 size = rt_usb_hcd_pipe_xfer(pipe->inst->hcd, pipe, (void*)buffer, in rt_usb_bulk_only_xfer()
185 * @param max_lun the buffer to save max_lun.
281 * @param buffer the data buffer to save read data
287 rt_err_t rt_usbh_storage_read10(struct uhintf* intf, rt_uint8_t *buffer, in rt_usbh_storage_read10() argument
320 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_read10()
327 * @param buffer the data buffer to save write data
333 rt_err_t rt_usbh_storage_write10(struct uhintf* intf, rt_uint8_t *buffer, in rt_usbh_storage_write10() argument
366 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_write10()
373 * @param buffer the data buffer to save sense data
377 rt_err_t rt_usbh_storage_request_sense(struct uhintf* intf, rt_uint8_t* buffer) in rt_usbh_storage_request_sense() argument
403 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_request_sense()
445 * @param buffer the data buffer to save inquiry data
449 rt_err_t rt_usbh_storage_inquiry(struct uhintf* intf, rt_uint8_t* buffer) in rt_usbh_storage_inquiry() argument
475 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_inquiry()
482 * @param buffer the data buffer to save capacity data
486 rt_err_t rt_usbh_storage_get_capacity(struct uhintf* intf, rt_uint8_t* buffer) in rt_usbh_storage_get_capacity() argument
511 return rt_usb_bulk_only_xfer(intf, &cmd, buffer, timeout); in rt_usbh_storage_get_capacity()