Searched refs:usb_handle (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/usb/udc/ |
D | udc_ambiq.c | 54 void *usb_handle; member 109 status = am_hal_usb_ep_xfer(priv->usb_handle, ep, NULL, 0); in udc_ambiq_tx() 111 status = am_hal_usb_ep_xfer(priv->usb_handle, ep, buf->data, buf->len); in udc_ambiq_tx() 141 status = am_hal_usb_ep_xfer(priv->usb_handle, ep, buf->data, rx_size); in udc_ambiq_rx() 158 am_hal_usb_intr_usb_enable(priv->usb_handle, in udc_ambiq_evt_callback() 162 am_hal_usb_ep_init(priv->usb_handle, 0, 0, EP0_MPS); in udc_ambiq_evt_callback() 164 am_hal_usb_set_dev_speed(priv->usb_handle, priv->usb_speed); in udc_ambiq_evt_callback() 171 am_hal_usb_set_dev_state(priv->usb_handle, AM_HAL_USB_DEV_STATE_ACTIVE); in udc_ambiq_evt_callback() 181 am_hal_usb_set_dev_state(priv->usb_handle, AM_HAL_USB_DEV_STATE_SUSPENDED); in udc_ambiq_evt_callback() 243 am_hal_usb_dev_speed_e e_speed = am_hal_get_usb_dev_speed(priv->usb_handle); in udc_ambiq_device_speed() [all …]
|