Searched refs:dw_writel (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/spi/ |
D | spi-dw.h | 209 static inline void dw_writel(struct dw_spi *dws, u32 offset, u32 val) in dw_writel() function 240 dw_writel(dws, DW_SPI_SSIENR, (enable ? 1 : 0)); in dw_spi_enable_chip() 245 dw_writel(dws, DW_SPI_BAUDR, div); in dw_spi_set_clk() 254 dw_writel(dws, DW_SPI_IMR, new_mask); in dw_spi_mask_intr() 263 dw_writel(dws, DW_SPI_IMR, new_mask); in dw_spi_umask_intr() 276 dw_writel(dws, DW_SPI_SER, 0); in dw_spi_reset_chip()
|
D | spi-dw-core.c | 106 dw_writel(dws, DW_SPI_SER, BIT(spi->chip_select)); in dw_spi_set_cs() 108 dw_writel(dws, DW_SPI_SER, 0); in dw_spi_set_cs() 237 dw_writel(dws, DW_SPI_RXFTLR, dws->rx_len - 1); in dw_spi_transfer_handler() 336 dw_writel(dws, DW_SPI_CTRLR0, cr0); in dw_spi_update_config() 340 dw_writel(dws, DW_SPI_CTRLR1, cfg->ndf ? cfg->ndf - 1 : 0); in dw_spi_update_config() 353 dw_writel(dws, DW_SPI_RX_SAMPLE_DLY, chip->rx_sample_dly); in dw_spi_update_config() 370 dw_writel(dws, DW_SPI_TXFTLR, level); in dw_spi_irq_setup() 371 dw_writel(dws, DW_SPI_RXFTLR, level - 1); in dw_spi_irq_setup() 849 dw_writel(dws, DW_SPI_TXFTLR, fifo); in dw_spi_hw_init() 853 dw_writel(dws, DW_SPI_TXFTLR, 0); in dw_spi_hw_init() [all …]
|
D | spi-dw-dma.c | 52 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() 451 dw_writel(dws, DW_SPI_DMACR, dma_ctrl); in dw_spi_dma_setup() 492 dw_writel(dws, DW_SPI_DMACR, 0); in dw_spi_dma_transfer_all() 593 dw_writel(dws, DW_SPI_DMACR, 0); in dw_spi_dma_transfer_one()
|