iPXE
ehci_device Struct Reference

An EHCI device. More...

#include <ehci.h>

Data Fields

void * regs
 Registers.
const char * name
 Name.
void * cap
 Capability registers.
void * op
 Operational registers.
unsigned int ports
 Number of ports.
int addr64
 64-bit addressing capability
unsigned int flsize
 Frame list size.
unsigned int eecp
 EHCI extended capabilities offset.
unsigned int legacy
 USB legacy support capability (if present and enabled)
uint32_t ctrldssegment
 Control data structure segment.
struct ehci_queue_headhead
 Asynchronous queue head.
struct ehci_periodic_frameframe
 Periodic frame list.
struct list_head endpoints
 List of all endpoints.
struct list_head async
 Asynchronous schedule.
struct list_head periodic
 Periodic schedule.
struct usb_busbus
 USB bus.

Detailed Description

An EHCI device.

Definition at line 484 of file ehci.h.

Field Documentation

◆ regs

void* ehci_device::regs

Registers.

Definition at line 486 of file ehci.h.

Referenced by ehci_probe(), and ehci_remove().

◆ name

◆ cap

void* ehci_device::cap

Capability registers.

Definition at line 491 of file ehci.h.

Referenced by ehci_dump(), and ehci_init().

◆ op

◆ ports

unsigned int ehci_device::ports

Number of ports.

Definition at line 496 of file ehci.h.

Referenced by ehci_bus_poll(), ehci_init(), ehci_probe(), and ehci_root_open().

◆ addr64

int ehci_device::addr64

64-bit addressing capability

Definition at line 498 of file ehci.h.

Referenced by ehci_bus_open(), ehci_enqueue(), and ehci_init().

◆ flsize

unsigned int ehci_device::flsize

Frame list size.

Definition at line 500 of file ehci.h.

Referenced by ehci_bus_close(), ehci_bus_open(), ehci_init(), ehci_periodic_schedule(), and ehci_run().

◆ eecp

unsigned int ehci_device::eecp

EHCI extended capabilities offset.

Definition at line 502 of file ehci.h.

Referenced by ehci_extended_capability(), and ehci_init().

◆ legacy

unsigned int ehci_device::legacy

USB legacy support capability (if present and enabled)

Definition at line 505 of file ehci.h.

Referenced by ehci_legacy_claim(), ehci_legacy_init(), and ehci_legacy_release().

◆ ctrldssegment

uint32_t ehci_device::ctrldssegment

Control data structure segment.

Definition at line 508 of file ehci.h.

Referenced by ehci_bus_open(), and ehci_ctrl_reachable().

◆ head

struct ehci_queue_head* ehci_device::head

Asynchronous queue head.

Definition at line 510 of file ehci.h.

Referenced by ehci_async_schedule(), ehci_bus_close(), and ehci_bus_open().

◆ frame

struct ehci_periodic_frame* ehci_device::frame

Periodic frame list.

Definition at line 512 of file ehci.h.

Referenced by ehci_bus_close(), ehci_bus_open(), and ehci_periodic_schedule().

◆ endpoints

struct list_head ehci_device::endpoints

List of all endpoints.

Definition at line 515 of file ehci.h.

Referenced by ehci_bus_poll(), ehci_endpoint_open(), and ehci_probe().

◆ async

struct list_head ehci_device::async

Asynchronous schedule.

Definition at line 517 of file ehci.h.

Referenced by ehci_async_add(), ehci_async_del(), ehci_async_schedule(), ehci_bus_close(), ehci_bus_open(), ehci_probe(), and ehci_remove().

◆ periodic

struct list_head ehci_device::periodic

Periodic schedule.

Listed in decreasing order of endpoint interval.

Definition at line 522 of file ehci.h.

Referenced by ehci_bus_close(), ehci_bus_open(), ehci_periodic_add(), ehci_periodic_del(), ehci_periodic_schedule(), ehci_probe(), and ehci_remove().

◆ bus

struct usb_bus* ehci_device::bus

USB bus.

Definition at line 525 of file ehci.h.

Referenced by ehci_device_address(), ehci_device_close(), ehci_poll_companions(), ehci_probe(), and ehci_remove().


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