Searched refs:relative_idx (Results 1 – 2 of 2) sorted by relevance
671 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_config() local673 hwfn->simd_proto_handler[relative_idx].func = handler; in qed_simd_handler_config()674 hwfn->simd_proto_handler[relative_idx].token = token; in qed_simd_handler_config()680 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_clean() local682 memset(&hwfn->simd_proto_handler[relative_idx], 0, in qed_simd_handler_clean()
4246 int i, irq, relative_idx; in gaudi2_dec_disable_msix() local4251 relative_idx = i - GAUDI2_IRQ_NUM_DCORE0_DEC0_NRM; in gaudi2_dec_disable_msix()4253 dec = hdev->dec + relative_idx / 2; in gaudi2_dec_disable_msix()4259 free_irq(irq, ((relative_idx % 2) ? in gaudi2_dec_disable_msix()4267 int rc, i, irq_init_cnt, irq, relative_idx; in gaudi2_dec_enable_msix() local4275 relative_idx = i - GAUDI2_IRQ_NUM_DCORE0_DEC0_NRM; in gaudi2_dec_enable_msix()4284 dec = hdev->dec + relative_idx / 2; in gaudi2_dec_enable_msix()4285 if (relative_idx % 2) { in gaudi2_dec_enable_msix()