Home
last modified time | relevance | path

Searched refs:ep0_in_state (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_smartbond.c550 struct smartbond_ep_state *ep0_in_state; in handle_ep0_rx() local
555 ep0_in_state = usb_dc_get_ep_in_state(0); in handle_ep0_rx()
560 ep0_in_state->stall = 0; in handle_ep0_rx()
561 ep0_in_state->data1 = 1; in handle_ep0_rx()
593 struct smartbond_ep_state *ep0_in_state = usb_dc_get_ep_in_state(0); in handle_ep0_tx() local
595 struct smartbond_ep_reg_set *regs = ep0_in_state->regs; in handle_ep0_tx()
599 LOG_DBG("%02x %02x", ep0_in_state->ep_addr, txs0); in handle_ep0_tx()
604 ep0_in_state->transferred += in handle_ep0_tx()
605 ep0_in_state->last_packet_size; in handle_ep0_tx()
606 ep0_in_state->last_packet_size = 0; in handle_ep0_tx()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_smartbond.c481 struct smartbond_ep_state *ep0_in_state; in handle_ep0_rx() local
488 ep0_in_state = EP0_IN_STATE(data); in handle_ep0_rx()
489 ep0_in_config = &ep0_in_state->config; in handle_ep0_rx()
863 struct smartbond_ep_state *ep0_in_state = EP0_IN_STATE(data); in handle_ep0_tx() local
865 struct smartbond_ep_reg_set *regs = ep0_in_state->regs; in handle_ep0_tx()
866 struct udc_ep_config *ep0_in_config = &ep0_in_state->config; in handle_ep0_tx()
867 struct net_buf *buf = ep0_in_state->buf; in handle_ep0_tx()
877 net_buf_pull(buf, ep0_in_state->last_packet_size); in handle_ep0_tx()
878 ep0_in_state->last_packet_size = 0; in handle_ep0_tx()
906 ep0_in_state->last_packet_size = 0; in handle_ep0_tx()
[all …]