Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
 4.2.99
vc.h File Reference
#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

Macros

#define PCIE_VC_MAX_COUNT   8U
#define PCIE_VC_SET_TC0   BIT(0)
#define PCIE_VC_SET_TC1   BIT(1)
#define PCIE_VC_SET_TC2   BIT(2)
#define PCIE_VC_SET_TC3   BIT(3)
#define PCIE_VC_SET_TC4   BIT(4)
#define PCIE_VC_SET_TC5   BIT(5)
#define PCIE_VC_SET_TC6   BIT(6)
#define PCIE_VC_SET_TC7   BIT(7)

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.