/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 62 #define _nbu2ss_zero_len_pkt(udc, epnum) \ argument 103 static void _nbu2ss_dump_register(struct nbu2ss_udc *udc) in _nbu2ss_dump_register() 148 struct nbu2ss_udc *udc; in _nbu2ss_ep0_complete() local 174 struct nbu2ss_udc *udc, in _nbu2ss_create_ep0_packet() 191 static u32 _nbu2ss_get_begin_ram_address(struct nbu2ss_udc *udc) in _nbu2ss_get_begin_ram_address() 222 static int _nbu2ss_ep_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_init() 297 static int _nbu2ss_epn_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_epn_exit() 345 static void _nbu2ss_ep_dma_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_init() 385 static void _nbu2ss_ep_dma_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_exit() 418 static void _nbu2ss_ep_dma_abort(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_abort() [all …]
|
/drivers/usb/gadget/udc/ |
D | mv_udc_core.c | 75 static void ep0_reset(struct mv_udc *udc) in ep0_reset() 113 static void ep0_stall(struct mv_udc *udc) in ep0_stall() 127 static int process_ep_req(struct mv_udc *udc, int index, in process_ep_req() 216 struct mv_udc *udc = NULL; in done() local 259 struct mv_udc *udc; in queue_dtd() local 344 struct mv_udc *udc; in build_dtd() local 443 struct mv_udc *udc; in mv_ep_enable() local 563 struct mv_udc *udc; in mv_ep_disable() local 630 struct mv_udc *udc; in mv_ep_fifo_flush() local 694 struct mv_udc *udc = ep->udc; in mv_ep_queue() local [all …]
|
D | atmel_usba_udc.c | 143 struct usba_udc *udc; in regs_dbg_open() local 205 static void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs() 259 static void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs() 292 static void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs() 301 static inline void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs() 312 static inline void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs() 317 static inline void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs() 323 static inline u32 usba_int_enb_get(struct usba_udc *udc) in usba_int_enb_get() 328 static inline void usba_int_enb_set(struct usba_udc *udc, u32 val) in usba_int_enb_set() 334 static int vbus_is_present(struct usba_udc *udc) in vbus_is_present() [all …]
|
D | at91_udc.c | 93 #define at91_udp_read(udc, reg) \ argument 95 #define at91_udp_write(udc, reg, val) \ argument 118 struct at91_udc *udc = ep->udc; in proc_ep_show() local 188 struct at91_udc *udc = s->private; in proc_udc_show() local 254 static void create_debug_file(struct at91_udc *udc) in create_debug_file() 259 static void remove_debug_file(struct at91_udc *udc) in remove_debug_file() 267 static inline void create_debug_file(struct at91_udc *udc) {} in create_debug_file() 268 static inline void remove_debug_file(struct at91_udc *udc) {} in remove_debug_file() 278 struct at91_udc *udc = ep->udc; in done() local 491 struct at91_udc *udc; in at91_ep_enable() local [all …]
|
D | fsl_qe_udc.c | 82 struct qe_udc *udc = ep->udc; in done() local 150 struct qe_udc *udc = ep->udc; in qe_eprx_stall_change() local 167 struct qe_udc *udc = ep->udc; in qe_eptx_stall_change() local 181 static int qe_ep0_stall(struct qe_udc *udc) in qe_ep0_stall() 193 struct qe_udc *udc = ep->udc; in qe_eprx_nack() local 211 struct qe_udc *udc = ep->udc; in qe_eprx_normal() local 256 struct qe_udc *udc = ep->udc; in qe_ep_flushtxfifo() local 276 struct qe_udc *udc = ep->udc; in qe_ep_filltxfifo() local 283 static int qe_epbds_reset(struct qe_udc *udc, int pipe_num) in qe_epbds_reset() 315 static int qe_ep_reset(struct qe_udc *udc, int pipe_num) in qe_ep_reset() [all …]
|
D | bcm63xx_udc.c | 220 struct bcm63xx_udc *udc; member 245 struct bcm63xx_udc *udc; member 362 static inline u32 usbd_readl(struct bcm63xx_udc *udc, u32 off) in usbd_readl() 367 static inline void usbd_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usbd_writel() 372 static inline u32 usb_dma_readl(struct bcm63xx_udc *udc, u32 off) in usb_dma_readl() 377 static inline void usb_dma_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usb_dma_writel() 382 static inline u32 usb_dmac_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmac_readl() 388 static inline void usb_dmac_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmac_writel() 395 static inline u32 usb_dmas_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmas_readl() 401 static inline void usb_dmas_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmas_writel() [all …]
|
D | lpc32xx_udc.c | 115 struct lpc32xx_udc *udc; member 511 struct lpc32xx_udc *udc = s->private; in proc_udc_show() local 551 static void create_debug_file(struct lpc32xx_udc *udc) in create_debug_file() 556 static void remove_debug_file(struct lpc32xx_udc *udc) in remove_debug_file() 562 static inline void create_debug_file(struct lpc32xx_udc *udc) {} in create_debug_file() 563 static inline void remove_debug_file(struct lpc32xx_udc *udc) {} in remove_debug_file() 567 static void isp1301_udc_configure(struct lpc32xx_udc *udc) in isp1301_udc_configure() 638 static void isp1301_pullup_set(struct lpc32xx_udc *udc) in isp1301_pullup_set() 653 struct lpc32xx_udc *udc = in pullup_work() local 659 static void isp1301_pullup_enable(struct lpc32xx_udc *udc, int en_pullup, in isp1301_pullup_enable() [all …]
|
D | pxa27x_udc.c | 96 struct pxa_udc *udc = s->private; in state_dbg_show() local 141 struct pxa_udc *udc = s->private; in queues_dbg_show() local 173 struct pxa_udc *udc = s->private; in eps_dbg_show() local 246 static void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs() 282 static void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs() 295 static inline void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs() 299 static inline void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs() 354 static struct pxa_ep *find_pxa_ep(struct pxa_udc *udc, in find_pxa_ep() 384 static void update_pxa_ep_matches(struct pxa_udc *udc) in update_pxa_ep_matches() 402 struct pxa_udc *udc = ep->dev; in pio_irq_enable() local [all …]
|
D | udc-xilinx.c | 148 struct xusb_udc *udc; member 263 static void xudc_wrstatus(struct xusb_udc *udc) in xudc_wrstatus() 283 static void xudc_epconfig(struct xusb_ep *ep, struct xusb_udc *udc) in xudc_epconfig() 323 struct xusb_udc *udc = ep->udc; in xudc_start_dma() local 386 struct xusb_udc *udc = ep->udc; in xudc_dma_send() local 440 struct xusb_udc *udc = ep->udc; in xudc_dma_receive() local 489 struct xusb_udc *udc = ep->udc; in xudc_eptxrx() local 553 struct xusb_udc *udc = ep->udc; in xudc_done() local 594 struct xusb_udc *udc = ep->udc; in xudc_read_fifo() local 682 struct xusb_udc *udc = ep->udc; in xudc_write_fifo() local [all …]
|
D | fsl_udc_core.c | 165 struct fsl_udc *udc = NULL; in done() local 231 static int dr_controller_setup(struct fsl_udc *udc) in dr_controller_setup() 355 static void dr_controller_run(struct fsl_udc *udc) in dr_controller_run() 380 static void dr_controller_stop(struct fsl_udc *udc) in dr_controller_stop() 485 static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num, in struct_ep_qh_setup() 521 static void ep0_setup(struct fsl_udc *udc) in ep0_setup() 549 struct fsl_udc *udc = NULL; in fsl_ep_enable() local 637 struct fsl_udc *udc = NULL; in fsl_ep_disable() local 876 struct fsl_udc *udc; in fsl_ep_queue() local 1012 struct fsl_udc *udc = NULL; in fsl_ep_set_halt() local [all …]
|
D | core.c | 965 struct usb_udc *udc = gadget->udc; in usb_gadget_state_work() local 981 static void usb_udc_connect_control(struct usb_udc *udc) in usb_udc_connect_control() 1000 struct usb_udc *udc = gadget->udc; in usb_udc_vbus_handler() local 1039 static inline int usb_gadget_udc_start(struct usb_udc *udc) in usb_gadget_udc_start() 1056 static inline void usb_gadget_udc_stop(struct usb_udc *udc) in usb_gadget_udc_stop() 1070 struct usb_udc *udc; in usb_udc_release() local 1085 static int check_pending_gadget_drivers(struct usb_udc *udc) in check_pending_gadget_drivers() 1114 struct usb_udc *udc; in usb_add_gadget_udc_release() local 1199 struct usb_udc *udc; in usb_get_gadget_udc_name() local 1229 static void usb_gadget_remove_driver(struct usb_udc *udc) in usb_gadget_remove_driver() [all …]
|
D | amd5536udc.h | 522 struct udc { struct 526 struct udc_ep ep[UDC_EP_NUM]; argument 541 struct udc_csrs __iomem *csr; argument 542 struct udc_regs __iomem *regs; argument 543 struct udc_ep_regs __iomem *ep_regs; argument 562 #define to_amd5536_udc(g) (container_of((g), struct udc, gadget)) argument 606 #define DBG(udc , args...) dev_dbg(&(udc)->pdev->dev, args) argument 611 #define VDBG(udc , args...) do {} while (0) argument
|
D | omap_udc.c | 150 struct omap_udc *udc; in omap_ep_enable() local 294 struct omap_udc *udc = ep->udc; in done() local 637 static void dma_irq(struct omap_udc *udc, u16 irq_src) in dma_irq() 871 struct omap_udc *udc; in omap_ep_queue() local 1140 struct omap_udc *udc; in omap_wakeup() local 1170 struct omap_udc *udc; in omap_set_selfpowered() local 1188 static int can_pullup(struct omap_udc *udc) in can_pullup() 1193 static void pullup_enable(struct omap_udc *udc) in pullup_enable() 1210 static void pullup_disable(struct omap_udc *udc) in pullup_disable() 1227 static struct omap_udc *udc; variable [all …]
|
D | s3c2410_udc.c | 269 static void s3c2410_udc_nuke(struct s3c2410_udc *udc, in s3c2410_udc_nuke() 1293 struct s3c2410_udc *udc; in s3c2410_udc_dequeue() local 1431 struct s3c2410_udc *udc = to_s3c2410_udc(gadget); in s3c2410_udc_set_selfpowered() local 1447 static int s3c2410_udc_set_pullup(struct s3c2410_udc *udc, int is_on) in s3c2410_udc_set_pullup() 1473 struct s3c2410_udc *udc = to_s3c2410_udc(gadget); in s3c2410_udc_vbus_session() local 1484 struct s3c2410_udc *udc = to_s3c2410_udc(gadget); in s3c2410_udc_pullup() local 1651 struct s3c2410_udc *udc = to_s3c2410(g); in s3c2410_udc_start() local 1666 struct s3c2410_udc *udc = to_s3c2410(g); in s3c2410_udc_stop() local 1765 struct s3c2410_udc *udc = &memory; in s3c2410_udc_probe() local 1916 struct s3c2410_udc *udc = platform_get_drvdata(pdev); in s3c2410_udc_remove() local
|
D | pxa25x_udc.c | 1132 struct pxa25x_udc *udc; in pxa25x_udc_wakeup() local 1150 static int pullup(struct pxa25x_udc *udc) in pullup() 1182 struct pxa25x_udc *udc; in pxa25x_udc_vbus_session() local 1194 struct pxa25x_udc *udc; in pxa25x_udc_pullup() local 1213 struct pxa25x_udc *udc; in pxa25x_udc_vbus_draw() local 2518 struct pxa25x_udc *udc = platform_get_drvdata(dev); in pxa25x_udc_suspend() local 2534 struct pxa25x_udc *udc = platform_get_drvdata(dev); in pxa25x_udc_resume() local
|
D | atmel_usba_udc.h | 204 #define usba_readl(udc, reg) \ argument 206 #define usba_writel(udc, reg, value) \ argument 285 struct usba_udc *udc; member
|
/drivers/usb/isp1760/ |
D | isp1760-udc.c | 51 static inline u32 isp1760_udc_read(struct isp1760_udc *udc, u16 reg) in isp1760_udc_read() 56 static inline void isp1760_udc_write(struct isp1760_udc *udc, u16 reg, u32 val) in isp1760_udc_write() 65 static struct isp1760_ep *isp1760_udc_find_ep(struct isp1760_udc *udc, in isp1760_udc_find_ep() 107 struct isp1760_udc *udc = ep->udc; in isp1760_udc_ctrl_send_status() local 130 struct isp1760_udc *udc = ep->udc; in isp1760_udc_request_complete() local 155 struct isp1760_udc *udc = ep->udc; in isp1760_udc_ctrl_send_stall() local 182 struct isp1760_udc *udc = ep->udc; in isp1760_udc_receive() local 248 struct isp1760_udc *udc = ep->udc; in isp1760_udc_transmit() local 283 struct isp1760_udc *udc = ep->udc; in isp1760_ep_rx_ready() local 323 struct isp1760_udc *udc = ep->udc; in isp1760_ep_tx_complete() local [all …]
|
D | isp1760-core.h | 49 struct isp1760_udc udc; member
|
D | isp1760-udc.h | 34 struct isp1760_udc *udc; member
|
/drivers/usb/usbip/ |
D | vudc_dev.c | 85 static void nuke(struct vudc *udc, struct vep *ep) in nuke() 102 static void stop_activity(struct vudc *udc) in stop_activity() 118 struct vep *vudc_find_endpoint(struct vudc *udc, u8 address) in vudc_find_endpoint() 142 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_get_frame() local 152 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_set_selfpowered() local 163 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_pullup() local 209 struct vudc *udc = usb_gadget_to_vudc(g); in vgadget_udc_start() local 222 struct vudc *udc = usb_gadget_to_vudc(g); in vgadget_udc_stop() local 246 struct vudc *udc; in vep_enable() local 276 struct vudc *udc; in vep_disable() local [all …]
|
D | vudc_transfer.c | 70 static int handle_control_request(struct vudc *udc, struct urb *urb, in handle_control_request() 195 static int transfer(struct vudc *udc, in transfer() 316 struct vudc *udc = (struct vudc *) _vudc; in v_timer() local 458 void v_init_timer(struct vudc *udc) in v_init_timer() 466 void v_start_timer(struct vudc *udc) in v_start_timer() 484 void v_kick_timer(struct vudc *udc, unsigned long time) in v_kick_timer() 501 void v_stop_timer(struct vudc *udc) in v_stop_timer()
|
D | vudc_tx.c | 50 static int v_send_ret_unlink(struct vudc *udc, struct v_unlink *unlink) in v_send_ret_unlink() 85 static int v_send_ret_submit(struct vudc *udc, struct urbp *urb_p) in v_send_ret_submit() 196 static int v_send_ret(struct vudc *udc) in v_send_ret() 236 struct vudc *udc = container_of(ud, struct vudc, ud); in v_tx_loop() local 256 void v_enqueue_ret_unlink(struct vudc *udc, __u32 seqnum, __u32 status) in v_enqueue_ret_unlink() 282 void v_enqueue_ret_submit(struct vudc *udc, struct urbp *urb_p) in v_enqueue_ret_submit()
|
D | vudc_sysfs.c | 35 int get_gadget_descs(struct vudc *udc) in get_gadget_descs() 86 struct vudc *udc = (struct vudc *)dev_get_drvdata(dev); in dev_desc_read() local 108 struct vudc *udc = (struct vudc *) dev_get_drvdata(dev); in store_sockfd() local 204 struct vudc *udc = (struct vudc *) dev_get_drvdata(dev); in usbip_status_show() local
|
D | vudc_rx.c | 74 static int v_recv_cmd_unlink(struct vudc *udc, in v_recv_cmd_unlink() 100 static int v_recv_cmd_submit(struct vudc *udc, in v_recv_cmd_submit() 203 struct vudc *udc = container_of(ud, struct vudc, ud); in v_rx_pdu() local
|
D | vudc.h | 53 struct vudc *udc; member
|