Home
last modified time | relevance | path

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

/drivers/counter/
Dstm32-timer-cnt.c37 struct stm32_timer_regs bak; member
354 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_cnt_suspend()
355 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_cnt_suspend()
356 regmap_read(priv->regmap, TIM_CNT, &priv->bak.cnt); in stm32_timer_cnt_suspend()
357 regmap_read(priv->regmap, TIM_CR1, &priv->bak.cr1); in stm32_timer_cnt_suspend()
380 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_cnt_resume()
381 regmap_write(priv->regmap, TIM_ARR, priv->bak.arr); in stm32_timer_cnt_resume()
382 regmap_write(priv->regmap, TIM_CNT, priv->bak.cnt); in stm32_timer_cnt_resume()
385 regmap_write(priv->regmap, TIM_CR1, priv->bak.cr1); in stm32_timer_cnt_resume()
/drivers/iio/trigger/
Dstm32-timer-trigger.c98 struct stm32_timer_trigger_regs bak; member
837 regmap_read(priv->regmap, TIM_CR1, &priv->bak.cr1); in stm32_timer_trigger_suspend()
838 regmap_read(priv->regmap, TIM_CR2, &priv->bak.cr2); in stm32_timer_trigger_suspend()
839 regmap_read(priv->regmap, TIM_PSC, &priv->bak.psc); in stm32_timer_trigger_suspend()
840 regmap_read(priv->regmap, TIM_ARR, &priv->bak.arr); in stm32_timer_trigger_suspend()
841 regmap_read(priv->regmap, TIM_CNT, &priv->bak.cnt); in stm32_timer_trigger_suspend()
842 regmap_read(priv->regmap, TIM_SMCR, &priv->bak.smcr); in stm32_timer_trigger_suspend()
863 regmap_write(priv->regmap, TIM_SMCR, priv->bak.smcr); in stm32_timer_trigger_resume()
864 regmap_write(priv->regmap, TIM_CR2, priv->bak.cr2); in stm32_timer_trigger_resume()
867 regmap_write(priv->regmap, TIM_PSC, priv->bak.psc); in stm32_timer_trigger_resume()
[all …]
/drivers/video/fbdev/via/
Dviafbdev.c842 u32 bak[CURSOR_SIZE / 4]; in viafb_cursor() member
852 cr_data->bak[i] = 0x0; in viafb_cursor()
853 cr_data->bak[i + 1] = 0xFFFFFFFF; in viafb_cursor()
858 cr_data->bak[i] = 0x0; in viafb_cursor()
859 cr_data->bak[i + 1] = 0x0; in viafb_cursor()
860 cr_data->bak[i + 2] = 0xFFFFFFFF; in viafb_cursor()
861 cr_data->bak[i + 3] = 0xFFFFFFFF; in viafb_cursor()
882 cr_data->bak[j] = (u32) cr_data->data[i]; in viafb_cursor()
883 cr_data->bak[j + 1] = ~cr_data->bak[j]; in viafb_cursor()
888 cr_data->bak[j] = (u32) cr_data->data[i]; in viafb_cursor()
[all …]
/drivers/net/wireless/realtek/rtw88/
Drtw8723d.c809 const struct iqk_backup_regs *bak) in rtw8723d_iqk_restore_lte_path_gnt() argument
811 rtw_write32(rtwdev, REG_LTECOEX_WRITE_DATA, bak->lte_gnt); in rtw8723d_iqk_restore_lte_path_gnt()
813 rtw_write32(rtwdev, REG_LTECOEX_PATH_CONTROL, bak->lte_path); in rtw8723d_iqk_restore_lte_path_gnt()