Home
last modified time | relevance | path

Searched refs:mcr_val (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/spi/
Dfsl_dspi.c91 uint mcr_val; member
134 uint mcr_val; in dspi_halt() local
136 mcr_val = dspi_read32(priv->flags, &priv->regs->mcr); in dspi_halt()
139 mcr_val |= DSPI_MCR_HALT; in dspi_halt()
141 mcr_val &= ~DSPI_MCR_HALT; in dspi_halt()
143 dspi_write32(priv->flags, &priv->regs->mcr, mcr_val); in dspi_halt()
156 priv->mcr_val = cfg_val; in fsl_dspi_init_mcr()
162 uint mcr_val; in fsl_dspi_cfg_cs_active_state() local
166 mcr_val = dspi_read32(priv->flags, &priv->regs->mcr); in fsl_dspi_cfg_cs_active_state()
169 mcr_val &= ~DSPI_MCR_PCSIS(cs); in fsl_dspi_cfg_cs_active_state()
[all …]
Dfsl_qspi.c853 u32 mcr_val; in qspi_module_disable() local
855 mcr_val = qspi_read32(priv->flags, &priv->regs->mcr); in qspi_module_disable()
857 mcr_val |= QSPI_MCR_MDIS_MASK; in qspi_module_disable()
859 mcr_val &= ~QSPI_MCR_MDIS_MASK; in qspi_module_disable()
860 qspi_write32(priv->flags, &priv->regs->mcr, mcr_val); in qspi_module_disable()
895 u32 mcr_val; in spi_setup_slave() local
927 mcr_val = qspi_read32(qspi->priv.flags, &regs->mcr); in spi_setup_slave()
931 mcr_val = QSPI_MCR_END_CFD_LE; in spi_setup_slave()
935 (mcr_val & QSPI_MCR_END_CFD_MASK)); in spi_setup_slave()
1013 u32 mcr_val; in fsl_qspi_probe() local
[all …]