Home
last modified time | relevance | path

Searched refs:backup (Results 1 – 25 of 30) sorted by relevance

12

/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 …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c42 struct vmw_buffer_object *backup = res->backup; in vmw_resource_mob_attach() local
43 struct rb_node **new = &backup->res_tree.rb_node, *parent = NULL; in vmw_resource_mob_attach()
45 dma_resv_assert_held(res->backup->base.base.resv); in vmw_resource_mob_attach()
59 rb_insert_color(&res->mob_node, &backup->res_tree); in vmw_resource_mob_attach()
61 vmw_bo_prio_add(backup, res->used_prio); in vmw_resource_mob_attach()
70 struct vmw_buffer_object *backup = res->backup; in vmw_resource_mob_detach() local
72 dma_resv_assert_held(backup->base.base.resv); in vmw_resource_mob_detach()
74 rb_erase(&res->mob_node, &backup->res_tree); in vmw_resource_mob_detach()
76 vmw_bo_prio_del(backup, res->used_prio); in vmw_resource_mob_detach()
123 if (res->backup) { in vmw_resource_release()
[all …]
Dvmwgfx_validation.c457 if (res->backup) { in vmw_validation_res_reserve()
458 struct vmw_buffer_object *vbo = res->backup; in vmw_validation_res_reserve()
646 struct vmw_buffer_object *backup = res->backup; in vmw_validation_res_validate() local
657 if (backup && res->backup && (backup != res->backup)) { in vmw_validation_res_validate()
658 struct vmw_buffer_object *vbo = res->backup; in vmw_validation_res_validate()
Dvmwgfx_cotable.c170 struct ttm_buffer_object *bo = &res->backup->base; in vmw_cotable_unscrub()
218 val_buf->bo = &res->backup->base; in vmw_cotable_bind()
366 vmw_bo_fence_single(&res->backup->base, fence); in vmw_cotable_readback()
389 struct vmw_buffer_object *buf, *old_buf = res->backup; in vmw_cotable_resize()
390 struct ttm_buffer_object *bo, *old_bo = &res->backup->base; in vmw_cotable_resize()
462 res->backup = buf; in vmw_cotable_resize()
473 res->backup = old_buf; in vmw_cotable_resize()
Dvmwgfx_surface.c890 &res->backup, in vmw_surface_define_ioctl()
1235 if (res->backup->dirty && res->backup_dirty) { in vmw_gb_surface_bind()
1543 &res->backup, in vmw_gb_surface_define_internal()
1546 if (res->backup->base.base.size < res->backup_size) { in vmw_gb_surface_define_internal()
1548 vmw_bo_unreference(&res->backup); in vmw_gb_surface_define_internal()
1563 &res->backup, in vmw_gb_surface_define_internal()
1572 struct vmw_buffer_object *backup = res->backup; in vmw_gb_surface_define_internal() local
1574 ttm_bo_reserve(&backup->base, false, false, NULL); in vmw_gb_surface_define_internal()
1578 ret = vmw_bo_dirty_add(backup); in vmw_gb_surface_define_internal()
1583 ttm_bo_unreserve(&backup->base); in vmw_gb_surface_define_internal()
[all …]
Dvmwgfx_streamoutput.c109 cmd->body.mobid = res->backup->base.resource->start; in vmw_dx_streamoutput_unscrub()
200 if (WARN_ON(res->backup->base.resource->mem_type != VMW_PL_MOB)) in vmw_dx_streamoutput_unbind()
Dvmwgfx_shader.c185 res->backup = vmw_bo_reference(byte_code); in vmw_gb_shader_init()
285 BUG_ON(res->backup->base.resource->mem_type != VMW_PL_MOB); in vmw_gb_shader_unbind()
405 cmd->body.mobid = res->backup->base.resource->start; in vmw_dx_shader_unscrub()
516 BUG_ON(res->backup->base.resource->mem_type != VMW_PL_MOB); in vmw_dx_shader_unbind()
Dvmwgfx_page_dirty.c327 struct vmw_buffer_object *vbo = res->backup; in vmw_bo_dirty_transfer_to_res()
374 struct vmw_buffer_object *vbo = res->backup; in vmw_bo_dirty_clear_res()
Dvmwgfx_kms.c1092 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_pin()
1135 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_unpin()
1212 vmw_bo_unreference(&res->backup); in vmw_create_bo_proxy()
1213 res->backup = vmw_bo_reference(bo_mob); in vmw_create_bo_proxy()
Dvmwgfx_stdu.c598 dst_bo = &stdu->display_srf->res.backup->base; in vmw_stdu_bo_cpu_commit()
1303 dst_bo = &stdu->display_srf->res.backup->base; in vmw_stdu_bo_populate_update_cpu()
Dvmwgfx_drv.h179 struct vmw_buffer_object *backup; member
/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 …]
/drivers/power/supply/
Dwm831x_backup.c21 struct power_supply *backup; member
49 if (!wm831x_pdata || !wm831x_pdata->backup) { in wm831x_config_backup()
55 pdata = wm831x_pdata->backup; in wm831x_config_backup()
194 devdata->backup = power_supply_register(&pdev->dev, in wm831x_backup_probe()
197 return PTR_ERR_OR_ZERO(devdata->backup); in wm831x_backup_probe()
204 power_supply_unregister(devdata->backup); in wm831x_backup_remove()
DKconfig38 backup batteries, and optional builtin charger.
62 tristate "WM831X backup battery charger support"
65 Say Y here to enable support for the backup battery charger
/drivers/net/wireless/realtek/rtw88/
Drtw8723d.c720 struct iqk_backup_regs *backup) in rtw8723d_iqk_backup_regs() argument
725 backup->adda[i] = rtw_read32(rtwdev, iqk_adda_regs[i]); in rtw8723d_iqk_backup_regs()
728 backup->mac8[i] = rtw_read8(rtwdev, iqk_mac8_regs[i]); in rtw8723d_iqk_backup_regs()
730 backup->mac32[i] = rtw_read32(rtwdev, iqk_mac32_regs[i]); in rtw8723d_iqk_backup_regs()
733 backup->bb[i] = rtw_read32(rtwdev, iqk_bb_regs[i]); in rtw8723d_iqk_backup_regs()
735 backup->igia = rtw_read32_mask(rtwdev, REG_OFDM0_XAAGC1, MASKBYTE0); in rtw8723d_iqk_backup_regs()
736 backup->igib = rtw_read32_mask(rtwdev, REG_OFDM0_XBAGC1, MASKBYTE0); in rtw8723d_iqk_backup_regs()
738 backup->bb_sel_btg = rtw_read32(rtwdev, REG_BB_SEL_BTG); in rtw8723d_iqk_backup_regs()
742 const struct iqk_backup_regs *backup) in rtw8723d_iqk_restore_regs() argument
747 rtw_write32(rtwdev, iqk_adda_regs[i], backup->adda[i]); in rtw8723d_iqk_restore_regs()
[all …]
Drtw8822c.c90 struct rtw_backup_info *backup, in rtw8822c_dac_backup_reg() argument
103 backup[i].len = 4; in rtw8822c_dac_backup_reg()
104 backup[i].reg = addrs[i]; in rtw8822c_dac_backup_reg()
105 backup[i].val = rtw_read32(rtwdev, addrs[i]); in rtw8822c_dac_backup_reg()
119 struct rtw_backup_info *backup, in rtw8822c_dac_restore_reg() argument
126 rtw_restore_reg(rtwdev, backup, DACK_REG_8822C); in rtw8822c_dac_restore_reg()
927 struct rtw_backup_info backup[DACK_REG_8822C]; in rtw8822c_rf_dac_cal() local
938 rtw8822c_dac_backup_reg(rtwdev, backup, backup_rf); in rtw8822c_rf_dac_cal()
980 rtw8822c_dac_restore_reg(rtwdev, backup, backup_rf); in rtw8822c_rf_dac_cal()
/drivers/net/team/
DKconfig54 tristate "Active-backup mode support"
58 for backup.
/drivers/staging/android/
DKconfig21 This supports kernel information backup for bootloader usage.
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h1474 u32 *backup, int count);
1476 u32 *backup, int count);
1478 const u32 *reg, u32 *backup);
1480 const u32 *reg, u32 *backup);
1484 const u32 *regs, u32 *backup);
Drtl8xxxu_core.c2944 rtl8xxxu_save_mac_regs(struct rtl8xxxu_priv *priv, const u32 *reg, u32 *backup) in rtl8xxxu_save_mac_regs() argument
2949 backup[i] = rtl8xxxu_read8(priv, reg[i]); in rtl8xxxu_save_mac_regs()
2951 backup[i] = rtl8xxxu_read32(priv, reg[i]); in rtl8xxxu_save_mac_regs()
2955 const u32 *reg, u32 *backup) in rtl8xxxu_restore_mac_regs() argument
2960 rtl8xxxu_write8(priv, reg[i], backup[i]); in rtl8xxxu_restore_mac_regs()
2962 rtl8xxxu_write32(priv, reg[i], backup[i]); in rtl8xxxu_restore_mac_regs()
2966 u32 *backup, int count) in rtl8xxxu_save_regs() argument
2971 backup[i] = rtl8xxxu_read32(priv, regs[i]); in rtl8xxxu_save_regs()
2975 u32 *backup, int count) in rtl8xxxu_restore_regs() argument
2980 rtl8xxxu_write32(priv, regs[i], backup[i]); in rtl8xxxu_restore_regs()
[all …]
/drivers/net/wireless/intersil/p54/
DKconfig65 backup set of generic values to get the device working.
/drivers/dma/
Dste_dma40.c504 u32 *backup; member
2935 static void dma40_backup(void __iomem *baseaddr, u32 *backup, in dma40_backup() argument
2944 backup[i] = readl_relaxed(addr); in dma40_backup()
2946 writel_relaxed(backup[i], addr); in dma40_backup()
2977 if (base->gen_dmac.backup) in d40_save_restore_registers()
2979 base->gen_dmac.backup, in d40_save_restore_registers()
3216 base->gen_dmac.backup = d40_backup_regs_v4b; in d40_hw_detect_init()
3230 base->gen_dmac.backup = d40_backup_regs_v4a; in d40_hw_detect_init()
/drivers/mtd/parsers/
DKconfig77 finding currently used one and backup ones.
/drivers/rtc/
DKconfig253 chips (often with battery backup) connected with I2C. This driver
261 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
1497 this is powered by the backup power supply.
1506 can be used as an RTC thanks to the backup power supply (e.g. a
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8192e2ant.c2574 bool backup) in btc8192e2ant_init_hwconfig() argument
2583 if (backup) { in btc8192e2ant_init_hwconfig()

12