• Home
  • Raw
  • Download

Lines Matching refs:dma_desc

512 	struct dwc2_hcd_dma_desc *dma_desc = &qh->desc_list[idx];  in dwc2_fill_host_isoc_dma_desc()  local
515 memset(dma_desc, 0, sizeof(*dma_desc)); in dwc2_fill_host_isoc_dma_desc()
523 dma_desc->buf = (u32)(qtd->urb->dma + frame_desc->offset); in dwc2_fill_host_isoc_dma_desc()
524 dma_desc->status = qh->n_bytes[idx] << HOST_DMA_ISOC_NBYTES_SHIFT & in dwc2_fill_host_isoc_dma_desc()
530 dma_desc->status |= HOST_DMA_IOC; in dwc2_fill_host_isoc_dma_desc()
621 struct dwc2_hcd_dma_desc *dma_desc = &qh->desc_list[n_desc]; in dwc2_fill_host_dma_desc() local
641 dma_desc->status = len << HOST_DMA_NBYTES_SHIFT & HOST_DMA_NBYTES_MASK; in dwc2_fill_host_dma_desc()
646 dma_desc->status |= HOST_DMA_SUP; in dwc2_fill_host_dma_desc()
648 dma_desc->buf = (u32)chan->xfer_dma; in dwc2_fill_host_dma_desc()
803 struct dwc2_hcd_dma_desc *dma_desc = &qh->desc_list[idx]; in dwc2_cmpl_host_isoc_dma_desc() local
812 dma_desc->buf = (u32)(qtd->urb->dma + frame_desc->offset); in dwc2_cmpl_host_isoc_dma_desc()
814 remain = (dma_desc->status & HOST_DMA_ISOC_NBYTES_MASK) >> in dwc2_cmpl_host_isoc_dma_desc()
817 if ((dma_desc->status & HOST_DMA_STS_MASK) == HOST_DMA_STS_PKTERR) { in dwc2_cmpl_host_isoc_dma_desc()
854 if (dma_desc->status & HOST_DMA_IOC) in dwc2_cmpl_host_isoc_dma_desc()
935 struct dwc2_hcd_dma_desc *dma_desc, in dwc2_update_non_isoc_urb_state_ddma() argument
943 remain = (dma_desc->status & HOST_DMA_NBYTES_MASK) >> in dwc2_update_non_isoc_urb_state_ddma()
954 if ((dma_desc->status & HOST_DMA_STS_MASK) == HOST_DMA_STS_PKTERR) { in dwc2_update_non_isoc_urb_state_ddma()
977 if (dma_desc->status & HOST_DMA_A) { in dwc2_update_non_isoc_urb_state_ddma()
1023 struct dwc2_hcd_dma_desc *dma_desc; in dwc2_process_non_isoc_desc() local
1032 dma_desc = &qh->desc_list[desc_num]; in dwc2_process_non_isoc_desc()
1036 qtd, urb, desc_num, dma_desc, n_bytes); in dwc2_process_non_isoc_desc()
1037 failed = dwc2_update_non_isoc_urb_state_ddma(hsotg, chan, qtd, dma_desc, in dwc2_process_non_isoc_desc()