Searched refs:smcr (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/memory/ |
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 …]
|
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-v6.6/drivers/counter/ |
D | stm32-timer-cnt.c | 27 u32 smcr; member 76 u32 smcr; in stm32_count_function_read() local 78 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_read() 80 switch (smcr & TIM_SMCR_SMS) { in stm32_count_function_read() 363 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend() 389 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
|
/Linux-v6.6/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 85 u32 smcr; member 567 u32 smcr; in stm32_get_trigger_mode() local 569 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_trigger_mode() 571 return (smcr & TIM_SMCR_SMS) == TIM_SMCR_SMS ? 0 : -EINVAL; in stm32_get_trigger_mode() 644 u32 smcr; in stm32_get_enable_mode() local 646 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_get_enable_mode() 647 smcr &= TIM_SMCR_SMS; in stm32_get_enable_mode() 649 return stm32_sms2enable_mode(smcr); in stm32_get_enable_mode() 843 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_trigger_suspend() 864 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_trigger_resume()
|
/Linux-v6.6/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-v6.6/arch/arm64/kernel/ |
D | fpsimd.c | 1360 u64 smcr; in sme_setup() local 1377 smcr = read_sanitised_ftr_reg(SYS_SMCR_EL1); in sme_setup() 1378 info->max_vl = sve_vl_from_vq((smcr & SMCR_ELx_LEN_MASK) + 1); in sme_setup()
|
D | cpufeature.c | 3174 u64 smcr = read_smcr_features(); in verify_sme_features() local 3177 unsigned int len = smcr & SMCR_ELx_LEN_MASK; in verify_sme_features()
|
/Linux-v6.6/arch/arm/common/ |
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()
|