Home
last modified time | relevance | path

Searched refs:relative_idx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_main.c671 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_config() local
673 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() local
682 memset(&hwfn->simd_proto_handler[relative_idx], 0, in qed_simd_handler_clean()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c4246 int i, irq, relative_idx; in gaudi2_dec_disable_msix() local
4251 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() local
4275 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()