|
| static volatile void * | SetupNiuTlbPhys (uint8_t tlb_index, uint8_t px, uint8_t py, uint8_t noc_id) |
| static volatile void * | SetupNiuTlb (uint8_t tlb_index, uint8_t nx, uint8_t ny, uint8_t noc_id) |
| static uint32_t | ReadNocCfgReg (volatile void *regs, uint32_t cfg_reg_index) |
| static void | WriteNocCfgReg (volatile void *regs, uint32_t cfg_reg_index, uint32_t value) |
| static void | EnableOverlayCg (uint8_t tlb_index, uint8_t px, uint8_t py) |
| static void | ProgramBroadcastExclusion (uint16_t disabled_tensix_columns) |
| static bool | GetTileClkDisable (uint8_t px, uint8_t py) |
| | ZBUS_CHAN_DEFINE (tensix_state_chan, struct tensix_state_msg, NULL, NULL, ZBUS_OBSERVERS_EMPTY,) |
| int32_t | set_tensix_enable (bool enable) |
| int | NocInit (void) |
| | SYS_INIT_APP (NocInit) |
| static void | SetLogicalCoord (struct NocTranslation *nt, uint8_t post_x, uint8_t post_y, uint8_t logical_x, uint8_t logical_y) |
| static void | MakeIdentity (struct NocTranslation *nt) |
| static void | CopyNoc0ToNoc1 (const struct NocTranslation *noc0, struct NocTranslation *noc1) |
| static void | CopyBytesSkipIndices (uint8_t *out, const uint8_t *in, size_t count, uint32_t skip_mask) |
| static void | ApplyLogicalCoords (struct NocTranslation *nt, uint8_t post_x_start, uint8_t post_y_start, uint8_t post_x_end, uint8_t post_y_end, uint8_t pre_x_start, uint8_t pre_y_start, uint8_t pre_x_end, uint8_t pre_y_end) |
| static void | ProgramNocTranslation (const struct NocTranslation *nt, unsigned int noc_id) |
| static struct NocTranslation | ComputeNocTranslation (unsigned int pcie_instance, uint16_t bad_tensix_cols, uint8_t bad_gddr, uint16_t skip_eth) |
| void | InitNocTranslation (unsigned int pcie_instance, uint16_t bad_tensix_cols, uint8_t bad_gddr, uint16_t skip_eth) |
| int | InitNocTranslationFromHarvesting (void) |
| | SYS_INIT_APP (InitNocTranslationFromHarvesting) |
| static void | DisableArcNocTranslation (void) |
| void | ClearNocTranslation (void) |
| static uint8_t | debug_noc_translation_handler (const union request *req, struct response *rsp) |
| | Handler for TT_SMC_MSG_DEBUG_NOC_TRANSLATION messages.
|
| | REGISTER_MESSAGE (TT_SMC_MSG_DEBUG_NOC_TRANSLATION, debug_noc_translation_handler) |
| void | GetEnabledTensix (uint8_t *x, uint8_t *y) |
|
| static const uint8_t | kTlbIndex |
| static const uint32_t | kFirstCfgRegIndex = 0x100 / sizeof(uint32_t) |
| static const struct device *const | fwtable_dev = DEVICE_DT_GET(DT_NODELABEL(fwtable)) |
| static bool | noc_translation_enabled |
| static const uint8_t | kTensixEthNoc0X [] = {1, 16, 2, 15, 3, 14, 4, 13, 5, 12, 6, 11, 7, 10} |
| static const uint8_t | kL2CpuNoc0Y [] = {3, 9, 5, 7} |
| static const uint8_t | kGddrY [][3] = {{0, 1, 11}, {2, 10, 3}, {9, 4, 8}, {5, 7, 6}} |