Lines Matching full:gadget

3  * Cadence USBSS DRD Driver - gadget side.
16 #include "cdns3-gadget.h"
27 * @priv_dev: extended gadget object
77 * Setup is handled by gadget driver
78 * @priv_dev: extended gadget object
90 ret = priv_dev->gadget_driver->setup(&priv_dev->gadget, ctrl_req); in cdns3_ep0_delegate_req()
130 * @priv_dev: extended gadget object
139 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_configuration()
167 usb_gadget_set_state(&priv_dev->gadget, in cdns3_req_ep0_set_configuration()
175 * @priv_dev: extended gadget object
183 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_address()
207 usb_gadget_set_state(&priv_dev->gadget, in cdns3_req_ep0_set_address()
215 * @priv_dev: extended gadget object
240 if (priv_dev->gadget.speed != USB_SPEED_SUPER) in cdns3_req_ep0_get_status()
285 state = priv_dev->gadget.state; in cdns3_ep0_feature_handle_device()
286 speed = priv_dev->gadget.speed; in cdns3_ep0_feature_handle_device()
389 * @priv_dev: extended gadget object
423 * @priv_dev: extended gadget object
431 if (priv_dev->gadget.state < USB_STATE_ADDRESS) in cdns3_req_ep0_set_sel()
447 * @priv_dev: extended gadget object
465 * @priv_dev: extended gadget object
529 * @priv_dev: extended gadget object
591 * @priv_dev: extended gadget object
607 * @priv_dev: extended gadget object
645 * Function shouldn't be called by gadget driver,
658 * Function shouldn't be called by gadget driver,
734 usb_gadget_set_state(&priv_dev->gadget, USB_STATE_CONFIGURED); in cdns3_gadget_ep0_queue()
806 * @priv_dev: extended gadget object
819 if (priv_dev->gadget.speed == USB_SPEED_SUPER) in cdns3_ep0_config()
834 priv_dev->gadget.ep0->maxpacket = max_packet_size; in cdns3_ep0_config()
869 * cdns3_init_ep0 - Initializes software endpoint 0 of gadget
870 * @priv_dev: extended gadget object
891 priv_dev->gadget.ep0 = &priv_ep->endpoint; in cdns3_init_ep0()