Searched refs:sh_spi_write (Results 1 – 1 of 1) sorted by relevance
15 static void sh_spi_write(unsigned long data, unsigned long *reg) in sh_spi_write() function31 sh_spi_write(tmp, reg); in sh_spi_set_bit()40 sh_spi_write(tmp, reg); in sh_spi_clear_bit()101 sh_spi_write(0xfe, &ss->regs->cr1); in spi_setup_slave()103 sh_spi_write(0x00, &ss->regs->cr1); in spi_setup_slave()105 sh_spi_write(0x00, &ss->regs->cr3); in spi_setup_slave()111 sh_spi_write(sh_spi_read(&ss->regs->cr2) | 0x07, &ss->regs->cr2); in spi_setup_slave()133 sh_spi_write(sh_spi_read(&ss->regs->cr1) & in spi_release_bus()153 sh_spi_write(tx_data[i], &ss->regs->tbr_rbr); in sh_spi_send()188 sh_spi_write(SH_SPI_MAX_BYTE, &ss->regs->cr3); in sh_spi_receive()[all …]