Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c7892 enum razwi_event_sources module, u8 module_idx) in gaudi2_razwi_calc_engine_id() argument
7896 if (module_idx == (NUM_OF_TPC_PER_DCORE * NUM_OF_DCORES)) in gaudi2_razwi_calc_engine_id()
7898 return (((module_idx / NUM_OF_TPC_PER_DCORE) * ENGINE_ID_DCORE_OFFSET) + in gaudi2_razwi_calc_engine_id()
7899 (module_idx % NUM_OF_TPC_PER_DCORE) + in gaudi2_razwi_calc_engine_id()
7904 (module_idx * ENGINE_ID_DCORE_OFFSET)); in gaudi2_razwi_calc_engine_id()
7907 return (((module_idx / NUM_OF_EDMA_PER_DCORE) * ENGINE_ID_DCORE_OFFSET) + in gaudi2_razwi_calc_engine_id()
7908 (module_idx % NUM_OF_EDMA_PER_DCORE)); in gaudi2_razwi_calc_engine_id()
7911 return (GAUDI2_ENGINE_ID_PDMA_0 + module_idx); in gaudi2_razwi_calc_engine_id()
7914 return (GAUDI2_ENGINE_ID_NIC0_0 + (NIC_NUMBER_OF_QM_PER_MACRO * module_idx)); in gaudi2_razwi_calc_engine_id()
7917 if (module_idx == 8) in gaudi2_razwi_calc_engine_id()
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c2116 __le32 module_idx; in mt7915_mcu_fw_dbg_ctrl() member
2118 .module_idx = cpu_to_le32(module), in mt7915_mcu_fw_dbg_ctrl()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/
Dmcu.c2480 __le32 module_idx; in mt7996_mcu_fw_dbg_ctrl() member
2486 .module_idx = cpu_to_le32(module), in mt7996_mcu_fw_dbg_ctrl()