/linux-6.12.1/drivers/usb/isp1760/ |
D | isp1760-udc.c | 50 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 …]
|
D | isp1760-core.c | 32 struct isp1760_udc *udc = &isp->udc; in isp1760_init_core() local 112 struct isp1760_udc *udc = &isp->udc; in isp1760_set_pullup() local 490 struct isp1760_udc *udc; in isp1760_register() local
|
/linux-6.12.1/drivers/usb/gadget/udc/ |
D | mv_udc_core.c | 69 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 …]
|
D | at91_udc.c | 89 #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 …]
|
D | atmel_usba_udc.c | 141 struct usba_udc *udc; in regs_dbg_open() local 202 static void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs() 223 static void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs() 243 static void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs() 249 static inline void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs() 260 static inline void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs() 265 static inline void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs() 322 static int usba_config_fifo_table(struct usba_udc *udc) in usba_config_fifo_table() 356 static inline u32 usba_int_enb_get(struct usba_udc *udc) in usba_int_enb_get() 361 static inline void usba_int_enb_set(struct usba_udc *udc, u32 mask) in usba_int_enb_set() [all …]
|
D | bcm63xx_udc.c | 217 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 …]
|
D | fsl_qe_udc.c | 79 struct qe_udc *udc = ep->udc; in done() local 147 struct qe_udc *udc = ep->udc; in qe_eprx_stall_change() local 164 struct qe_udc *udc = ep->udc; in qe_eptx_stall_change() local 178 static int qe_ep0_stall(struct qe_udc *udc) in qe_ep0_stall() 190 struct qe_udc *udc = ep->udc; in qe_eprx_nack() local 208 struct qe_udc *udc = ep->udc; in qe_eprx_normal() local 253 struct qe_udc *udc = ep->udc; in qe_ep_flushtxfifo() local 273 struct qe_udc *udc = ep->udc; in qe_ep_filltxfifo() local 280 static int qe_epbds_reset(struct qe_udc *udc, int pipe_num) in qe_epbds_reset() 312 static int qe_ep_reset(struct qe_udc *udc, int pipe_num) in qe_ep_reset() [all …]
|
D | lpc32xx_udc.c | 101 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 …]
|
D | pxa27x_udc.c | 91 struct pxa_udc *udc = s->private; in state_dbg_show() local 137 struct pxa_udc *udc = s->private; in queues_dbg_show() local 170 struct pxa_udc *udc = s->private; in eps_dbg_show() local 205 static void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs() 215 static void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs() 221 static inline void pxa_init_debugfs(struct pxa_udc *udc) in pxa_init_debugfs() 225 static inline void pxa_cleanup_debugfs(struct pxa_udc *udc) in pxa_cleanup_debugfs() 280 static struct pxa_ep *find_pxa_ep(struct pxa_udc *udc, in find_pxa_ep() 310 static void update_pxa_ep_matches(struct pxa_udc *udc) in update_pxa_ep_matches() 328 struct pxa_udc *udc = ep->dev; in pio_irq_enable() local [all …]
|
D | fsl_udc_core.c | 158 struct fsl_udc *udc = NULL; in done() local 224 static int dr_controller_setup(struct fsl_udc *udc) in dr_controller_setup() 348 static void dr_controller_run(struct fsl_udc *udc) in dr_controller_run() 373 static void dr_controller_stop(struct fsl_udc *udc) in dr_controller_stop() 478 static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num, in struct_ep_qh_setup() 514 static void ep0_setup(struct fsl_udc *udc) in ep0_setup() 542 struct fsl_udc *udc = NULL; in fsl_ep_enable() local 629 struct fsl_udc *udc = NULL; in fsl_ep_disable() local 871 struct fsl_udc *udc = ep->udc; in fsl_ep_queue() local 1009 struct fsl_udc *udc = NULL; in fsl_ep_set_halt() local [all …]
|
D | udc-xilinx.c | 142 struct xusb_udc *udc; member 259 static void xudc_wrstatus(struct xusb_udc *udc) in xudc_wrstatus() 279 static void xudc_epconfig(struct xusb_ep *ep, struct xusb_udc *udc) in xudc_epconfig() 319 struct xusb_udc *udc = ep->udc; in xudc_start_dma() local 382 struct xusb_udc *udc = ep->udc; in xudc_dma_send() local 436 struct xusb_udc *udc = ep->udc; in xudc_dma_receive() local 485 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 | max3420_udc.c | 157 struct max3420_udc *udc; member 199 static void spi_ack_ctrl(struct max3420_udc *udc) in spi_ack_ctrl() 218 static u8 spi_rd8_ack(struct max3420_udc *udc, u8 reg, int actstat) in spi_rd8_ack() 240 static u8 spi_rd8(struct max3420_udc *udc, u8 reg) in spi_rd8() 245 static void spi_wr8_ack(struct max3420_udc *udc, u8 reg, u8 val, int actstat) in spi_wr8_ack() 266 static void spi_wr8(struct max3420_udc *udc, u8 reg, u8 val) in spi_wr8() 271 static void spi_rd_buf(struct max3420_udc *udc, u8 reg, void *buf, u8 len) in spi_rd_buf() 293 static void spi_wr_buf(struct max3420_udc *udc, u8 reg, void *buf, u8 len) in spi_wr_buf() 316 struct max3420_udc *udc = ep->udc; in spi_max3420_enable() local 348 struct max3420_udc *udc = ep->udc; in spi_max3420_stall() local [all …]
|
D | snps_udc_plat.c | 22 static void start_udc(struct udc *udc) in start_udc() 32 static void stop_udc(struct udc *udc) in stop_udc() 72 struct udc *udc; in udc_drd_work() local 89 struct udc *udc = container_of(self, struct udc, nb); in usbd_connect_notify() local 104 struct udc *udc; in udc_plat_probe() local 254 struct udc *udc; in udc_plat_suspend() local 271 struct udc *udc; in udc_plat_resume() local
|
D | amd5536udc.h | 529 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
|
D | aspeed_udc.c | 182 struct ast_udc_dev *udc; member 269 #define ast_udc_read(udc, offset) \ argument 271 #define ast_udc_write(udc, val, offset) \ argument 284 struct ast_udc_dev *udc = ep->udc; in ast_udc_done() local 329 static void ast_udc_stop_activity(struct ast_udc_dev *udc) in ast_udc_stop_activity() 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 [all …]
|
D | core.c | 1117 struct usb_udc *udc = gadget->udc; in usb_gadget_state_work() local 1134 static int usb_udc_connect_control_locked(struct usb_udc *udc) __must_hold(&udc->connect_lock) in usb_udc_connect_control_locked() 1144 struct usb_udc *udc = container_of(work, struct usb_udc, vbus_work); in vbus_event_work() local 1170 struct usb_udc *udc = gadget->udc; in usb_udc_vbus_handler() local 1211 static inline int usb_gadget_udc_start_locked(struct usb_udc *udc) in usb_gadget_udc_start_locked() 1241 static inline void usb_gadget_udc_stop_locked(struct usb_udc *udc) in usb_gadget_udc_stop_locked() 1263 static inline void usb_gadget_udc_set_speed(struct usb_udc *udc, in usb_gadget_udc_set_speed() 1290 static inline void usb_gadget_enable_async_callbacks(struct usb_udc *udc) in usb_gadget_enable_async_callbacks() 1319 static inline void usb_gadget_disable_async_callbacks(struct usb_udc *udc) in usb_gadget_disable_async_callbacks() 1336 struct usb_udc *udc; in usb_udc_release() local [all …]
|
D | omap_udc.c | 147 struct omap_udc *udc; in omap_ep_enable() local 291 struct omap_udc *udc = ep->udc; in done() local 634 static void dma_irq(struct omap_udc *udc, u16 irq_src) in dma_irq() 868 struct omap_udc *udc; in omap_ep_queue() local 1139 struct omap_udc *udc; in omap_wakeup() local 1169 struct omap_udc *udc; in omap_set_selfpowered() local 1187 static int can_pullup(struct omap_udc *udc) in can_pullup() 1192 static void pullup_enable(struct omap_udc *udc) in pullup_enable() 1209 static void pullup_disable(struct omap_udc *udc) in pullup_disable() 1226 static struct omap_udc *udc; variable [all …]
|
D | renesas_usbf.c | 281 struct usbf_udc *udc; member 426 static inline u32 usbf_reg_readl(struct usbf_udc *udc, uint offset) in usbf_reg_readl() 431 static inline void usbf_reg_writel(struct usbf_udc *udc, uint offset, u32 val) in usbf_reg_writel() 436 static inline void usbf_reg_bitset(struct usbf_udc *udc, uint offset, u32 set) in usbf_reg_bitset() 445 static inline void usbf_reg_bitclr(struct usbf_udc *udc, uint offset, u32 clr) in usbf_reg_bitclr() 454 static inline void usbf_reg_clrset(struct usbf_udc *udc, uint offset, in usbf_reg_clrset() 1832 struct usbf_udc *udc = ep->udc; in usbf_ep_enable() local 1889 struct usbf_udc *udc = ep->udc; in usbf_ep_disable() local 1989 struct usbf_udc *udc = ep->udc; in usbf_ep_queue() local 2194 static struct usbf_ep *usbf_get_ep_by_addr(struct usbf_udc *udc, u8 address) in usbf_get_ep_by_addr() [all …]
|
D | pxa25x_udc.c | 1127 struct pxa25x_udc *udc; in pxa25x_udc_wakeup() local 1145 static int pullup(struct pxa25x_udc *udc) in pullup() 1177 struct pxa25x_udc *udc; in pxa25x_udc_vbus_session() local 1189 struct pxa25x_udc *udc; in pxa25x_udc_pullup() local 1208 struct pxa25x_udc *udc; in pxa25x_udc_vbus_draw() local 2440 struct pxa25x_udc *udc = platform_get_drvdata(dev); in pxa25x_udc_suspend() local 2456 struct pxa25x_udc *udc = platform_get_drvdata(dev); in pxa25x_udc_resume() local
|
D | amd5536udc_pci.c | 49 static struct udc *udc; variable
|
/linux-6.12.1/drivers/usb/usbip/ |
D | vudc_dev.c | 73 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 …]
|
D | vudc_transfer.c | 58 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()
|
D | vudc_tx.c | 38 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()
|
D | vudc_sysfs.c | 23 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
|
D | vudc_rx.c | 62 static int v_recv_cmd_unlink(struct vudc *udc, in v_recv_cmd_unlink() 88 static int v_recv_cmd_submit(struct vudc *udc, in v_recv_cmd_submit() 193 struct vudc *udc = container_of(ud, struct vudc, ud); in v_rx_pdu() local
|