Searched refs:last_packet_size (Results 1 – 2 of 2) sorted by relevance
122 uint16_t last_packet_size; member373 if (remaining > ep_state->mps - ep_state->last_packet_size) { in fill_tx_fifo()374 remaining = ep_state->mps - ep_state->last_packet_size; in fill_tx_fifo()384 ep_state->last_packet_size++; in fill_tx_fifo()448 ep_state->last_packet_size = 0; in start_rx_packet()498 ep_state->last_packet_size = 0; in start_tx_packet()528 uint16_t remaining = ep_state->mps - ep_state->last_packet_size; in read_rx_fifo()530 uint8_t *buf = ep_state->buffer + ep_state->last_packet_size; in read_rx_fifo()540 ep_state->last_packet_size += receive_this_time; in read_rx_fifo()579 ep0_out_state->last_packet_size = 0; in handle_ep0_rx()[all …]
96 uint16_t last_packet_size; member283 if (remaining > mps - ep_state->last_packet_size) { in fill_tx_fifo()284 remaining = mps - ep_state->last_packet_size; in fill_tx_fifo()293 ep_state->last_packet_size++; in fill_tx_fifo()371 ep_state->last_packet_size = 0; in start_rx_packet()424 ep_state->last_packet_size = 0; in start_tx_packet()459 uint16_t remaining = mps - ep_state->last_packet_size; in read_rx_fifo()470 ep_state->last_packet_size += receive_this_time; in read_rx_fifo()490 ep0_out_state->last_packet_size = 0; in handle_ep0_rx()509 ep0_out_state->last_packet_size = 0; in handle_ep0_rx()[all …]