Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pcie_ctrl_config Struct Reference

Structure describing a device that supports the PCI Express Controller API. More...

#include <controller.h>

Data Fields

const struct devicemsi_parent
 MSI parent device.
uintptr_t cfg_addr
 Configuration space physical address.
size_t cfg_size
 Configuration space physical size.
size_t ranges_count
 BAR regions translation ranges count.
struct { 
   uint32_t   flags 
 Flags as defined in the PCI Bus Binding to IEEE Std 1275-1994. More...
   uintptr_t   pcie_bus_addr 
 bus-centric offset from the start of the region More...
   uintptr_t   host_map_addr 
 CPU-centric offset from the start of the region. More...
   size_t   map_length 
 region size More...
ranges []
 BAR regions translation ranges table.

Detailed Description

Structure describing a device that supports the PCI Express Controller API.

Field Documentation

◆ cfg_addr

uintptr_t pcie_ctrl_config::cfg_addr

Configuration space physical address.

◆ cfg_size

size_t pcie_ctrl_config::cfg_size

Configuration space physical size.

◆ flags

uint32_t pcie_ctrl_config::flags

Flags as defined in the PCI Bus Binding to IEEE Std 1275-1994.

◆ host_map_addr

uintptr_t pcie_ctrl_config::host_map_addr

CPU-centric offset from the start of the region.

◆ map_length

size_t pcie_ctrl_config::map_length

region size

◆ msi_parent

const struct device* pcie_ctrl_config::msi_parent

MSI parent device.

Attention
Available only when the following Kconfig option is enabled:
CONFIG_PCIE_MSI 
.

◆ pcie_bus_addr

uintptr_t pcie_ctrl_config::pcie_bus_addr

bus-centric offset from the start of the region

◆ [struct]

struct { ... } pcie_ctrl_config::ranges[]

BAR regions translation ranges table.

◆ ranges_count

size_t pcie_ctrl_config::ranges_count

BAR regions translation ranges count.


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