Home
last modified time | relevance | path

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

/drivers/soc/sifive/
Dsifive_l2_cache.c39 static int g_irq[SIFIVE_L2_MAX_ECCINTR]; variable
155 if (irq == g_irq[DIR_CORR]) { in l2_int_handler()
164 if (irq == g_irq[DIR_UNCORR]) { in l2_int_handler()
173 if (irq == g_irq[DATA_CORR]) { in l2_int_handler()
182 if (irq == g_irq[DATA_UNCORR]) { in l2_int_handler()
224 g_irq[i] = irq_of_parse_and_map(np, i); in sifive_l2_init()
225 rc = request_irq(g_irq[i], l2_int_handler, 0, "l2_ecc", NULL); in sifive_l2_init()
227 pr_err("L2CACHE: Could not request IRQ %d\n", g_irq[i]); in sifive_l2_init()
245 free_irq(g_irq[i], NULL); in sifive_l2_init()
/drivers/net/can/rcar/
Drcar_canfd.c1758 int err, ch_irq, g_irq; in rcar_canfd_probe() local
1785 g_irq = platform_get_irq_byname_optional(pdev, "g_int"); in rcar_canfd_probe()
1786 if (g_irq < 0) { in rcar_canfd_probe()
1788 g_irq = platform_get_irq(pdev, 1); in rcar_canfd_probe()
1789 if (g_irq < 0) in rcar_canfd_probe()
1790 return g_irq; in rcar_canfd_probe()
1875 err = devm_request_irq(&pdev->dev, g_irq, in rcar_canfd_probe()
1880 g_irq, err); in rcar_canfd_probe()