Home
last modified time | relevance | path

Searched refs:confr (Results 1 – 4 of 4) sorted by relevance

/u-boot/drivers/spi/
A Dzynq_spi.c96 u32 confr; in zynq_spi_init_hw() local
100 writel(~confr, &regs->enr); in zynq_spi_init_hw()
117 writel(confr, &regs->cr); in zynq_spi_init_hw()
224 u32 confr; in zynq_spi_release_bus() local
227 writel(~confr, &regs->enr); in zynq_spi_release_bus()
303 uint32_t confr; in zynq_spi_set_speed() local
310 confr = readl(&regs->cr); in zynq_spi_set_speed()
324 writel(confr, &regs->cr); in zynq_spi_set_speed()
337 uint32_t confr; in zynq_spi_set_mode() local
340 confr = readl(&regs->cr); in zynq_spi_set_mode()
[all …]
A Dzynq_qspi.c137 u32 confr; in zynq_qspi_init_hw() local
157 confr = readl(&regs->cr); in zynq_qspi_init_hw()
162 writel(confr, &regs->cr); in zynq_qspi_init_hw()
314 u32 confr; in zynq_qspi_chipselect() local
317 confr = readl(&regs->cr); in zynq_qspi_chipselect()
328 writel(confr, &regs->cr); in zynq_qspi_chipselect()
599 uint32_t confr; in zynq_qspi_set_speed() local
606 confr = readl(&regs->cr); in zynq_qspi_set_speed()
621 writel(confr, &regs->cr); in zynq_qspi_set_speed()
633 uint32_t confr; in zynq_qspi_set_mode() local
[all …]
A Domap3_spi.c280 uint32_t confr, div = 0; in _omap3_spi_set_speed() local
295 confr |= div << 2; in _omap3_spi_set_speed()
297 omap3_spi_write_chconf(priv, confr); in _omap3_spi_set_speed()
302 uint32_t confr; in _omap3_spi_set_mode() local
311 confr |= OMAP3_MCSPI_CHCONF_DPE0; in _omap3_spi_set_mode()
313 confr &= ~OMAP3_MCSPI_CHCONF_DPE0; in _omap3_spi_set_mode()
320 confr |= OMAP3_MCSPI_CHCONF_PHA; in _omap3_spi_set_mode()
322 confr |= OMAP3_MCSPI_CHCONF_POL; in _omap3_spi_set_mode()
328 confr &= ~OMAP3_MCSPI_CHCONF_EPOL; in _omap3_spi_set_mode()
338 unsigned int confr; in _omap3_spi_set_wordlen() local
[all …]
A Dzynqmp_gqspi.c115 u32 confr; /* 0x00 */ member
204 config_reg = readl(&regs->confr); in zynqmp_qspi_init_hw()
210 writel(config_reg, &regs->confr); in zynqmp_qspi_init_hw()
317 u32 confr; in zynqmp_qspi_set_speed() local
337 confr = readl(&regs->confr); in zynqmp_qspi_set_speed()
338 confr &= ~GQSPI_BAUD_DIV_MASK; in zynqmp_qspi_set_speed()
339 confr |= (baud_rate_val << 3); in zynqmp_qspi_set_speed()
340 writel(confr, &regs->confr); in zynqmp_qspi_set_speed()
393 u32 confr; in zynqmp_qspi_set_mode() local
397 confr = readl(&regs->confr); in zynqmp_qspi_set_mode()
[all …]

Completed in 9 milliseconds