Home
last modified time | relevance | path

Searched refs:smcr (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/iio/trigger/
H A Dstm32-timer-trigger.c88 u32 smcr; member
574 u32 smcr; in stm32_get_trigger_mode() local
576 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_trigger_mode()
578 return (smcr & TIM_SMCR_SMS) == TIM_SMCR_SMS ? 0 : -EINVAL; in stm32_get_trigger_mode()
655 u32 smcr; in stm32_get_enable_mode() local
657 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_enable_mode()
658 smcr &= TIM_SMCR_SMS; in stm32_get_enable_mode()
660 return stm32_sms2enable_mode(smcr); in stm32_get_enable_mode()
853 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_trigger_suspend()
874 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_trigger_resume()
/linux/drivers/counter/
H A Dstm32-timer-cnt.c34 u32 smcr; member
88 u32 smcr; in stm32_count_function_read() local
90 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_read()
92 switch (smcr & TIM_SMCR_SMS) { in stm32_count_function_read()
798 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend()
828 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
/linux/drivers/i2c/busses/
H A Di2c-highlander.c173 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/arch/arm64/kernel/
H A Dfpsimd.c1284 u64 smcr = 0; in sme_suspend_exit() local
1290 smcr |= SMCR_ELx_FA64; in sme_suspend_exit()
1292 smcr |= SMCR_ELx_EZT0; in sme_suspend_exit()
1294 write_sysreg_s(smcr, SYS_SMCR_EL1); in sme_suspend_exit()