Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/spi/
H A 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()
156 priv->mcr_val = cfg_val; in fsl_dspi_init_mcr()
162 uint mcr_val; in fsl_dspi_cfg_cs_active_state() local
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()
207 uint mcr_val; in fsl_dspi_clr_fifo() local
[all …]
H A Dfsl_qspi.c845 u32 mcr_val; in qspi_module_disable() local
847 mcr_val = qspi_read32(priv->flags, &priv->regs->mcr); in qspi_module_disable()
849 mcr_val |= QSPI_MCR_MDIS_MASK; in qspi_module_disable()
851 mcr_val &= ~QSPI_MCR_MDIS_MASK; in qspi_module_disable()
852 qspi_write32(priv->flags, &priv->regs->mcr, mcr_val); in qspi_module_disable()
876 u32 mcr_val; in fsl_qspi_probe() local
909 mcr_val = qspi_read32(priv->flags, &priv->regs->mcr); in fsl_qspi_probe()
913 mcr_val = QSPI_MCR_END_CFD_LE; in fsl_qspi_probe()
917 (mcr_val & QSPI_MCR_END_CFD_MASK)); in fsl_qspi_probe()
/openbmc/linux/drivers/w1/masters/
H A Dsgi_w1.c30 u32 mcr_val; in sgi_w1_wait() local
33 mcr_val = readl(mcr); in sgi_w1_wait()
34 } while (!(mcr_val & MCR_DONE)); in sgi_w1_wait()
36 return (mcr_val & MCR_RD_DATA) ? 1 : 0; in sgi_w1_wait()