Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pcie_ep_driver_api Struct Reference

#include <pcie_ep.h>

Data Fields

int(* conf_read )(const struct device *dev, uint32_t offset, uint32_t *data)
 
void(* conf_write )(const struct device *dev, uint32_t offset, uint32_t data)
 
int(* map_addr )(const struct device *dev, uint64_t pcie_addr, uint64_t *mapped_addr, uint32_t size, enum pcie_ob_mem_type ob_mem_type)
 
void(* unmap_addr )(const struct device *dev, uint64_t mapped_addr)
 
int(* raise_irq )(const struct device *dev, enum pci_ep_irq_type irq_type, uint32_t irq_num)
 
int(* register_reset_cb )(const struct device *dev, enum pcie_reset reset, pcie_ep_reset_callback_t cb, void *arg)
 
int(* dma_xfer )(const struct device *dev, uint64_t mapped_addr, uintptr_t local_addr, uint32_t size, enum xfer_direction dir)
 

Field Documentation

◆ conf_read

int(* pcie_ep_driver_api::conf_read) (const struct device *dev, uint32_t offset, uint32_t *data)

◆ conf_write

void(* pcie_ep_driver_api::conf_write) (const struct device *dev, uint32_t offset, uint32_t data)

◆ dma_xfer

int(* pcie_ep_driver_api::dma_xfer) (const struct device *dev, uint64_t mapped_addr, uintptr_t local_addr, uint32_t size, enum xfer_direction dir)

◆ map_addr

int(* pcie_ep_driver_api::map_addr) (const struct device *dev, uint64_t pcie_addr, uint64_t *mapped_addr, uint32_t size, enum pcie_ob_mem_type ob_mem_type)

◆ raise_irq

int(* pcie_ep_driver_api::raise_irq) (const struct device *dev, enum pci_ep_irq_type irq_type, uint32_t irq_num)

◆ register_reset_cb

int(* pcie_ep_driver_api::register_reset_cb) (const struct device *dev, enum pcie_reset reset, pcie_ep_reset_callback_t cb, void *arg)

◆ unmap_addr

void(* pcie_ep_driver_api::unmap_addr) (const struct device *dev, uint64_t mapped_addr)

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