| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_backup.c | 28 * @backup: The struct backup pointer used to obtain the handle 31 void ttm_backup_drop(struct file *backup, pgoff_t handle) in ttm_backup_drop() argument 36 shmem_truncate_range(file_inode(backup), start, in ttm_backup_drop() 43 * @backup: The struct backup pointer used to back up the page. 51 int ttm_backup_copy_page(struct file *backup, struct page *dst, in ttm_backup_copy_page() argument 54 struct address_space *mapping = backup->f_mapping; in ttm_backup_copy_page() 69 * ttm_backup_backup_page() - Backup a page 70 * @backup: The struct backup pointer to use. 74 * @idx: A unique integer for each page and each struct backup. 75 * This allows the backup implementation to avoid managing [all …]
|
| H A D | ttm_tt.c | 166 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 …]
|
| H A D | ttm_pool.c | 89 * struct ttm_pool_tt_restore - State representing restore from backup 102 * Recovery from backup might fail when we've recovered less than the 104 * around that allows us to restart a failed ttm backup recovery. 437 * DOC: Partial backup and restoration of a struct ttm_tt. 444 * Backup failure is easily handled by using a ttm_tt pages vector that holds 445 * both backup handles and page pointers. This has to be taken into account when 446 * restoring such a ttm_tt from backup, and when freeing it while backed up. 519 struct file *backup, in ttm_pool_restore_commit() argument 545 ret = ttm_backup_copy_page(backup, restore->alloced_page + i, in ttm_pool_restore_commit() 550 ttm_backup_drop(backup, handle); in ttm_pool_restore_commit() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | radio.c | 369 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 D | wm831x_backup.c | 3 * 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/tools/testing/selftests/net/ |
| H A D | test_bridge_backup_port.sh | 4 # 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/Documentation/devicetree/bindings/rtc/ |
| H A D | rtc-palmas.txt | 10 - 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/mptcp/ |
| H A D | pm_netlink.sh | 152 add_endpoint 10.0.1.3 flags signal,backup 158 "3,10.0.1.3,signal backup")" "dump addrs" 164 "3,10.0.1.3,signal backup")" "dump addrs after del" 185 "3,10.0.1.3,signal backup" \ 249 change_address 10.0.1.1 backup 250 check "show_endpoints" "$(format_endpoints "1,10.0.1.1,subflow backup")" \ 251 "set flags (backup)" 265 change_endpoint 1 backup,fullmesh 266 check "show_endpoints" "$(format_endpoints "1,10.0.1.1,subflow backup fullmesh")" \ 267 " (backup,fullmesh)" [all …]
|
| H A D | mptcp_join.sh | 1924 print_check "syn backup" 1929 fail_test "got $count JOIN[s] syn with Backup expected $mpj_syn" 1934 print_check "synack backup" 1939 fail_test "got $count JOIN[s] synack with Backup expected $mpj_syn_ack" 2411 # active backup and link switch-over. 2442 # 2 subflows plus 1 backup subflow with a lossy link, backup 2444 if reset "backup subflow unused, link failure"; then 2449 pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow,backup 2457 # 2 lossy links after half transfer, backup wil [all...] |
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-apq8084.dtsi | 379 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/tools/testing/selftests/drivers/net/bonding/ |
| H A D | bond_options.sh | 202 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 …]
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw8723x.h | 146 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 D | rtw8723x.c | 510 struct rtw8723x_iqk_backup_regs *backup) in __rtw8723x_iqk_backup_regs() argument 515 backup->adda[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs() 519 backup->mac8[i] = rtw_read8(rtwdev, in __rtw8723x_iqk_backup_regs() 522 backup->mac32[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs() 526 backup->bb[i] = rtw_read32(rtwdev, in __rtw8723x_iqk_backup_regs() 529 backup->igia = rtw_read32_mask(rtwdev, REG_OFDM0_XAAGC1, MASKBYTE0); in __rtw8723x_iqk_backup_regs() 530 backup->igib = rtw_read32_mask(rtwdev, REG_OFDM0_XBAGC1, MASKBYTE0); in __rtw8723x_iqk_backup_regs() 532 backup->bb_sel_btg = rtw_read32(rtwdev, REG_BB_SEL_BTG); in __rtw8723x_iqk_backup_regs() 537 const struct rtw8723x_iqk_backup_regs *backup) in __rtw8723x_iqk_restore_regs() argument 543 backup->adda[i]); in __rtw8723x_iqk_restore_regs() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_g.c | 412 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/tools/objtool/ |
| H A D | builtin-check.c | 97 OPT_BOOLEAN(0, "backup", &opts.backup, "create backup (.orig) file on warning/error"), 271 char *backup; in print_args() 274 * Make a backup before kbuild deletes the file so the error in print_args() 277 backup = malloc(strlen(objname) + strlen(ORIG_SUFFIX) + 1); in print_args() 278 if (!backup) { in print_args() 283 strcpy(backup, objname); in print_args() 284 strcat(backup, ORIG_SUFFIX); in print_args() 285 if (copy_file(objname, backup)) in print_args() 251 char *backup = NULL; print_args() local [all...] |
| /linux/drivers/clk/at91/ |
| H A D | pmc.c | 114 /* 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/Documentation/ABI/testing/ |
| H A D | sysfs-driver-bd9571mwv-regulator | 5 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 D | ttm_backup.h | 56 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/net/mptcp/ |
| H A D | syncookies.c | 29 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 D | armada-370-netgear-rn102.dts | 121 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 D | armada-370-netgear-rn104.dts | 109 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/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_validation.c | 39 * @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. 372 * vmw_validation_res_switch_backup - Register a backup MOB switch during 378 * @vbo: The new backup buffer object MOB. This buffer object needs to have 380 * @guest_memory_offset: Offset into the new backup MOB. 461 * is used to determine whether to switch backup MOBs or not. 577 * Before this function is called, all resource backup buffers must have 590 struct vmw_bo *backup = res->guest_memory_bo; in vmw_validation_res_validate() local [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | rohm,bd9571mwv.yaml | 34 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/include/trace/events/ |
| H A D | mptcp.h | 35 __field(u8, backup) 43 __entry->backup = subflow->backup || subflow->request_bkup; 65 TP_printk("active=%d free=%d snd_wnd=%u pace=%u backup=%u ratio=%llu", 68 __entry->backup, __entry->ratio)
|
| /linux/fs/ocfs2/ |
| H A D | resize.c | 32 * Check whether there are new backup superblocks exist 59 /* check if already done backup super */ in ocfs2_calc_new_backup_super() 116 * check whether there are some new backup superblocks exist in in ocfs2_update_last_group_and_inode() 183 struct buffer_head *backup = NULL; in update_backups() local 194 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &backup); in update_backups() 200 memcpy(backup->b_data, data, inode->i_sb->s_blocksize); in update_backups() 202 backup_di = (struct ocfs2_dinode *)backup->b_data; in update_backups() 205 ret = ocfs2_write_super_or_backup(osb, backup); in update_backups() 206 brelse(backup); in update_backups() 207 backup = NULL; in update_backups()
|