Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_msi.c35 #define msi_hwirq(msi, msir_index, intr_index) \ argument
36 ((msir_index) << (msi)->srs_shift | \
271 int msir_index = -1; in fsl_msi_cascade() local
280 msir_index = cascade_data->index; in fsl_msi_cascade()
282 if (msir_index >= NR_MSI_REG_MAX) in fsl_msi_cascade()
288 msir_index * 0x10); in fsl_msi_cascade()
291 msir_value = fsl_msi_read(msi_data->msi_regs, msir_index * 0x4); in fsl_msi_cascade()
311 msi_hwirq(msi_data, msir_index, in fsl_msi_cascade()
/Linux-v5.4/drivers/pci/controller/
Dpci-xgene-msi.c295 int msir_index, msir_val, hw_irq; in xgene_msi_isr() local
311 msir_index = ffs(grp_select) - 1; in xgene_msi_isr()
317 msir_val = xgene_msi_ir_read(xgene_msi, msi_grp, msir_index); in xgene_msi_isr()
325 hw_irq = (((msir_index * IRQS_PER_IDX) + intr_index) * in xgene_msi_isr()
339 grp_select &= ~(1 << msir_index); in xgene_msi_isr()