TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
|
#include <stdint.h>
#include <zephyr/kernel.h>
#include <tenstorrent/smc_msg.h>
#include <tenstorrent/msgqueue.h>
#include "pcie.h"
Macros | |
#define | BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_PCI_MSI_CAP_ID_NEXT_CTRL_REG_REG_ADDR 0x00000050 |
#define | BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_MSI_CAP_OFF_04H_REG_REG_ADDR 0x00000054 |
#define | BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_MSI_CAP_OFF_08H_REG_REG_ADDR 0x00000058 |
#define | BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_MSI_CAP_OFF_0CH_REG_REG_ADDR 0x0000005C |
#define | BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_HDL_PATH_E982B20F_PCI_MSI_CAP_ID_NEXT_CTRL_REG_REG_DEFAULT (0x01807005) |
Functions | |
uint32_t | GetVectorsAllowed (uint32_t mult_msg_en) |
void | SendPcieMsi (uint8_t pcie_inst, uint32_t vector_id) |
static uint8_t | send_pcie_msi_handler (const union request *request, struct response *response) |
REGISTER_MESSAGE (TT_SMC_MSG_SEND_PCIE_MSI, send_pcie_msi_handler) |
#define BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_HDL_PATH_E982B20F_PCI_MSI_CAP_ID_NEXT_CTRL_REG_REG_DEFAULT (0x01807005) |
#define BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_MSI_CAP_OFF_04H_REG_REG_ADDR 0x00000054 |
#define BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_MSI_CAP_OFF_08H_REG_REG_ADDR 0x00000058 |
#define BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_MSI_CAP_OFF_0CH_REG_REG_ADDR 0x0000005C |
#define BH_PCIE_DWC_PCIE_USP_PF0_MSI_CAP_PCI_MSI_CAP_ID_NEXT_CTRL_REG_REG_ADDR 0x00000050 |
REGISTER_MESSAGE | ( | TT_SMC_MSG_SEND_PCIE_MSI | , |
send_pcie_msi_handler | ) |