Home
last modified time | relevance | path

Searched defs:udc (Results 1 – 25 of 60) sorted by relevance

123

/openbmc/linux/drivers/usb/isp1760/
H A Disp1760-udc.c158 struct isp1760_udc *udc = ep->udc; in isp1760_udc_ctrl_send_status() local
185 struct isp1760_udc *udc = ep->udc; in isp1760_udc_request_complete() local
210 struct isp1760_udc *udc = ep->udc; in isp1760_udc_ctrl_send_stall() local
237 struct isp1760_udc *udc = ep->udc; in isp1760_udc_receive() local
303 struct isp1760_udc *udc = ep->udc; in isp1760_udc_transmit() local
338 struct isp1760_udc *udc = ep->udc; in isp1760_ep_rx_ready() local
378 struct isp1760_udc *udc = ep->udc; in isp1760_ep_tx_complete() local
458 struct isp1760_udc *udc = ep->udc; in __isp1760_udc_set_halt() local
777 struct isp1760_udc *udc = uep->udc; in isp1760_ep_enable() local
840 struct isp1760_udc *udc = uep->udc; in isp1760_ep_disable() local
[all …]
/openbmc/linux/drivers/staging/emxx_udc/
H A Demxx_udc.c139 struct nbu2ss_udc *udc; in _nbu2ss_ep0_complete() local
2417 struct nbu2ss_udc *udc; in nbu2ss_ep_enable() local
2473 struct nbu2ss_udc *udc; in nbu2ss_ep_disable() local
2535 struct nbu2ss_udc *udc; in nbu2ss_ep_queue() local
2644 struct nbu2ss_udc *udc; in nbu2ss_ep_dequeue() local
2684 struct nbu2ss_udc *udc; in nbu2ss_ep_set_halt() local
2730 struct nbu2ss_udc *udc; in nbu2ss_ep_fifo_status() local
2773 struct nbu2ss_udc *udc; in nbu2ss_ep_fifo_flush() local
2823 struct nbu2ss_udc *udc; in nbu2ss_gad_get_frame() local
2844 struct nbu2ss_udc *udc; in nbu2ss_gad_wakeup() local
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Dmv_udc_core.c253 struct mv_udc *udc; in queue_dtd() local
338 struct mv_udc *udc; in build_dtd() local
437 struct mv_udc *udc; in mv_ep_enable() local
555 struct mv_udc *udc; in mv_ep_disable() local
622 struct mv_udc *udc; in mv_ep_fifo_flush() local
895 struct mv_udc *udc; in mv_ep_set_halt_wedge() local
1114 struct mv_udc *udc; in mv_udc_get_frame() local
1149 struct mv_udc *udc; in mv_udc_vbus_session() local
1186 struct mv_udc *udc; in mv_udc_pullup() local
1350 struct mv_udc *udc; in mv_udc_start() local
[all …]
H A Dat91_udc.c89 #define at91_udp_read(udc, reg) \ argument
114 struct at91_udc *udc = ep->udc; in proc_ep_show() local
262 struct at91_udc *udc = ep->udc; in done() local
475 struct at91_udc *udc; in at91_ep_enable() local
609 struct at91_udc *udc; in at91_ep_queue() local
709 struct at91_udc *udc; in at91_ep_dequeue() local
1398 struct at91_udc *udc = _udc; in at91_udc_irq() local
1521 struct at91_udc *udc = _udc; in at91_vbus_irq() local
1556 struct at91_udc *udc; in at91_start() local
1569 struct at91_udc *udc; in at91_stop() local
[all …]
H A Datmel_usba_udc.c142 struct usba_udc *udc; in regs_dbg_open() local
486 struct usba_udc *udc = ep->udc; in receive_data() local
543 struct usba_udc *udc = ep->udc; in request_complete() local
577 struct usba_udc *udc = ep->udc; in usba_ep_enable() local
669 struct usba_udc *udc = ep->udc; in usba_ep_disable() local
780 struct usba_udc *udc = ep->udc; in usba_ep_queue() local
862 struct usba_udc *udc = ep->udc; in usba_ep_dequeue() local
1716 struct usba_udc *udc = devid; in usba_udc_irq() local
1942 struct usba_udc *udc = devid; in usba_vbus_irq_thread() local
2278 struct usba_udc *udc; in usba_udc_probe() local
[all …]
H A Dbcm63xx_udc.c217 struct bcm63xx_udc *udc; member
242 struct bcm63xx_udc *udc; member
1034 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_enable() local
1073 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_disable() local
1154 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_queue() local
1206 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_dequeue() local
1254 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_halt() local
1274 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_wedge() local
1969 struct bcm63xx_udc *udc = dev_id; in bcm63xx_udc_ctrl_isr() local
2041 struct bcm63xx_udc *udc = iudma->udc; in bcm63xx_udc_data_isr() local
[all …]
H A Dfsl_qe_udc.c78 struct qe_udc *udc = ep->udc; in done() local
146 struct qe_udc *udc = ep->udc; in qe_eprx_stall_change() local
1022 struct qe_udc *udc; in qe_ep_rx() local
1584 struct qe_udc *udc; in qe_ep_enable() local
1614 struct qe_udc *udc; in qe_ep_disable() local
1697 struct qe_udc *udc; in __qe_ep_queue() local
1818 struct qe_udc *udc; in qe_ep_set_halt() local
2283 struct qe_udc *udc; in fsl_qe_start() local
2309 struct qe_udc *udc; in fsl_qe_stop() local
2338 struct qe_udc *udc; in qe_udc_config() local
[all …]
H A Dlpc32xx_udc.c101 struct lpc32xx_udc *udc; member
638 struct lpc32xx_udc *udc = in pullup_work() local
680 struct lpc32xx_udc *udc = in power_work() local
1605 struct lpc32xx_udc *udc; in lpc32xx_ep_enable() local
1738 struct lpc32xx_udc *udc; in lpc32xx_ep_queue() local
1865 struct lpc32xx_udc *udc; in lpc32xx_ep_set_halt() local
2729 struct lpc32xx_udc *udc = _udc; in lpc32xx_usb_lp_irq() local
2768 struct lpc32xx_udc *udc = _udc; in lpc32xx_usb_hp_irq() local
2807 struct lpc32xx_udc *udc = _udc; in lpc32xx_usb_devdma_irq() local
2876 struct lpc32xx_udc *udc = _udc; in lpc32xx_usb_vbus_irq() local
[all …]
H A Dpxa27x_udc.c92 struct pxa_udc *udc = s->private; in state_dbg_show() local
138 struct pxa_udc *udc = s->private; in queues_dbg_show() local
171 struct pxa_udc *udc = s->private; in eps_dbg_show() local
329 struct pxa_udc *udc = ep->dev; in pio_irq_enable() local
346 struct pxa_udc *udc = ep->dev; in pio_irq_disable() local
1320 struct pxa_udc *udc; in pxa_ep_enable() local
1572 struct pxa_udc *udc; in pxa_udc_vbus_draw() local
1749 struct pxa_udc *udc = to_pxa(g); in pxa27x_udc_start() local
1798 struct pxa_udc *udc = to_pxa(g); in pxa27x_udc_stop() local
2267 struct pxa_udc *udc = _dev; in pxa_udc_irq() local
[all …]
H A Dsnps_udc_plat.c23 static void start_udc(struct udc *udc) in start_udc()
33 static void stop_udc(struct udc *udc) in stop_udc()
73 struct udc *udc; in udc_drd_work() local
90 struct udc *udc = container_of(self, struct udc, nb); in usbd_connect_notify() local
105 struct udc *udc; in udc_plat_probe() local
255 struct udc *udc; in udc_plat_suspend() local
272 struct udc *udc; in udc_plat_resume() local
H A Dfsl_udc_core.c158 struct fsl_udc *udc = NULL; in done() local
541 struct fsl_udc *udc = NULL; in fsl_ep_enable() local
628 struct fsl_udc *udc = NULL; in fsl_ep_disable() local
867 struct fsl_udc *udc; in fsl_ep_queue() local
1006 struct fsl_udc *udc = NULL; in fsl_ep_set_halt() local
1048 struct fsl_udc *udc; in fsl_ep_fifo_status() local
1175 struct fsl_udc *udc; in fsl_vbus_session() local
1201 struct fsl_udc *udc; in fsl_vbus_draw() local
1214 struct fsl_udc *udc; in fsl_pullup() local
1862 struct fsl_udc *udc = _udc; in fsl_udc_irq() local
[all …]
H A Dudc-xilinx.c142 struct xusb_udc *udc; member
319 struct xusb_udc *udc = ep->udc; in xudc_start_dma() local
382 struct xusb_udc *udc = ep->udc; in xudc_dma_send() local
754 struct xusb_udc *udc; in xudc_ep_set_halt() local
897 struct xusb_udc *udc; in xudc_ep_enable() local
932 struct xusb_udc *udc; in xudc_ep_disable() local
1220 struct xusb_udc *udc; in xudc_get_frame() local
1995 struct xusb_udc *udc = _udc; in xudc_irq() local
2064 struct xusb_udc *udc; in xudc_probe() local
2195 struct xusb_udc *udc; in xudc_suspend() local
[all …]
H A Dmax3420_udc.c157 struct max3420_udc *udc; member
316 struct max3420_udc *udc = ep->udc; in spi_max3420_enable() local
348 struct max3420_udc *udc = ep->udc; in spi_max3420_stall() local
498 struct max3420_udc *udc = dev_id; in max3420_vbus_handler() local
518 struct max3420_udc *udc = dev_id; in max3420_irq_handler() local
669 struct max3420_udc *udc = ep->udc; in max3420_req_done() local
841 struct max3420_udc *udc = dev_id; in max3420_thread() local
906 struct max3420_udc *udc = ep->udc; in max3420_ep_set_halt() local
946 struct max3420_udc *udc = ep->udc; in max3420_ep_enable() local
975 struct max3420_udc *udc = ep->udc; in __max3420_ep_disable() local
[all …]
H A Damd5536udc.h529 struct udc { struct
533 struct udc_ep ep[UDC_EP_NUM]; argument
548 struct udc_csrs __iomem *csr; argument
549 struct udc_regs __iomem *regs; argument
550 struct udc_ep_regs __iomem *ep_regs; argument
570 struct phy *udc_phy; argument
578 #define to_amd5536_udc(g) (container_of((g), struct udc, gadget)) argument
653 #define DBG(udc , args...) dev_dbg(udc->dev, args) argument
658 #define VDBG(udc , args...) do {} while (0) argument
H A Daspeed_udc.c182 struct ast_udc_dev *udc; member
269 #define ast_udc_read(udc, offset) \ argument
284 struct ast_udc_dev *udc = ep->udc; in ast_udc_done() local
346 struct ast_udc_dev *udc = ep->udc; in ast_udc_ep_enable() local
433 struct ast_udc_dev *udc = ep->udc; in ast_udc_ep_disable() local
477 struct ast_udc_dev *udc = ep->udc; in ast_dma_descriptor_setup() local
585 struct ast_udc_dev *udc = ep->udc; in ast_udc_ep0_queue() local
631 struct ast_udc_dev *udc = ep->udc; in ast_udc_ep_queue() local
694 struct ast_udc_dev *udc = ep->udc; in ast_udc_ep_dequeue() local
723 struct ast_udc_dev *udc = ep->udc; in ast_udc_ep_set_halt() local
[all …]
H A Dcore.c1112 struct usb_udc *udc = gadget->udc; in usb_gadget_state_work() local
1165 struct usb_udc *udc = gadget->udc; in usb_udc_vbus_handler() local
1331 struct usb_udc *udc; in usb_udc_release() local
1377 struct usb_udc *udc; in usb_add_gadget() local
1481 struct usb_udc *udc; in usb_get_gadget_udc_name() local
1520 struct usb_udc *udc = gadget->udc; in usb_del_gadget() local
1558 struct usb_udc *udc = gadget->udc; in gadget_match_driver() local
1578 struct usb_udc *udc = gadget->udc; in gadget_bind_driver() local
1633 struct usb_udc *udc = gadget->udc; in gadget_unbind_driver() local
1717 struct usb_udc *udc = container_of(dev, struct usb_udc, dev); in srp_store() local
[all …]
H A Domap_udc.c149 struct omap_udc *udc; in omap_ep_enable() local
870 struct omap_udc *udc; in omap_ep_queue() local
1141 struct omap_udc *udc; in omap_wakeup() local
1171 struct omap_udc *udc; in omap_set_selfpowered() local
1228 static struct omap_udc *udc; variable
1251 struct omap_udc *udc; in omap_vbus_session() local
1290 struct omap_udc *udc; in omap_vbus_draw() local
1300 struct omap_udc *udc; in omap_pullup() local
1821 struct omap_udc *udc = _udc; in omap_udc_irq() local
1897 struct omap_udc *udc = _dev; in omap_udc_pio_irq() local
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dat91_udc.c61 #define at91_udp_read(udc, reg) \ argument
63 #define at91_udp_write(udc, reg, val) \ argument
73 struct at91_udc *udc = ep->udc; in done() local
286 struct at91_udc *udc; in at91_ep_enable() local
363 struct at91_udc *udc = ep->udc; in at91_ep_disable() local
420 struct at91_udc *udc; in at91_ep_queue() local
545 struct at91_udc *udc = ep->udc; in at91_ep_set_halt() local
1316 struct at91_udc *udc = controller; in at91_start() local
1327 struct at91_udc *udc = controller; in at91_stop() local
1431 struct at91_udc *udc = controller; in usb_gadget_handle_interrupts() local
[all …]
H A Datmel_usba_udc.c22 static int vbus_is_present(struct usba_udc *udc) in vbus_is_present()
91 struct usba_udc *udc = ep->udc; in receive_data() local
171 struct usba_udc *udc = ep->udc; in usba_ep_enable() local
273 struct usba_udc *udc = ep->udc; in usba_ep_disable() local
339 struct usba_udc *udc = ep->udc; in usba_ep_queue() local
454 struct usba_udc *udc = ep->udc; in usba_ep_fifo_flush() local
1202 struct usba_udc *udc = &controller; in usb_gadget_handle_interrupts() local
1210 struct usba_udc *udc = &controller; in usb_gadget_register_driver() local
1238 struct usba_udc *udc = &controller; in usb_gadget_unregister_driver() local
1255 struct usba_udc *udc) in usba_udc_pdata()
[all …]
H A Daspeed_udc.c318 struct aspeed_udc_priv *udc = ep->udc; in aspeed_udc_ep0_queue() local
351 static void aspeed_udc_ep0_rx(struct aspeed_udc_priv *udc) in aspeed_udc_ep0_rx()
400 void aspeed_udc_ep0_out(struct aspeed_udc_priv *udc) in aspeed_udc_ep0_out()
683 struct aspeed_udc_priv *udc = ep->udc; in aspeed_udc_ep_queue() local
762 struct aspeed_udc_priv *udc = ep->udc; in aspeed_udc_ep_set_halt() local
925 static void aspeed_udc_isr(struct aspeed_udc_priv *udc) in aspeed_udc_isr()
1127 struct aspeed_udc_priv *udc = dev_get_priv(dev); in dm_usb_gadget_handle_interrupts() local
1134 static int udc_init(struct aspeed_udc_priv *udc) in udc_init()
1169 struct aspeed_udc_priv *udc = dev_get_priv(dev); in aspeed_udc_probe() local
1230 struct aspeed_udc_priv *udc = dev_get_priv(dev); in aspeed_udc_ofdata_to_platdata() local
[all …]
/openbmc/linux/drivers/usb/usbip/
H A Dvudc_dev.c90 static void stop_activity(struct vudc *udc) in stop_activity()
129 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_get_frame() local
196 struct vudc *udc = usb_gadget_to_vudc(g); in vgadget_udc_start() local
209 struct vudc *udc = usb_gadget_to_vudc(g); in vgadget_udc_stop() local
233 struct vudc *udc; in vep_enable() local
263 struct vudc *udc; in vep_disable() local
313 struct vudc *udc; in vep_queue() local
337 struct vudc *udc; in vep_dequeue() local
373 struct vudc *udc; in vep_set_halt_and_wedge() local
515 static int init_vudc_hw(struct vudc *udc) in init_vudc_hw()
[all …]
H A Dvudc_transfer.c58 static int handle_control_request(struct vudc *udc, struct urb *urb, in handle_control_request()
183 static int transfer(struct vudc *udc, in transfer()
304 struct vudc *udc = from_timer(udc, t, tr_timer.timer); in v_timer() local
446 void v_init_timer(struct vudc *udc) in v_init_timer()
454 void v_start_timer(struct vudc *udc) in v_start_timer()
472 void v_kick_timer(struct vudc *udc, unsigned long time) in v_kick_timer()
489 void v_stop_timer(struct vudc *udc) in v_stop_timer()
H A Dvudc_tx.c38 static int v_send_ret_unlink(struct vudc *udc, struct v_unlink *unlink) in v_send_ret_unlink()
73 static int v_send_ret_submit(struct vudc *udc, struct urbp *urb_p) in v_send_ret_submit()
184 static int v_send_ret(struct vudc *udc) in v_send_ret()
224 struct vudc *udc = container_of(ud, struct vudc, ud); in v_tx_loop() local
244 void v_enqueue_ret_unlink(struct vudc *udc, __u32 seqnum, __u32 status) in v_enqueue_ret_unlink()
270 void v_enqueue_ret_submit(struct vudc *udc, struct urbp *urb_p) in v_enqueue_ret_submit()
H A Dvudc_sysfs.c23 int get_gadget_descs(struct vudc *udc) in get_gadget_descs()
74 struct vudc *udc = (struct vudc *)dev_get_drvdata(dev); in dev_desc_read() local
97 struct vudc *udc = (struct vudc *) dev_get_drvdata(dev); in usbip_sockfd_store() local
234 struct vudc *udc = (struct vudc *) dev_get_drvdata(dev); in usbip_status_show() local
/openbmc/u-boot/drivers/usb/gadget/udc/
H A Dudc-core.c130 static inline int usb_gadget_udc_start(struct usb_udc *udc) in usb_gadget_udc_start()
147 static inline void usb_gadget_udc_stop(struct usb_udc *udc) in usb_gadget_udc_stop()
161 struct usb_udc *udc; in usb_udc_release() local
179 struct usb_udc *udc; in usb_add_gadget_udc_release() local
223 static void usb_gadget_remove_driver(struct usb_udc *udc) in usb_gadget_remove_driver()
245 struct usb_udc *udc = NULL; in usb_del_gadget_udc() local
270 static int udc_bind_to_driver(struct usb_udc *udc, struct usb_gadget_driver *driver) in udc_bind_to_driver()
300 struct usb_udc *udc = NULL; in usb_gadget_probe_driver() local
331 struct usb_udc *udc = NULL; in usb_gadget_unregister_driver() local

123