Lines Matching refs:lli

175  * @ctrl_lli_last: DMA control register for the last lli in the list
176 * @ctrl_lli: DMA control register for an lli
177 * @ctrl_lli_chained: DMA control register for a chained lli
1273 struct coh901318_lli *lli;
1317 struct coh901318_lli *lli)
1319 struct coh901318_lli *l = lli;
1323 dev_vdbg(COHC_2_DEV(cohc), "i %d, lli %p, ctrl 0x%x, src %pad"
1486 struct coh901318_lli *lli)
1495 writel(lli->src_addr,
1499 writel(lli->dst_addr, virtbase +
1503 writel(lli->link_addr, virtbase + COH901318_CX_LNK_ADDR +
1506 writel(lli->control, virtbase + COH901318_CX_CTRL +
1585 struct coh901318_lli *lli = in_lli;
1588 while (lli) {
1589 bytes += lli->control & COH901318_CX_CTRL_TC_VALUE_MASK;
1590 lli = lli->virt_link_addr;
1627 struct coh901318_lli *lli;
1647 * Linked transaction, follow the lli, find the
1648 * currently processing lli, and proceed to the next
1650 lli = cohd->lli;
1651 while (lli && lli->link_addr != ladd)
1652 lli = lli->virt_link_addr;
1654 if (lli)
1655 lli = lli->virt_link_addr;
1658 * Follow remaining lli links around to count the total
1661 left += coh901318_get_bytes_in_lli(lli);
1663 left += coh901318_get_bytes_in_lli(cohd->lli);
1671 left += coh901318_get_bytes_in_lli(cohd->lli);
1857 coh901318_prep_linked_list(cohc, cohd->lli);
1896 /* release the lli allocation and remove the descriptor */
1897 coh901318_lli_free(&cohc->base->pool, &cohd_fin->lli);
1956 * the individual nodes in the lli chain have IRQ enabled,
1957 * so check your platform config for lli chain ctrl.
2122 /* release the lli allocation*/
2123 coh901318_lli_free(&cohc->base->pool, &cohd->lli);
2131 /* release the lli allocation*/
2132 coh901318_lli_free(&cohc->base->pool, &cohd->lli);
2217 struct coh901318_lli *lli;
2232 /* Trigger interrupt after last lli */
2239 lli = coh901318_lli_alloc(&cohc->base->pool, lli_len);
2241 if (lli == NULL)
2245 &cohc->base->pool, lli, src, size, dest,
2251 COH_DBG(coh901318_list_print(cohc, lli));
2255 cohd->lli = lli;
2273 struct coh901318_lli *lli;
2298 /* Trigger interrupt after last lli */
2351 pr_debug("Allocate %d lli:s for this transfer\n", len);
2352 lli = coh901318_lli_alloc(&cohc->base->pool, len);
2354 if (lli == NULL)
2359 /* initiate allocated lli list */
2360 ret = coh901318_lli_fill_sg(&cohc->base->pool, lli, sgl, sg_len,
2370 COH_DBG(coh901318_list_print(cohc, lli));
2377 * lli, things may have changed due to odd buffer alignment
2380 cohd->head_ctrl = lli->control;
2384 cohd->lli = lli;