Home
last modified time | relevance | path

Searched refs:save (Results 1 – 25 of 105) sorted by relevance

12345

/drivers/soc/samsung/
Ds3c-pm-debug.c49 struct pm_uart_save *save = &uart_save; in s3c_pm_save_uarts() local
51 save->ulcon = __raw_readl(regs + S3C2410_ULCON); in s3c_pm_save_uarts()
52 save->ucon = __raw_readl(regs + S3C2410_UCON); in s3c_pm_save_uarts()
53 save->ufcon = __raw_readl(regs + S3C2410_UFCON); in s3c_pm_save_uarts()
54 save->umcon = __raw_readl(regs + S3C2410_UMCON); in s3c_pm_save_uarts()
55 save->ubrdiv = __raw_readl(regs + S3C2410_UBRDIV); in s3c_pm_save_uarts()
58 save->udivslot = __raw_readl(regs + S3C2443_DIVSLOT); in s3c_pm_save_uarts()
61 regs, save->ulcon, save->ucon, save->ufcon, save->ubrdiv); in s3c_pm_save_uarts()
67 struct pm_uart_save *save = &uart_save; in s3c_pm_restore_uarts() local
69 s3c_pm_arch_update_uart(regs, save); in s3c_pm_restore_uarts()
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dagp.c60 u32 save[2]; in nvkm_agp_preinit() local
72 save[0] = nvkm_pci_rd32(pci, 0x0004); in nvkm_agp_preinit()
73 nvkm_pci_wr32(pci, 0x0004, save[0] & ~0x00000004); in nvkm_agp_preinit()
77 save[1] = nvkm_mask(device, 0x000200, 0x00011100, 0x00000000); in nvkm_agp_preinit()
78 nvkm_mask(device, 0x000200, 0x00011100, save[1]); in nvkm_agp_preinit()
81 nvkm_pci_wr32(pci, 0x0004, save[0]); in nvkm_agp_preinit()
/drivers/pinctrl/samsung/
Dpinctrl-exynos.c637 struct exynos_eint_gpio_save *save = bank->soc_priv; in exynos_pinctrl_suspend_bank() local
640 save->eint_con = readl(regs + EXYNOS_GPIO_ECON_OFFSET in exynos_pinctrl_suspend_bank()
642 save->eint_fltcon0 = readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET in exynos_pinctrl_suspend_bank()
644 save->eint_fltcon1 = readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET in exynos_pinctrl_suspend_bank()
646 save->eint_mask = readl(regs + bank->irq_chip->eint_mask in exynos_pinctrl_suspend_bank()
649 pr_debug("%s: save con %#010x\n", bank->name, save->eint_con); in exynos_pinctrl_suspend_bank()
650 pr_debug("%s: save fltcon0 %#010x\n", bank->name, save->eint_fltcon0); in exynos_pinctrl_suspend_bank()
651 pr_debug("%s: save fltcon1 %#010x\n", bank->name, save->eint_fltcon1); in exynos_pinctrl_suspend_bank()
652 pr_debug("%s: save mask %#010x\n", bank->name, save->eint_mask); in exynos_pinctrl_suspend_bank()
678 struct exynos_eint_gpio_save *save = bank->soc_priv; in exynos_pinctrl_resume_bank() local
[all …]
/drivers/pci/
Dvc.c27 u32 *buf, int dwords, bool save) in pci_vc_save_restore_dwords() argument
32 if (save) in pci_vc_save_restore_dwords()
186 bool save) in pci_vc_do_save_buffer() argument
195 pci_vc_do_save_buffer(dev, pos, NULL, save)) { in pci_vc_do_save_buffer()
215 if (save) in pci_vc_do_save_buffer()
253 size / 4, save); in pci_vc_do_save_buffer()
258 if (!save) in pci_vc_do_save_buffer()
300 size / 4, save); in pci_vc_do_save_buffer()
310 if (save) in pci_vc_do_save_buffer()
/drivers/iio/dac/
Dm62332.c29 u8 save[M62332_CHANNELS]; member
135 data->save[0] = data->raw[0]; in m62332_suspend()
136 data->save[1] = data->raw[1]; in m62332_suspend()
152 ret = m62332_set_value(indio_dev, data->save[0], 0); in m62332_resume()
156 return m62332_set_value(indio_dev, data->save[1], 1); in m62332_resume()
Dds4424.c58 uint8_t save[DS4424_MAX_DAC_CHANNELS]; member
183 data->save[i] = data->raw[i]; in ds4424_suspend()
201 ret = ds4424_set_value(indio_dev, data->save[i], in ds4424_resume()
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgp100.c58 u32 save = nvkm_rd32(device, 0x9a065c) & 0x000000f0; in gp100_ram_init() local
60 if (i != save >> 4) { in gp100_ram_init()
65 nvkm_mask(device, 0x9a065c, 0x000000f0, save); in gp100_ram_init()
/drivers/clk/samsung/
Dclk-exynos5-subcmu.c25 rd->save = readl(base + rd->offset); in exynos5_subcmu_clk_save()
26 writel((rd->save & ~rd->mask) | rd->value, base + rd->offset); in exynos5_subcmu_clk_save()
27 rd->save &= rd->mask; in exynos5_subcmu_clk_save()
36 writel((readl(base + rd->offset) & ~rd->mask) | rd->save, in exynos5_subcmu_clk_restore()
Dclk-exynos5-subcmu.h10 u32 save; member
/drivers/video/fbdev/aty/
Dradeon_base.c302 u32 save, tmp; in radeon_pll_errata_after_data_slow() local
303 save = INREG(CLOCK_CNTL_INDEX); in radeon_pll_errata_after_data_slow()
304 tmp = save & ~(0x3f | PLL_WR_EN); in radeon_pll_errata_after_data_slow()
307 OUTREG(CLOCK_CNTL_INDEX, save); in radeon_pll_errata_after_data_slow()
1310 struct radeon_regs *save) in radeon_save_state() argument
1313 save->crtc_gen_cntl = INREG(CRTC_GEN_CNTL); in radeon_save_state()
1314 save->crtc_ext_cntl = INREG(CRTC_EXT_CNTL); in radeon_save_state()
1315 save->crtc_more_cntl = INREG(CRTC_MORE_CNTL); in radeon_save_state()
1316 save->dac_cntl = INREG(DAC_CNTL); in radeon_save_state()
1317 save->crtc_h_total_disp = INREG(CRTC_H_TOTAL_DISP); in radeon_save_state()
[all …]
/drivers/misc/sgi-gru/
Dgrumain.c479 static void gru_load_context_data(void *save, void *grubase, int ctxnum, in gru_load_context_data() argument
495 save += gru_copy_handle(cb, save); in gru_load_context_data()
496 save += gru_copy_handle(cbe + i * GRU_HANDLE_STRIDE, in gru_load_context_data()
497 save); in gru_load_context_data()
510 memcpy(gseg + GRU_DS_BASE, save, length); in gru_load_context_data()
515 static void gru_unload_context_data(void *save, void *grubase, int ctxnum, in gru_unload_context_data() argument
535 save += gru_copy_handle(save, cb); in gru_unload_context_data()
536 save += gru_copy_handle(save, cbe + i * GRU_HANDLE_STRIDE); in gru_unload_context_data()
539 memcpy(save, gseg + GRU_DS_BASE, length); in gru_unload_context_data()
/drivers/gpu/drm/radeon/
Drv515.c268 void rv515_mc_stop(struct radeon_device *rdev, struct rv515_mc_save *save) in rv515_mc_stop() argument
273 save->vga_render_control = RREG32(R_000300_VGA_RENDER_CONTROL); in rv515_mc_stop()
274 save->vga_hdp_control = RREG32(R_000328_VGA_HDP_CONTROL); in rv515_mc_stop()
282 save->crtc_enabled[i] = true; in rv515_mc_stop()
305 save->crtc_enabled[i] = false; in rv515_mc_stop()
308 save->crtc_enabled[i] = false; in rv515_mc_stop()
335 if (save->crtc_enabled[i]) { in rv515_mc_stop()
350 void rv515_mc_resume(struct radeon_device *rdev, struct rv515_mc_save *save) in rv515_mc_resume() argument
379 if (save->crtc_enabled[i]) { in rv515_mc_resume()
421 if (save->crtc_enabled[i]) { in rv515_mc_resume()
[all …]
Devergreen.h35 void evergreen_mc_stop(struct radeon_device *rdev, struct evergreen_mc_save *save);
36 void evergreen_mc_resume(struct radeon_device *rdev, struct evergreen_mc_save *save);
Dr520.c135 struct rv515_mc_save save; in r520_mc_program() local
138 rv515_mc_stop(rdev, &save); in r520_mc_program()
164 rv515_mc_resume(rdev, &save); in r520_mc_program()
Dr100.c2565 struct r100_mc_save save; in r100_asic_reset() local
2573 r100_mc_stop(rdev, &save); in r100_asic_reset()
2615 r100_mc_resume(rdev, &save); in r100_asic_reset()
2876 uint32_t save, tmp; in r100_pll_errata_after_data() local
2878 save = RREG32(RADEON_CLOCK_CNTL_INDEX); in r100_pll_errata_after_data()
2879 tmp = save & ~(0x3f | RADEON_PLL_WR_EN); in r100_pll_errata_after_data()
2882 WREG32(RADEON_CLOCK_CNTL_INDEX, save); in r100_pll_errata_after_data()
3767 void r100_mc_stop(struct radeon_device *rdev, struct r100_mc_save *save) in r100_mc_stop() argument
3776 save->GENMO_WT = RREG8(R_0003C2_GENMO_WT); in r100_mc_stop()
3777 save->CRTC_EXT_CNTL = RREG32(R_000054_CRTC_EXT_CNTL); in r100_mc_stop()
[all …]
/drivers/mfd/
Dsm501.c258 unsigned long save; in sm501_misc_control() local
261 spin_lock_irqsave(&sm->reg_lock, save); in sm501_misc_control()
273 spin_unlock_irqrestore(&sm->reg_lock, save); in sm501_misc_control()
292 unsigned long save; in sm501_modify_reg() local
294 spin_lock_irqsave(&sm->reg_lock, save); in sm501_modify_reg()
303 spin_unlock_irqrestore(&sm->reg_lock, save); in sm501_modify_reg()
925 unsigned long save; in sm501_gpio_set() local
931 spin_lock_irqsave(&smgpio->lock, save); in sm501_gpio_set()
941 spin_unlock_irqrestore(&smgpio->lock, save); in sm501_gpio_set()
950 unsigned long save; in sm501_gpio_input() local
[all …]
/drivers/spi/
Dspidev.c417 u32 save = spi->mode; in spidev_ioctl() local
432 spi->mode = save; in spidev_ioctl()
440 u32 save = spi->mode; in spidev_ioctl() local
448 spi->mode = save; in spidev_ioctl()
457 u8 save = spi->bits_per_word; in spidev_ioctl() local
462 spi->bits_per_word = save; in spidev_ioctl()
470 u32 save = spi->max_speed_hz; in spidev_ioctl() local
479 spi->max_speed_hz = save; in spidev_ioctl()
/drivers/char/tpm/
Dtpm-interface.c157 u8 save[TPM_HEADER_SIZE + 3*sizeof(u32)]; in tpm_transmit() local
161 const size_t save_size = min(sizeof(save), bufsiz); in tpm_transmit()
170 memcpy(save, buf, save_size); in tpm_transmit()
196 memcpy(buf, save, save_size); in tpm_transmit()
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchang84.c77 u32 engn, save; in g84_fifo_chan_engine_fini() local
86 save = nvkm_mask(device, 0x002520, 0x0000003f, 1 << engn); in g84_fifo_chan_engine_fini()
92 nvkm_wr32(device, 0x002520, save); in g84_fifo_chan_engine_fini()
/drivers/gpu/drm/amd/amdgpu/
Dcik.c1244 struct kv_reset_save_regs *save) in kv_save_regs_for_reset() argument
1246 save->gmcon_reng_execute = RREG32(mmGMCON_RENG_EXECUTE); in kv_save_regs_for_reset()
1247 save->gmcon_misc = RREG32(mmGMCON_MISC); in kv_save_regs_for_reset()
1248 save->gmcon_misc3 = RREG32(mmGMCON_MISC3); in kv_save_regs_for_reset()
1250 WREG32(mmGMCON_RENG_EXECUTE, save->gmcon_reng_execute & in kv_save_regs_for_reset()
1252 WREG32(mmGMCON_MISC, save->gmcon_misc & in kv_save_regs_for_reset()
1258 struct kv_reset_save_regs *save) in kv_restore_regs_for_reset() argument
1325 WREG32(mmGMCON_MISC3, save->gmcon_misc3); in kv_restore_regs_for_reset()
1326 WREG32(mmGMCON_MISC, save->gmcon_misc); in kv_restore_regs_for_reset()
1327 WREG32(mmGMCON_RENG_EXECUTE, save->gmcon_reng_execute); in kv_restore_regs_for_reset()
/drivers/net/wireless/broadcom/b43/
Dphy_lcn.c64 u16 save[2]; in b43_radio_2064_channel_setup() local
79 save[0] = b43_radio_read(dev, 0x044); in b43_radio_2064_channel_setup()
80 save[1] = b43_radio_read(dev, 0x12b); in b43_radio_2064_channel_setup()
98 b43_radio_write(dev, 0x044, save[0]); in b43_radio_2064_channel_setup()
99 b43_radio_write(dev, 0x12b, save[1]); in b43_radio_2064_channel_setup()
/drivers/media/pci/bt8xx/
Dbttv-gpio.c98 struct bttv_sub_device *sub, *save; in bttv_sub_del_devices() local
100 list_for_each_entry_safe(sub, save, &core->subs, list) { in bttv_sub_del_devices()
/drivers/comedi/drivers/ni_routing/tools/
Dconvert_csv_to_c.py277 def save(self): member in DeviceRoutes
466 def save(self): member in RouteValues
496 doc.save()
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dgpc.fuc285 // save context size, and tell HUB we're done
398 // $p1 clear on save, set on load
400 // on save it means: "a load will follow this save"
401 // on load it means: "a save preceeded this load"
477 // if load, or a save without a load following, do some
/drivers/memory/
Dti-emif-sram-pm.S50 stmfd sp!, {r4 - r11, lr} @ save registers on stack
296 stmfd sp!, {r4 - r11, lr} @ save registers on stack
353 stmfd sp!, {r4 - r11, lr} @ save registers on stack

12345