iPXE
Data Fields
usbio_interrupt_ring Struct Reference

A USB interrupt ring buffer. More...

#include <usbio.h>

Data Fields

struct usbio_endpointendpoint
 USB I/O endpoint. More...
 
unsigned int prod
 Producer counter. More...
 
unsigned int cons
 Consumer counter. More...
 
void * data [USBIO_INTR_COUNT]
 Data buffers. More...
 
size_t len [USBIO_INTR_COUNT]
 Lengths. More...
 

Detailed Description

A USB interrupt ring buffer.

Definition at line 33 of file usbio.h.

Field Documentation

◆ endpoint

struct usbio_endpoint* usbio_interrupt_ring::endpoint

USB I/O endpoint.

Definition at line 35 of file usbio.h.

Referenced by usbio_interrupt_poll().

◆ prod

unsigned int usbio_interrupt_ring::prod

Producer counter.

Definition at line 37 of file usbio.h.

◆ cons

unsigned int usbio_interrupt_ring::cons

Consumer counter.

Definition at line 39 of file usbio.h.

◆ data

void* usbio_interrupt_ring::data[USBIO_INTR_COUNT]

Data buffers.

Definition at line 41 of file usbio.h.

◆ len

size_t usbio_interrupt_ring::len[USBIO_INTR_COUNT]

Lengths.

Definition at line 43 of file usbio.h.


The documentation for this struct was generated from the following file: