Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/gadget/udc/
Dmv_udc_core.c75 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()
217 struct mv_udc *udc = NULL; in done() local
260 struct mv_udc *udc; in queue_dtd() local
345 struct mv_udc *udc; in build_dtd() local
415 struct mv_udc *udc; in req_to_dtd() local
447 struct mv_udc *udc; in mv_ep_enable() local
567 struct mv_udc *udc; in mv_ep_disable() local
635 struct mv_udc *udc; in mv_ep_fifo_flush() local
[all …]
Datmel_usba_udc.c141 struct usba_udc *udc; in regs_dbg_open() local
203 static void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs()
257 static void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs()
290 static void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs()
299 static inline void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs()
310 static inline void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs()
315 static inline void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs()
321 static inline u32 usba_int_enb_get(struct usba_udc *udc) in usba_int_enb_get()
326 static inline void usba_int_enb_set(struct usba_udc *udc, u32 val) in usba_int_enb_set()
332 static int vbus_is_present(struct usba_udc *udc) in vbus_is_present()
[all …]
Dat91_udc.c93 #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 …]
Dfsl_qe_udc.c82 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 …]
Dbcm63xx_udc.c221 struct bcm63xx_udc *udc; member
246 struct bcm63xx_udc *udc; member
363 static inline u32 usbd_readl(struct bcm63xx_udc *udc, u32 off) in usbd_readl()
368 static inline void usbd_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usbd_writel()
373 static inline u32 usb_dma_readl(struct bcm63xx_udc *udc, u32 off) in usb_dma_readl()
378 static inline void usb_dma_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usb_dma_writel()
383 static inline u32 usb_dmac_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmac_readl()
389 static inline void usb_dmac_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmac_writel()
396 static inline u32 usb_dmas_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmas_readl()
402 static inline void usb_dmas_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmas_writel()
[all …]
Dpxa27x_udc.c95 struct pxa_udc *udc = s->private; in state_dbg_show() local
140 struct pxa_udc *udc = s->private; in queues_dbg_show() local
172 struct pxa_udc *udc = s->private; in eps_dbg_show() local
245 static void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs()
281 static void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs()
294 static inline void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs()
298 static inline void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs()
353 static struct pxa_ep *find_pxa_ep(struct pxa_udc *udc, in find_pxa_ep()
383 static void update_pxa_ep_matches(struct pxa_udc *udc) in update_pxa_ep_matches()
401 struct pxa_udc *udc = ep->dev; in pio_irq_enable() local
[all …]
Dlpc32xx_udc.c129 struct lpc32xx_udc *udc; member
537 struct lpc32xx_udc *udc = s->private; in proc_udc_show() local
577 static void create_debug_file(struct lpc32xx_udc *udc) in create_debug_file()
582 static void remove_debug_file(struct lpc32xx_udc *udc) in remove_debug_file()
588 static inline void create_debug_file(struct lpc32xx_udc *udc) {} in create_debug_file()
589 static inline void remove_debug_file(struct lpc32xx_udc *udc) {} in remove_debug_file()
593 static void isp1301_udc_configure(struct lpc32xx_udc *udc) in isp1301_udc_configure()
667 static void isp1301_pullup_set(struct lpc32xx_udc *udc) in isp1301_pullup_set()
682 struct lpc32xx_udc *udc = in pullup_work() local
688 static void isp1301_pullup_enable(struct lpc32xx_udc *udc, int en_pullup, in isp1301_pullup_enable()
[all …]
Dudc-core.c227 struct usb_udc *udc = gadget->udc; in usb_gadget_state_work() local
243 static void usb_udc_connect_control(struct usb_udc *udc) in usb_udc_connect_control()
262 struct usb_udc *udc = gadget->udc; in usb_udc_vbus_handler() local
301 static inline int usb_gadget_udc_start(struct usb_udc *udc) in usb_gadget_udc_start()
318 static inline void usb_gadget_udc_stop(struct usb_udc *udc) in usb_gadget_udc_stop()
332 struct usb_udc *udc; in usb_udc_release() local
358 struct usb_udc *udc; in usb_add_gadget_udc_release() local
441 static void usb_gadget_remove_driver(struct usb_udc *udc) in usb_gadget_remove_driver()
467 struct usb_udc *udc = gadget->udc; in usb_del_gadget_udc() local
490 static int udc_bind_to_driver(struct usb_udc *udc, struct usb_gadget_driver *driver) in udc_bind_to_driver()
[all …]
Dudc-xilinx.c148 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 …]
Dfsl_udc_core.c165 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 …]
Damd5536udc.h522 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
Domap_udc.c150 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 …]
Ds3c2410_udc.c269 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
Dpxa25x_udc.c927 static int pullup(struct pxa25x_udc *udc) in pullup()
959 struct pxa25x_udc *udc; in pxa25x_udc_vbus_session() local
971 struct pxa25x_udc *udc; in pxa25x_udc_pullup() local
990 struct pxa25x_udc *udc; in pxa25x_udc_vbus_draw() local
2282 struct pxa25x_udc *udc = platform_get_drvdata(dev); in pxa25x_udc_suspend() local
2298 struct pxa25x_udc *udc = platform_get_drvdata(dev); in pxa25x_udc_resume() local
Datmel_usba_udc.h204 #define usba_readl(udc, reg) \ argument
206 #define usba_writel(udc, reg, value) \ argument
284 struct usba_udc *udc; member
Dat91_udc.h97 struct at91_udc *udc; member
Dpxa27x_udc.h194 #define udc_writel(udc, reg, value) \ argument
408 #define EP0_STNAME(udc) ep0_state_name[(udc)->ep0state] argument
Domap_udc.h155 struct omap_udc *udc; member
Dfsl_usb2_udc.h465 struct fsl_udc *udc; member
579 #define get_ep_by_pipe(udc, pipe) ((pipe == 1)? &udc->eps[0]: \ argument
Damd5536udc.c84 static struct udc *udc; variable
Dmv_udc.h231 struct mv_udc *udc; member
Dfsl_qe_udc.h268 struct qe_udc *udc; member
/linux-4.4.14/drivers/staging/emxx_udc/
Demxx_udc.c61 #define _nbu2ss_zero_len_pkt(udc, epnum) \ argument
102 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 …]
Demxx_udc.h549 struct nbu2ss_udc *udc; member
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-udc.c51 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 …]
Disp1760-core.h49 struct isp1760_udc udc; member
Disp1760-udc.h34 struct isp1760_udc *udc; member
/linux-4.4.14/include/linux/usb/
Dgadget.h622 struct usb_udc *udc; member
/linux-4.4.14/net/bridge/netfilter/
Debtables.c565 unsigned int *n, struct ebt_cl_stack *udc) in ebt_get_udc_positions()