Searched refs:smcr (Results 1 – 5 of 5) sorted by relevance
/drivers/memory/ |
D | jz4780-nemc.c | 163 uint32_t smcr, val, cycles; in jz4780_nemc_configure_bank() local 188 smcr = readl(nemc->base + NEMC_SMCRn(bank)); in jz4780_nemc_configure_bank() 189 smcr &= ~NEMC_SMCR_SMT; in jz4780_nemc_configure_bank() 192 smcr &= ~NEMC_SMCR_BW_MASK; in jz4780_nemc_configure_bank() 195 smcr |= NEMC_SMCR_BW_8; in jz4780_nemc_configure_bank() 208 smcr &= ~NEMC_SMCR_TAS_MASK; in jz4780_nemc_configure_bank() 216 smcr |= cycles << NEMC_SMCR_TAS_SHIFT; in jz4780_nemc_configure_bank() 220 smcr &= ~NEMC_SMCR_TAH_MASK; in jz4780_nemc_configure_bank() 228 smcr |= cycles << NEMC_SMCR_TAH_SHIFT; in jz4780_nemc_configure_bank() 232 smcr &= ~NEMC_SMCR_TBP_MASK; in jz4780_nemc_configure_bank() [all …]
|
D | renesas-rpc-if.c | 372 rpc->smcr = 0; in rpcif_prepare() 433 rpc->smcr = RPCIF_SMCR_SPIRE; in rpcif_prepare() 436 rpc->smcr = RPCIF_SMCR_SPIWE; in rpcif_prepare() 457 u32 smenr, smcr, pos = 0, max = rpc->bus_size == 2 ? 8 : 4; in rpcif_manual_xfer() local 479 smcr = rpc->smcr | RPCIF_SMCR_SPIE; in rpcif_manual_xfer() 484 smcr |= RPCIF_SMCR_SSLKP; in rpcif_manual_xfer() 501 regmap_write(rpc->regmap, RPCIF_SMCR, smcr); in rpcif_manual_xfer() 552 rpc->smcr | RPCIF_SMCR_SPIE); in rpcif_manual_xfer() 575 rpc->smcr | RPCIF_SMCR_SPIE); in rpcif_manual_xfer()
|
/drivers/counter/ |
D | stm32-timer-cnt.c | 26 u32 smcr; member 91 u32 smcr; in stm32_count_function_get() local 93 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_get() 95 switch (smcr & TIM_SMCR_SMS) { in stm32_count_function_get() 397 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend() 423 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
|
/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 84 u32 smcr; member 566 u32 smcr; in stm32_get_trigger_mode() local 568 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_trigger_mode() 570 return (smcr & TIM_SMCR_SMS) == TIM_SMCR_SMS ? 0 : -EINVAL; in stm32_get_trigger_mode() 643 u32 smcr; in stm32_get_enable_mode() local 645 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_enable_mode() 646 smcr &= TIM_SMCR_SMS; in stm32_get_enable_mode() 648 return stm32_sms2enable_mode(smcr); in stm32_get_enable_mode() 842 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_trigger_suspend() 863 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_trigger_resume()
|
/drivers/i2c/busses/ |
D | i2c-highlander.c | 173 u16 smcr; in highlander_i2c_poll() local 177 smcr = ioread16(dev->base + SMCR); in highlander_i2c_poll() 185 if (smcr & SMCR_IRIC) in highlander_i2c_poll()
|