Searched refs:sh_spi_read (Results 1 – 1 of 1) sorted by relevance
20 static unsigned long sh_spi_read(unsigned long *reg) in sh_spi_read() function29 tmp = sh_spi_read(reg); in sh_spi_set_bit()38 tmp = sh_spi_read(reg); in sh_spi_clear_bit()51 while (sh_spi_read(&ss->regs->cr1) & SH_SPI_RBE) { in recvbuf_wait()61 while (!(sh_spi_read(&ss->regs->cr1) & SH_SPI_TBE)) { in write_fifo_empty_wait()107 sh_spi_write(sh_spi_read(&ss->regs->cr2) | 0x07, &ss->regs->cr2); in spi_setup_slave()129 sh_spi_write(sh_spi_read(&ss->regs->cr1) & in spi_release_bus()146 !(sh_spi_read(&ss->regs->cr4) & SH_SPI_WPABRT) && in sh_spi_send()147 !(sh_spi_read(&ss->regs->cr1) & SH_SPI_TBF); in sh_spi_send()153 if (sh_spi_read(&ss->regs->cr4) & SH_SPI_WPABRT) { in sh_spi_send()[all …]