Lines Matching refs:dw_writel
101 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()
866 dw_writel(dws, DW_SPI_CTRLR0, 0xffffffff); in dw_spi_hw_init()
868 dw_writel(dws, DW_SPI_CTRLR0, tmp); in dw_spi_hw_init()
882 dw_writel(dws, DW_SPI_CS_OVERRIDE, 0xF); in dw_spi_hw_init()