• Home
  • Raw
  • Download

Lines Matching refs:dma_desc

546 	struct dwc2_dma_desc *dma_desc = &qh->desc_list[idx];  in dwc2_fill_host_isoc_dma_desc()  local
549 memset(dma_desc, 0, sizeof(*dma_desc)); in dwc2_fill_host_isoc_dma_desc()
557 dma_desc->buf = (u32)(qtd->urb->dma + frame_desc->offset); in dwc2_fill_host_isoc_dma_desc()
558 dma_desc->status = qh->n_bytes[idx] << HOST_DMA_ISOC_NBYTES_SHIFT & in dwc2_fill_host_isoc_dma_desc()
562 dma_desc->status |= HOST_DMA_A; in dwc2_fill_host_isoc_dma_desc()
570 dma_desc->status |= HOST_DMA_IOC; in dwc2_fill_host_isoc_dma_desc()
694 struct dwc2_dma_desc *dma_desc = &qh->desc_list[n_desc]; in dwc2_fill_host_dma_desc() local
714 dma_desc->status = len << HOST_DMA_NBYTES_SHIFT & HOST_DMA_NBYTES_MASK; in dwc2_fill_host_dma_desc()
719 dma_desc->status |= HOST_DMA_SUP; in dwc2_fill_host_dma_desc()
721 dma_desc->buf = (u32)chan->xfer_dma; in dwc2_fill_host_dma_desc()
897 struct dwc2_dma_desc *dma_desc; in dwc2_cmpl_host_isoc_dma_desc() local
910 dma_desc = &qh->desc_list[idx]; in dwc2_cmpl_host_isoc_dma_desc()
913 dma_desc->buf = (u32)(qtd->urb->dma + frame_desc->offset); in dwc2_cmpl_host_isoc_dma_desc()
915 remain = (dma_desc->status & HOST_DMA_ISOC_NBYTES_MASK) >> in dwc2_cmpl_host_isoc_dma_desc()
918 if ((dma_desc->status & HOST_DMA_STS_MASK) == HOST_DMA_STS_PKTERR) { in dwc2_cmpl_host_isoc_dma_desc()
955 if (dma_desc->status & HOST_DMA_IOC) in dwc2_cmpl_host_isoc_dma_desc()
1070 struct dwc2_dma_desc *dma_desc, in dwc2_update_non_isoc_urb_state_ddma() argument
1078 remain = (dma_desc->status & HOST_DMA_NBYTES_MASK) >> in dwc2_update_non_isoc_urb_state_ddma()
1089 if ((dma_desc->status & HOST_DMA_STS_MASK) == HOST_DMA_STS_PKTERR) { in dwc2_update_non_isoc_urb_state_ddma()
1112 if (dma_desc->status & HOST_DMA_A) { in dwc2_update_non_isoc_urb_state_ddma()
1158 struct dwc2_dma_desc *dma_desc; in dwc2_process_non_isoc_desc() local
1173 dma_desc = &qh->desc_list[desc_num]; in dwc2_process_non_isoc_desc()
1177 qtd, urb, desc_num, dma_desc, n_bytes); in dwc2_process_non_isoc_desc()
1178 failed = dwc2_update_non_isoc_urb_state_ddma(hsotg, chan, qtd, dma_desc, in dwc2_process_non_isoc_desc()