iPXE
dt_device Struct Reference

A devicetree device. More...

#include <devtree.h>

Data Fields

const char * name
 Device name.
struct device dev
 Generic device.
struct dma_device dma
 DMA device.
struct dt_driverdriver
 Driver for this device.
void * priv
 Driver-private data.

Detailed Description

A devicetree device.

Definition at line 17 of file devtree.h.

Field Documentation

◆ name

const char* dt_device::name

◆ dev

struct device dt_device::dev

◆ dma

struct dma_device dt_device::dma

DMA device.

Definition at line 23 of file devtree.h.

Referenced by cgem_probe(), dwmac_probe(), and dwusb_probe().

◆ driver

struct dt_driver* dt_device::driver

Driver for this device.

Definition at line 25 of file devtree.h.

Referenced by dt_probe(), dt_remove(), and dwgpio_probe().

◆ priv

void* dt_device::priv

Driver-private data.

Definition at line 27 of file devtree.h.

Referenced by dt_get_drvdata(), and dt_set_drvdata().


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