Lines Matching refs:smartbond_ep_state
112 struct smartbond_ep_state { struct
166 struct smartbond_ep_state ep_state[2][4];
319 static struct smartbond_ep_state *usb_dc_get_ep_state(uint8_t ep) in usb_dc_get_ep_state()
327 static struct smartbond_ep_state *usb_dc_get_ep_out_state(uint8_t ep) in usb_dc_get_ep_out_state()
335 static struct smartbond_ep_state *usb_dc_get_ep_in_state(uint8_t ep) in usb_dc_get_ep_in_state()
364 static void fill_tx_fifo(struct smartbond_ep_state *ep_state) in fill_tx_fifo()
409 static bool try_allocate_dma(struct smartbond_ep_state *ep_state, uint8_t dir) in try_allocate_dma()
441 static void start_rx_packet(struct smartbond_ep_state *ep_state) in start_rx_packet()
490 static void start_tx_packet(struct smartbond_ep_state *ep_state) in start_tx_packet()
524 static uint16_t read_rx_fifo(struct smartbond_ep_state *ep_state, in read_rx_fifo()
549 struct smartbond_ep_state *ep0_out_state = usb_dc_get_ep_out_state(0); in handle_ep0_rx()
550 struct smartbond_ep_state *ep0_in_state; in handle_ep0_rx()
593 struct smartbond_ep_state *ep0_in_state = usb_dc_get_ep_in_state(0); in handle_ep0_tx()
594 struct smartbond_ep_state *ep0_out_state = usb_dc_get_ep_out_state(0); in handle_ep0_tx()
636 struct smartbond_ep_state *ep_state = usb_dc_get_ep_out_state(ep_idx); in handle_epx_rx_ev()
723 static void handle_epx_tx_ev(struct smartbond_ep_state *ep_state) in handle_epx_tx_ev()
870 struct smartbond_ep_state *ep_state; in handle_alt_ev()
1169 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_disable()
1195 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_mps()
1207 struct smartbond_ep_state *ep_state = usb_dc_get_ep_out_state(ep); in usb_dc_ep_read_continue()
1229 struct smartbond_ep_state *ep_state = usb_dc_get_ep_out_state(ep); in usb_dc_ep_read_wait()
1301 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_set_callback()
1364 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_clear_stall()
1395 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_enable()
1437 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep_cfg->ep_addr); in usb_dc_ep_configure()
1493 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_write()
1535 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_set_stall()
1576 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_is_stalled()
1598 struct smartbond_ep_state *ep_state = usb_dc_get_ep_state(ep); in usb_dc_ep_flush()