Home
last modified time | relevance | path

Searched full:backup (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/linux-6.15/drivers/gpu/drm/i915/gem/
Di915_gem_ttm_pm.c19 * i915_ttm_backup_free - Free any backup attached to this object
20 * @obj: The object whose backup is to be freed.
24 if (obj->ttm.backup) { in i915_ttm_backup_free()
25 i915_gem_object_put(obj->ttm.backup); in i915_ttm_backup_free()
26 obj->ttm.backup = NULL; in i915_ttm_backup_free()
34 * @backup_pinned: On backup, backup also pinned objects.
51 struct drm_i915_gem_object *backup; in i915_ttm_backup() local
56 if (!i915_ttm_cpu_maps_iomem(bo->resource) || obj->ttm.backup) in i915_ttm_backup()
83 backup = i915_gem_object_create_region(i915->mm.regions[INTEL_REGION_SMEM], in i915_ttm_backup()
85 if (IS_ERR(backup)) in i915_ttm_backup()
[all …]
/linux-6.15/drivers/gpu/drm/ttm/
Dttm_backup.c26 * @backup: The struct backup pointer used to obtain the handle
29 void ttm_backup_drop(struct file *backup, pgoff_t handle) in ttm_backup_drop() argument
34 shmem_truncate_range(file_inode(backup), start, in ttm_backup_drop()
41 * @backup: The struct backup pointer used to back up the page.
49 int ttm_backup_copy_page(struct file *backup, struct page *dst, in ttm_backup_copy_page() argument
52 struct address_space *mapping = backup->f_mapping; in ttm_backup_copy_page()
67 * ttm_backup_backup_page() - Backup a page
68 * @backup: The struct backup pointer to use.
72 * @idx: A unique integer for each page and each struct backup.
73 * This allows the backup implementation to avoid managing
[all …]
Dttm_tt.c163 ttm->backup = NULL; in ttm_tt_init_fields()
190 if (ttm->backup) { in ttm_tt_fini()
191 ttm_backup_fini(ttm->backup); in ttm_tt_fini()
192 ttm->backup = NULL; in ttm_tt_fini()
270 * @flags: Flags that govern the backup behaviour.
283 if (WARN_ON(IS_ERR_OR_NULL(tt->backup))) in ttm_tt_backup()
536 * ttm_tt_setup_backup() - Allocate and assign a backup structure for a ttm_tt
537 * @tt: The ttm_tt for wich to allocate and assign a backup structure.
539 * Assign a backup structure to be used for tt backup. This should
547 struct file *backup = in ttm_tt_setup_backup() local
[all …]
Dttm_pool.c87 * struct ttm_pool_tt_restore - State representing restore from backup
100 * Recovery from backup might fail when we've recovered less than the
102 * around that allows us to restart a failed ttm backup recovery.
427 * DOC: Partial backup and restoration of a struct ttm_tt.
434 * Backup failure is easily handled by using a ttm_tt pages vector that holds
435 * both backup handles and page pointers. This has to be taken into account when
436 * restoring such a ttm_tt from backup, and when freeing it while backed up.
509 struct file *backup, in ttm_pool_restore_commit() argument
535 ret = ttm_backup_copy_page(backup, restore->alloced_page + i, in ttm_pool_restore_commit()
540 ttm_backup_drop(backup, handle); in ttm_pool_restore_commit()
[all …]
/linux-6.15/drivers/net/wireless/broadcom/b43legacy/
Dradio.c369 u16 backup[20] = { 0 }; in b43legacy_calc_nrssi_offset() local
374 backup[0] = b43legacy_phy_read(dev, 0x0001); in b43legacy_calc_nrssi_offset()
375 backup[1] = b43legacy_phy_read(dev, 0x0811); in b43legacy_calc_nrssi_offset()
376 backup[2] = b43legacy_phy_read(dev, 0x0812); in b43legacy_calc_nrssi_offset()
377 backup[3] = b43legacy_phy_read(dev, 0x0814); in b43legacy_calc_nrssi_offset()
378 backup[4] = b43legacy_phy_read(dev, 0x0815); in b43legacy_calc_nrssi_offset()
379 backup[5] = b43legacy_phy_read(dev, 0x005A); in b43legacy_calc_nrssi_offset()
380 backup[6] = b43legacy_phy_read(dev, 0x0059); in b43legacy_calc_nrssi_offset()
381 backup[7] = b43legacy_phy_read(dev, 0x0058); in b43legacy_calc_nrssi_offset()
382 backup[8] = b43legacy_phy_read(dev, 0x000A); in b43legacy_calc_nrssi_offset()
[all …]
/linux-6.15/drivers/power/supply/
Dwm831x_backup.c3 * Backup battery driver for Wolfson Microelectronics wm831x PMICs
21 struct power_supply *backup; member
40 * Backup supply properties
49 if (!wm831x_pdata || !wm831x_pdata->backup) { in wm831x_config_backup()
51 "No backup battery charger configuration\n"); in wm831x_config_backup()
55 pdata = wm831x_pdata->backup; in wm831x_config_backup()
71 dev_err(wm831x->dev, "Invalid backup voltage limit %dmV\n", in wm831x_config_backup()
88 dev_err(wm831x->dev, "Invalid backup current limit %duA\n", in wm831x_config_backup()
107 "Failed to set backup charger config: %d\n", ret); in wm831x_config_backup()
183 "wm831x-backup.%d", wm831x_pdata->wm831x_num); in wm831x_backup_probe()
[all …]
/linux-6.15/Documentation/devicetree/bindings/rtc/
Drtc-palmas.txt10 - ti,backup-battery-chargeable: The Palmas series device like TPS65913 or
11 TPS80036 supports the backup battery for powering the RTC when main
12 battery is removed or in very low power state. The backup battery
16 - ti,backup-battery-charge-high-current: Enable high current charging in
17 backup battery. Device supports the < 100uA and > 100uA charging.
28 ti,backup-battery-chargeable;
29 ti,backup-battery-charge-high-current;
/linux-6.15/tools/testing/selftests/net/
Dtest_bridge_backup_port.sh4 # This test is for checking bridge backup port and backup nexthop ID
7 # redirected to the VXLAN port (vx0). When a backup nexthop ID is configured,
251 echo "Backup port"
285 # Configure vx0 as the backup port of swp1 and check that packets are
290 log_test $? 0 "vx0 configured as backup port of swp1"
318 # Remove vx0 as the backup port of swp1 and check that packets are no
322 log_test $? 1 "vx0 not configured as backup port of swp1"
347 echo "Backup nexthop ID"
365 # The first filter matches on packets forwarded using the backup
372 # Configure vx0 as the backup port of swp1 and check that packets are
[all …]
/linux-6.15/tools/testing/selftests/net/mptcp/
Dpm_netlink.sh151 add_endpoint 10.0.1.3 flags signal,backup
157 "3,10.0.1.3,signal backup")" "dump addrs"
163 "3,10.0.1.3,signal backup")" "dump addrs after del"
184 "3,10.0.1.3,signal backup" \
243 change_address 10.0.1.1 backup
244 check "show_endpoints" "$(format_endpoints "1,10.0.1.1,subflow backup")" \
245 "set flags (backup)"
259 change_endpoint 1 backup,fullmesh
260 check "show_endpoints" "$(format_endpoints "1,10.0.1.1,subflow backup fullmesh")" \
261 " (backup,fullmesh)"
[all …]
/linux-6.15/arch/arm/boot/dts/qcom/
Dqcom-apq8084.dtsi379 tsens_s5_p2_backup: s5-p2-backup@e3 {
384 tsens_mode_backup: mode-backup@e3 {
389 tsens_s6_p2_backup: s6-p2-backup@e4 {
394 tsens_s7_p2_backup: s7-p2-backup@e4 {
399 tsens_s8_p2_backup: s8-p2-backup@e5 {
404 tsens_s9_p2_backup: s9-p2-backup@e6 {
409 tsens_s10_p2_backup: s10-p2-backup@e7 {
414 tsens_base1_backup: base1-backup@440 {
419 tsens_s0_p1_backup: s0-p1-backup@441 {
424 tsens_s1_p1_backup: s1-p1-backup@442 {
[all …]
/linux-6.15/drivers/net/wireless/realtek/rtw88/
Drtw8723x.h145 struct rtw8723x_iqk_backup_regs *backup);
147 const struct rtw8723x_iqk_backup_regs *backup);
408 struct rtw8723x_iqk_backup_regs *backup) in rtw8723x_iqk_backup_regs() argument
410 rtw8723x_common.iqk_backup_regs(rtwdev, backup); in rtw8723x_iqk_backup_regs()
415 const struct rtw8723x_iqk_backup_regs *backup) in rtw8723x_iqk_restore_regs() argument
417 rtw8723x_common.iqk_restore_regs(rtwdev, backup); in rtw8723x_iqk_restore_regs()
457 struct rtw8723x_iqk_backup_regs *backup) in rtw8723x_iqk_backup_path_ctrl() argument
459 backup->btg_sel = rtw_read8(rtwdev, REG_BTG_SEL); in rtw8723x_iqk_backup_path_ctrl()
461 backup->btg_sel); in rtw8723x_iqk_backup_path_ctrl()
473 const struct rtw8723x_iqk_backup_regs *backup) in rtw8723x_iqk_restore_path_ctrl() argument
[all …]
Drtw8723x.c445 struct rtw8723x_iqk_backup_regs *backup) in __rtw8723x_iqk_backup_regs() argument
450 backup->adda[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs()
454 backup->mac8[i] = rtw_read8(rtwdev, in __rtw8723x_iqk_backup_regs()
457 backup->mac32[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs()
461 backup->bb[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs()
464 backup->igia = rtw_read32_mask(rtwdev, REG_OFDM0_XAAGC1, MASKBYTE0); in __rtw8723x_iqk_backup_regs()
465 backup->igib = rtw_read32_mask(rtwdev, REG_OFDM0_XBAGC1, MASKBYTE0); in __rtw8723x_iqk_backup_regs()
467 backup->bb_sel_btg = rtw_read32(rtwdev, REG_BB_SEL_BTG); in __rtw8723x_iqk_backup_regs()
472 const struct rtw8723x_iqk_backup_regs *backup) in __rtw8723x_iqk_restore_regs() argument
478 backup->adda[i]); in __rtw8723x_iqk_restore_regs()
[all …]
/linux-6.15/drivers/regulator/
Dbd9571mwv-regulator.c23 /* DDR Backup Power */
24 u8 bkup_mode_cnt_keepon; /* from "rohm,ddr-backup-power" */
149 "failed to read backup mode (%d)\n", ret); in bd9571mwv_bkup_mode_read()
164 "failed to configure backup mode 0x%x (%d)\n", in bd9571mwv_bkup_mode_write()
199 * Configure DDR Backup Mode, to change the role of the accessory power in backup_mode_store()
228 /* Save DDR Backup Mode */ in bd9571mwv_suspend()
238 /* Enable DDR Backup Mode */ in bd9571mwv_suspend()
255 /* Restore DDR Backup Mode */ in bd9571mwv_resume()
309 of_property_read_u32(config.dev->of_node, "rohm,ddr-backup-power", &val); in bd9571mwv_regulator_probe()
312 "rohm,ddr-backup-power", val); in bd9571mwv_regulator_probe()
[all …]
/linux-6.15/drivers/clk/at91/
Dpmc.c115 /* Address in SECURAM that say if we suspend to backup mode. */
120 unsigned int backup; in at91_pmc_suspend() local
125 backup = readl_relaxed(at91_pmc_backup_suspend); in at91_pmc_suspend()
126 if (!backup) in at91_pmc_suspend()
134 unsigned int backup; in at91_pmc_resume() local
139 backup = readl_relaxed(at91_pmc_backup_suspend); in at91_pmc_resume()
140 if (!backup) in at91_pmc_resume()
/linux-6.15/drivers/usb/dwc2/
Dcore.h670 * @gintsts: Backup of GINTSTS register
671 * @gotgctl: Backup of GOTGCTL register
672 * @gintmsk: Backup of GINTMSK register
673 * @gahbcfg: Backup of GAHBCFG register
674 * @gusbcfg: Backup of GUSBCFG register
675 * @grxfsiz: Backup of GRXFSIZ register
676 * @gnptxfsiz: Backup of GNPTXFSIZ register
677 * @gi2cctl: Backup of GI2CCTL register
678 * @glpmcfg: Backup of GLPMCFG register
679 * @gdfifocfg: Backup of GDFIFOCFG register
[all …]
/linux-6.15/tools/objtool/
Dbuiltin-check.c249 char *backup = NULL; in print_args() local
255 * Make a backup before kbuild deletes the file so the error in print_args()
258 backup = malloc(strlen(objname) + strlen(ORIG_SUFFIX) + 1); in print_args()
259 if (!backup) { in print_args()
264 strcpy(backup, objname); in print_args()
265 strcat(backup, ORIG_SUFFIX); in print_args()
266 if (copy_file(objname, backup)) { in print_args()
267 backup = NULL; in print_args()
274 * wasn't used, add it to the printed args with the backup as input. in print_args()
281 if (backup && !strcmp(arg, objname)) in print_args()
[all …]
/linux-6.15/drivers/net/wireless/broadcom/b43/
Dphy_g.c412 u16 backup[20] = { 0 }; in b43_calc_nrssi_offset() local
417 backup[0] = b43_phy_read(dev, 0x0001); in b43_calc_nrssi_offset()
418 backup[1] = b43_phy_read(dev, 0x0811); in b43_calc_nrssi_offset()
419 backup[2] = b43_phy_read(dev, 0x0812); in b43_calc_nrssi_offset()
421 backup[3] = b43_phy_read(dev, 0x0814); in b43_calc_nrssi_offset()
422 backup[4] = b43_phy_read(dev, 0x0815); in b43_calc_nrssi_offset()
424 backup[5] = b43_phy_read(dev, 0x005A); in b43_calc_nrssi_offset()
425 backup[6] = b43_phy_read(dev, 0x0059); in b43_calc_nrssi_offset()
426 backup[7] = b43_phy_read(dev, 0x0058); in b43_calc_nrssi_offset()
427 backup[8] = b43_phy_read(dev, 0x000A); in b43_calc_nrssi_offset()
[all …]
/linux-6.15/Documentation/ABI/testing/
Dsysfs-driver-bd9571mwv-regulator5 Description: Read/write the current state of DDR Backup Mode, which controls
11 Backup Mode is enabled by default when available, as the
16 1. Configure PMIC for backup mode, to change the role of
26 DDR Backup Mode must be explicitly enabled by the user,
/linux-6.15/include/drm/ttm/
Dttm_backup.h56 void ttm_backup_drop(struct file *backup, pgoff_t handle);
58 int ttm_backup_copy_page(struct file *backup, struct page *dst,
62 ttm_backup_backup_page(struct file *backup, struct page *page,
66 void ttm_backup_fini(struct file *backup);
/linux-6.15/net/mptcp/
Dsyncookies.c29 u8 backup; member
65 entry->backup = subflow_req->backup; in mptcp_join_store_state()
119 subflow_req->backup = e->backup; in mptcp_token_join_cookie_init_state()
/linux-6.15/arch/arm/boot/dts/marvell/
Darmada-370-netgear-rn102.dts121 blue-backup-led {
122 label = "rn102:blue:backup";
147 backup-button {
148 label = "Backup Button";
202 backup_led_pin: backup-led-pin {
207 backup_button_pin: backup-button-pin {
Darmada-370-netgear-rn104.dts109 blue-backup-led {
110 label = "rn104:blue:backup";
167 backup-button {
168 label = "Backup Button";
228 backup_button_pin: backup-button-pin {
238 backup_led_pin: backup-led-pin {
/linux-6.15/Documentation/devicetree/bindings/mfd/
Drohm,bd9571mwv.yaml34 rohm,ddr-backup-power:
39 Value to use for DDR-Backup Power (default 0).
41 powered when backup mode is entered, for system suspend:
114 rohm,ddr-backup-power = <0xf>;
/linux-6.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c39 * @coherent_count: If switching backup buffers, number of new coherent
40 * resources that will have this buffer as a backup buffer.
57 * @new_guest_memory_offset: Offset into the new backup mob for resources
61 * @switching_guest_memory_bo: The validation process is switching backup MOB.
371 * vmw_validation_res_switch_backup - Register a backup MOB switch during
377 * @vbo: The new backup buffer object MOB. This buffer object needs to have
379 * @guest_memory_offset: Offset into the new backup MOB.
460 * is used to determine whether to switch backup MOBs or not.
576 * Before this function is called, all resource backup buffers must have
589 struct vmw_bo *backup = res->guest_memory_bo; in vmw_validation_res_validate() local
[all …]
/linux-6.15/include/trace/events/
Dmptcp.h29 __field(u8, backup)
37 __entry->backup = subflow->backup || subflow->request_bkup;
59 TP_printk("active=%d free=%d snd_wnd=%u pace=%u backup=%u ratio=%llu",
62 __entry->backup, __entry->ratio)

12345678910>>...23