Lines Matching refs:usp_mode1
185 u32 usp_mode1; member
238 .usp_mode1 = 0x0,
306 writel(readl(sspi->base + sspi->regs->usp_mode1) & in sirfsoc_usp_hwinit()
307 ~SIRFSOC_USP_EN, sspi->base + sspi->regs->usp_mode1); in sirfsoc_usp_hwinit()
308 writel(readl(sspi->base + sspi->regs->usp_mode1) | in sirfsoc_usp_hwinit()
309 SIRFSOC_USP_EN, sspi->base + sspi->regs->usp_mode1); in sirfsoc_usp_hwinit()
794 u32 regval, usp_mode1; in spi_sirfsoc_config_mode() local
798 usp_mode1 = readl(sspi->base + sspi->regs->usp_mode1); in spi_sirfsoc_config_mode()
801 usp_mode1 &= ~SIRFSOC_USP_CS_HIGH_VALID; in spi_sirfsoc_config_mode()
804 usp_mode1 |= SIRFSOC_USP_CS_HIGH_VALID; in spi_sirfsoc_config_mode()
808 usp_mode1 &= ~SIRFSOC_USP_LSB; in spi_sirfsoc_config_mode()
811 usp_mode1 |= SIRFSOC_USP_LSB; in spi_sirfsoc_config_mode()
815 usp_mode1 |= SIRFSOC_USP_SCLK_IDLE_STAT; in spi_sirfsoc_config_mode()
818 usp_mode1 &= ~SIRFSOC_USP_SCLK_IDLE_STAT; in spi_sirfsoc_config_mode()
827 usp_mode1 |= (SIRFSOC_USP_TXD_FALLING_EDGE | in spi_sirfsoc_config_mode()
831 usp_mode1 &= ~(SIRFSOC_USP_RXD_FALLING_EDGE | in spi_sirfsoc_config_mode()
859 usp_mode1 |= SIRFSOC_USP_SYNC_MODE; in spi_sirfsoc_config_mode()
860 usp_mode1 |= SIRFSOC_USP_TFS_IO_MODE; in spi_sirfsoc_config_mode()
861 usp_mode1 &= ~SIRFSOC_USP_TFS_IO_INPUT; in spi_sirfsoc_config_mode()
862 writel(usp_mode1, sspi->base + sspi->regs->usp_mode1); in spi_sirfsoc_config_mode()