iPXE
Data Fields
gpios Struct Reference

A GPIO controller. More...

#include <gpio.h>

Data Fields

struct refcnt refcnt
 Reference count. More...
 
struct list_head list
 List of GPIO controllers. More...
 
struct devicedev
 Generic device. More...
 
unsigned int count
 Number of GPIOs. More...
 
struct gpiogpio
 Individual GPIOs. More...
 
struct gpio_operationsop
 GPIO operations. More...
 
void * priv
 Driver-private data. More...
 

Detailed Description

A GPIO controller.

Definition at line 37 of file gpio.h.

Field Documentation

◆ refcnt

struct refcnt gpios::refcnt

Reference count.

Definition at line 39 of file gpio.h.

Referenced by gpios_get(), and gpios_put().

◆ list

struct list_head gpios::list

List of GPIO controllers.

Definition at line 41 of file gpio.h.

Referenced by gpios_find(), gpios_register(), and gpios_unregister().

◆ dev

struct device* gpios::dev

Generic device.

Definition at line 43 of file gpio.h.

Referenced by dwgpio_probe(), gpios_find(), gpios_register(), and gpios_unregister().

◆ count

unsigned int gpios::count

Number of GPIOs.

Definition at line 45 of file gpio.h.

Referenced by alloc_gpios(), dwgpio_probe(), and gpios_register().

◆ gpio

struct gpio* gpios::gpio

Individual GPIOs.

Definition at line 48 of file gpio.h.

Referenced by alloc_gpios().

◆ op

struct gpio_operations* gpios::op

GPIO operations.

Definition at line 50 of file gpio.h.

Referenced by gpio_config(), gpio_in(), gpio_out(), gpios_init(), and gpios_nullify().

◆ priv

void* gpios::priv

Driver-private data.

Definition at line 53 of file gpio.h.

Referenced by alloc_gpios(), dwgpio_config(), dwgpio_in(), dwgpio_out(), dwgpio_probe(), and dwgpio_remove().


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