Home
last modified time | relevance | path

Searched refs:backup_regs (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/pinctrl/tegra/
Dpinctrl-tegra.c696 u32 *backup_regs = pmx->backup_regs; in tegra_pinctrl_suspend() local
705 *backup_regs++ = readl_relaxed(regs++); in tegra_pinctrl_suspend()
714 u32 *backup_regs = pmx->backup_regs; in tegra_pinctrl_resume() local
723 writel_relaxed(*backup_regs++, regs++); in tegra_pinctrl_resume()
824 pmx->backup_regs = devm_kzalloc(&pdev->dev, backup_regs_size, in tegra_pinctrl_probe()
826 if (!pmx->backup_regs) in tegra_pinctrl_probe()
Dpinctrl-tegra.h20 u32 *backup_regs; member
/Linux-v5.10/drivers/i2c/busses/
Di2c-stm32f7.c329 struct stm32f7_i2c_regs backup_regs; member
2269 struct stm32f7_i2c_regs *backup_regs = &i2c_dev->backup_regs; in stm32f7_i2c_regs_backup() local
2275 backup_regs->cr1 = readl_relaxed(i2c_dev->base + STM32F7_I2C_CR1); in stm32f7_i2c_regs_backup()
2276 backup_regs->cr2 = readl_relaxed(i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_regs_backup()
2277 backup_regs->oar1 = readl_relaxed(i2c_dev->base + STM32F7_I2C_OAR1); in stm32f7_i2c_regs_backup()
2278 backup_regs->oar2 = readl_relaxed(i2c_dev->base + STM32F7_I2C_OAR2); in stm32f7_i2c_regs_backup()
2279 backup_regs->tmgr = readl_relaxed(i2c_dev->base + STM32F7_I2C_TIMINGR); in stm32f7_i2c_regs_backup()
2291 struct stm32f7_i2c_regs *backup_regs = &i2c_dev->backup_regs; in stm32f7_i2c_regs_restore() local
2302 writel_relaxed(backup_regs->tmgr, i2c_dev->base + STM32F7_I2C_TIMINGR); in stm32f7_i2c_regs_restore()
2303 writel_relaxed(backup_regs->cr1 & ~STM32F7_I2C_CR1_PE, in stm32f7_i2c_regs_restore()
[all …]