Lines Matching refs:frame_desc
517 struct dwc2_hcd_iso_packet_desc *frame_desc; in dwc2_fill_host_isoc_dma_desc() local
520 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index_last]; in dwc2_fill_host_isoc_dma_desc()
522 if (frame_desc->length > max_xfer_size) in dwc2_fill_host_isoc_dma_desc()
525 qh->n_bytes[idx] = frame_desc->length; in dwc2_fill_host_isoc_dma_desc()
527 dma_desc->buf = (u32)(qtd->urb->dma + frame_desc->offset); in dwc2_fill_host_isoc_dma_desc()
868 struct dwc2_hcd_iso_packet_desc *frame_desc; in dwc2_cmpl_host_isoc_dma_desc() local
887 frame_desc = &qtd->urb->iso_descs[frame_desc_idx]; in dwc2_cmpl_host_isoc_dma_desc()
890 dma_desc->buf = (u32)(qtd->urb->dma + frame_desc->offset); in dwc2_cmpl_host_isoc_dma_desc()
902 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc()
903 frame_desc->status = -EPROTO; in dwc2_cmpl_host_isoc_dma_desc()
906 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc()
907 frame_desc->status = 0; in dwc2_cmpl_host_isoc_dma_desc()
942 struct dwc2_hcd_iso_packet_desc *frame_desc; in dwc2_complete_isoc_xfer_ddma() local
976 frame_desc = &qtd->urb->iso_descs[idx]; in dwc2_complete_isoc_xfer_ddma()
977 frame_desc->status = err; in dwc2_complete_isoc_xfer_ddma()