Lines Matching refs:desc_list
72 qh->desc_list = kmem_cache_zalloc(desc_cache, flags | GFP_DMA); in dwc2_desc_list_alloc()
73 if (!qh->desc_list) in dwc2_desc_list_alloc()
76 qh->desc_list_dma = dma_map_single(hsotg->dev, qh->desc_list, in dwc2_desc_list_alloc()
85 kmem_cache_free(desc_cache, qh->desc_list); in dwc2_desc_list_alloc()
86 qh->desc_list = NULL; in dwc2_desc_list_alloc()
103 if (qh->desc_list) { in dwc2_desc_list_free()
106 kmem_cache_free(desc_cache, qh->desc_list); in dwc2_desc_list_free()
107 qh->desc_list = NULL; in dwc2_desc_list_free()
294 if (qh->desc_list) in dwc2_release_channel_ddma()
295 memset(qh->desc_list, 0, sizeof(struct dwc2_dma_desc) * in dwc2_release_channel_ddma()
516 struct dwc2_dma_desc *dma_desc = &qh->desc_list[idx]; in dwc2_fill_host_isoc_dma_desc()
616 qh->desc_list[idx].status |= HOST_DMA_IOC; in dwc2_init_isoc_dma_desc()
650 qh->desc_list[idx].status |= HOST_DMA_IOC; in dwc2_init_isoc_dma_desc()
664 struct dwc2_dma_desc *dma_desc = &qh->desc_list[n_desc]; in dwc2_fill_host_dma_desc()
744 qh->desc_list[n_desc - 1].status |= HOST_DMA_A; in dwc2_init_non_isoc_dma_desc()
748 &qh->desc_list[n_desc - 1]); in dwc2_init_non_isoc_dma_desc()
759 n_desc, &qh->desc_list[n_desc], in dwc2_init_non_isoc_dma_desc()
760 qh->desc_list[n_desc].buf, in dwc2_init_non_isoc_dma_desc()
761 qh->desc_list[n_desc].status); in dwc2_init_non_isoc_dma_desc()
776 qh->desc_list[n_desc - 1].status |= in dwc2_init_non_isoc_dma_desc()
779 n_desc - 1, &qh->desc_list[n_desc - 1]); in dwc2_init_non_isoc_dma_desc()
786 qh->desc_list[0].status |= HOST_DMA_A; in dwc2_init_non_isoc_dma_desc()
788 &qh->desc_list[0]); in dwc2_init_non_isoc_dma_desc()
884 dma_desc = &qh->desc_list[idx]; in dwc2_cmpl_host_isoc_dma_desc()
1150 dma_desc = &qh->desc_list[desc_num]; in dwc2_process_non_isoc_desc()