Lines Matching defs:cohd

1545 coh901318_desc_free(struct coh901318_chan *cohc, struct coh901318_desc *cohd)
1547 list_add_tail(&cohd->node, &cohc->free);
1565 coh901318_desc_remove(struct coh901318_desc *cohd)
1567 list_del(&cohd->node);
1604 struct coh901318_desc *cohd;
1624 cohd = list_entry(pos, struct coh901318_desc, node);
1650 lli = cohd->lli;
1663 left += coh901318_get_bytes_in_lli(cohd->lli);
1670 cohd = list_entry(pos, struct coh901318_desc, node);
1671 left += coh901318_get_bytes_in_lli(cohd->lli);
1838 struct coh901318_desc *cohd;
1844 cohd = coh901318_first_queued(cohc);
1846 if (cohd != NULL) {
1848 coh901318_desc_remove(cohd);
1852 coh901318_desc_submit(cohc, cohd);
1855 coh901318_set_conf(cohc, cohd->head_config);
1856 coh901318_set_ctrl(cohc, cohd->head_ctrl);
1857 coh901318_prep_linked_list(cohc, cohd->lli);
1864 return cohd;
2101 struct coh901318_desc *cohd;
2121 while ((cohd = coh901318_first_active_get(cohc))) {
2123 coh901318_lli_free(&cohc->base->pool, &cohd->lli);
2126 coh901318_desc_remove(cohd);
2127 coh901318_desc_free(cohc, cohd);
2130 while ((cohd = coh901318_first_queued(cohc))) {
2132 coh901318_lli_free(&cohc->base->pool, &cohd->lli);
2135 coh901318_desc_remove(cohd);
2136 coh901318_desc_free(cohc, cohd);
2197 struct coh901318_desc *cohd = container_of(tx, struct coh901318_desc,
2206 coh901318_desc_queue(cohc, cohd);
2218 struct coh901318_desc *cohd;
2254 cohd = coh901318_desc_get(cohc);
2255 cohd->lli = lli;
2256 cohd->flags = flags;
2257 cohd->desc.tx_submit = coh901318_tx_submit;
2261 return &cohd->desc;
2274 struct coh901318_desc *cohd;
2373 cohd = coh901318_desc_get(cohc);
2374 cohd->head_config = config;
2380 cohd->head_ctrl = lli->control;
2381 cohd->dir = direction;
2382 cohd->flags = flags;
2383 cohd->desc.tx_submit = coh901318_tx_submit;
2384 cohd->lli = lli;
2388 return &cohd->desc;