Searched refs:dw_writel (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-dw-core.c | 103 dw_writel(dws, DW_SPI_SER, BIT(spi_get_chipselect(spi, 0))); in dw_spi_set_cs() 105 dw_writel(dws, DW_SPI_SER, 0); in dw_spi_set_cs() 234 dw_writel(dws, DW_SPI_RXFTLR, dws->rx_len - 1); in dw_spi_transfer_handler() 333 dw_writel(dws, DW_SPI_CTRLR0, cr0); in dw_spi_update_config() 337 dw_writel(dws, DW_SPI_CTRLR1, cfg->ndf ? cfg->ndf - 1 : 0); in dw_spi_update_config() 350 dw_writel(dws, DW_SPI_RX_SAMPLE_DLY, chip->rx_sample_dly); in dw_spi_update_config() 367 dw_writel(dws, DW_SPI_TXFTLR, level); in dw_spi_irq_setup() 368 dw_writel(dws, DW_SPI_RXFTLR, level - 1); in dw_spi_irq_setup() 844 dw_writel(dws, DW_SPI_SER, 0xffff); in dw_spi_hw_init() 846 dw_writel(dws, DW_SPI_SER, 0); in dw_spi_hw_init() [all …]
|
D | spi-dw.h | 210 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()
|
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() 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()
|