Home
last modified time | relevance | path

Searched refs:tpc_id (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi.c484 u32 tpc_id);
971 u8 tpc_id; in _gaudi_init_tpc_mem() local
1020 for (tpc_id = 0 ; tpc_id < TPC_NUMBER_OF_ENGINES ; tpc_id++) { in _gaudi_init_tpc_mem()
1021 rc = gaudi_run_tpc_kernel(hdev, dst_addr, tpc_id); in _gaudi_init_tpc_mem()
2519 int tpc_id, i; in gaudi_init_golden_registers() local
2524 for (tpc_id = 0, tpc_offset = 0; in gaudi_init_golden_registers()
2525 tpc_id < TPC_NUMBER_OF_ENGINES; in gaudi_init_golden_registers()
2526 tpc_id++, tpc_offset += TPC_CFG_OFFSET) { in gaudi_init_golden_registers()
3000 u32 q_off, tpc_id; in gaudi_init_tpc_qman() local
3021 tpc_id = tpc_offset / in gaudi_init_tpc_qman()
[all …]
/Linux-v6.6/drivers/accel/habanalabs/goya/
Dgoya.c1443 static void _goya_tpc_mbist_workaround(struct hl_device *hdev, u8 tpc_id) in _goya_tpc_mbist_workaround() argument
1449 tpc_offset = tpc_id * 0x40000; in _goya_tpc_mbist_workaround()
1450 tpc_eml_offset = tpc_id * 0x200000; in _goya_tpc_mbist_workaround()
1462 tpc_id); in _goya_tpc_mbist_workaround()
1490 "Timeout while waiting for TPC%d MBIST DONE\n", tpc_id); in _goya_tpc_mbist_workaround()
1936 static void goya_init_tpc_qman(struct hl_device *hdev, u32 base_off, int tpc_id) in goya_init_tpc_qman() argument
1942 u32 reg_off = tpc_id * (mmTPC1_QM_PQ_PI - mmTPC0_QM_PQ_PI); in goya_init_tpc_qman()
1977 GOYA_ASYNC_EVENT_ID_TPC0_QM + tpc_id); in goya_init_tpc_qman()
1986 static void goya_init_tpc_cmdq(struct hl_device *hdev, int tpc_id) in goya_init_tpc_cmdq() argument
1991 u32 reg_off = tpc_id * (mmTPC1_CMDQ_CQ_CFG1 - mmTPC0_CMDQ_CQ_CFG1); in goya_init_tpc_cmdq()
[all …]
/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c4527 u32 reg_base, reg_addr, reg_val, tpc_id; in gaudi2_set_tpc_engine_mode() local
4532 tpc_id = gaudi2_tpc_engine_id_to_tpc_id[engine_id]; in gaudi2_set_tpc_engine_mode()
4533 if (!(gaudi2->tpc_hw_cap_initialized & BIT_ULL(HW_CAP_TPC_SHIFT + tpc_id))) in gaudi2_set_tpc_engine_mode()
4536 reg_base = gaudi2_tpc_cfg_blocks_bases[tpc_id]; in gaudi2_set_tpc_engine_mode()
4543 reg_base = gaudi2_tpc_eml_cfg_blocks_bases[tpc_id]; in gaudi2_set_tpc_engine_mode()