Lines Matching refs:d40_desc
362 struct d40_desc { struct
398 struct d40_desc **alloc_map; argument
634 static int d40_pool_lli_alloc(struct d40_chan *d40c, struct d40_desc *d40d, in d40_pool_lli_alloc()
686 static void d40_pool_lli_free(struct d40_chan *d40c, struct d40_desc *d40d) in d40_pool_lli_free()
702 struct d40_desc *d40d) in d40_lcla_alloc_one()
731 struct d40_desc *d40d) in d40_lcla_free_all()
761 static void d40_desc_remove(struct d40_desc *d40d) in d40_desc_remove()
766 static struct d40_desc *d40_desc_get(struct d40_chan *d40c) in d40_desc_get()
768 struct d40_desc *desc = NULL; in d40_desc_get()
771 struct d40_desc *d; in d40_desc_get()
772 struct d40_desc *_d; in d40_desc_get()
793 static void d40_desc_free(struct d40_chan *d40c, struct d40_desc *d40d) in d40_desc_free()
801 static void d40_desc_submit(struct d40_chan *d40c, struct d40_desc *desc) in d40_desc_submit()
806 static void d40_phy_lli_load(struct d40_chan *chan, struct d40_desc *desc) in d40_phy_lli_load()
823 static void d40_desc_done(struct d40_chan *d40c, struct d40_desc *desc) in d40_desc_done()
828 static void d40_log_lli_to_lcxa(struct d40_chan *chan, struct d40_desc *desc) in d40_log_lli_to_lcxa()
940 static void d40_desc_load(struct d40_chan *d40c, struct d40_desc *d40d) in d40_desc_load()
949 static struct d40_desc *d40_first_active_get(struct d40_chan *d40c) in d40_first_active_get()
951 return list_first_entry_or_null(&d40c->active, struct d40_desc, node); in d40_first_active_get()
955 static void d40_desc_queue(struct d40_chan *d40c, struct d40_desc *desc) in d40_desc_queue()
962 static struct d40_desc *d40_first_pending(struct d40_chan *d40c) in d40_first_pending()
964 return list_first_entry_or_null(&d40c->pending_queue, struct d40_desc, in d40_first_pending()
968 static struct d40_desc *d40_first_queued(struct d40_chan *d40c) in d40_first_queued()
970 return list_first_entry_or_null(&d40c->queue, struct d40_desc, node); in d40_first_queued()
973 static struct d40_desc *d40_first_done(struct d40_chan *d40c) in d40_first_done()
975 return list_first_entry_or_null(&d40c->done, struct d40_desc, node); in d40_first_done()
1110 struct d40_desc *d40d; in d40_term_all()
1111 struct d40_desc *_d; in d40_term_all()
1470 struct d40_desc *d40d = container_of(tx, struct d40_desc, txd); in d40_tx_submit()
1487 static struct d40_desc *d40_queue_start(struct d40_chan *d40c) in d40_queue_start()
1489 struct d40_desc *d40d; in d40_queue_start()
1523 struct d40_desc *d40d; in dma_tc_handle()
1577 struct d40_desc *d40d; in dma_tasklet()
2109 d40_prep_sg_log(struct d40_chan *chan, struct d40_desc *desc, in d40_prep_sg_log()
2137 d40_prep_sg_phy(struct d40_chan *chan, struct d40_desc *desc, in d40_prep_sg_phy()
2169 static struct d40_desc *
2174 struct d40_desc *desc; in d40_prep_desc()
2215 struct d40_desc *desc; in d40_prep_sg()
3282 base->desc_slab = kmem_cache_create(D40_NAME, sizeof(struct d40_desc), in d40_hw_detect_init()