Lines Matching refs:mod_idx
8098 u8 mod_idx, sub_mod;
8101 for (mod_idx = 0 ; mod_idx < (NUM_OF_TPC_PER_DCORE * NUM_OF_DCORES + 1) ; mod_idx++) {
8102 if (prop->tpc_enabled_mask & BIT(mod_idx))
8103 gaudi2_ack_module_razwi_event_handler(hdev, RAZWI_TPC, mod_idx, 0, NULL);
8107 for (mod_idx = 0 ; mod_idx < (NUM_OF_MME_PER_DCORE * NUM_OF_DCORES) ; mod_idx++)
8109 gaudi2_ack_module_razwi_event_handler(hdev, RAZWI_MME, mod_idx,
8113 for (mod_idx = 0 ; mod_idx < (NUM_OF_EDMA_PER_DCORE * NUM_OF_DCORES) ; mod_idx++)
8114 if (prop->edma_enabled_mask & BIT(mod_idx))
8115 gaudi2_ack_module_razwi_event_handler(hdev, RAZWI_EDMA, mod_idx, 0, NULL);
8118 for (mod_idx = 0 ; mod_idx < NUM_OF_PDMA ; mod_idx++)
8119 gaudi2_ack_module_razwi_event_handler(hdev, RAZWI_PDMA, mod_idx, 0, NULL);
8122 for (mod_idx = 0 ; mod_idx < NIC_NUMBER_OF_PORTS ; mod_idx++)
8123 if (hdev->nic_ports_mask & BIT(mod_idx))
8124 gaudi2_ack_module_razwi_event_handler(hdev, RAZWI_NIC, mod_idx >> 1, 0,
8128 for (mod_idx = 0 ; mod_idx < NUMBER_OF_DEC ; mod_idx++)
8129 if (prop->decoder_enabled_mask & BIT(mod_idx))
8130 gaudi2_ack_module_razwi_event_handler(hdev, RAZWI_DEC, mod_idx, 0, NULL);
8133 for (mod_idx = 0 ; mod_idx < NUM_OF_ROT ; mod_idx++)
8134 gaudi2_ack_module_razwi_event_handler(hdev, RAZWI_ROT, mod_idx, 0, NULL);