Lines Matching refs:desc_list

102 	qh->desc_list = kmem_cache_zalloc(desc_cache, flags | GFP_DMA);  in dwc2_desc_list_alloc()
103 if (!qh->desc_list) in dwc2_desc_list_alloc()
106 qh->desc_list_dma = dma_map_single(hsotg->dev, qh->desc_list, in dwc2_desc_list_alloc()
115 kmem_cache_free(desc_cache, qh->desc_list); in dwc2_desc_list_alloc()
116 qh->desc_list = NULL; in dwc2_desc_list_alloc()
133 if (qh->desc_list) { in dwc2_desc_list_free()
136 kmem_cache_free(desc_cache, qh->desc_list); in dwc2_desc_list_free()
137 qh->desc_list = NULL; in dwc2_desc_list_free()
324 if (qh->desc_list) in dwc2_release_channel_ddma()
325 memset(qh->desc_list, 0, sizeof(struct dwc2_dma_desc) * in dwc2_release_channel_ddma()
546 struct dwc2_dma_desc *dma_desc = &qh->desc_list[idx]; in dwc2_fill_host_isoc_dma_desc()
646 qh->desc_list[idx].status |= HOST_DMA_IOC; in dwc2_init_isoc_dma_desc()
680 qh->desc_list[idx].status |= HOST_DMA_IOC; in dwc2_init_isoc_dma_desc()
694 struct dwc2_dma_desc *dma_desc = &qh->desc_list[n_desc]; in dwc2_fill_host_dma_desc()
774 qh->desc_list[n_desc - 1].status |= HOST_DMA_A; in dwc2_init_non_isoc_dma_desc()
778 &qh->desc_list[n_desc - 1]); in dwc2_init_non_isoc_dma_desc()
789 n_desc, &qh->desc_list[n_desc], in dwc2_init_non_isoc_dma_desc()
790 qh->desc_list[n_desc].buf, in dwc2_init_non_isoc_dma_desc()
791 qh->desc_list[n_desc].status); in dwc2_init_non_isoc_dma_desc()
806 qh->desc_list[n_desc - 1].status |= in dwc2_init_non_isoc_dma_desc()
809 n_desc - 1, &qh->desc_list[n_desc - 1]); in dwc2_init_non_isoc_dma_desc()
816 qh->desc_list[0].status |= HOST_DMA_A; in dwc2_init_non_isoc_dma_desc()
818 &qh->desc_list[0]); in dwc2_init_non_isoc_dma_desc()
910 dma_desc = &qh->desc_list[idx]; in dwc2_cmpl_host_isoc_dma_desc()
1173 dma_desc = &qh->desc_list[desc_num]; in dwc2_process_non_isoc_desc()