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

Options for performing a scan for PCI devices. More...

#include <pcie.h>

Data Fields

uint8_t bus
 Initial bus number to scan.
pcie_scan_cb_t cb
 Function to call for each found endpoint.
void * cb_data
 Custom data to pass to the scan callback.
uint32_t flags
 Scan flags.
bool(* scan_masking_fn )(pcie_bdf_t bdf)
 Function to call to determine if a BDF is masked.

Detailed Description

Options for performing a scan for PCI devices.

Field Documentation

◆ bus

uint8_t pcie_scan_opt::bus

Initial bus number to scan.

◆ cb

pcie_scan_cb_t pcie_scan_opt::cb

Function to call for each found endpoint.

◆ cb_data

void* pcie_scan_opt::cb_data

Custom data to pass to the scan callback.

◆ flags

uint32_t pcie_scan_opt::flags

Scan flags.

◆ scan_masking_fn

bool(* pcie_scan_opt::scan_masking_fn) (pcie_bdf_t bdf)

Function to call to determine if a BDF is masked.


The documentation for this struct was generated from the following file:
  • include/zephyr/drivers/pcie/pcie.h