Home
last modified time | relevance | path

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

12345678910>>...16

/linux/drivers/gpu/drm/ttm/
H A Dttm_backup.c29 * @backup: The struct backup pointer used to obtain the handle
32 void ttm_backup_drop(struct file *backup, pgoff_t handle) in ttm_backup_drop() argument
37 shmem_truncate_range(file_inode(backup), start, in ttm_backup_drop()
44 * @backup: The struct backup pointer used to back up the page.
53 int ttm_backup_copy_page(struct file *backup, struct page *dst, in ttm_backup_copy_page() argument
56 struct address_space *mapping = backup->f_mapping; in ttm_backup_copy_page()
72 * ttm_backup_backup_folio() - Backup a folio
73 * @backup: The struct backup pointer to use.
80 * @idx: A unique integer for the first page of the folio and each struct backup.
81 * This allows the backup implementation to avoid managing
[all …]
H A Dttm_tt.c166 ttm->backup = NULL; in ttm_tt_init_fields()
193 if (ttm->backup) { in ttm_tt_fini()
194 ttm_backup_fini(ttm->backup); in ttm_tt_fini()
195 ttm->backup = NULL; in ttm_tt_fini()
273 * @flags: Flags that govern the backup behaviour.
286 if (WARN_ON(IS_ERR_OR_NULL(tt->backup))) in ttm_tt_backup()
539 * ttm_tt_setup_backup() - Allocate and assign a backup structure for a ttm_tt
540 * @tt: The ttm_tt for wich to allocate and assign a backup structure.
542 * Assign a backup structure to be used for tt backup. This should
550 struct file *backup = in ttm_tt_setup_backup() local
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A 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/drivers/power/supply/
H A 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/Documentation/devicetree/bindings/rtc/
H A 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/tools/testing/selftests/net/
H A 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"
341 # Remove vx0 as the backup port of swp1 and check that packets are no
345 log_test $? 1 "vx0 not configured as backup port of swp1"
370 echo "Backup nexthop ID"
388 # The first filter matches on packets forwarded using the backup
[all...]
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_netlink.sh163 add_endpoint 10.0.1.3 flags signal,backup
169 "3,10.0.1.3,signal backup")" "dump addrs"
175 "3,10.0.1.3,signal backup")" "dump addrs after del"
269 change_address 10.0.1.1 backup
270 check "show_endpoints" "$(format_endpoints "1,10.0.1.1,subflow backup")" \
271 "set flags (backup)"
285 change_endpoint 1 backup,fullmesh
286 check "show_endpoints" "$(format_endpoints "1,10.0.1.1,subflow backup fullmesh")" \
287 " (backup,fullmesh)"
289 for st in fullmesh nofullmesh backup,fullmes
[all...]
H A Dmptcp_join.sh2022 print_check "syn backup"
2027 fail_test "got $count JOIN[s] syn with Backup expected $mpj_syn"
2032 print_check "synack backup"
2037 fail_test "got $count JOIN[s] synack with Backup expected $mpj_syn_ack"
2533 # active backup and link switch-over.
2564 # 2 subflows plus 1 backup subflow with a lossy link, backup
2566 if reset "backup subflow unused, link failure"; then
2571 pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow,backup
2579 # 2 lossy links after half transfer, backup will get half of
2581 if reset "backup flow used, multi links fail"; then
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh202 local mode modes="active-backup balance-tlb balance-alb"
212 prio_arp "active-backup"
213 prio_ns "active-backup"
325 arp_validate_arp "active-backup"
326 arp_validate_ns "active-backup"
376 garp_test "mode active-backup miimon 10 num_grat_arp $val peer_notify_delay 100"
377 log_test "num_grat_arp" "active-backup miimon num_grat_arp $val"
420 # backup slave's mac address is not changed
422 | select(.linkinfo.info_slave_data.state=="BACKUP")
433 # backup slaves should use mac[1] or mac[2]
[all …]
H A Dbond-eth-type-change.sh42 # we need devbond0 in active-backup mode to successfully enslave nonethdev
43 ip link set dev "$devbond0" type bond mode active-backup
44 check_err $? "could not change bond mode to active-backup"
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8723x.h146 struct rtw8723x_iqk_backup_regs *backup);
148 const struct rtw8723x_iqk_backup_regs *backup);
414 struct rtw8723x_iqk_backup_regs *backup) in rtw8723x_iqk_backup_regs() argument
416 rtw8723x_common.iqk_backup_regs(rtwdev, backup); in rtw8723x_iqk_backup_regs()
421 const struct rtw8723x_iqk_backup_regs *backup) in rtw8723x_iqk_restore_regs() argument
423 rtw8723x_common.iqk_restore_regs(rtwdev, backup); in rtw8723x_iqk_restore_regs()
463 struct rtw8723x_iqk_backup_regs *backup) in rtw8723x_iqk_backup_path_ctrl() argument
465 backup->btg_sel = rtw_read8(rtwdev, REG_BTG_SEL); in rtw8723x_iqk_backup_path_ctrl()
467 backup->btg_sel); in rtw8723x_iqk_backup_path_ctrl()
479 const struct rtw8723x_iqk_backup_regs *backup) in rtw8723x_iqk_restore_path_ctrl() argument
[all …]
H A Drtw8723x.c511 struct rtw8723x_iqk_backup_regs *backup) in __rtw8723x_iqk_backup_regs() argument
516 backup->adda[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs()
520 backup->mac8[i] = rtw_read8(rtwdev, in __rtw8723x_iqk_backup_regs()
523 backup->mac32[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs()
527 backup->bb[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs()
530 backup->igia = rtw_read32_mask(rtwdev, REG_OFDM0_XAAGC1, MASKBYTE0); in __rtw8723x_iqk_backup_regs()
531 backup->igib = rtw_read32_mask(rtwdev, REG_OFDM0_XBAGC1, MASKBYTE0); in __rtw8723x_iqk_backup_regs()
533 backup->bb_sel_btg = rtw_read32(rtwdev, REG_BB_SEL_BTG); in __rtw8723x_iqk_backup_regs()
538 const struct rtw8723x_iqk_backup_regs *backup) in __rtw8723x_iqk_restore_regs() argument
544 backup->adda[i]); in __rtw8723x_iqk_restore_regs()
[all …]
/linux/drivers/usb/dwc2/
H A Dcore.h671 * @gintsts: Backup of GINTSTS register
672 * @gotgctl: Backup of GOTGCTL register
673 * @gintmsk: Backup of GINTMSK register
674 * @gahbcfg: Backup of GAHBCFG register
675 * @gusbcfg: Backup of GUSBCFG register
676 * @grxfsiz: Backup of GRXFSIZ register
677 * @gnptxfsiz: Backup of GNPTXFSIZ register
678 * @gi2cctl: Backup of GI2CCTL register
679 * @glpmcfg: Backup of GLPMCFG register
680 * @gdfifocfg: Backup of GDFIFOCFG register
[all …]
/linux/tools/objtool/
H A Dbuiltin-check.c98 OPT_BOOLEAN(0, "backup", &opts.backup, "create backup (.orig) file on warning/error"),
274 char *backup; in print_args()
277 * Make a backup before kbuild deletes the file so the error in print_args()
280 backup = malloc(strlen(objname) + strlen(ORIG_SUFFIX) + 1); in print_args()
281 if (!backup) { in print_args()
286 strcpy(backup, objname); in print_args()
287 strcat(backup, ORIG_SUFFIX); in print_args()
288 if (copy_file(objname, backup)) in print_args()
251 char *backup = NULL; print_args() local
[all...]
/linux/drivers/clk/at91/
H A Dpmc.c114 /* Address in SECURAM that say if we suspend to backup mode. */
119 unsigned int backup; in at91_pmc_suspend() local
124 backup = readl_relaxed(at91_pmc_backup_suspend); in at91_pmc_suspend()
125 if (!backup) in at91_pmc_suspend()
133 unsigned int backup; in at91_pmc_resume() local
138 backup = readl_relaxed(at91_pmc_backup_suspend); in at91_pmc_resume()
139 if (!backup) in at91_pmc_resume()
/linux/drivers/net/wireless/broadcom/b43/
H A 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/Documentation/ABI/testing/
H A 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/include/drm/ttm/
H A Dttm_backup.h55 void ttm_backup_drop(struct file *backup, pgoff_t handle);
57 int ttm_backup_copy_page(struct file *backup, struct page *dst,
61 ttm_backup_backup_folio(struct file *backup, struct folio *folio,
66 void ttm_backup_fini(struct file *backup);
/linux/net/mptcp/
H A 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/arch/arm/boot/dts/marvell/
H A 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 {
H A 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/Documentation/devicetree/bindings/mfd/
H A 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/drivers/gpu/drm/vmwgfx/
H A 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.
373 * vmw_validation_res_switch_backup - Register a backup MOB switch during
379 * @vbo: The new backup buffer object MOB. This buffer object needs to have
381 * @guest_memory_offset: Offset into the new backup MOB.
462 * is used to determine whether to switch backup MOBs or not.
578 * Before this function is called, all resource backup buffers must have
591 struct vmw_bo *backup = res->guest_memory_bo; in vmw_validation_res_validate() local
[all …]
H A Dvmwgfx_cotable.c227 * The create() callback may have changed @res->backup without in vmw_cotable_bind()
229 * the old backup buffer. Although hackish, and not used currently, in vmw_cotable_bind()
242 * @readback: Whether initiate a readback of the cotable data to the backup
247 * unbind requires reserved backup buffers and it might not be possible to
315 * @readback: Whether to read back cotable data to the backup buffer.
319 * Unbinds the cotable from the device and fences the backup buffer.
393 * Resizes a cotable and binds the new backup buffer.
474 /* Unpin new buffer, and switch backup buffers. */ in vmw_cotable_resize()
480 DRM_ERROR("Failed validating new COTable backup buffer.\n"); in vmw_cotable_resize()
495 DRM_ERROR("Failed switching COTable backup buffer.\n"); in vmw_cotable_resize()
[all …]
/linux/include/uapi/linux/
H A Dip_vs.h36 #define IP_VS_STATE_BACKUP 0x0002 /* started as backup */
74 * Only flags 0..15 are sent to backup server
93 /* Initial bits allowed in backup server */
102 /* Bits allowed to update in backup server */
106 /* Flags that are not sent to backup server start from bit 16 */
275 /* sync daemon state (master/backup) */
420 IPVS_DAEMON_ATTR_STATE, /* sync daemon state (master/backup) */

12345678910>>...16