Lines Matching refs:channels

17  * The PL080 has 8 channels available for simultaneous use, and the PL081
18 * has only two channels. So on these DMA controllers the number of channels
99 * @channels: the number of channels available in this variant
103 * channels have Nomadik security extension bits that need to be checked
113 u8 channels;
138 * struct pl08x_phy_chan - holder for the physical channels
223 * channel to become available (only pertains to memcpy channels)
271 * @phy_chans: array of data for the physical channels
825 for (i = 0; i < pl08x->vd->channels; i++) {
839 if (i == pl08x->vd->channels) {
917 list_for_each_entry(p, &pl08x->memcpy.channels, vc.chan.device_node)
925 list_for_each_entry(p, &pl08x->slave.channels, vc.chan.device_node)
2199 * Anything succeeds on channels with no physical allocation and
2222 * Anything succeeds on channels with no physical allocation and
2244 /* Reject channels for devices not bound to this driver */
2267 * TODO: turn this bit on/off depending on the number of physical channels
2303 for (i = 0; i < pl08x->vd->channels; i++) {
2358 * Initialise the DMAC memcpy/slave channels.
2362 struct dma_device *dmadev, unsigned int channels, bool slave)
2367 INIT_LIST_HEAD(&dmadev->channels);
2370 * Register as many memcpy as we have physical channels,
2374 for (i = 0; i < channels; i++) {
2414 dev_info(&pl08x->adev->dev, "initialized %d virtual %s channels\n",
2425 next, &dmadev->channels, vc.chan.device_node) {
2457 seq_printf(s, "PL08x physical channels:\n");
2460 for (i = 0; i < pl08x->vd->channels; i++) {
2476 seq_printf(s, "\nPL08x virtual memcpy channels:\n");
2479 list_for_each_entry(chan, &pl08x->memcpy.channels, vc.chan.device_node) {
2485 seq_printf(s, "\nPL08x virtual slave channels:\n");
2488 list_for_each_entry(chan, &pl08x->slave.channels,
2523 list_for_each_entry(chan, &pl08x->slave.channels, vc.chan.device_node) {
2655 * Allocate channel data for all possible slave channels (one
2656 * for each possible signal), channels will then be allocated
2735 dev_info(&pl08x->adev->dev, "FTDMAC020 %d channels, "
2746 vd->channels = (val >> 12) & 0x0f;
2857 /* Initialize physical channels */
2858 pl08x->phy_chans = kcalloc(vd->channels, sizeof(*pl08x->phy_chans),
2865 for (i = 0; i < vd->channels; i++) {
2892 * Nomadik variants can have channels that are locked
2893 * down for the secure world only. Lock up these channels
2910 /* Register as many memcpy channels as there are physical channels */
2912 pl08x->vd->channels, false);
2915 "%s failed to enumerate memcpy channels - %d\n",
2920 /* Register slave channels */
2926 "%s failed to enumerate slave channels - %d\n",
2981 /* PL080 has 8 channels and the PL080 have just 2 */
2984 .channels = 8,
2992 .channels = 8,
3001 .channels = 8,
3009 .channels = 2,