Lines Matching refs:n_bytes
80 qh->n_bytes = kcalloc(dwc2_max_desc_num(qh), sizeof(u32), flags); in dwc2_desc_list_alloc()
81 if (!qh->n_bytes) { in dwc2_desc_list_alloc()
110 kfree(qh->n_bytes); in dwc2_desc_list_free()
111 qh->n_bytes = NULL; in dwc2_desc_list_free()
523 qh->n_bytes[idx] = 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()
528 dma_desc->status = qh->n_bytes[idx] << HOST_DMA_ISOC_NBYTES_SHIFT & in dwc2_fill_host_isoc_dma_desc()
685 qh->n_bytes[n_desc] = len; in dwc2_fill_host_dma_desc()
895 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc()
899 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc()
1042 u32 n_bytes, int *xfer_done) in dwc2_update_non_isoc_urb_state_ddma() argument
1091 urb->actual_length += n_bytes - remain; in dwc2_update_non_isoc_urb_state_ddma()
1107 urb->actual_length += n_bytes - remain; in dwc2_update_non_isoc_urb_state_ddma()
1129 u32 n_bytes; in dwc2_process_non_isoc_desc() local
1144 n_bytes = qh->n_bytes[desc_num]; in dwc2_process_non_isoc_desc()
1147 qtd, urb, desc_num, dma_desc, n_bytes); in dwc2_process_non_isoc_desc()
1149 halt_status, n_bytes, in dwc2_process_non_isoc_desc()