Searched refs:smcr (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/memory/ |
D | jz4780-nemc.c | 160 uint32_t smcr, val, cycles; in jz4780_nemc_configure_bank() local 185 smcr = readl(nemc->base + NEMC_SMCRn(bank)); in jz4780_nemc_configure_bank() 186 smcr &= ~NEMC_SMCR_SMT; in jz4780_nemc_configure_bank() 189 smcr &= ~NEMC_SMCR_BW_MASK; in jz4780_nemc_configure_bank() 192 smcr |= NEMC_SMCR_BW_8; in jz4780_nemc_configure_bank() 205 smcr &= ~NEMC_SMCR_TAS_MASK; in jz4780_nemc_configure_bank() 213 smcr |= cycles << NEMC_SMCR_TAS_SHIFT; in jz4780_nemc_configure_bank() 217 smcr &= ~NEMC_SMCR_TAH_MASK; in jz4780_nemc_configure_bank() 225 smcr |= cycles << NEMC_SMCR_TAH_SHIFT; in jz4780_nemc_configure_bank() 229 smcr &= ~NEMC_SMCR_TBP_MASK; in jz4780_nemc_configure_bank() [all …]
|
/Linux-v5.4/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 519 u32 smcr; in stm32_get_trigger_mode() local 521 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_trigger_mode() 523 return (smcr & TIM_SMCR_SMS) == TIM_SMCR_SMS ? 0 : -EINVAL; in stm32_get_trigger_mode() 596 u32 smcr; in stm32_get_enable_mode() local 598 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_enable_mode() 599 smcr &= TIM_SMCR_SMS; in stm32_get_enable_mode() 601 return stm32_sms2enable_mode(smcr); in stm32_get_enable_mode()
|
/Linux-v5.4/drivers/counter/ |
D | stm32-timer-cnt.c | 86 u32 smcr; in stm32_count_function_get() local 88 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_get() 90 switch (smcr & TIM_SMCR_SMS) { in stm32_count_function_get()
|
/Linux-v5.4/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()
|
/Linux-v5.4/arch/arm/common/ |
D | sa1111.c | 704 unsigned int smcr = SMCR_DTIM | SMCR_MBGE | FInsrt(drac, SMCR_DRAC); in sa1111_configure_smc() local 707 smcr |= SMCR_CLAT; in sa1111_configure_smc() 709 writel_relaxed(smcr, sachip->base + SA1111_SMCR); in sa1111_configure_smc()
|