Lines Matching +full:lpc +full:- +full:ctrl

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * (Based on NXP driver for lpc 31xx)
17 #include <linux/fault-inject.h>
60 * struct dw_mci - MMC controller state shared between all slots
78 * @dma_64bit_address: Whether DMA supports 64-bit address mode or not.
81 * @dma_ops: Pointer to platform-specific DMA callbacks.
85 * @dms: structure of slave-dma private data.
135 * @lock is a softirq-safe spinlock protecting @queue as well as
142 * @irq_lock is an irq-safe spinlock protecting the INTMASK register
144 * enough to read-modify-write INTMASK and no other locks are grabbed when
152 * EVENT_DATA_COMPLETE is set in @pending_events, all data-related
332 * Registers to support idmac 64-bit address mode
369 /* time-out register defines */
374 /* card-type register defines */
453 /* UHS-1 register defines */
460 /* All ctrl reset bits */
464 /* FIFO register access macros. These should not change the data endian-ness
477 readl_relaxed((dev)->regs + SDMMC_##reg)
479 writel_relaxed((value), (dev)->regs + SDMMC_##reg)
481 /* 16-bit FIFO access macros */
483 readw_relaxed((dev)->regs + SDMMC_##reg)
485 writew_relaxed((value), (dev)->regs + SDMMC_##reg)
487 /* 64-bit FIFO access macros */
490 readq_relaxed((dev)->regs + SDMMC_##reg)
492 writeq_relaxed((value), (dev)->regs + SDMMC_##reg)
503 (*(volatile u64 __force *)((dev)->regs + SDMMC_##reg))
505 (*(volatile u64 __force *)((dev)->regs + SDMMC_##reg) = (value))
520 * struct dw_mci_slot - MMC slot state
528 * @clock: Clock rate configured by set_ios(). Protected by host->lock.
558 * dw_mci driver data - dw-mshc implementation specific driver data.