Lines Matching refs:transferred
116 uint16_t transferred; /** Bytes transferred so far */ member
371 src = &ep_state->buffer[ep_state->transferred]; in fill_tx_fifo()
372 remaining = ep_state->total_len - ep_state->transferred; in fill_tx_fifo()
449 ep_state->transferred = 0; in start_rx_packet()
493 uint16_t remaining = ep_state->total_len - ep_state->transferred; in start_tx_packet()
514 start_tx_dma(ep_state->buffer + ep_state->transferred, in start_tx_packet()
604 ep0_in_state->transferred += in handle_ep0_tx()
610 if (ep0_in_state->transferred == ep0_in_state->total_len) { in handle_ep0_tx()
615 ep0_out_state->transferred = 0; in handle_ep0_tx()
747 ep_state->transferred += ep_state->last_packet_size; in handle_epx_tx_ev()
751 if (ep_state->transferred == ep_state->total_len) { in handle_epx_tx_ev()
832 dev_state.ep_state[1][i].transferred = 0; in handle_bus_reset()
1219 if (ep_state->transferred >= ep_state->last_packet_size) { in usb_dc_ep_read_continue()
1239 read_count = ep_state->last_packet_size - ep_state->transferred; in usb_dc_ep_read_wait()
1247 memcpy(data, ep_state->buffer + ep_state->transferred, read_count); in usb_dc_ep_read_wait()
1248 ep_state->transferred += read_count; in usb_dc_ep_read_wait()
1413 ep_state->transferred = 0; in usb_dc_ep_enable()
1507 ep_state->transferred = 0; in usb_dc_ep_write()