Searched refs:command1 (Results 1 – 3 of 3) sorted by relevance
784 u32 command1, command2; in tegra_spi_setup_transfer_one() local802 command1 = tspi->def_command1_reg; in tegra_spi_setup_transfer_one()803 command1 |= SPI_BIT_LENGTH(bits_per_word - 1); in tegra_spi_setup_transfer_one()805 command1 &= ~SPI_CONTROL_MODE_MASK; in tegra_spi_setup_transfer_one()808 command1 |= SPI_CONTROL_MODE_0; in tegra_spi_setup_transfer_one()810 command1 |= SPI_CONTROL_MODE_1; in tegra_spi_setup_transfer_one()812 command1 |= SPI_CONTROL_MODE_2; in tegra_spi_setup_transfer_one()814 command1 |= SPI_CONTROL_MODE_3; in tegra_spi_setup_transfer_one()817 command1 |= SPI_LSBIT_FE; in tegra_spi_setup_transfer_one()819 command1 &= ~SPI_LSBIT_FE; in tegra_spi_setup_transfer_one()[all …]
813 u32 command1, command2, speed = t->speed_hz; in tegra_qspi_setup_transfer_one() local831 command1 = tqspi->def_command1_reg; in tegra_qspi_setup_transfer_one()832 command1 |= QSPI_CS_SEL(spi->chip_select); in tegra_qspi_setup_transfer_one()833 command1 |= QSPI_BIT_LENGTH(bits_per_word - 1); in tegra_qspi_setup_transfer_one()835 command1 &= ~QSPI_CONTROL_MODE_MASK; in tegra_qspi_setup_transfer_one()838 command1 |= QSPI_CONTROL_MODE_3; in tegra_qspi_setup_transfer_one()840 command1 |= QSPI_CONTROL_MODE_0; in tegra_qspi_setup_transfer_one()843 command1 |= QSPI_CS_SW_VAL; in tegra_qspi_setup_transfer_one()845 command1 &= ~QSPI_CS_SW_VAL; in tegra_qspi_setup_transfer_one()846 tegra_qspi_writel(tqspi, command1, QSPI_COMMAND1); in tegra_qspi_setup_transfer_one()[all …]
157 u8 command1; member