Lines Matching refs:read_offset
46 uint32_t read_offset; member
127 ep_state->read_offset = 0; in udc_rpi_start_xfer()
670 ep_state->read_offset = 0U; in usb_dc_ep_clear_stall()
850 read_count = udc_rpi_get_ep_buffer_len(ep) - ep_state->read_offset; in usb_dc_ep_read_wait()
853 LOG_DBG("ep 0x%02x, %u bytes, %u+%u, %p", ep, max_data_len, ep_state->read_offset, in usb_dc_ep_read_wait()
862 memcpy(data, ep_state->buf + ep_state->read_offset, read_count); in usb_dc_ep_read_wait()
865 ep_state->read_offset += read_count; in usb_dc_ep_read_wait()
903 len, ep_state->read_offset); in usb_dc_control_ep_read_continue()
905 if (state.control_out_ep_rcvd + ep_state->read_offset < setup->wLength) { in usb_dc_control_ep_read_continue()
909 if (len == ep_state->read_offset) { in usb_dc_control_ep_read_continue()
910 state.control_out_ep_rcvd += ep_state->read_offset; in usb_dc_control_ep_read_continue()
938 ep, len, ep_state->read_offset); in usb_dc_ep_read_continue()
940 if (len == ep_state->read_offset) { in usb_dc_ep_read_continue()