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

@driver_ops{PCIe Controller} More...

#include <controller.h>

Data Fields

pcie_ctrl_conf_read_t conf_read
 @driver_ops_mandatory Read a 32-bit word from an endpoint's configuration space.
pcie_ctrl_conf_write_t conf_write
 @driver_ops_mandatory Write a 32-bit word to an endpoint's configuration space.
pcie_ctrl_region_allocate_t region_allocate
 @driver_ops_mandatory Allocate a memory region subset for an endpoint Base Address Register.
pcie_ctrl_region_get_allocate_base_t region_get_allocate_base
 @driver_ops_mandatory Function called to get the current allocation base of a memory region subset for an endpoint Base Address Register.
pcie_ctrl_region_translate_t region_translate
 @driver_ops_optional Translate an endpoint Base Address Register bus-centric address into Physical address.
pcie_ctrl_msi_device_setup_t msi_device_setup
 @driver_ops_mandatory Configure the given PCI endpoint to generate MSIs.

Detailed Description

@driver_ops{PCIe Controller}

Field Documentation

◆ conf_read

pcie_ctrl_conf_read_t pcie_ctrl_driver_api::conf_read

@driver_ops_mandatory Read a 32-bit word from an endpoint's configuration space.

◆ conf_write

pcie_ctrl_conf_write_t pcie_ctrl_driver_api::conf_write

@driver_ops_mandatory Write a 32-bit word to an endpoint's configuration space.

◆ msi_device_setup

pcie_ctrl_msi_device_setup_t pcie_ctrl_driver_api::msi_device_setup

@driver_ops_mandatory Configure the given PCI endpoint to generate MSIs.

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

◆ region_allocate

pcie_ctrl_region_allocate_t pcie_ctrl_driver_api::region_allocate

@driver_ops_mandatory Allocate a memory region subset for an endpoint Base Address Register.

◆ region_get_allocate_base

pcie_ctrl_region_get_allocate_base_t pcie_ctrl_driver_api::region_get_allocate_base

@driver_ops_mandatory Function called to get the current allocation base of a memory region subset for an endpoint Base Address Register.

◆ region_translate

pcie_ctrl_region_translate_t pcie_ctrl_driver_api::region_translate

@driver_ops_optional Translate an endpoint Base Address Register bus-centric address into Physical address.


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