|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Header file for the PCIe Virtual Channel support APIs. More...
#include <zephyr/kernel.h>#include <zephyr/types.h>#include <stdbool.h>#include <zephyr/drivers/pcie/pcie.h>Go to the source code of this file.
Data Structures | |
| struct | pcie_vctc_map |
| Traffic Class (TC) to Virtual Channel (VC) map. More... | |
Macros | |
| #define | PCIE_VC_MAX_COUNT 8U |
| Maximum number of Virtual Channels: 1 default VC + 7 extended VCs. | |
| #define | PCIE_VC_SET_TC0 BIT(0) |
| Map Traffic Class 0 to a VC. | |
| #define | PCIE_VC_SET_TC1 BIT(1) |
| Map Traffic Class 1 to a VC. | |
| #define | PCIE_VC_SET_TC2 BIT(2) |
| Map Traffic Class 2 to a VC. | |
| #define | PCIE_VC_SET_TC3 BIT(3) |
| Map Traffic Class 3 to a VC. | |
| #define | PCIE_VC_SET_TC4 BIT(4) |
| Map Traffic Class 4 to a VC. | |
| #define | PCIE_VC_SET_TC5 BIT(5) |
| Map Traffic Class 5 to a VC. | |
| #define | PCIE_VC_SET_TC6 BIT(6) |
| Map Traffic Class 6 to a VC. | |
| #define | PCIE_VC_SET_TC7 BIT(7) |
| Map Traffic Class 7 to a VC. | |
Functions | |
| int | pcie_vc_enable (pcie_bdf_t bdf) |
| Enable PCIe Virtual Channel handling. | |
| int | pcie_vc_disable (pcie_bdf_t bdf) |
| Disable PCIe Virtual Channel handling. | |
| int | pcie_vc_map_tc (pcie_bdf_t bdf, struct pcie_vctc_map *map) |
| Map PCIe TC/VC. | |
Header file for the PCIe Virtual Channel support APIs.