iPXE
Data Fields
myson_ring Struct Reference

A Myson descriptor ring. More...

#include <myson.h>

Data Fields

struct myson_descriptordesc
 Descriptors. More...
 
unsigned int prod
 Producer index. More...
 
unsigned int cons
 Consumer index. More...
 
unsigned int count
 Number of descriptors. More...
 
unsigned int reg
 Descriptor start address register. More...
 

Detailed Description

A Myson descriptor ring.

Definition at line 139 of file myson.h.

Field Documentation

◆ desc

struct myson_descriptor* myson_ring::desc

◆ prod

unsigned int myson_ring::prod

Producer index.

Definition at line 143 of file myson.h.

Referenced by myson_destroy_ring(), myson_poll_rx(), myson_poll_tx(), myson_refill_rx(), and myson_transmit().

◆ cons

unsigned int myson_ring::cons

Consumer index.

Definition at line 145 of file myson.h.

Referenced by myson_destroy_ring(), myson_poll_rx(), myson_poll_tx(), myson_refill_rx(), and myson_transmit().

◆ count

unsigned int myson_ring::count

Number of descriptors.

Definition at line 148 of file myson.h.

Referenced by myson_create_ring(), and myson_destroy_ring().

◆ reg

unsigned int myson_ring::reg

Descriptor start address register.

Definition at line 150 of file myson.h.

Referenced by myson_create_ring(), and myson_destroy_ring().


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