| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-sirf.c | 300 void (*hwinit)(struct sirfsoc_spi *sspi); 303 static void sirfsoc_usp_hwinit(struct sirfsoc_spi *sspi) in sirfsoc_usp_hwinit() argument 306 writel(readl(sspi->base + sspi->regs->usp_mode1) & in sirfsoc_usp_hwinit() 307 ~SIRFSOC_USP_EN, sspi->base + sspi->regs->usp_mode1); in sirfsoc_usp_hwinit() 308 writel(readl(sspi->base + sspi->regs->usp_mode1) | in sirfsoc_usp_hwinit() 309 SIRFSOC_USP_EN, sspi->base + sspi->regs->usp_mode1); in sirfsoc_usp_hwinit() 312 static void spi_sirfsoc_rx_word_u8(struct sirfsoc_spi *sspi) in spi_sirfsoc_rx_word_u8() argument 315 u8 *rx = sspi->rx; in spi_sirfsoc_rx_word_u8() 317 data = readl(sspi->base + sspi->regs->rxfifo_data); in spi_sirfsoc_rx_word_u8() 321 sspi->rx = rx; in spi_sirfsoc_rx_word_u8() [all …]
|
| D | spi-synquacer.c | 141 static int read_fifo(struct synquacer_spi *sspi) in read_fifo() argument 143 u32 len = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTATUS); in read_fifo() 147 len = min(len, sspi->rx_words); in read_fifo() 149 switch (sspi->bpw) { in read_fifo() 151 u8 *buf = sspi->rx_buf; in read_fifo() 153 ioread8_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO, in read_fifo() 155 sspi->rx_buf = buf + len; in read_fifo() 159 u16 *buf = sspi->rx_buf; in read_fifo() 161 ioread16_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO, in read_fifo() 163 sspi->rx_buf = buf + len; in read_fifo() [all …]
|
| D | spi-sun6i.c | 98 static inline u32 sun6i_spi_read(struct sun6i_spi *sspi, u32 reg) in sun6i_spi_read() argument 100 return readl(sspi->base_addr + reg); in sun6i_spi_read() 103 static inline void sun6i_spi_write(struct sun6i_spi *sspi, u32 reg, u32 value) in sun6i_spi_write() argument 105 writel(value, sspi->base_addr + reg); in sun6i_spi_write() 108 static inline u32 sun6i_spi_get_rx_fifo_count(struct sun6i_spi *sspi) in sun6i_spi_get_rx_fifo_count() argument 110 u32 reg = sun6i_spi_read(sspi, SUN6I_FIFO_STA_REG); in sun6i_spi_get_rx_fifo_count() 115 static inline u32 sun6i_spi_get_tx_fifo_count(struct sun6i_spi *sspi) in sun6i_spi_get_tx_fifo_count() argument 117 u32 reg = sun6i_spi_read(sspi, SUN6I_FIFO_STA_REG); in sun6i_spi_get_tx_fifo_count() 122 static inline void sun6i_spi_disable_interrupt(struct sun6i_spi *sspi, u32 mask) in sun6i_spi_disable_interrupt() argument 124 u32 reg = sun6i_spi_read(sspi, SUN6I_INT_CTL_REG); in sun6i_spi_disable_interrupt() [all …]
|
| D | spi-sun4i.c | 90 static inline u32 sun4i_spi_read(struct sun4i_spi *sspi, u32 reg) in sun4i_spi_read() argument 92 return readl(sspi->base_addr + reg); in sun4i_spi_read() 95 static inline void sun4i_spi_write(struct sun4i_spi *sspi, u32 reg, u32 value) in sun4i_spi_write() argument 97 writel(value, sspi->base_addr + reg); in sun4i_spi_write() 100 static inline u32 sun4i_spi_get_tx_fifo_count(struct sun4i_spi *sspi) in sun4i_spi_get_tx_fifo_count() argument 102 u32 reg = sun4i_spi_read(sspi, SUN4I_FIFO_STA_REG); in sun4i_spi_get_tx_fifo_count() 109 static inline void sun4i_spi_enable_interrupt(struct sun4i_spi *sspi, u32 mask) in sun4i_spi_enable_interrupt() argument 111 u32 reg = sun4i_spi_read(sspi, SUN4I_INT_CTL_REG); in sun4i_spi_enable_interrupt() 114 sun4i_spi_write(sspi, SUN4I_INT_CTL_REG, reg); in sun4i_spi_enable_interrupt() 117 static inline void sun4i_spi_disable_interrupt(struct sun4i_spi *sspi, u32 mask) in sun4i_spi_disable_interrupt() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-synquacer.c | 141 static int read_fifo(struct synquacer_spi *sspi) in read_fifo() argument 143 u32 len = readl(sspi->regs + SYNQUACER_HSSPI_REG_DMSTATUS); in read_fifo() 147 len = min(len, sspi->rx_words); in read_fifo() 149 switch (sspi->bpw) { in read_fifo() 151 u8 *buf = sspi->rx_buf; in read_fifo() 153 ioread8_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO, in read_fifo() 155 sspi->rx_buf = buf + len; in read_fifo() 159 u16 *buf = sspi->rx_buf; in read_fifo() 161 ioread16_rep(sspi->regs + SYNQUACER_HSSPI_REG_RX_FIFO, in read_fifo() 163 sspi->rx_buf = buf + len; in read_fifo() [all …]
|
| D | spi-sun4i.c | 90 static inline u32 sun4i_spi_read(struct sun4i_spi *sspi, u32 reg) in sun4i_spi_read() argument 92 return readl(sspi->base_addr + reg); in sun4i_spi_read() 95 static inline void sun4i_spi_write(struct sun4i_spi *sspi, u32 reg, u32 value) in sun4i_spi_write() argument 97 writel(value, sspi->base_addr + reg); in sun4i_spi_write() 100 static inline u32 sun4i_spi_get_tx_fifo_count(struct sun4i_spi *sspi) in sun4i_spi_get_tx_fifo_count() argument 102 u32 reg = sun4i_spi_read(sspi, SUN4I_FIFO_STA_REG); in sun4i_spi_get_tx_fifo_count() 109 static inline void sun4i_spi_enable_interrupt(struct sun4i_spi *sspi, u32 mask) in sun4i_spi_enable_interrupt() argument 111 u32 reg = sun4i_spi_read(sspi, SUN4I_INT_CTL_REG); in sun4i_spi_enable_interrupt() 114 sun4i_spi_write(sspi, SUN4I_INT_CTL_REG, reg); in sun4i_spi_enable_interrupt() 117 static inline void sun4i_spi_disable_interrupt(struct sun4i_spi *sspi, u32 mask) in sun4i_spi_disable_interrupt() argument [all …]
|
| D | spi-sun6i.c | 117 static inline u32 sun6i_spi_read(struct sun6i_spi *sspi, u32 reg) in sun6i_spi_read() argument 119 return readl(sspi->base_addr + reg); in sun6i_spi_read() 122 static inline void sun6i_spi_write(struct sun6i_spi *sspi, u32 reg, u32 value) in sun6i_spi_write() argument 124 writel(value, sspi->base_addr + reg); in sun6i_spi_write() 127 static inline u32 sun6i_spi_get_rx_fifo_count(struct sun6i_spi *sspi) in sun6i_spi_get_rx_fifo_count() argument 129 u32 reg = sun6i_spi_read(sspi, SUN6I_FIFO_STA_REG); in sun6i_spi_get_rx_fifo_count() 134 static inline u32 sun6i_spi_get_tx_fifo_count(struct sun6i_spi *sspi) in sun6i_spi_get_tx_fifo_count() argument 136 u32 reg = sun6i_spi_read(sspi, SUN6I_FIFO_STA_REG); in sun6i_spi_get_tx_fifo_count() 141 static inline void sun6i_spi_disable_interrupt(struct sun6i_spi *sspi, u32 mask) in sun6i_spi_disable_interrupt() argument 143 u32 reg = sun6i_spi_read(sspi, SUN6I_INT_CTL_REG); in sun6i_spi_disable_interrupt() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | nuvoton,wpcm450-pinctrl.yaml | 74 clko, smi, uinc, gspi, mben, xcs2, xcs1, sdio, sspi, fi0, 84 gspi, mben, xcs2, xcs1, sdio, sspi, fi0, fi1, fi2, fi3, fi4, 141 groups = "gspi", "sspi";
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nuvoton/ |
| D | nuvoton-wpcm450.dtsi | 312 sspi_pins: mux-sspi { 313 groups = "sspi"; 314 function = "sspi";
|
| D | nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 90 groups = "gspi", "sspi";
|
| /kernel/linux/linux-6.6/drivers/pinctrl/nuvoton/ |
| D | pinctrl-wpcm450.c | 434 WPCM450_GRP(sspi), \ 520 WPCM450_SFUNC(sspi); 586 WPCM450_MKFUNC(sspi), 648 WPCM450_PINCFG(12, gspi, MFSEL1, 24, sspi, MFSEL1, 31), 649 WPCM450_PINCFG(13, gspi, MFSEL1, 24, sspi, MFSEL1, 31), 650 WPCM450_PINCFG(14, gspi, MFSEL1, 24, sspi, MFSEL1, 31), 651 WPCM450_PINCFG(15, gspi, MFSEL1, 24, sspi, MFSEL1, 31),
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | xhci-tegra.c | 1194 /* reset OTG port SSPI */ in tegra_xhci_id_work()
|
| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | xhci-tegra.c | 1380 /* reset OTG port SSPI */ in tegra_xhci_id_work()
|
| /kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
| D | tegra-xudc.c | 3489 /* increase SSPI transaction timeout from 32us to 512us */ in tegra_xudc_device_params_init()
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
| D | tegra-xudc.c | 3474 /* increase SSPI transaction timeout from 32us to 512us */ in tegra_xudc_device_params_init()
|