Home
last modified time | relevance | path

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

1234567

/Zephyr-latest/samples/boards/st/backup_sram/src/
Dmain.c22 /** Value stored in backup SRAM. */
23 __stm32_backup_sram_section struct backup_store backup; variable
30 printk("ERROR: BackUp SRAM device is not ready\n"); in main()
34 if (backup.magic != BACKUP_MAGIC) { in main()
35 backup.magic = BACKUP_MAGIC; in main()
36 backup.value = 0; in main()
37 printk("Invalid magic in backup SRAM structure - resetting value.\n"); in main()
40 printk("Current value in backup SRAM (%p): %d\n", &backup.value, backup.value); in main()
42 backup.value++; in main()
44 SCB_CleanDCache_by_Addr(&backup, sizeof(backup)); in main()
[all …]
/Zephyr-latest/soc/nordic/nrf54h/
Dpm_s2ram.c43 struct backup { struct
48 static __noinit struct backup backup_data; argument
56 static void mpu_suspend(_mpu_context_t *backup) in mpu_suspend() argument
62 backup->RNR = MPU->RNR; in mpu_suspend()
66 backup->RBAR[i] = MPU->RBAR; in mpu_suspend()
67 backup->RLAR[i] = MPU->RLAR; in mpu_suspend()
69 backup->MAIR0 = MPU->MAIR0; in mpu_suspend()
70 backup->MAIR1 = MPU->MAIR1; in mpu_suspend()
71 backup->CTRL = MPU->CTRL; in mpu_suspend()
74 static void mpu_resume(_mpu_context_t *backup) in mpu_resume() argument
[all …]
/Zephyr-latest/dts/bindings/memory-controllers/
Dst,stm32-bbram.yaml8 application data. They are implemented in the backup domain that remains
11 reset by a backup domain reset.
18 st,backup-regs:
21 description: Number of available backup registers.
Dst,stm32-backup-sram.yaml5 STM32 Backup SRAM.
7 With a battery connected to the VBAT pin, the backup SRAM can be used to
10 compatible: "st,stm32-backup-sram"
/Zephyr-latest/samples/boards/st/backup_sram/
DREADME.rst2 :name: Backup SRAM
4 Use Backup SRAM to store a variable that persists across power cycles.
9 Multiple STM32 microcontrollers have a small backup SRAM that can be used as a
12 This example shows how to define a variable on the Backup SRAM. Each time the
39 Current value in backup SRAM: 11
Dsample.yaml2 description: Usage of backup SRAM on STM32
8 filter: dt_compat_enabled("st,stm32-backup-sram")
/Zephyr-latest/boards/sifive/hifive_unleashed/support/
Dopenocd_hifive_unleashed.cfg20 $_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
21 $_TARGETNAME.1 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
22 $_TARGETNAME.2 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
23 $_TARGETNAME.3 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
24 $_TARGETNAME.4 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
/Zephyr-latest/boards/sifive/hifive_unmatched/support/
Dopenocd_hifive_unmatched.cfg20 $_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
21 $_TARGETNAME.1 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
22 $_TARGETNAME.2 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
23 $_TARGETNAME.3 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
24 $_TARGETNAME.4 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
/Zephyr-latest/soc/st/stm32/common/
Dstm32_backup_sram.c37 LOG_ERR("Could not initialize backup SRAM clock (%d)", ret); in stm32_backup_sram_init()
41 /* enable write access to backup domain */ in stm32_backup_sram_init()
46 /* enable backup sram regulator (required to retain backup SRAM content in stm32_backup_sram_init()
/Zephyr-latest/subsys/net/ip/
Dudp.c68 struct net_pkt_cursor backup; in net_udp_get_hdr() local
77 net_pkt_cursor_backup(pkt, &backup); in net_udp_get_hdr()
89 net_pkt_cursor_restore(pkt, &backup); in net_udp_get_hdr()
99 struct net_pkt_cursor backup; in net_udp_set_hdr() local
106 net_pkt_cursor_backup(pkt, &backup); in net_udp_set_hdr()
124 net_pkt_cursor_restore(pkt, &backup); in net_udp_set_hdr()
/Zephyr-latest/drivers/bbram/
DKconfig.stm3214 application data. They are implemented in the backup domain that remains
17 reset by a backup domain reset.
/Zephyr-latest/dts/bindings/rtc/
Dmicrocrystal,rv3028.yaml25 backup-switch-mode:
33 Automatic backup switchover function selection:
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_reassembly/src/
Dmain.c21 static struct net_buf *backup; variable
24 * for further processing; since there is nothing to process, this stub will only backup
30 backup = nb; in smp_rx_req()
78 smp_packet_free(backup); in ZTEST()
152 p = net_buf_pull_mem(backup, TEST_FRAME_SIZE); in ZTEST()
160 smp_packet_free(backup); in ZTEST()
/Zephyr-latest/doc/connectivity/networking/conn_mgr/figures/
D.gitignore1 # Ignore drawio backup files
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2.c109 struct dwc2_reg_backup backup; member
858 struct dwc2_reg_backup *backup = &priv->backup; in dwc2_backup_registers() local
860 backup->gotgctl = sys_read32((mem_addr_t)&base->gotgctl); in dwc2_backup_registers()
861 backup->gahbcfg = sys_read32((mem_addr_t)&base->gahbcfg); in dwc2_backup_registers()
862 backup->gusbcfg = sys_read32((mem_addr_t)&base->gusbcfg); in dwc2_backup_registers()
863 backup->gintmsk = sys_read32((mem_addr_t)&base->gintmsk); in dwc2_backup_registers()
864 backup->grxfsiz = sys_read32((mem_addr_t)&base->grxfsiz); in dwc2_backup_registers()
865 backup->gnptxfsiz = sys_read32((mem_addr_t)&base->gnptxfsiz); in dwc2_backup_registers()
866 backup->gi2cctl = sys_read32((mem_addr_t)&base->gi2cctl); in dwc2_backup_registers()
867 backup->glpmcfg = sys_read32((mem_addr_t)&base->glpmcfg); in dwc2_backup_registers()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dbuf.c224 meta->backup.data = parent->data; in bt_buf_make_view()
227 meta->backup.size = parent->size; in bt_buf_make_view()
231 /* save backup & "clip" the buffer so the next `make_view` will fail */ in bt_buf_make_view()
244 meta->parent->data = meta->backup.data; in bt_buf_destroy_view()
245 meta->parent->size = meta->backup.size; in bt_buf_destroy_view()
/Zephyr-latest/soc/st/stm32/
DKconfig28 bool "STM32 Backup SRAM"
31 Enable support for STM32 backup SRAM.
/Zephyr-latest/boards/digilent/arty_a7/support/
Dopenocd_arty_a7_arm_designstart.cfg6 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
/Zephyr-latest/boards/wch/ch32v003evt/support/
Dopenocd.cfg10 $_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 10000 -work-area-backup 1
/Zephyr-latest/boards/sc/scobc_module1/support/
Dopenocd.cfg17 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
/Zephyr-latest/soc/atmel/sam/common/
Dsoc_poweroff.c10 * Poweroff will make the chip enter the backup low-power mode, which
Dsoc_sam4l_poweroff.c10 * Poweroff will make the chip enter the backup low-power mode, which
/Zephyr-latest/dts/arm/st/f3/
Dstm32f302X8.dtsi25 st,backup-regs = <20>;
/Zephyr-latest/dts/arm/st/l1/
Dstm32l151Xb-a.dtsi28 st,backup-regs = <5>;
Dstm32l151Xb.dtsi28 st,backup-regs = <20>;

1234567