Searched refs:smcr (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/memory/ |
D | jz4780-nemc.c | 158 uint32_t smcr, val, cycles; in jz4780_nemc_configure_bank() local 183 smcr = readl(nemc->base + NEMC_SMCRn(bank)); in jz4780_nemc_configure_bank() 184 smcr &= ~NEMC_SMCR_SMT; in jz4780_nemc_configure_bank() 187 smcr &= ~NEMC_SMCR_BW_MASK; in jz4780_nemc_configure_bank() 190 smcr |= NEMC_SMCR_BW_8; in jz4780_nemc_configure_bank() 203 smcr &= ~NEMC_SMCR_TAS_MASK; in jz4780_nemc_configure_bank() 211 smcr |= cycles << NEMC_SMCR_TAS_SHIFT; in jz4780_nemc_configure_bank() 215 smcr &= ~NEMC_SMCR_TAH_MASK; in jz4780_nemc_configure_bank() 223 smcr |= cycles << NEMC_SMCR_TAH_SHIFT; in jz4780_nemc_configure_bank() 227 smcr &= ~NEMC_SMCR_TBP_MASK; in jz4780_nemc_configure_bank() [all …]
|
/Linux-v4.19/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() 632 u32 smcr; in stm32_get_quadrature_mode() local 635 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_quadrature_mode() 636 mode = (smcr & TIM_SMCR_SMS) - 1; in stm32_get_quadrature_mode()
|
/Linux-v4.19/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-v4.19/arch/arm/common/ |
D | sa1111.c | 707 unsigned int smcr = SMCR_DTIM | SMCR_MBGE | FInsrt(drac, SMCR_DRAC); in sa1111_configure_smc() local 710 smcr |= SMCR_CLAT; in sa1111_configure_smc() 712 writel_relaxed(smcr, sachip->base + SA1111_SMCR); in sa1111_configure_smc()
|