PCIe Virtual Channel Host Interface.
More...
PCIe Virtual Channel Host Interface.
◆ PCIE_VC_MAX_COUNT
| #define PCIE_VC_MAX_COUNT 8U |
◆ PCIE_VC_SET_TC0
| #define PCIE_VC_SET_TC0 BIT(0) |
◆ PCIE_VC_SET_TC1
| #define PCIE_VC_SET_TC1 BIT(1) |
◆ PCIE_VC_SET_TC2
| #define PCIE_VC_SET_TC2 BIT(2) |
◆ PCIE_VC_SET_TC3
| #define PCIE_VC_SET_TC3 BIT(3) |
◆ PCIE_VC_SET_TC4
| #define PCIE_VC_SET_TC4 BIT(4) |
◆ PCIE_VC_SET_TC5
| #define PCIE_VC_SET_TC5 BIT(5) |
◆ PCIE_VC_SET_TC6
| #define PCIE_VC_SET_TC6 BIT(6) |
◆ PCIE_VC_SET_TC7
| #define PCIE_VC_SET_TC7 BIT(7) |
◆ pcie_vc_disable()
◆ pcie_vc_enable()
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/drivers/pcie/vc.h>
Enable PCIe Virtual Channel handling.
- Parameters
-
| bdf | the target PCI endpoint |
- Returns
- 0 on success, a negative error code otherwise
Note: Not being able to enable such feature is a non-fatal error and any code using it should behave accordingly (displaying some info, and ignoring it for instance).
◆ pcie_vc_map_tc()
#include </__w/bridle/bridle/workspace/zephyr/include/zephyr/drivers/pcie/vc.h>
Map PCIe TC/VC.
- Parameters
-
| bdf | the target PCI endpoint |
| map | the tc/vc map to apply |
- Returns
- 0 on success, a negative error code otherwise
Note: VC must be disabled prior to call this function and enabled afterward in order for the endpoint to take advandage of the map.
Note: Not being able to enable such feature is a non-fatal error and any code using it should behave accordingly (displaying some info, and ignoring it for instance).