Lines Matching +full:ast2600 +full:- +full:udc
1 /* SPDX-License-Identifier: GPL-2.0+ */
107 * per-device register definitions *
146 * per-endpoint register definitions *
210 * existing AST2400/AST2500 platforms. AST2600 and future vhub revisions
213 #define AST_VHUB_NUM_GEN_EPs 15 /* Generic non-0 EPs */
233 /* A transfer request, either core-originated or internal */
242 * Desc number of the final packet or -1. For non-desc
315 /* Index in global pool (zero-based) */
345 /* Device index (zero-based) and name string */
402 /* Per-port info */
433 std_req_stall = -1, /* Stall requested */
440 #define UDCVDBG(u, fmt...) dev_dbg(&(u)->pdev->dev, fmt)
443 dev_dbg(&(ep)->vhub->pdev->dev, \
445 (ep)->dev ? (ep)->dev->name : "hub", \
446 (ep)->d_idx, ##__VA_ARGS__); \
450 dev_dbg(&(d)->vhub->pdev->dev, \
451 "%s " fmt, (d)->name, \
462 #define UDCDBG(u, fmt...) dev_dbg(&(u)->pdev->dev, fmt)
465 dev_dbg(&(ep)->vhub->pdev->dev, \
467 (ep)->dev ? (ep)->dev->name : "hub", \
468 (ep)->d_idx, ##__VA_ARGS__); \
472 dev_dbg(&(d)->vhub->pdev->dev, \
473 "%s " fmt, (d)->name, \
496 * - Driver writes to a DMA descriptor (Mbus) in vhub_dma_workaround()
497 * - Driver writes to the MMIO register to start the DMA (AHB) in vhub_dma_workaround()
498 * - The gadget sees the second write and sends a read of the in vhub_dma_workaround()
500 * - The gadget hits memory before the descriptor write in vhub_dma_workaround()
532 #define ast_vhub_simple_reply(udc, ...) \ argument
533 __ast_vhub_simple_reply((udc), \