Lines Matching refs:num_chan
281 unsigned int num_chan:4; member
1600 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask()
1605 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask()
1657 val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1); in pl330_update()
1661 while (i < pl330->pcfg.num_chan) { in pl330_update()
1772 chans = pl330->pcfg.num_chan; in pl330_request_channel()
1838 pl330->pcfg.num_chan = val; in read_dmac_config()
1885 int chans = pl330->pcfg.num_chan; in dmac_alloc_threads()
1916 int chans = pl330->pcfg.num_chan; in dmac_alloc_resources()
1999 for (i = 0; i < pl330->pcfg.num_chan; i++) { in dmac_free_threads()
2020 pl330->pcfg.num_chan * pl330->mcbufsz, pl330->mcode_cpu, in pl330_del()
2673 burst_len *= pl330->pcfg.data_buf_dep / pl330->pcfg.num_chan; in get_burst_len()
2928 chans = pl330->pcfg.num_chan; in pl330_debugfs_show()
3014 int num_chan; in pl330_probe() local
3097 num_chan = max_t(int, pcfg->num_peri, pcfg->num_chan); in pl330_probe()
3099 pl330->num_peripherals = num_chan; in pl330_probe()
3101 pl330->peripherals = kcalloc(num_chan, sizeof(*pch), GFP_KERNEL); in pl330_probe()
3107 for (i = 0; i < num_chan; i++) { in pl330_probe()
3173 pcfg->data_buf_dep, pcfg->data_bus_width / 8, pcfg->num_chan, in pl330_probe()