Lines Matching refs:command1

813 	u32 command1, command2, speed = t->speed_hz;  in tegra_qspi_setup_transfer_one()  local
831 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()
859 command1 = tqspi->command1_reg; in tegra_qspi_setup_transfer_one()
860 command1 &= ~QSPI_BIT_LENGTH(~0); in tegra_qspi_setup_transfer_one()
861 command1 |= QSPI_BIT_LENGTH(bits_per_word - 1); in tegra_qspi_setup_transfer_one()
864 command1 &= ~QSPI_SDR_DDR_SEL; in tegra_qspi_setup_transfer_one()
866 return command1; in tegra_qspi_setup_transfer_one()
870 struct spi_transfer *t, u32 command1) in tegra_qspi_start_transfer_one() argument
879 command1 &= ~QSPI_PACKED; in tegra_qspi_start_transfer_one()
881 command1 |= QSPI_PACKED; in tegra_qspi_start_transfer_one()
882 tegra_qspi_writel(tqspi, command1, QSPI_COMMAND1); in tegra_qspi_start_transfer_one()
886 command1 &= ~(QSPI_TX_EN | QSPI_RX_EN); in tegra_qspi_start_transfer_one()
888 command1 |= QSPI_RX_EN; in tegra_qspi_start_transfer_one()
894 command1 |= QSPI_TX_EN; in tegra_qspi_start_transfer_one()
899 command1 &= ~QSPI_INTERFACE_WIDTH_MASK; in tegra_qspi_start_transfer_one()
902 command1 |= QSPI_INTERFACE_WIDTH_QUAD; in tegra_qspi_start_transfer_one()
904 command1 |= QSPI_INTERFACE_WIDTH_DUAL; in tegra_qspi_start_transfer_one()
906 command1 |= QSPI_INTERFACE_WIDTH_SINGLE; in tegra_qspi_start_transfer_one()
908 tqspi->command1_reg = command1; in tegra_qspi_start_transfer_one()