Lines Matching refs:usb_smartbond_data
107 struct usb_smartbond_data { struct
126 static int usb_smartbond_dma_config(struct usb_smartbond_data *data) in usb_smartbond_dma_config() argument
222 static void usb_smartbond_dma_deconfig(struct usb_smartbond_data *data) in usb_smartbond_dma_deconfig()
234 static struct smartbond_ep_state *usb_dc_get_ep_state(struct usb_smartbond_data *data, uint8_t ep) in usb_dc_get_ep_state()
244 static struct smartbond_ep_state *usb_dc_get_ep_out_state(struct usb_smartbond_data *data, in usb_dc_get_ep_out_state()
252 static struct smartbond_ep_state *usb_dc_get_ep_in_state(struct usb_smartbond_data *data, in usb_dc_get_ep_in_state()
260 static void set_nfsr(struct usb_smartbond_data *data, uint8_t val) in set_nfsr()
324 static bool try_allocate_dma(struct usb_smartbond_data *data, struct smartbond_ep_state *ep_state) in try_allocate_dma()
358 static void start_rx_packet(struct usb_smartbond_data *data, struct smartbond_ep_state *ep_state) in start_rx_packet()
410 static void start_tx_packet(struct usb_smartbond_data *data, struct smartbond_ep_state *ep_state) in start_tx_packet()
475 static void handle_ep0_rx(struct usb_smartbond_data *data) in handle_ep0_rx()
533 struct usb_smartbond_data *data = udc_get_private(dev); in udc_smartbond_ep_abort()
556 struct usb_smartbond_data *data = dev->data; in udc_smartbond_ep_tx()
582 struct usb_smartbond_data *data = dev->data; in udc_smartbond_ep_rx()
702 struct usb_smartbond_data *data = udc_get_private(dev); in udc_smartbond_ep_disable()
793 struct usb_smartbond_data *data = udc_get_private(dev); in udc_smartbond_host_wakeup()
831 static uint32_t check_reset_end(struct usb_smartbond_data *data, uint32_t alt_ev) in check_reset_end()
860 void handle_ep0_tx(struct usb_smartbond_data *data) in handle_ep0_tx()
914 static void handle_epx_rx_ev(struct usb_smartbond_data *data, uint8_t ep_idx) in handle_epx_rx_ev()
1010 static void handle_rx_ev(struct usb_smartbond_data *data) in handle_rx_ev()
1025 static void handle_epx_tx_ev(struct usb_smartbond_data *data, struct smartbond_ep_state *ep_state) in handle_epx_tx_ev()
1091 static void handle_tx_ev(struct usb_smartbond_data *data) in handle_tx_ev()
1104 static void handle_epx_tx_warn_ev(struct usb_smartbond_data *data, uint8_t ep_idx) in handle_epx_tx_warn_ev()
1109 static void handle_fifo_warning(struct usb_smartbond_data *data) in handle_fifo_warning()
1138 static void handle_ep0_nak(struct usb_smartbond_data *data) in handle_ep0_nak()
1179 static void handle_bus_reset(struct usb_smartbond_data *data) in handle_bus_reset()
1211 static void usb_clock_on(struct usb_smartbond_data *data) in usb_clock_on()
1219 static void usb_clock_off(struct usb_smartbond_data *data) in usb_clock_off()
1227 static void handle_alt_ev(struct usb_smartbond_data *data) in handle_alt_ev()
1267 struct usb_smartbond_data *data = udc_get_private(dev); in udc_smartbond_isr()
1343 static void usb_change_state(struct usb_smartbond_data *data, bool attached, bool vbus_present) in usb_change_state()
1405 static void usb_dc_smartbond_vbus_isr(struct usb_smartbond_data *data) in usb_dc_smartbond_vbus_isr()
1433 struct usb_smartbond_data *data = udc_get_private(dev); in usbd_ctrl_feed_dout()
1452 struct usb_smartbond_data *data = in handle_ep0_rx_work()
1453 CONTAINER_OF(item, struct usb_smartbond_data, ep0_rx_work); in handle_ep0_rx_work()
1488 struct usb_smartbond_data *data = in handle_ep0_tx_work()
1489 CONTAINER_OF(item, struct usb_smartbond_data, ep0_tx_work); in handle_ep0_tx_work()
1542 struct usb_smartbond_data *data = in handle_ep0_setup_work()
1543 CONTAINER_OF(item, struct usb_smartbond_data, ep0_setup_work); in handle_ep0_setup_work()
1587 struct usb_smartbond_data *data = udc_get_private(dev); in udc_smartbond_enable()
1611 struct usb_smartbond_data *data = udc_get_private(dev); in udc_smartbond_disable()
1630 struct usb_smartbond_data *data = udc_get_private(dev); in udc_smartbond_init()
1760 static struct usb_smartbond_data udc_data_##n = { \