Searched refs:confr (Results 1 – 4 of 4) sorted by relevance
98 u32 confr; in zynq_spi_init_hw() local101 confr = ZYNQ_SPI_ENR_SPI_EN_MASK; in zynq_spi_init_hw()102 writel(~confr, ®s->enr); in zynq_spi_init_hw()116 confr = ZYNQ_SPI_CR_MCS_MASK | ZYNQ_SPI_CR_CS_MASK | in zynq_spi_init_hw()118 confr &= ~ZYNQ_SPI_CR_MSA_MASK; in zynq_spi_init_hw()119 writel(confr, ®s->cr); in zynq_spi_init_hw()200 u32 confr; in zynq_spi_release_bus() local202 confr = ZYNQ_SPI_ENR_SPI_EN_MASK; in zynq_spi_release_bus()203 writel(~confr, ®s->enr); in zynq_spi_release_bus()279 uint32_t confr; in zynq_spi_set_speed() local[all …]
122 u32 confr; in zynq_qspi_init_hw() local142 confr = readl(®s->cr); in zynq_qspi_init_hw()143 confr &= ~ZYNQ_QSPI_CR_MSA_MASK; in zynq_qspi_init_hw()144 confr |= ZYNQ_QSPI_CR_IFMODE_MASK | ZYNQ_QSPI_CR_MCS_MASK | in zynq_qspi_init_hw()147 writel(confr, ®s->cr); in zynq_qspi_init_hw()150 confr = readl(®s->lqspicfg); in zynq_qspi_init_hw()151 confr &= ~ZYNQ_QSPI_LQSPICFG_LQMODE_MASK; in zynq_qspi_init_hw()152 writel(confr, ®s->lqspicfg); in zynq_qspi_init_hw()268 u32 confr; in zynq_qspi_chipselect() local271 confr = readl(®s->cr); in zynq_qspi_chipselect()[all …]
357 uint32_t confr, div = 0; in _omap3_spi_set_speed() local359 confr = readl(&priv->regs->channel[priv->cs].chconf); in _omap3_spi_set_speed()371 confr &= ~OMAP3_MCSPI_CHCONF_CLKD_MASK; in _omap3_spi_set_speed()372 confr |= div << 2; in _omap3_spi_set_speed()374 omap3_spi_write_chconf(priv, confr); in _omap3_spi_set_speed()379 uint32_t confr; in _omap3_spi_set_mode() local381 confr = readl(&priv->regs->channel[priv->cs].chconf); in _omap3_spi_set_mode()387 confr &= ~(OMAP3_MCSPI_CHCONF_IS|OMAP3_MCSPI_CHCONF_DPE1); in _omap3_spi_set_mode()388 confr |= OMAP3_MCSPI_CHCONF_DPE0; in _omap3_spi_set_mode()390 confr &= ~OMAP3_MCSPI_CHCONF_DPE0; in _omap3_spi_set_mode()[all …]
109 u32 confr; /* 0x00 */ member199 config_reg = readl(®s->confr); in zynqmp_qspi_init_hw()205 writel(config_reg, ®s->confr); in zynqmp_qspi_init_hw()297 u32 confr; in zynqmp_qspi_set_speed() local305 confr = readl(®s->confr); in zynqmp_qspi_set_speed()320 confr &= ~GQSPI_BAUD_DIV_MASK; in zynqmp_qspi_set_speed()321 confr |= (baud_rate_val << 3); in zynqmp_qspi_set_speed()322 writel(confr, ®s->confr); in zynqmp_qspi_set_speed()374 u32 confr; in zynqmp_qspi_set_mode() local378 confr = readl(®s->confr); in zynqmp_qspi_set_mode()[all …]