Searched refs:loongson_spi_write_reg (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/spi/ |
H A D | spi-loongson-core.c | 18 static inline void loongson_spi_write_reg(struct loongson_spi *spi, unsigned char reg, in loongson_spi_write_reg() function 37 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_SFCS_REG, val | cs); in loongson_spi_set_cs() 52 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_SPCR_REG, val | in loongson_spi_set_clk() 56 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_SPER_REG, val | in loongson_spi_set_clk() 73 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_SPCR_REG, val); in loongson_spi_set_mode() 113 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_FIFO_REG, *((*tx_buf)++)); in loongson_spi_write_read_8bit() 115 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_FIFO_REG, 0); in loongson_spi_write_read_8bit() 152 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_PARA_REG, loongson_spi->para & in loongson_spi_prepare_message() 174 loongson_spi_write_reg(loongson_spi, LOONGSON_SPI_PARA_REG, loongson_spi->para); in loongson_spi_unprepare_message() 185 loongson_spi_write_reg(loongson_spi_dev, LOONGSON_SPI_SPCR_REG, val); in loongson_spi_reginit() [all …]
|