Home
last modified time | relevance | path

Searched refs:dw_writel (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
Dspi-dw.h199 static inline void dw_writel(struct dw_spi *dws, u32 offset, u32 val) in dw_writel() function
230 dw_writel(dws, DW_SPI_SSIENR, (enable ? 1 : 0)); in spi_enable_chip()
235 dw_writel(dws, DW_SPI_BAUDR, div); in spi_set_clk()
244 dw_writel(dws, DW_SPI_IMR, new_mask); in spi_mask_intr()
253 dw_writel(dws, DW_SPI_IMR, new_mask); in spi_umask_intr()
266 dw_writel(dws, DW_SPI_SER, 0); in spi_reset_chip()
Dspi-dw-core.c105 dw_writel(dws, DW_SPI_SER, BIT(spi->chip_select)); in dw_spi_set_cs()
107 dw_writel(dws, DW_SPI_SER, 0); in dw_spi_set_cs()
232 dw_writel(dws, DW_SPI_RXFTLR, dws->rx_len - 1); in dw_spi_transfer_handler()
324 dw_writel(dws, DW_SPI_CTRLR0, cr0); in dw_spi_update_config()
327 dw_writel(dws, DW_SPI_CTRLR1, cfg->ndf ? cfg->ndf - 1 : 0); in dw_spi_update_config()
340 dw_writel(dws, DW_SPI_RX_SAMPLE_DLY, chip->rx_sample_dly); in dw_spi_update_config()
357 dw_writel(dws, DW_SPI_TXFTLR, level); in dw_spi_irq_setup()
358 dw_writel(dws, DW_SPI_RXFTLR, level - 1); in dw_spi_irq_setup()
821 dw_writel(dws, DW_SPI_TXFTLR, fifo); in spi_hw_init()
825 dw_writel(dws, DW_SPI_TXFTLR, 0); in spi_hw_init()
[all …]
Dspi-dw-dma.c51 dw_writel(dws, DW_SPI_DMARDLR, dws->rxburst - 1); in dw_spi_dma_maxburst_init()
71 dw_writel(dws, DW_SPI_DMATDLR, dws->txburst); in dw_spi_dma_maxburst_init()
439 dw_writel(dws, DW_SPI_DMACR, dma_ctrl); in dw_spi_dma_setup()
480 dw_writel(dws, DW_SPI_DMACR, 0); in dw_spi_dma_transfer_all()
581 dw_writel(dws, DW_SPI_DMACR, 0); in dw_spi_dma_transfer_one()