Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
 4.2.99
eth_intel_plat.h
Go to the documentation of this file.
1/*
2 * Ethernet Platform Utilities for Intel Devices
3 *
4 * This module provides utility functions to interact with the PCIe features
5 * of Intel Ethernet devices, facilitating the retrieval of device-specific
6 * PCIe configuration details such as BDF (Bus/Device/Function) and device ID.
7 *
8 * Copyright (c) 2025 Intel Corporation.
9 *
10 * SPDX-License-Identifier: Apache-2.0
11 */
12
13#ifndef ZEPHYR_INCLUDE_DRIVERS_ETH_INTEL_PLAT_H__
14#define ZEPHYR_INCLUDE_DRIVERS_ETH_INTEL_PLAT_H__
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
26extern uint32_t eth_intel_get_pcie_bdf(const struct device *dev);
27
28#endif /* ZEPHYR_INCLUDE_DRIVERS_ETH_INTEL_PLAT_H__ */
uint32_t eth_intel_get_pcie_bdf(const struct device *dev)
Retrieve the PCIe Bus/Device/Function of the device.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Runtime device structure (in ROM) per driver instance.
Definition device.h:510