iPXE
Data Fields
rhine_ring Struct Reference

A VIA Rhine descriptor ring. More...

#include <rhine.h>

Data Fields

struct rhine_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
 Register address. More...
 

Detailed Description

A VIA Rhine descriptor ring.

Definition at line 202 of file rhine.h.

Field Documentation

◆ desc

struct rhine_descriptor* rhine_ring::desc

◆ prod

unsigned int rhine_ring::prod

Producer index.

Definition at line 206 of file rhine.h.

Referenced by rhine_destroy_ring(), rhine_poll_rx(), rhine_poll_tx(), rhine_refill_rx(), and rhine_transmit().

◆ cons

unsigned int rhine_ring::cons

Consumer index.

Definition at line 208 of file rhine.h.

Referenced by rhine_destroy_ring(), rhine_poll_rx(), rhine_poll_tx(), rhine_refill_rx(), and rhine_transmit().

◆ count

unsigned int rhine_ring::count

Number of descriptors.

Definition at line 211 of file rhine.h.

Referenced by rhine_create_ring(), and rhine_destroy_ring().

◆ reg

unsigned int rhine_ring::reg

Register address.

Definition at line 213 of file rhine.h.

Referenced by rhine_create_ring(), and rhine_destroy_ring().


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