Searched refs:smcr (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/memory/ |
H A D | jz4780-nemc.c | 162 uint32_t smcr, val, cycles; in jz4780_nemc_configure_bank() local 187 smcr = readl(nemc->base + NEMC_SMCRn(bank)); in jz4780_nemc_configure_bank() 188 smcr &= ~NEMC_SMCR_SMT; in jz4780_nemc_configure_bank() 191 smcr &= ~NEMC_SMCR_BW_MASK; in jz4780_nemc_configure_bank() 194 smcr |= NEMC_SMCR_BW_8; in jz4780_nemc_configure_bank() 207 smcr &= ~NEMC_SMCR_TAS_MASK; in jz4780_nemc_configure_bank() 215 smcr |= cycles << NEMC_SMCR_TAS_SHIFT; in jz4780_nemc_configure_bank() 219 smcr &= ~NEMC_SMCR_TAH_MASK; in jz4780_nemc_configure_bank() 227 smcr |= cycles << NEMC_SMCR_TAH_SHIFT; in jz4780_nemc_configure_bank() 231 smcr &= ~NEMC_SMCR_TBP_MASK; in jz4780_nemc_configure_bank() [all …]
|
H A D | renesas-rpc-if.c | 185 u32 smcr; member 420 rpc->smcr = 0; in rpcif_prepare() 480 rpc->smcr = RPCIF_SMCR_SPIRE; in rpcif_prepare() 483 rpc->smcr = RPCIF_SMCR_SPIWE; in rpcif_prepare() 505 u32 smenr, smcr, pos = 0, max = rpc->bus_size == 2 ? 8 : 4; in rpcif_manual_xfer() local 529 smcr = rpc->smcr | RPCIF_SMCR_SPIE; in rpcif_manual_xfer() 534 smcr |= RPCIF_SMCR_SSLKP; in rpcif_manual_xfer() 545 regmap_write(rpc->regmap, RPCIF_SMCR, smcr); in rpcif_manual_xfer() 596 rpc->smcr | RPCIF_SMCR_SPIE); in rpcif_manual_xfer() 613 rpc->smcr | RPCIF_SMCR_SPIE); in rpcif_manual_xfer()
|
/linux/drivers/counter/ |
H A D | stm32-timer-cnt.c | 35 u32 smcr; member 89 u32 smcr; in stm32_count_function_read() local 91 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_read() 93 switch (smcr & TIM_SMCR_SMS) { in stm32_count_function_read() 803 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend() 833 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
|
/linux/arch/arm/common/ |
H A D | sa1111.c | 702 unsigned int smcr = SMCR_DTIM | SMCR_MBGE | FInsrt(drac, SMCR_DRAC); in sa1111_configure_smc() local 705 smcr |= SMCR_CLAT; in sa1111_configure_smc() 707 writel_relaxed(smcr, sachip->base + SA1111_SMCR); in sa1111_configure_smc()
|