Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-6.6/drivers/usb/isp1760/
Disp1760-udc.c50 static u32 isp1760_udc_read(struct isp1760_udc *udc, u16 field) in isp1760_udc_read()
55 static void isp1760_udc_write(struct isp1760_udc *udc, u16 field, u32 val) in isp1760_udc_write()
60 static u32 isp1760_udc_read_raw(struct isp1760_udc *udc, u16 reg) in isp1760_udc_read_raw()
69 static u16 isp1760_udc_read_raw16(struct isp1760_udc *udc, u16 reg) in isp1760_udc_read_raw16()
78 static void isp1760_udc_write_raw(struct isp1760_udc *udc, u16 reg, u32 val) in isp1760_udc_write_raw()
85 static void isp1760_udc_write_raw16(struct isp1760_udc *udc, u16 reg, u16 val) in isp1760_udc_write_raw16()
92 static void isp1760_udc_set(struct isp1760_udc *udc, u32 field) in isp1760_udc_set()
97 static void isp1760_udc_clear(struct isp1760_udc *udc, u32 field) in isp1760_udc_clear()
102 static bool isp1760_udc_is_set(struct isp1760_udc *udc, u32 field) in isp1760_udc_is_set()
110 static struct isp1760_ep *isp1760_udc_find_ep(struct isp1760_udc *udc, in isp1760_udc_find_ep()
[all …]
/kernel/linux/linux-6.6/drivers/staging/emxx_udc/
Demxx_udc.c56 #define _nbu2ss_zero_len_pkt(udc, epnum) \ argument
97 static void _nbu2ss_dump_register(struct nbu2ss_udc *udc) in _nbu2ss_dump_register()
139 struct nbu2ss_udc *udc; in _nbu2ss_ep0_complete() local
164 static void _nbu2ss_create_ep0_packet(struct nbu2ss_udc *udc, in _nbu2ss_create_ep0_packet()
179 static u32 _nbu2ss_get_begin_ram_address(struct nbu2ss_udc *udc) in _nbu2ss_get_begin_ram_address()
210 static int _nbu2ss_ep_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_init()
285 static int _nbu2ss_epn_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_epn_exit()
333 static void _nbu2ss_ep_dma_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_init()
373 static void _nbu2ss_ep_dma_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_exit()
406 static void _nbu2ss_ep_dma_abort(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_abort()
[all …]
/kernel/linux/linux-5.10/drivers/staging/emxx_udc/
Demxx_udc.c54 #define _nbu2ss_zero_len_pkt(udc, epnum) \ argument
95 static void _nbu2ss_dump_register(struct nbu2ss_udc *udc) in _nbu2ss_dump_register()
137 struct nbu2ss_udc *udc; in _nbu2ss_ep0_complete() local
162 static void _nbu2ss_create_ep0_packet(struct nbu2ss_udc *udc, in _nbu2ss_create_ep0_packet()
177 static u32 _nbu2ss_get_begin_ram_address(struct nbu2ss_udc *udc) in _nbu2ss_get_begin_ram_address()
208 static int _nbu2ss_ep_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_init()
283 static int _nbu2ss_epn_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_epn_exit()
331 static void _nbu2ss_ep_dma_init(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_init()
371 static void _nbu2ss_ep_dma_exit(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_exit()
404 static void _nbu2ss_ep_dma_abort(struct nbu2ss_udc *udc, struct nbu2ss_ep *ep) in _nbu2ss_ep_dma_abort()
[all …]
/kernel/linux/linux-5.10/drivers/usb/isp1760/
Disp1760-udc.c48 static inline u32 isp1760_udc_read(struct isp1760_udc *udc, u16 reg) in isp1760_udc_read()
53 static inline void isp1760_udc_write(struct isp1760_udc *udc, u16 reg, u32 val) in isp1760_udc_write()
62 static struct isp1760_ep *isp1760_udc_find_ep(struct isp1760_udc *udc, in isp1760_udc_find_ep()
104 struct isp1760_udc *udc = ep->udc; in isp1760_udc_ctrl_send_status() local
127 struct isp1760_udc *udc = ep->udc; in isp1760_udc_request_complete() local
152 struct isp1760_udc *udc = ep->udc; in isp1760_udc_ctrl_send_stall() local
179 struct isp1760_udc *udc = ep->udc; in isp1760_udc_receive() local
245 struct isp1760_udc *udc = ep->udc; in isp1760_udc_transmit() local
280 struct isp1760_udc *udc = ep->udc; in isp1760_ep_rx_ready() local
320 struct isp1760_udc *udc = ep->udc; in isp1760_ep_tx_complete() local
[all …]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
Dmv_udc_core.c69 static void ep0_reset(struct mv_udc *udc) in ep0_reset()
107 static void ep0_stall(struct mv_udc *udc) in ep0_stall()
121 static int process_ep_req(struct mv_udc *udc, int index, in process_ep_req()
210 struct mv_udc *udc = NULL; in done() local
253 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
686 struct mv_udc *udc = ep->udc; in mv_ep_queue() local
[all …]
Dat91_udc.c89 #define at91_udp_read(udc, reg) \ argument
91 #define at91_udp_write(udc, reg, val) \ argument
114 struct at91_udc *udc = ep->udc; in proc_ep_show() local
184 struct at91_udc *udc = s->private; in proc_udc_show() local
237 static void create_debug_file(struct at91_udc *udc) in create_debug_file()
243 static void remove_debug_file(struct at91_udc *udc) in remove_debug_file()
251 static inline void create_debug_file(struct at91_udc *udc) {} in create_debug_file()
252 static inline void remove_debug_file(struct at91_udc *udc) {} in remove_debug_file()
262 struct at91_udc *udc = ep->udc; in done() local
475 struct at91_udc *udc; in at91_ep_enable() local
[all …]
Datmel_usba_udc.c142 struct usba_udc *udc; in regs_dbg_open() local
204 static void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs()
225 static void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs()
245 static void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs()
251 static inline void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs()
262 static inline void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs()
267 static inline void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs()
324 static int usba_config_fifo_table(struct usba_udc *udc) in usba_config_fifo_table()
358 static inline u32 usba_int_enb_get(struct usba_udc *udc) in usba_int_enb_get()
363 static inline void usba_int_enb_set(struct usba_udc *udc, u32 mask) in usba_int_enb_set()
[all …]
Dbcm63xx_udc.c217 struct bcm63xx_udc *udc; member
242 struct bcm63xx_udc *udc; member
352 static inline u32 usbd_readl(struct bcm63xx_udc *udc, u32 off) in usbd_readl()
357 static inline void usbd_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usbd_writel()
362 static inline u32 usb_dma_readl(struct bcm63xx_udc *udc, u32 off) in usb_dma_readl()
367 static inline void usb_dma_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usb_dma_writel()
372 static inline u32 usb_dmac_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmac_readl()
378 static inline void usb_dmac_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmac_writel()
385 static inline u32 usb_dmas_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmas_readl()
391 static inline void usb_dmas_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmas_writel()
[all …]
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
163 struct qe_udc *udc = ep->udc; in qe_eptx_stall_change() local
177 static int qe_ep0_stall(struct qe_udc *udc) in qe_ep0_stall()
189 struct qe_udc *udc = ep->udc; in qe_eprx_nack() local
207 struct qe_udc *udc = ep->udc; in qe_eprx_normal() local
252 struct qe_udc *udc = ep->udc; in qe_ep_flushtxfifo() local
272 struct qe_udc *udc = ep->udc; in qe_ep_filltxfifo() local
279 static int qe_epbds_reset(struct qe_udc *udc, int pipe_num) in qe_epbds_reset()
311 static int qe_ep_reset(struct qe_udc *udc, int pipe_num) in qe_ep_reset()
[all …]
Dlpc32xx_udc.c101 struct lpc32xx_udc *udc; member
499 struct lpc32xx_udc *udc = s->private; in udc_show() local
528 static void create_debug_file(struct lpc32xx_udc *udc) in create_debug_file()
533 static void remove_debug_file(struct lpc32xx_udc *udc) in remove_debug_file()
539 static inline void create_debug_file(struct lpc32xx_udc *udc) {} in create_debug_file()
540 static inline void remove_debug_file(struct lpc32xx_udc *udc) {} in remove_debug_file()
544 static void isp1301_udc_configure(struct lpc32xx_udc *udc) in isp1301_udc_configure()
623 static void isp1301_pullup_set(struct lpc32xx_udc *udc) in isp1301_pullup_set()
638 struct lpc32xx_udc *udc = in pullup_work() local
644 static void isp1301_pullup_enable(struct lpc32xx_udc *udc, int en_pullup, in isp1301_pullup_enable()
[all …]
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
206 static void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs()
216 static void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs()
222 static inline void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs()
226 static inline void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs()
281 static struct pxa_ep *find_pxa_ep(struct pxa_udc *udc, in find_pxa_ep()
311 static void update_pxa_ep_matches(struct pxa_udc *udc) in update_pxa_ep_matches()
329 struct pxa_udc *udc = ep->dev; in pio_irq_enable() local
[all …]
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
Dfsl_udc_core.c158 struct fsl_udc *udc = NULL; in done() local
224 static int dr_controller_setup(struct fsl_udc *udc) in dr_controller_setup()
347 static void dr_controller_run(struct fsl_udc *udc) in dr_controller_run()
372 static void dr_controller_stop(struct fsl_udc *udc) in dr_controller_stop()
477 static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num, in struct_ep_qh_setup()
513 static void ep0_setup(struct fsl_udc *udc) in ep0_setup()
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
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dmv_udc_core.c69 static void ep0_reset(struct mv_udc *udc) in ep0_reset()
107 static void ep0_stall(struct mv_udc *udc) in ep0_stall()
121 static int process_ep_req(struct mv_udc *udc, int index, in process_ep_req()
210 struct mv_udc *udc = NULL; in done() local
253 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
686 struct mv_udc *udc = ep->udc; in mv_ep_queue() local
[all …]
Dat91_udc.c89 #define at91_udp_read(udc, reg) \ argument
91 #define at91_udp_write(udc, reg, val) \ argument
114 struct at91_udc *udc = ep->udc; in proc_ep_show() local
184 struct at91_udc *udc = s->private; in proc_udc_show() local
237 static void create_debug_file(struct at91_udc *udc) in create_debug_file()
243 static void remove_debug_file(struct at91_udc *udc) in remove_debug_file()
251 static inline void create_debug_file(struct at91_udc *udc) {} in create_debug_file()
252 static inline void remove_debug_file(struct at91_udc *udc) {} in remove_debug_file()
262 struct at91_udc *udc = ep->udc; in done() local
475 struct at91_udc *udc; in at91_ep_enable() local
[all …]
Datmel_usba_udc.c142 struct usba_udc *udc; in regs_dbg_open() local
204 static void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs()
225 static void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs()
245 static void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs()
251 static inline void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs()
262 static inline void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs()
267 static inline void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs()
324 static int usba_config_fifo_table(struct usba_udc *udc) in usba_config_fifo_table()
358 static inline u32 usba_int_enb_get(struct usba_udc *udc) in usba_int_enb_get()
363 static inline void usba_int_enb_set(struct usba_udc *udc, u32 mask) in usba_int_enb_set()
[all …]
Dbcm63xx_udc.c217 struct bcm63xx_udc *udc; member
242 struct bcm63xx_udc *udc; member
355 static inline u32 usbd_readl(struct bcm63xx_udc *udc, u32 off) in usbd_readl()
360 static inline void usbd_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usbd_writel()
365 static inline u32 usb_dma_readl(struct bcm63xx_udc *udc, u32 off) in usb_dma_readl()
370 static inline void usb_dma_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usb_dma_writel()
375 static inline u32 usb_dmac_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmac_readl()
381 static inline void usb_dmac_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmac_writel()
388 static inline u32 usb_dmas_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmas_readl()
394 static inline void usb_dmas_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmas_writel()
[all …]
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
163 struct qe_udc *udc = ep->udc; in qe_eptx_stall_change() local
177 static int qe_ep0_stall(struct qe_udc *udc) in qe_ep0_stall()
189 struct qe_udc *udc = ep->udc; in qe_eprx_nack() local
207 struct qe_udc *udc = ep->udc; in qe_eprx_normal() local
252 struct qe_udc *udc = ep->udc; in qe_ep_flushtxfifo() local
272 struct qe_udc *udc = ep->udc; in qe_ep_filltxfifo() local
279 static int qe_epbds_reset(struct qe_udc *udc, int pipe_num) in qe_epbds_reset()
311 static int qe_ep_reset(struct qe_udc *udc, int pipe_num) in qe_ep_reset()
[all …]
Dlpc32xx_udc.c101 struct lpc32xx_udc *udc; member
500 struct lpc32xx_udc *udc = s->private; in udc_show() local
529 static void create_debug_file(struct lpc32xx_udc *udc) in create_debug_file()
534 static void remove_debug_file(struct lpc32xx_udc *udc) in remove_debug_file()
540 static inline void create_debug_file(struct lpc32xx_udc *udc) {} in create_debug_file()
541 static inline void remove_debug_file(struct lpc32xx_udc *udc) {} in remove_debug_file()
545 static void isp1301_udc_configure(struct lpc32xx_udc *udc) in isp1301_udc_configure()
624 static void isp1301_pullup_set(struct lpc32xx_udc *udc) in isp1301_pullup_set()
639 struct lpc32xx_udc *udc = in pullup_work() local
645 static void isp1301_pullup_enable(struct lpc32xx_udc *udc, int en_pullup, in isp1301_pullup_enable()
[all …]
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
206 static void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs()
218 static void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs()
224 static inline void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs()
228 static inline void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs()
283 static struct pxa_ep *find_pxa_ep(struct pxa_udc *udc, in find_pxa_ep()
313 static void update_pxa_ep_matches(struct pxa_udc *udc) in update_pxa_ep_matches()
331 struct pxa_udc *udc = ep->dev; in pio_irq_enable() local
[all …]
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
263 struct udc *udc; in udc_plat_suspend() local
280 struct udc *udc; in udc_plat_resume() local
Dudc-xilinx.c143 struct xusb_udc *udc; member
258 static void xudc_wrstatus(struct xusb_udc *udc) in xudc_wrstatus()
278 static void xudc_epconfig(struct xusb_ep *ep, struct xusb_udc *udc) in xudc_epconfig()
318 struct xusb_udc *udc = ep->udc; in xudc_start_dma() local
381 struct xusb_udc *udc = ep->udc; in xudc_dma_send() local
435 struct xusb_udc *udc = ep->udc; in xudc_dma_receive() local
484 struct xusb_udc *udc = ep->udc; in xudc_eptxrx() local
552 struct xusb_udc *udc = ep->udc; in xudc_done() local
593 struct xusb_udc *udc = ep->udc; in xudc_read_fifo() local
681 struct xusb_udc *udc = ep->udc; in xudc_write_fifo() local
[all …]
Dfsl_udc_core.c160 struct fsl_udc *udc = NULL; in done() local
226 static int dr_controller_setup(struct fsl_udc *udc) in dr_controller_setup()
351 static void dr_controller_run(struct fsl_udc *udc) in dr_controller_run()
376 static void dr_controller_stop(struct fsl_udc *udc) in dr_controller_stop()
481 static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num, in struct_ep_qh_setup()
517 static void ep0_setup(struct fsl_udc *udc) in ep0_setup()
545 struct fsl_udc *udc = NULL; in fsl_ep_enable() local
632 struct fsl_udc *udc = NULL; in fsl_ep_disable() local
871 struct fsl_udc *udc; in fsl_ep_queue() local
1007 struct fsl_udc *udc = NULL; in fsl_ep_set_halt() local
[all …]
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvudc_dev.c73 static void nuke(struct vudc *udc, struct vep *ep) in nuke()
90 static void stop_activity(struct vudc *udc) in stop_activity()
106 struct vep *vudc_find_endpoint(struct vudc *udc, u8 address) in vudc_find_endpoint()
129 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_get_frame() local
139 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_set_selfpowered() local
150 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_pullup() 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
[all …]
/kernel/linux/linux-6.6/drivers/usb/usbip/
Dvudc_dev.c73 static void nuke(struct vudc *udc, struct vep *ep) in nuke()
90 static void stop_activity(struct vudc *udc) in stop_activity()
106 struct vep *vudc_find_endpoint(struct vudc *udc, u8 address) in vudc_find_endpoint()
129 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_get_frame() local
139 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_set_selfpowered() local
150 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_pullup() 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
[all …]

1234