Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/usb_busdma.h
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | #endif | ||||
void *buffer; /* virtual buffer pointer */ | void *buffer; /* virtual buffer pointer */ | ||||
#if USB_HAVE_BUSDMA | #if USB_HAVE_BUSDMA | ||||
usb_size_t page_offset_buf; | usb_size_t page_offset_buf; | ||||
usb_size_t page_offset_end; | usb_size_t page_offset_end; | ||||
uint8_t isread:1; /* set if we are currently reading | uint8_t isread:1; /* set if we are currently reading | ||||
* from the memory. Else write. */ | * from the memory. Else write. */ | ||||
uint8_t ismultiseg:1; /* set if we can have multiple | uint8_t ismultiseg:1; /* set if we can have multiple | ||||
* segments */ | * segments */ | ||||
uint8_t isloaded:1; /* Set if map is currently loaded. */ | |||||
#endif | #endif | ||||
}; | }; | ||||
/* | /* | ||||
* The following structure describes the parent USB DMA tag. | * The following structure describes the parent USB DMA tag. | ||||
*/ | */ | ||||
#if USB_HAVE_BUSDMA | #if USB_HAVE_BUSDMA | ||||
struct usb_dma_parent_tag { | struct usb_dma_parent_tag { | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |