Home
last modified time | relevance | path

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

12

/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 …]
/drivers/gpu/drm/i915/selftests/
Dintel_scheduler_helpers.c18 struct intel_selftest_saved_policy *saved, in intel_selftest_modify_policy() argument
23 saved->reset = engine->i915->params.reset; in intel_selftest_modify_policy()
24 saved->flags = engine->flags; in intel_selftest_modify_policy()
25 saved->timeslice = engine->props.timeslice_duration_ms; in intel_selftest_modify_policy()
26 saved->preempt_timeout = engine->props.preempt_timeout_ms; in intel_selftest_modify_policy()
58 intel_selftest_restore_policy(engine, saved); in intel_selftest_modify_policy()
64 struct intel_selftest_saved_policy *saved) in intel_selftest_restore_policy() argument
67 engine->i915->params.reset = saved->reset; in intel_selftest_restore_policy()
68 engine->flags = saved->flags; in intel_selftest_restore_policy()
69 engine->props.timeslice_duration_ms = saved->timeslice; in intel_selftest_restore_policy()
[all …]
Dintel_scheduler_helpers.h27 struct intel_selftest_saved_policy *saved,
30 struct intel_selftest_saved_policy *saved);
/drivers/gpu/drm/radeon/
Datom.c183 int *ptr, uint32_t *saved, int print) in atom_get_src_int() argument
333 if (saved) in atom_get_src_int()
334 *saved = val; in atom_get_src_int()
435 int *ptr, uint32_t *saved, int print) in atom_get_dst() argument
440 ptr, saved, print); in atom_get_dst()
451 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() argument
460 saved &= ~atom_arg_mask[align]; in atom_put_dst()
461 val |= saved; in atom_put_dst()
589 uint32_t dst, src, saved; in atom_op_add() local
592 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_add()
[all …]
/drivers/gpu/drm/amd/amdgpu/
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 …]
/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()
510 ac->hwcal.x -= (ac->saved.x / 4); in adxl34x_calibrate_store()
511 ac->swcal.x = ac->saved.x % 4; in adxl34x_calibrate_store()
513 ac->hwcal.y -= (ac->saved.y / 4); in adxl34x_calibrate_store()
[all …]
/drivers/gpio/
Dgpio-msc313.c229 u8 *saved; member
367 gpio->saved = devm_kcalloc(dev, gpio->gpio_data->num, sizeof(*gpio->saved), GFP_KERNEL); in msc313_gpio_probe()
368 if (!gpio->saved) in msc313_gpio_probe()
432 gpio->saved[i] = readb_relaxed(gpio->base + gpio->gpio_data->offsets[i]) & MSC313_GPIO_BITSTOSAVE; in msc313_gpio_suspend()
443 writeb_relaxed(gpio->saved[i], gpio->base + gpio->gpio_data->offsets[i]); in msc313_gpio_resume()
/drivers/irqchip/
Dirq-sa11x0.c82 unsigned int saved; member
92 st->saved = 1; in sa1100irq_suspend()
109 if (st->saved) { in sa1100irq_resume()
/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 …]
/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()
/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()
/drivers/gpu/drm/i915/gt/
Dselftest_context.c160 struct file *saved; in live_context_size() local
174 saved = fetch_and_zero(&engine->default_state); in live_context_size()
183 engine->default_state = saved; in live_context_size()
Dselftest_mocs.c407 struct intel_selftest_saved_policy saved; in live_mocs_reset() local
411 err = intel_selftest_modify_policy(engine, &saved, in live_mocs_reset()
430 err2 = intel_selftest_restore_policy(engine, &saved); in live_mocs_reset()
Dselftest_hangcheck.c741 struct intel_selftest_saved_policy saved; in __igt_reset_engine() local
744 err = intel_selftest_modify_policy(engine, &saved, in __igt_reset_engine()
819 err2 = intel_selftest_restore_policy(engine, &saved); in __igt_reset_engine()
1054 struct intel_selftest_saved_policy saved; in __igt_reset_engines() local
1057 err = intel_selftest_modify_policy(engine, &saved, in __igt_reset_engines()
1166 err2 = intel_selftest_restore_policy(engine, &saved); in __igt_reset_engines()
1662 struct intel_selftest_saved_policy saved; in igt_reset_queue() local
1672 err = intel_selftest_modify_policy(engine, &saved, in igt_reset_queue()
1787 int err2 = intel_selftest_restore_policy(engine, &saved); in igt_reset_queue()
Dselftest_workarounds.c810 struct intel_selftest_saved_policy saved; in live_reset_whitelist() local
813 err = intel_selftest_modify_policy(engine, &saved, in live_reset_whitelist()
822 err2 = intel_selftest_restore_policy(engine, &saved); in live_reset_whitelist()
1276 struct intel_selftest_saved_policy saved; in live_engine_reset_workarounds() local
1282 ret = intel_selftest_modify_policy(engine, &saved, in live_engine_reset_workarounds()
1363 ret2 = intel_selftest_restore_policy(engine, &saved); in live_engine_reset_workarounds()
Dintel_engine_heartbeat.c298 unsigned long saved = set_heartbeat(engine, delay); in intel_engine_set_heartbeat() local
304 set_heartbeat(engine, saved); in intel_engine_set_heartbeat()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c42 struct drm_vmw_control_stream_arg saved; member
323 stream->saved = *arg; in vmw_overlay_update_stream()
349 stream->saved = *arg; in vmw_overlay_update_stream()
379 &stream->saved, false); in vmw_overlay_resume_all()
/drivers/net/ethernet/3com/
Dtyphoon.c900 struct net_device_stats *saved = &tp->stats_saved; in typhoon_do_get_stats() local
918 saved->tx_packets; in typhoon_do_get_stats()
920 saved->tx_bytes; in typhoon_do_get_stats()
922 saved->tx_errors; in typhoon_do_get_stats()
924 saved->tx_carrier_errors; in typhoon_do_get_stats()
926 saved->collisions; in typhoon_do_get_stats()
928 saved->rx_packets; in typhoon_do_get_stats()
930 saved->rx_bytes; in typhoon_do_get_stats()
932 saved->rx_fifo_errors; in typhoon_do_get_stats()
935 saved->rx_errors; in typhoon_do_get_stats()
[all …]
/drivers/clk/renesas/
Drcar-cpg-lib.h21 u32 saved; member
Drcar-cpg-lib.c48 csn->saved = readl(csn->reg); in cpg_simple_notifier_call()
52 writel(csn->saved, csn->reg); in cpg_simple_notifier_call()
/drivers/net/wireless/broadcom/b43/
Dphy_g.c415 u16 saved = 0xFFFF; in b43_calc_nrssi_offset() local
471 if (v47F < 31 && saved == 0xFFFF) in b43_calc_nrssi_offset()
472 saved = i; in b43_calc_nrssi_offset()
474 if (saved == 0xFFFF) in b43_calc_nrssi_offset()
475 saved = 4; in b43_calc_nrssi_offset()
515 if (v47F > -31 && saved == 0xFFFF) in b43_calc_nrssi_offset()
516 saved = i; in b43_calc_nrssi_offset()
518 if (saved == 0xFFFF) in b43_calc_nrssi_offset()
519 saved = 3; in b43_calc_nrssi_offset()
521 saved = 0; in b43_calc_nrssi_offset()
[all …]
/drivers/net/wireless/zydas/zd1211rw/
DKconfig18 messages being saved to your kernel logs, which may help debug any
/drivers/gpu/drm/i915/
Dintel_runtime_pm.c215 struct intel_runtime_pm_debug *saved) in __untrack_all_wakerefs() argument
217 *saved = *debug; in __untrack_all_wakerefs()
/drivers/pci/
Dsetup-bus.c2177 LIST_HEAD(saved); in pci_reassign_bridge_resources()
2200 ret = add_to_list(&saved, bridge, res, 0, 0); in pci_reassign_bridge_resources()
2219 if (list_empty(&saved)) { in pci_reassign_bridge_resources()
2233 list_for_each_entry(dev_res, &saved, list) { in pci_reassign_bridge_resources()
2242 free_list(&saved); in pci_reassign_bridge_resources()
2258 list_for_each_entry(dev_res, &saved, list) { in pci_reassign_bridge_resources()
2271 free_list(&saved); in pci_reassign_bridge_resources()
/drivers/pinctrl/intel/
Dpinctrl-intel.c1769 void __iomem *base, unsigned int gpp, u32 saved) in intel_restore_hostown() argument
1784 if (!intel_gpio_update_reg(base + gpp * 4, requested, saved)) in intel_restore_hostown()
1791 void __iomem *base, unsigned int gpp, u32 saved) in intel_restore_intmask() argument
1795 if (!intel_gpio_update_reg(base + gpp * 4, ~0U, saved)) in intel_restore_intmask()
1802 unsigned int reg, u32 saved) in intel_restore_padcfg() argument
1813 if (!intel_gpio_update_reg(padcfg, ~mask, saved)) in intel_restore_padcfg()

12