Lines Matching refs:irq_cnt
696 int err, i, irq_cnt = 0, irqres = 0, irq_cap = 0; in sh_dmae_probe() local
830 for (; irq_cnt < pdata->channel_num; irq_cnt++) { in sh_dmae_probe()
831 if (irq_cnt < SH_DMAE_MAX_CHANNELS) { in sh_dmae_probe()
832 chan_irq[irq_cnt] = chanirq_res->start; in sh_dmae_probe()
833 chan_flag[irq_cnt] = IRQF_SHARED; in sh_dmae_probe()
842 if (irq_cnt >= SH_DMAE_MAX_CHANNELS) { in sh_dmae_probe()
849 chan_flag[irq_cnt] = IRQF_SHARED; in sh_dmae_probe()
851 chan_flag[irq_cnt] = 0; in sh_dmae_probe()
854 i, irq_cnt); in sh_dmae_probe()
855 chan_irq[irq_cnt++] = i; in sh_dmae_probe()
858 if (irq_cnt >= SH_DMAE_MAX_CHANNELS) in sh_dmae_probe()
863 } while (irq_cnt < pdata->channel_num && chanirq_res); in sh_dmae_probe()
867 for (i = 0; i < irq_cnt; i++) { in sh_dmae_probe()