Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-dw.h210 static inline void dw_writel(struct dw_spi *dws, u32 offset, u32 val) in dw_writel() function
241 dw_writel(dws, DW_SPI_SSIENR, (enable ? 1 : 0)); in dw_spi_enable_chip()
246 dw_writel(dws, DW_SPI_BAUDR, div); in dw_spi_set_clk()
255 dw_writel(dws, DW_SPI_IMR, new_mask); in dw_spi_mask_intr()
264 dw_writel(dws, DW_SPI_IMR, new_mask); in dw_spi_umask_intr()
277 dw_writel(dws, DW_SPI_SER, 0); in dw_spi_reset_chip()
Dspi-dw-core.c101 dw_writel(dws, DW_SPI_SER, BIT(spi_get_chipselect(spi, 0))); in dw_spi_set_cs()
103 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()
331 dw_writel(dws, DW_SPI_CTRLR0, cr0); in dw_spi_update_config()
335 dw_writel(dws, DW_SPI_CTRLR1, cfg->ndf ? cfg->ndf - 1 : 0); in dw_spi_update_config()
348 dw_writel(dws, DW_SPI_RX_SAMPLE_DLY, chip->rx_sample_dly); in dw_spi_update_config()
365 dw_writel(dws, DW_SPI_TXFTLR, level); in dw_spi_irq_setup()
366 dw_writel(dws, DW_SPI_RXFTLR, level - 1); in dw_spi_irq_setup()
847 dw_writel(dws, DW_SPI_TXFTLR, fifo); in dw_spi_hw_init()
851 dw_writel(dws, DW_SPI_TXFTLR, 0); in dw_spi_hw_init()
[all …]
Dspi-dw-dma.c52 dw_writel(dws, DW_SPI_DMARDLR, dws->rxburst - 1); in dw_spi_dma_maxburst_init()
72 dw_writel(dws, DW_SPI_DMATDLR, dws->txburst); in dw_spi_dma_maxburst_init()
491 dw_writel(dws, DW_SPI_DMACR, dma_ctrl); in dw_spi_dma_setup()
532 dw_writel(dws, DW_SPI_DMACR, 0); in dw_spi_dma_transfer_all()
633 dw_writel(dws, DW_SPI_DMACR, 0); in dw_spi_dma_transfer_one()