Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_msi.c37 #define msi_hwirq(msi, msir_index, intr_index) \ argument
38 ((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()
285 msir_index * 0x10); in fsl_msi_cascade()
288 msir_value = fsl_msi_read(msi_data->msi_regs, msir_index * 0x4); in fsl_msi_cascade()
309 msi_hwirq(msi_data, msir_index, in fsl_msi_cascade()
/openbmc/linux/drivers/pci/controller/
H A Dpci-xgene-msi.c292 int msir_index, msir_val, hw_irq, ret; in xgene_msi_isr() local
308 msir_index = ffs(grp_select) - 1; in xgene_msi_isr()
314 msir_val = xgene_msi_ir_read(xgene_msi, msi_grp, msir_index); in xgene_msi_isr()
322 hw_irq = (((msir_index * IRQS_PER_IDX) + intr_index) * in xgene_msi_isr()
334 grp_select &= ~(1 << msir_index); in xgene_msi_isr()