H A D | spi-rspi.c | 204 static void rspi_write8(const struct rspi_data *rspi, u8 data, u16 offset) rspi_write8() function 232 rspi_write8(rspi, data, RSPI_SPDR); rspi_write_data() 263 rspi_write8(rspi, rspi->sppcr, RSPI_SPPCR); rspi_set_config_register() 268 rspi_write8(rspi, clamp(spbr, 0, 255), RSPI_SPBR); rspi_set_config_register() 271 rspi_write8(rspi, 0, RSPI_SPDCR); rspi_set_config_register() 275 rspi_write8(rspi, 0x00, RSPI_SPCKD); rspi_set_config_register() 276 rspi_write8(rspi, 0x00, RSPI_SSLND); rspi_set_config_register() 277 rspi_write8(rspi, 0x00, RSPI_SPND); rspi_set_config_register() 280 rspi_write8(rspi, 0x00, RSPI_SPCR2); rspi_set_config_register() 287 rspi_write8(rspi, SPCR_MSTR, RSPI_SPCR); rspi_set_config_register() 300 rspi_write8(rspi, rspi->sppcr, RSPI_SPPCR); rspi_rz_set_config_register() 305 rspi_write8(rspi, clamp(spbr, 0, 255), RSPI_SPBR); rspi_rz_set_config_register() 308 rspi_write8(rspi, SPDCR_SPLBYTE, RSPI_SPDCR); rspi_rz_set_config_register() 312 rspi_write8(rspi, 0x00, RSPI_SPCKD); rspi_rz_set_config_register() 313 rspi_write8(rspi, 0x00, RSPI_SSLND); rspi_rz_set_config_register() 314 rspi_write8(rspi, 0x00, RSPI_SPND); rspi_rz_set_config_register() 321 rspi_write8(rspi, SPCR_MSTR, RSPI_SPCR); rspi_rz_set_config_register() 334 rspi_write8(rspi, rspi->sppcr, RSPI_SPPCR); qspi_set_config_register() 338 rspi_write8(rspi, clamp(spbr, 0, 255), RSPI_SPBR); qspi_set_config_register() 341 rspi_write8(rspi, 0, RSPI_SPDCR); qspi_set_config_register() 345 rspi_write8(rspi, 0x00, RSPI_SPCKD); qspi_set_config_register() 346 rspi_write8(rspi, 0x00, RSPI_SSLND); qspi_set_config_register() 347 rspi_write8(rspi, 0x00, RSPI_SPND); qspi_set_config_register() 363 rspi_write8(rspi, SPBFCR_TXRST | SPBFCR_RXRST, QSPI_SPBFCR); qspi_set_config_register() 365 rspi_write8(rspi, 0x00, QSPI_SPBFCR); qspi_set_config_register() 371 rspi_write8(rspi, SPCR_SPE | SPCR_MSTR, RSPI_SPCR); qspi_set_config_register() 383 rspi_write8(rspi, data, reg); qspi_update() 426 rspi_write8(rspi, rspi_read8(rspi, RSPI_SPCR) | enable, RSPI_SPCR); rspi_enable_irq() 431 rspi_write8(rspi, rspi_read8(rspi, RSPI_SPCR) & ~disable, RSPI_SPCR); rspi_disable_irq() 629 rspi_write8(rspi, rspi_read8(rspi, RSPI_SPSR) & ~SPSR_OVRF, rspi_receive_init() 636 rspi_write8(rspi, SPBFCR_TXRST | SPBFCR_RXRST, RSPI_SPBFCR); rspi_rz_receive_init() 637 rspi_write8(rspi, 0, RSPI_SPBFCR); rspi_rz_receive_init() 647 rspi_write8(rspi, SPBFCR_TXRST | SPBFCR_RXRST, QSPI_SPBFCR); qspi_receive_init() 648 rspi_write8(rspi, 0, QSPI_SPBFCR); qspi_receive_init() 711 rspi_write8(rspi, spcr, RSPI_SPCR); rspi_transfer_one() 913 rspi_write8(rspi, i - 1, RSPI_SPSCR); qspi_setup_sequencer() 934 rspi_write8(rspi, rspi_read8(rspi, RSPI_SPCR) | SPCR_SPE, RSPI_SPCR); rspi_prepare_message() 944 rspi_write8(rspi, rspi_read8(rspi, RSPI_SPCR) & ~SPCR_SPE, RSPI_SPCR); rspi_unprepare_message() 948 rspi_write8(rspi, 0, RSPI_SPSCR); rspi_unprepare_message()
|