Lines Matching refs:ep0_out_state
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()
571 ep0_out_state->buffer[6], in handle_ep0_rx()
572 ep0_out_state->buffer[7]); in handle_ep0_rx()
573 ep0_out_state->cb(EP0_OUT, USB_DC_EP_SETUP); in handle_ep0_rx()
576 ep0_out_state->data1) { in handle_ep0_rx()
579 ep0_out_state->last_packet_size = 0; in handle_ep0_rx()
581 read_rx_fifo(ep0_out_state, fifo_bytes); in handle_ep0_rx()
583 ep0_out_state->data1 ^= 1; in handle_ep0_rx()
594 struct smartbond_ep_state *ep0_out_state = usb_dc_get_ep_out_state(0); in handle_ep0_tx() local
614 ep0_out_state = usb_dc_get_ep_out_state(EP0_IDX); in handle_ep0_tx()
615 ep0_out_state->transferred = 0; in handle_ep0_tx()
616 ep0_out_state->total_len = 0; in handle_ep0_tx()
617 ep0_out_state->last_packet_size = 0; in handle_ep0_tx()