Lines Matching refs:mcr_val
91 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()
172 mcr_val |= DSPI_MCR_PCSIS(cs); in fsl_dspi_cfg_cs_active_state()
173 dspi_write32(priv->flags, &priv->regs->mcr, mcr_val); in fsl_dspi_cfg_cs_active_state()
207 uint mcr_val; in fsl_dspi_clr_fifo() local
210 mcr_val = dspi_read32(priv->flags, &priv->regs->mcr); in fsl_dspi_clr_fifo()
212 mcr_val |= (DSPI_MCR_CTXF | DSPI_MCR_CRXF); in fsl_dspi_clr_fifo()
213 dspi_write32(priv->flags, &priv->regs->mcr, mcr_val); in fsl_dspi_clr_fifo()