Home
last modified time | relevance | path

Searched refs:BulkTransferBuffer (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/usb_util/src/
Dusb_transfer.rs96 pub struct BulkTransferBuffer { struct
100 impl BulkTransferBuffer { impl
102 BulkTransferBuffer { in with_size()
118 impl UsbTransferBuffer for BulkTransferBuffer { implementation
201 pub fn bulk_transfer(endpoint: u8, timeout: u32, size: usize) -> UsbTransfer<BulkTransferBuffer> { in bulk_transfer() argument
202 UsbTransfer::<BulkTransferBuffer>::new( in bulk_transfer()
206 BulkTransferBuffer::with_size(size), in bulk_transfer()
215 ) -> UsbTransfer<BulkTransferBuffer> { in interrupt_transfer() argument
216 UsbTransfer::<BulkTransferBuffer>::new( in interrupt_transfer()
220 BulkTransferBuffer::with_size(size), in interrupt_transfer()
/external/crosvm/devices/src/usb/host_backend/
Dusb_endpoint.rs21 bulk_transfer, interrupt_transfer, BulkTransferBuffer, TransferStatus, UsbTransfer,
127 mut usb_transfer: UsbTransfer<BulkTransferBuffer>, in do_handle_transfer() argument
144 let callback = move |t: UsbTransfer<BulkTransferBuffer>| { in do_handle_transfer()
172 move |t: UsbTransfer<BulkTransferBuffer>| match callback(t) { in do_handle_transfer()
195 let callback = move |t: UsbTransfer<BulkTransferBuffer>| { in do_handle_transfer()
234 move |t: UsbTransfer<BulkTransferBuffer>| match callback(t) { in do_handle_transfer()