Searched refs:loongson_spi_read_reg (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-loongson-core.c | 24 static inline char loongson_spi_read_reg(struct loongson_spi *spi, unsigned char reg) in loongson_spi_read_reg() function 36 cs = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_SFCS_REG) & ~mask; in loongson_spi_set_cs() 50 val = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_SPCR_REG); in loongson_spi_set_clk() 54 val = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_SPER_REG); in loongson_spi_set_clk() 66 val = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_SPCR_REG); in loongson_spi_set_mode() 123 *(*rx_buf)++ = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_FIFO_REG); in loongson_spi_write_read_8bit() 125 loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_FIFO_REG); in loongson_spi_write_read_8bit() 151 loongson_spi->para = loongson_spi_read_reg(loongson_spi, LOONGSON_SPI_PARA_REG); in loongson_spi_prepare_message() 183 val = loongson_spi_read_reg(loongson_spi_dev, LOONGSON_SPI_SPCR_REG); in loongson_spi_reginit() 190 val = loongson_spi_read_reg(loongson_spi_dev, LOONGSON_SPI_SPCR_REG); in loongson_spi_reginit() [all …]
|