iPXE
Data Fields
dwgpio Struct Reference

A DesignWare GPIO port. More...

#include <dwgpio.h>

Data Fields

const char * name
 Device name. More...
 
unsigned int port
 Port index. More...
 
void * swport
 Software port registers. More...
 
void * ext
 External port register. More...
 
uint32_t dr
 Original data register value. More...
 
uint32_t ddr
 Original data direction register value. More...
 
uint32_t ctl
 Original control register value. More...
 

Detailed Description

A DesignWare GPIO port.

Definition at line 61 of file dwgpio.h.

Field Documentation

◆ name

const char* dwgpio::name

Device name.

Definition at line 63 of file dwgpio.h.

Referenced by dwgpio_dump(), and dwgpio_probe().

◆ port

unsigned int dwgpio::port

Port index.

Definition at line 65 of file dwgpio.h.

Referenced by dwgpio_probe().

◆ swport

void* dwgpio::swport

Software port registers.

Definition at line 67 of file dwgpio.h.

Referenced by dwgpio_config(), dwgpio_dump(), dwgpio_out(), dwgpio_probe(), and dwgpio_remove().

◆ ext

void* dwgpio::ext

External port register.

Definition at line 69 of file dwgpio.h.

Referenced by dwgpio_in(), and dwgpio_probe().

◆ dr

uint32_t dwgpio::dr

Original data register value.

Definition at line 72 of file dwgpio.h.

Referenced by dwgpio_probe(), and dwgpio_remove().

◆ ddr

uint32_t dwgpio::ddr

Original data direction register value.

Definition at line 74 of file dwgpio.h.

Referenced by dwgpio_config(), dwgpio_probe(), and dwgpio_remove().

◆ ctl

uint32_t dwgpio::ctl

Original control register value.

Definition at line 76 of file dwgpio.h.

Referenced by dwgpio_config(), dwgpio_probe(), and dwgpio_remove().


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