Home
last modified time | relevance | path

Searched refs:saved (Results 1 – 25 of 220) sorted by relevance

123456789

/linux-6.6.21/drivers/video/
Dvgastate.c50 struct regstate *saved = (struct regstate *) state->vidstate; in save_vga_text() local
89 saved->vga_font0[i] = vga_r(fbbase, i); in save_vga_text()
100 saved->vga_font1[i] = vga_r(fbbase, i); in save_vga_text()
111 saved->vga_text[i] = vga_r(fbbase, i); in save_vga_text()
119 saved->vga_text[8192+i] = vga_r(fbbase + 2 * 8192, i); in save_vga_text()
140 struct regstate *saved = (struct regstate *) state->vidstate; in restore_vga_text() local
175 vga_w(fbbase, i, saved->vga_font0[i]); in restore_vga_text()
186 vga_w(fbbase, i, saved->vga_font1[i]); in restore_vga_text()
197 vga_w(fbbase, i, saved->vga_text[i]); in restore_vga_text()
205 vga_w(fbbase, i, saved->vga_text[8192+i]); in restore_vga_text()
[all …]
/linux-6.6.21/arch/x86/boot/
Dvideo.c237 } saved; variable
242 saved.x = boot_params.screen_info.orig_video_cols; in save_screen()
243 saved.y = boot_params.screen_info.orig_video_lines; in save_screen()
244 saved.curx = boot_params.screen_info.orig_x; in save_screen()
245 saved.cury = boot_params.screen_info.orig_y; in save_screen()
247 if (!heap_free(saved.x*saved.y*sizeof(u16)+512)) in save_screen()
250 saved.data = GET_HEAP(u16, saved.x*saved.y); in save_screen()
253 copy_from_fs(saved.data, 0, saved.x*saved.y*sizeof(u16)); in save_screen()
263 u16 *src = saved.data; in restore_screen()
278 if (y < saved.y) { in restore_screen()
[all …]
Da20.c57 int saved, ctr; in a20_test() local
62 saved = ctr = rdfs32(A20_TEST_ADDR); in a20_test()
72 wrfs32(saved, A20_TEST_ADDR); in a20_test()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Dintel_scheduler_helpers.c30 struct intel_selftest_saved_policy *saved, in intel_selftest_modify_policy() argument
35 saved->reset = engine->i915->params.reset; in intel_selftest_modify_policy()
36 saved->flags = engine->flags; in intel_selftest_modify_policy()
37 saved->timeslice = engine->props.timeslice_duration_ms; in intel_selftest_modify_policy()
38 saved->preempt_timeout = engine->props.preempt_timeout_ms; in intel_selftest_modify_policy()
70 intel_selftest_restore_policy(engine, saved); in intel_selftest_modify_policy()
76 struct intel_selftest_saved_policy *saved) in intel_selftest_restore_policy() argument
79 engine->i915->params.reset = saved->reset; in intel_selftest_restore_policy()
80 engine->flags = saved->flags; in intel_selftest_restore_policy()
81 engine->props.timeslice_duration_ms = saved->timeslice; in intel_selftest_restore_policy()
[all …]
Dintel_scheduler_helpers.h29 struct intel_selftest_saved_policy *saved,
32 struct intel_selftest_saved_policy *saved);
/linux-6.6.21/drivers/gpu/drm/radeon/
Datom.c180 int *ptr, uint32_t *saved, int print) in atom_get_src_int() argument
330 if (saved) in atom_get_src_int()
331 *saved = val; in atom_get_src_int()
432 int *ptr, uint32_t *saved, int print) in atom_get_dst() argument
437 ptr, saved, print); in atom_get_dst()
448 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() argument
457 saved &= ~atom_arg_mask[align]; in atom_put_dst()
458 val |= saved; in atom_put_dst()
586 uint32_t dst, src, saved; in atom_op_add() local
589 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_add()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Datom.c182 int *ptr, uint32_t *saved, int print) in atom_get_src_int() argument
332 if (saved) in atom_get_src_int()
333 *saved = val; in atom_get_src_int()
434 int *ptr, uint32_t *saved, int print) in atom_get_dst() argument
439 ptr, saved, print); in atom_get_dst()
450 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() argument
459 saved &= ~atom_arg_mask[align]; in atom_put_dst()
460 val |= saved; in atom_put_dst()
588 uint32_t dst, src, saved; in atom_op_add() local
591 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_add()
[all …]
/linux-6.6.21/arch/arm/lib/
Dbacktrace.S63 1001: ldr sv_pc, [frame, #0] @ get saved pc
64 1002: ldr sv_fp, [frame, #-12] @ get saved fp
70 ldr r3, .Ldsi+4 @ adjust saved 'pc' back one
75 ldr r1, [frame, #-4] @ get saved lr
87 bleq dump_backtrace_stm @ dump saved registers
94 bleq dump_backtrace_stm @ dump saved registers
96 teq sv_fp, #0 @ zero saved fp means
Dbacktrace-clang.S124 1001: ldr sv_pc, [frame, #4] @ get saved 'pc'
125 1002: ldr sv_fp, [frame, #0] @ get saved fp
145 1003: ldr sv_lr, [sv_fp, #4] @ get saved lr from next frame
/linux-6.6.21/arch/sh/kernel/
Dkprobes.c102 struct kprobe *saved = this_cpu_ptr(&saved_next_opcode); in arch_remove_kprobe() local
104 if (saved->addr) { in arch_remove_kprobe()
106 arch_disarm_kprobe(saved); in arch_remove_kprobe()
108 saved->addr = NULL; in arch_remove_kprobe()
109 saved->opcode = 0; in arch_remove_kprobe()
111 saved = this_cpu_ptr(&saved_next_opcode2); in arch_remove_kprobe()
112 if (saved->addr) { in arch_remove_kprobe()
113 arch_disarm_kprobe(saved); in arch_remove_kprobe()
115 saved->addr = NULL; in arch_remove_kprobe()
116 saved->opcode = 0; in arch_remove_kprobe()
/linux-6.6.21/drivers/input/misc/
Dadxl34x.c197 struct axis_triple saved; member
245 ac->saved.x = (s16) le16_to_cpu(buf[0]); in adxl34x_get_triple()
246 axis->x = ac->saved.x; in adxl34x_get_triple()
248 ac->saved.y = (s16) le16_to_cpu(buf[1]); in adxl34x_get_triple()
249 axis->y = ac->saved.y; in adxl34x_get_triple()
251 ac->saved.z = (s16) le16_to_cpu(buf[2]); in adxl34x_get_triple()
252 axis->z = ac->saved.z; in adxl34x_get_triple()
516 ac->hwcal.x -= (ac->saved.x / 4); in adxl34x_calibrate_store()
517 ac->swcal.x = ac->saved.x % 4; in adxl34x_calibrate_store()
519 ac->hwcal.y -= (ac->saved.y / 4); in adxl34x_calibrate_store()
[all …]
/linux-6.6.21/arch/m68k/fpsp040/
Dfpsp.h34 | | saved registers |
69 | The registers d0, d1, a0, a1 and fp0-fp3 are always saved and
72 | of these registers, it should modify the saved copy and let
83 .set USER_D0,LV+0 | saved user D0
84 .set USER_D1,LV+4 | saved user D1
85 .set USER_A0,LV+8 | saved user A0
86 .set USER_A1,LV+12 | saved user A1
87 .set USER_FP0,LV+16 | saved user FP0
88 .set USER_FP1,LV+28 | saved user FP1
89 .set USER_FP2,LV+40 | saved user FP2
[all …]
/linux-6.6.21/sound/pci/ice1712/
Dice1712.h352 unsigned int saved[2]; /* for ewx_i2c */ member
428 ice->gpio.saved[0] = ice->gpio.direction; in snd_ice1712_save_gpio_status()
429 ice->gpio.saved[1] = ice->gpio.write_mask; in snd_ice1712_save_gpio_status()
434 ice->gpio.set_dir(ice, ice->gpio.saved[0]); in snd_ice1712_restore_gpio_status()
435 ice->gpio.set_mask(ice, ice->gpio.saved[1]); in snd_ice1712_restore_gpio_status()
436 ice->gpio.direction = ice->gpio.saved[0]; in snd_ice1712_restore_gpio_status()
437 ice->gpio.write_mask = ice->gpio.saved[1]; in snd_ice1712_restore_gpio_status()
/linux-6.6.21/Documentation/ABI/testing/
Dpstore13 data can also be saved::
24 - "dmesg" - saved console log
34 will be saved elsewhere and erased from persistent store
39 data saved on each oops/panic. Pstore saves (possibly
/linux-6.6.21/drivers/irqchip/
Dirq-sa11x0.c82 unsigned int saved; member
92 st->saved = 1; in sa1100irq_suspend()
109 if (st->saved) { in sa1100irq_resume()
/linux-6.6.21/Documentation/arch/s390/
Dzfcpdump.rst10 dump tool is loaded. There exists an SCLP hardware interface to obtain the saved
11 memory afterwards. Currently 32 MB are saved.
14 a user space dump tool, which are loaded together into the saved memory region
23 been saved by the hardware SCLP requests will be created at the time the data
/linux-6.6.21/arch/arm/kernel/
Dentry-header.S77 @ determine the location of the registers saved by the core during
86 @ we cannot rely on r0-r3 and r12 matching the value saved in the
97 @ load saved r12, lr, return address and xPSR.
104 @ r9 currently points to the memory location just above the auto saved
107 @ of the saved xPSR specifies if stack aligning took place. In this case
113 @ store saved r12 using str to have a register to hold the base for stm
138 @ the sp to be restored is aligned or not set bit 9 of the saved xPSR
/linux-6.6.21/drivers/gpio/
Dgpio-msc313.c485 u8 *saved; member
637 gpio->saved = devm_kcalloc(dev, gpio->gpio_data->num, sizeof(*gpio->saved), GFP_KERNEL); in msc313_gpio_probe()
638 if (!gpio->saved) in msc313_gpio_probe()
700 gpio->saved[i] = readb_relaxed(gpio->base + gpio->gpio_data->offsets[i]) & MSC313_GPIO_BITSTOSAVE; in msc313_gpio_suspend()
711 writeb_relaxed(gpio->saved[i], gpio->base + gpio->gpio_data->offsets[i]); in msc313_gpio_resume()
/linux-6.6.21/drivers/acpi/
Dprocessor_driver.c57 int saved; in acpi_processor_notify() local
68 saved = pr->performance_platform_limit; in acpi_processor_notify()
70 if (saved == pr->performance_platform_limit) in acpi_processor_notify()
/linux-6.6.21/arch/sh/kernel/cpu/sh3/
Dentry.S316 cmp/hs k0, k1 ! test k1 (saved PC) >= k0 (saved r0)
322 ldc k0, spc ! PC = saved r0 + r15 - 2
490 mov r15, r8 ! trap handlers take saved regs in r8
494 mov r15, r5 ! pass saved registers as arg1
/linux-6.6.21/drivers/iommu/
Domap-iommu-debug.c116 struct iotlb_lock saved; in __dump_tlb_entries() local
121 iotlb_lock_get(obj, &saved); in __dump_tlb_entries()
129 iotlb_lock_set(obj, &saved); in __dump_tlb_entries()
/linux-6.6.21/drivers/net/wireless/broadcom/b43legacy/
Dradio.c234 u16 saved; in b43legacy_radio_aci_detect() local
240 saved = b43legacy_phy_read(dev, 0x0403); in b43legacy_radio_aci_detect()
242 b43legacy_phy_write(dev, 0x0403, (saved & 0xFFF8) | 5); in b43legacy_radio_aci_detect()
246 rssi = saved & 0x3F; in b43legacy_radio_aci_detect()
259 b43legacy_phy_write(dev, 0x0403, saved); in b43legacy_radio_aci_detect()
372 u16 saved = 0xFFFF; in b43legacy_calc_nrssi_offset() local
439 if (v47F < 31 && saved == 0xFFFF) in b43legacy_calc_nrssi_offset()
440 saved = i; in b43legacy_calc_nrssi_offset()
442 if (saved == 0xFFFF) in b43legacy_calc_nrssi_offset()
443 saved = 4; in b43legacy_calc_nrssi_offset()
[all …]
/linux-6.6.21/sound/aoa/core/
Dgpio-pmf.c51 int saved; in pmf_gpio_all_amps_off() local
54 saved = rt->implementation_private; in pmf_gpio_all_amps_off()
58 rt->implementation_private = saved; in pmf_gpio_all_amps_off()
/linux-6.6.21/Documentation/arch/arm64/
Dasymmetric-32bit.rst76 mask is saved. This saved mask is inherited over ``fork(2)`` and
91 invalidate the affinity mask saved in (1) and attempt to restore the CPU
92 affinity of the task using the saved mask if it was previously valid.
99 affinity for the task is updated and any saved mask from a prior
/linux-6.6.21/tools/testing/selftests/arm64/signal/testcases/
DTODO1 - Validate that register contents are saved and restored as expected.

123456789