Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ptm.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7
8#ifndef ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_
9#define ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_
10
11#include <stddef.h>
12#include <zephyr/types.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif /* ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_ */
uint32_t pcie_bdf_t
A unique PCI(e) endpoint (bus, device, function).
Definition: pcie.h:27
bool pcie_ptm_enable(pcie_bdf_t bdf)
Enable PTM on endpoint.