Lines Matching defs: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)
2207 * Anything succeeds on channels with no physical allocation and
2230 * Anything succeeds on channels with no physical allocation and
2252 /* Reject channels for devices not bound to this driver */
2275 * TODO: turn this bit on/off depending on the number of physical channels
2311 for (i = 0; i < pl08x->vd->channels; i++) {
2366 * Initialise the DMAC memcpy/slave channels.
2370 struct dma_device *dmadev, unsigned int channels, bool slave)
2375 INIT_LIST_HEAD(&dmadev->channels);
2378 * Register as many many memcpy as we have physical channels,
2382 for (i = 0; i < channels; i++) {
2422 dev_info(&pl08x->adev->dev, "initialized %d virtual %s channels\n",
2433 next, &dmadev->channels, vc.chan.device_node) {
2465 seq_printf(s, "PL08x physical channels:\n");
2468 for (i = 0; i < pl08x->vd->channels; i++) {
2484 seq_printf(s, "\nPL08x virtual memcpy channels:\n");
2487 list_for_each_entry(chan, &pl08x->memcpy.channels, vc.chan.device_node) {
2493 seq_printf(s, "\nPL08x virtual slave channels:\n");
2496 list_for_each_entry(chan, &pl08x->slave.channels,
2531 list_for_each_entry(chan, &pl08x->slave.channels, vc.chan.device_node) {
2663 * Allocate channel data for all possible slave channels (one
2664 * for each possible signal), channels will then be allocated
2743 dev_info(&pl08x->adev->dev, "FTDMAC020 %d channels, "
2754 vd->channels = (val >> 12) & 0x0f;
2868 /* Initialize physical channels */
2869 pl08x->phy_chans = kzalloc((vd->channels * sizeof(*pl08x->phy_chans)),
2876 for (i = 0; i < vd->channels; i++) {
2903 * Nomadik variants can have channels that are locked
2904 * down for the secure world only. Lock up these channels
2921 /* Register as many memcpy channels as there are physical channels */
2923 pl08x->vd->channels, false);
2926 "%s failed to enumerate memcpy channels - %d\n",
2931 /* Register slave channels */
2937 "%s failed to enumerate slave channels - %d\n",
2992 /* PL080 has 8 channels and the PL080 have just 2 */
2995 .channels = 8,
3003 .channels = 8,
3012 .channels = 8,
3020 .channels = 2,