Searched refs:LOONGSON_SPI_SPCR_REG (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-loongson-core.c | 50 val = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_SPCR_REG); in loongson_spi_set_clk() 52 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_SPCR_REG, val | in loongson_spi_set_clk() 66 val = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_SPCR_REG); in loongson_spi_set_mode() 73 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_SPCR_REG, val); in loongson_spi_set_mode() 183 val = loongson_spi_read_reg(loongson_spi_dev, LOONGSON_SPI_SPCR_REG); in loongson_spi_reginit() 185 loongson_spi_write_reg(loongson_spi_dev, LOONGSON_SPI_SPCR_REG, val); in loongson_spi_reginit() 190 val = loongson_spi_read_reg(loongson_spi_dev, LOONGSON_SPI_SPCR_REG); in loongson_spi_reginit() 192 loongson_spi_write_reg(loongson_spi_dev, LOONGSON_SPI_SPCR_REG, val); in loongson_spi_reginit() 242 loongson_spi->spcr = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_SPCR_REG); in loongson_spi_suspend() 260 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_SPCR_REG, loongson_spi->spcr); in loongson_spi_resume()
|
D | spi-loongson.h | 12 #define LOONGSON_SPI_SPCR_REG 0x00 macro
|