Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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
18#include <stddef.h>
19#include <zephyr/types.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
32
33#ifdef __cplusplus
34}
35#endif
36
41#endif /* ZEPHYR_INCLUDE_DRIVERS_PCIE_PTM_H_ */
uint32_t pcie_bdf_t
A unique PCI(e) endpoint (bus, device, function).
Definition pcie.h:37
bool pcie_ptm_enable(pcie_bdf_t bdf)
Enable PTM on endpoint.