Searched refs:command1 (Results 1 – 3 of 3) sorted by relevance
779 u32 command1, command2; in tegra_spi_setup_transfer_one() local797 command1 = tspi->def_command1_reg; in tegra_spi_setup_transfer_one()798 command1 |= SPI_BIT_LENGTH(bits_per_word - 1); in tegra_spi_setup_transfer_one()800 command1 &= ~SPI_CONTROL_MODE_MASK; in tegra_spi_setup_transfer_one()803 command1 |= SPI_CONTROL_MODE_0; in tegra_spi_setup_transfer_one()805 command1 |= SPI_CONTROL_MODE_1; in tegra_spi_setup_transfer_one()807 command1 |= SPI_CONTROL_MODE_2; in tegra_spi_setup_transfer_one()809 command1 |= SPI_CONTROL_MODE_3; in tegra_spi_setup_transfer_one()812 command1 |= SPI_LSBIT_FE; in tegra_spi_setup_transfer_one()814 command1 &= ~SPI_LSBIT_FE; in tegra_spi_setup_transfer_one()[all …]
814 u32 command1, command2, speed = t->speed_hz; in tegra_qspi_setup_transfer_one() local832 command1 = tqspi->def_command1_reg; in tegra_qspi_setup_transfer_one()833 command1 |= QSPI_CS_SEL(spi_get_chipselect(spi, 0)); in tegra_qspi_setup_transfer_one()834 command1 |= QSPI_BIT_LENGTH(bits_per_word - 1); in tegra_qspi_setup_transfer_one()836 command1 &= ~QSPI_CONTROL_MODE_MASK; in tegra_qspi_setup_transfer_one()839 command1 |= QSPI_CONTROL_MODE_3; in tegra_qspi_setup_transfer_one()841 command1 |= QSPI_CONTROL_MODE_0; in tegra_qspi_setup_transfer_one()844 command1 |= QSPI_CS_SW_VAL; in tegra_qspi_setup_transfer_one()846 command1 &= ~QSPI_CS_SW_VAL; in tegra_qspi_setup_transfer_one()847 tegra_qspi_writel(tqspi, command1, QSPI_COMMAND1); in tegra_qspi_setup_transfer_one()[all …]
157 u8 command1; member