Home
last modified time | relevance | path

Searched refs:irq_index (Results 1 – 4 of 4) sorted by relevance

/arch/mips/pci/
Dmsi-octeon.c272 int irq_index = msi_number >> 6; in octeon_irq_msi_enable_pcie() local
276 en = cvmx_read_csr(mis_ena_reg[irq_index]); in octeon_irq_msi_enable_pcie()
278 cvmx_write_csr(mis_ena_reg[irq_index], en); in octeon_irq_msi_enable_pcie()
279 cvmx_read_csr(mis_ena_reg[irq_index]); in octeon_irq_msi_enable_pcie()
288 int irq_index = msi_number >> 6; in octeon_irq_msi_disable_pcie() local
292 en = cvmx_read_csr(mis_ena_reg[irq_index]); in octeon_irq_msi_disable_pcie()
294 cvmx_write_csr(mis_ena_reg[irq_index], en); in octeon_irq_msi_disable_pcie()
295 cvmx_read_csr(mis_ena_reg[irq_index]); in octeon_irq_msi_disable_pcie()
/arch/powerpc/sysdev/
Dfsl_msi.c342 int offset, int irq_index) in fsl_msi_setup_hwirq() argument
347 virt_msir = irq_of_parse_and_map(dev->dev.of_node, irq_index); in fsl_msi_setup_hwirq()
350 __func__, irq_index); in fsl_msi_setup_hwirq()
363 msi->cascade_array[irq_index] = cascade_data; in fsl_msi_setup_hwirq()
387 int err, i, j, irq_index, count; in fsl_of_msi_probe() local
473 for (irq_index = 0; irq_index < NR_MSI_REG_MSIIR1; in fsl_of_msi_probe()
474 irq_index++) { in fsl_of_msi_probe()
476 irq_index, irq_index); in fsl_of_msi_probe()
499 for (irq_index = 0, i = 0; i < len / (2 * sizeof(u32)); i++) { in fsl_of_msi_probe()
512 for (j = 0; j < count; j++, irq_index++) { in fsl_of_msi_probe()
[all …]
Dmpic_msgr.c169 unsigned int irq_index; in mpic_msgr_probe() local
222 for (i = 0, irq_index = 0; i < MPIC_MSGR_REGISTERS_PER_BLOCK; ++i) { in mpic_msgr_probe()
240 msgr->irq = irq_of_parse_and_map(np, irq_index); in mpic_msgr_probe()
247 irq_index += 1; in mpic_msgr_probe()
Dmpic_timer.c463 unsigned int irq_index = 0; in timer_group_get_irq() local
485 irq = irq_of_parse_and_map(np, irq_index); in timer_group_get_irq()
496 irq_index++; in timer_group_get_irq()