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