Lines Matching refs:chanirq_res
699 struct resource *chan, *dmars, *errirq_res, *chanirq_res; in sh_dmae_probe() local
801 chanirq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 1); in sh_dmae_probe()
803 if (!chanirq_res) in sh_dmae_probe()
804 chanirq_res = errirq_res; in sh_dmae_probe()
808 if (chanirq_res == errirq_res || in sh_dmae_probe()
824 chanirq_res = errirq_res; in sh_dmae_probe()
827 if (chanirq_res->start == chanirq_res->end && in sh_dmae_probe()
832 chan_irq[irq_cnt] = chanirq_res->start; in sh_dmae_probe()
841 for (i = chanirq_res->start; i <= chanirq_res->end; i++) { in sh_dmae_probe()
861 chanirq_res = platform_get_resource(pdev, in sh_dmae_probe()
863 } while (irq_cnt < pdata->channel_num && chanirq_res); in sh_dmae_probe()