• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/fsl/

Lines Matching defs:link

86  * The link[] array is first because it needs to be aligned on a 32-byte
90 * @link[]: array of link descriptors
98 * @current_link: index into link[] of the link currently being processed
106 struct fsl_dma_link_descriptor link[NUM_DMA_LINKS];
133 * Since each link descriptor has a 32-bit byte count field, we set
180 * As each period is completed, this function changes the the link
185 struct fsl_dma_link_descriptor *link =
186 &dma_private->link[dma_private->current_link];
188 /* Update our link descriptors to point to the next period */
190 link->source_addr =
193 link->dest_addr =
262 * Update our link descriptors to point to the next period. We
333 * ALSA divides the DMA buffer into N periods. We create NUM_DMA_LINKS link
335 * there are six periods and two link descriptors, this is how they look
338 * The last link descriptor
370 * The first link descriptor now points to the third period. The DMA
380 * controller can generate an interrupt at the end of every link transfer
383 * 3. By creating only two link descriptors, regardless of the number of
384 * periods, we do not need to reallocate the link descriptors if the
388 * contiguous parts, and creating a link descriptor for each one.
396 u64 temp_link; /* Pointer to next link descriptor */
469 dma_private->link[i].next = cpu_to_be64(temp_link);
473 /* The last link descriptor points to the first */
474 dma_private->link[i - 1].next = cpu_to_be64(dma_private->ld_buf_phys);
476 /* Tell the DMA controller where the first link descriptor is */
499 * an interrupt at the end of each segment (each link descriptor
630 struct fsl_dma_link_descriptor *link = &dma_private->link[i];
632 link->count = cpu_to_be32(period_size);
657 link->source_addr = cpu_to_be32(temp_addr);
658 link->source_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP);
660 link->dest_addr = cpu_to_be32(ssi_sxx_phys);
661 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_NOSNOOP);
663 link->source_addr = cpu_to_be32(ssi_sxx_phys);
664 link->source_attr = cpu_to_be32(CCSR_DMA_ATR_NOSNOOP);
666 link->dest_addr = cpu_to_be32(temp_addr);
667 link->dest_attr = cpu_to_be32(CCSR_DMA_ATR_SNOOP);
686 * first link descriptor.
784 sizeof(dma_private->link), DMA_TO_DEVICE);