Searched refs:ep0_out_state (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_smartbond.c | 549 struct smartbond_ep_state *ep0_out_state = usb_dc_get_ep_out_state(0); in handle_ep0_rx() local 556 read_rx_fifo(ep0_out_state, EP0_FIFO_SIZE); in handle_ep0_rx() 558 ep0_out_state->stall = 0; in handle_ep0_rx() 559 ep0_out_state->data1 = 1; in handle_ep0_rx() 565 ep0_out_state->buffer[0], in handle_ep0_rx() 566 ep0_out_state->buffer[1], in handle_ep0_rx() 567 ep0_out_state->buffer[2], in handle_ep0_rx() 568 ep0_out_state->buffer[3], in handle_ep0_rx() 569 ep0_out_state->buffer[4], in handle_ep0_rx() 570 ep0_out_state->buffer[5], in handle_ep0_rx() [all …]
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_smartbond.c | 479 struct smartbond_ep_state *ep0_out_state = EP0_OUT_STATE(data); in handle_ep0_rx() local 480 struct udc_ep_config *ep0_out_config = &ep0_out_state->config; in handle_ep0_rx() 483 struct net_buf *buf = ep0_out_state->buf; in handle_ep0_rx() 490 ep0_out_state->last_packet_size = 0; in handle_ep0_rx() 491 read_rx_fifo(ep0_out_state, data->setup_buffer, EP0_FIFO_SIZE); in handle_ep0_rx() 509 ep0_out_state->last_packet_size = 0; in handle_ep0_rx() 512 read_rx_fifo(ep0_out_state, in handle_ep0_rx() 513 net_buf_tail(buf) + ep0_out_state->last_packet_size, in handle_ep0_rx() 517 net_buf_add(ep0_out_state->buf, ep0_out_state->last_packet_size); in handle_ep0_rx() 518 if (ep0_out_state->last_packet_size < EP0_FIFO_SIZE || in handle_ep0_rx() [all …]
|