Home
last modified time | relevance | path

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

/drivers/net/wireless/broadcom/b43legacy/
Dradio.c386 u16 backup[20] = { 0 }; in b43legacy_calc_nrssi_offset() local
391 backup[0] = b43legacy_phy_read(dev, 0x0001); in b43legacy_calc_nrssi_offset()
392 backup[1] = b43legacy_phy_read(dev, 0x0811); in b43legacy_calc_nrssi_offset()
393 backup[2] = b43legacy_phy_read(dev, 0x0812); in b43legacy_calc_nrssi_offset()
394 backup[3] = b43legacy_phy_read(dev, 0x0814); in b43legacy_calc_nrssi_offset()
395 backup[4] = b43legacy_phy_read(dev, 0x0815); in b43legacy_calc_nrssi_offset()
396 backup[5] = b43legacy_phy_read(dev, 0x005A); in b43legacy_calc_nrssi_offset()
397 backup[6] = b43legacy_phy_read(dev, 0x0059); in b43legacy_calc_nrssi_offset()
398 backup[7] = b43legacy_phy_read(dev, 0x0058); in b43legacy_calc_nrssi_offset()
399 backup[8] = b43legacy_phy_read(dev, 0x000A); in b43legacy_calc_nrssi_offset()
[all …]
/drivers/net/wireless/broadcom/b43/
Dphy_g.c425 u16 backup[20] = { 0 }; in b43_calc_nrssi_offset() local
430 backup[0] = b43_phy_read(dev, 0x0001); in b43_calc_nrssi_offset()
431 backup[1] = b43_phy_read(dev, 0x0811); in b43_calc_nrssi_offset()
432 backup[2] = b43_phy_read(dev, 0x0812); in b43_calc_nrssi_offset()
434 backup[3] = b43_phy_read(dev, 0x0814); in b43_calc_nrssi_offset()
435 backup[4] = b43_phy_read(dev, 0x0815); in b43_calc_nrssi_offset()
437 backup[5] = b43_phy_read(dev, 0x005A); in b43_calc_nrssi_offset()
438 backup[6] = b43_phy_read(dev, 0x0059); in b43_calc_nrssi_offset()
439 backup[7] = b43_phy_read(dev, 0x0058); in b43_calc_nrssi_offset()
440 backup[8] = b43_phy_read(dev, 0x000A); in b43_calc_nrssi_offset()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c129 if (res->backup) { in vmw_resource_release()
130 struct ttm_buffer_object *bo = &res->backup->base; in vmw_resource_release()
144 vmw_dmabuf_unreference(&res->backup); in vmw_resource_release()
229 res->backup = NULL; in vmw_resource_init()
1084 struct vmw_dma_buffer *backup; in vmw_resource_buf_alloc() local
1087 if (likely(res->backup)) { in vmw_resource_buf_alloc()
1088 BUG_ON(res->backup->base.num_pages * PAGE_SIZE < size); in vmw_resource_buf_alloc()
1092 backup = kzalloc(sizeof(*backup), GFP_KERNEL); in vmw_resource_buf_alloc()
1093 if (unlikely(backup == NULL)) in vmw_resource_buf_alloc()
1096 ret = vmw_dmabuf_init(res->dev_priv, backup, res->backup_size, in vmw_resource_buf_alloc()
[all …]
Dvmwgfx_cotable.c164 struct ttm_buffer_object *bo = &res->backup->base; in vmw_cotable_unscrub()
215 val_buf->bo = &res->backup->base; in vmw_cotable_bind()
369 vmw_fence_single_bo(&res->backup->base, fence); in vmw_cotable_readback()
391 struct vmw_dma_buffer *buf, *old_buf = res->backup; in vmw_cotable_resize()
392 struct ttm_buffer_object *bo, *old_bo = &res->backup->base; in vmw_cotable_resize()
463 res->backup = buf; in vmw_cotable_resize()
474 res->backup = old_buf; in vmw_cotable_resize()
Dvmwgfx_surface.c847 &res->backup, in vmw_surface_define_ioctl()
1319 &res->backup, in vmw_gb_surface_define_ioctl()
1322 if (res->backup->base.num_pages * PAGE_SIZE < in vmw_gb_surface_define_ioctl()
1325 vmw_dmabuf_unreference(&res->backup); in vmw_gb_surface_define_ioctl()
1338 &res->backup, in vmw_gb_surface_define_ioctl()
1361 if (res->backup) { in vmw_gb_surface_define_ioctl()
1363 drm_vma_node_offset_addr(&res->backup->base.vma_node); in vmw_gb_surface_define_ioctl()
1364 rep->buffer_size = res->backup->base.num_pages * PAGE_SIZE; in vmw_gb_surface_define_ioctl()
1409 if (!srf->res.backup) { in vmw_gb_surface_reference_ioctl()
1415 ret = vmw_user_dmabuf_reference(tfile, srf->res.backup, in vmw_gb_surface_reference_ioctl()
[all …]
Dvmwgfx_shader.c180 res->backup = vmw_dmabuf_reference(byte_code); in vmw_gb_shader_init()
285 BUG_ON(res->backup->base.mem.mem_type != VMW_PL_MOB); in vmw_gb_shader_unbind()
414 cmd->body.mobid = res->backup->base.mem.start; in vmw_dx_shader_unscrub()
528 BUG_ON(res->backup->base.mem.mem_type != VMW_PL_MOB); in vmw_dx_shader_unbind()
Dvmwgfx_kms.c701 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_pin()
733 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_unpin()
814 vmw_dmabuf_unreference(&res->backup); in vmw_create_dmabuf_proxy()
815 res->backup = vmw_dmabuf_reference(dmabuf_mob); in vmw_create_dmabuf_proxy()
1977 if (res->backup) { in vmw_kms_helper_resource_prepare()
1978 ret = vmw_kms_helper_buffer_prepare(res->dev_priv, res->backup, in vmw_kms_helper_resource_prepare()
1984 ctx->buf = vmw_dmabuf_reference(res->backup); in vmw_kms_helper_resource_prepare()
Dvmwgfx_execbuf.c616 if (res->backup) { in vmw_resources_reserve()
617 struct vmw_dma_buffer *vbo = res->backup; in vmw_resources_reserve()
658 struct vmw_dma_buffer *backup = res->backup; in vmw_resources_validate() local
668 if (backup && res->backup && (backup != res->backup)) { in vmw_resources_validate()
669 struct vmw_dma_buffer *vbo = res->backup; in vmw_resources_validate()
Dvmwgfx_drv.h119 struct vmw_dma_buffer *backup; member
/drivers/power/supply/
Dwm831x_backup.c24 struct power_supply *backup; member
52 if (!wm831x_pdata || !wm831x_pdata->backup) { in wm831x_config_backup()
58 pdata = wm831x_pdata->backup; in wm831x_config_backup()
197 devdata->backup = power_supply_register(&pdev->dev, in wm831x_backup_probe()
200 return PTR_ERR_OR_ZERO(devdata->backup); in wm831x_backup_probe()
207 power_supply_unregister(devdata->backup); in wm831x_backup_remove()
DKconfig23 backup batteries, and optional builtin charger.
47 tristate "WM831X backup battery charger support"
50 Say Y here to enable support for the backup battery charger
/drivers/staging/rtl8188eu/hal/
Dphy.c856 u32 *backup, u32 register_num) in save_adda_registers() argument
861 backup[i] = phy_query_bb_reg(adapt, addareg[i], bMaskDWord); in save_adda_registers()
866 u32 *backup) in save_mac_registers() argument
871 backup[i] = usb_read8(adapt, mac_reg[i]); in save_mac_registers()
873 backup[i] = usb_read32(adapt, mac_reg[i]); in save_mac_registers()
877 u32 *backup, u32 regiester_num) in reload_adda_reg() argument
882 phy_set_bb_reg(adapt, adda_reg[i], bMaskDWord, backup[i]); in reload_adda_reg()
886 u32 *mac_reg, u32 *backup) in reload_mac_registers() argument
891 usb_write8(adapt, mac_reg[i], (u8)backup[i]); in reload_mac_registers()
893 usb_write32(adapt, mac_reg[i], backup[i]); in reload_mac_registers()
[all …]
/drivers/net/team/
DKconfig53 tristate "Active-backup mode support"
57 for backup.
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h1380 u32 *backup, int count);
1382 u32 *backup, int count);
1384 const u32 *reg, u32 *backup);
1386 const u32 *reg, u32 *backup);
1390 const u32 *regs, u32 *backup);
Drtl8xxxu_core.c2949 rtl8xxxu_save_mac_regs(struct rtl8xxxu_priv *priv, const u32 *reg, u32 *backup) in rtl8xxxu_save_mac_regs() argument
2954 backup[i] = rtl8xxxu_read8(priv, reg[i]); in rtl8xxxu_save_mac_regs()
2956 backup[i] = rtl8xxxu_read32(priv, reg[i]); in rtl8xxxu_save_mac_regs()
2960 const u32 *reg, u32 *backup) in rtl8xxxu_restore_mac_regs() argument
2965 rtl8xxxu_write8(priv, reg[i], backup[i]); in rtl8xxxu_restore_mac_regs()
2967 rtl8xxxu_write32(priv, reg[i], backup[i]); in rtl8xxxu_restore_mac_regs()
2971 u32 *backup, int count) in rtl8xxxu_save_regs() argument
2976 backup[i] = rtl8xxxu_read32(priv, regs[i]); in rtl8xxxu_save_regs()
2980 u32 *backup, int count) in rtl8xxxu_restore_regs() argument
2985 rtl8xxxu_write32(priv, regs[i], backup[i]); in rtl8xxxu_restore_regs()
[all …]
/drivers/net/wireless/intersil/p54/
DKconfig64 backup set of generic values to get the device working.
/drivers/dma/
Dste_dma40.c501 u32 *backup; member
2940 static void dma40_backup(void __iomem *baseaddr, u32 *backup, in dma40_backup() argument
2949 backup[i] = readl_relaxed(addr); in dma40_backup()
2951 writel_relaxed(backup[i], addr); in dma40_backup()
2982 if (base->gen_dmac.backup) in d40_save_restore_registers()
2984 base->gen_dmac.backup, in d40_save_restore_registers()
3223 base->gen_dmac.backup = d40_backup_regs_v4b; in d40_hw_detect_init()
3237 base->gen_dmac.backup = d40_backup_regs_v4a; in d40_hw_detect_init()
/drivers/rtc/
DKconfig214 chips (often with battery backup) connected with I2C. This driver
222 the RTC/NVRAM backup power, and alarms. NVRAM is visible in
1355 this is powered by the backup power supply.
1363 can be used as an RTC thanks to the backup power supply (e.g. a
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8723b1ant.c2289 bool backup) in halbtc8723b1ant_init_hw_config() argument
2298 if (backup) {/* backup rf 0x1e value */ in halbtc8723b1ant_init_hw_config()
Dhalbtc8192e2ant.c3191 bool backup) in halbtc8192e2ant_init_hwconfig() argument
3199 if (backup) { in halbtc8192e2ant_init_hwconfig()
/drivers/staging/speakup/
Dspkguide.txt920 source tree, make sure you make a backup of it before you start making
931 names on the right side of the = (equals) sign. You did make a backup,
963 from the working map. Be extremely careful, and always make a backup!
/drivers/misc/
DKconfig281 charge a coincell battery or backup capacitor which is used
/drivers/video/fbdev/sis/
Dinit301.c3108 unsigned short CRT2Index, ResIndex, backup; in SiS_GetCRT2DataLVDS() local
3135 backup = SiS_Pr->SiS_IF_DEF_LVDS; in SiS_GetCRT2DataLVDS()
3143 SiS_Pr->SiS_IF_DEF_LVDS = backup; in SiS_GetCRT2DataLVDS()
/drivers/scsi/
DKconfig1309 have a bootable disk and a backup in case of emergency.