Home
last modified time | relevance | path

Searched full:off (Results 1 – 25 of 918) sorted by relevance

12345678910>>...37

/Zephyr-Core-3.5.0/modules/openthread/
DCMakeLists.txt7 set(OT_BUILD_EXECUTABLES OFF CACHE BOOL "Disable OpenThread samples")
8 set(OT_BUILTIN_MBEDTLS_MANAGEMENT OFF CACHE BOOL "Use Zephyr's mbedTLS heap")
25 set(OT_MTD OFF CACHE BOOL "Enable MTD" FORCE)
27 set(OT_FTD OFF CACHE BOOL "Enable FTD" FORCE)
34 set(OT_ANYCAST_LOCATOR OFF CACHE BOOL "Enable anycast locator" FORCE)
40 set(OT_ASSERT OFF CACHE BOOL "Enable assert function OT_ASSERT()" FORCE)
46 set(OT_BACKBONE_ROUTER OFF CACHE BOOL "Enable backbone router functionality" FORCE)
52 set(OT_BACKBONE_ROUTER_DUA_NDPROXYING OFF CACHE BOOL "Enable BBR DUA ND Proxy support" FORCE)
58 set(OT_BACKBONE_ROUTER_MULTICAST_ROUTING OFF CACHE BOOL "Enable BBR MR support" FORCE)
64 set(OT_BORDER_AGENT OFF CACHE BOOL "Enable Border Agent" FORCE)
[all …]
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_dw.h23 typedef uint32_t (*spi_dw_read_t)(uint8_t size, uint32_t addr, uint32_t off);
24 typedef void (*spi_dw_write_t)(uint8_t size, uint32_t data, uint32_t addr, uint32_t off);
25 typedef void (*spi_dw_set_bit_t)(uint8_t bit, uint32_t addr, uint32_t off);
26 typedef void (*spi_dw_clear_bit_t)(uint8_t bit, uint32_t addr, uint32_t off);
27 typedef int (*spi_dw_test_bit_t)(uint8_t bit, uint32_t addr, uint32_t off);
65 static uint32_t aux_reg_read(uint8_t size, uint32_t addr, uint32_t off) in aux_reg_read() argument
68 return sys_in32(addr + off/4); in aux_reg_read()
71 static void aux_reg_write(uint8_t size, uint32_t data, uint32_t addr, uint32_t off) in aux_reg_write() argument
74 sys_out32(data, addr + off/4); in aux_reg_write()
77 static void aux_reg_set_bit(uint8_t bit, uint32_t addr, uint32_t off) in aux_reg_set_bit() argument
[all …]
/Zephyr-Core-3.5.0/doc/services/resource_management/
Dindex.rst23 On-Off Manager
26 An on-off manager supports an arbitrary number of clients of a service
32 * The stable states are off, on, and error. The service always begins
33 in the off state. The service may also be in a transition to a given
40 * The service transitions from off to on when first client request is
42 * The service transitions from on to off when last client release is
45 transition from off to on, from on to off, and optionally from an
46 error state to off. Transitions must be invokable from both thread
51 * Requests to turn on may be queued while a transition to off is in
52 progress: when the service has turned off successfully it will be
[all …]
/Zephyr-Core-3.5.0/soc/nios2/nios2f-zephyr/cpu/
Dghrd_10m50da.qsf63 set_global_assignment -name MUX_RESTRUCTURE OFF
70 set_global_assignment -name ENABLE_OCT_DONE OFF
71 set_global_assignment -name USE_CONFIGURATION_DEVICE OFF
72 set_global_assignment -name CRC_ERROR_OPEN_DRAIN OFF
290 set_instance_assignment -name PACKAGE_SKEW_COMPENSATION OFF -to mem_dq[0] -tag __ghrd_10m50daf484c6…
291 set_instance_assignment -name PACKAGE_SKEW_COMPENSATION OFF -to mem_dq[1] -tag __ghrd_10m50daf484c6…
292 set_instance_assignment -name PACKAGE_SKEW_COMPENSATION OFF -to mem_dq[2] -tag __ghrd_10m50daf484c6…
293 set_instance_assignment -name PACKAGE_SKEW_COMPENSATION OFF -to mem_dq[3] -tag __ghrd_10m50daf484c6…
294 set_instance_assignment -name PACKAGE_SKEW_COMPENSATION OFF -to mem_dq[4] -tag __ghrd_10m50daf484c6…
295 set_instance_assignment -name PACKAGE_SKEW_COMPENSATION OFF -to mem_dq[5] -tag __ghrd_10m50daf484c6…
[all …]
/Zephyr-Core-3.5.0/boards/arm/nucleo_h563zi/
Dst_morpho_connector.dtsi26 <ST_MORPHO_L_25 0 &gpioc 14 0>, /* SB45=ON, R34=OFF */
27 <ST_MORPHO_L_27 0 &gpioc 15 0>, /* SB44=ON, R35=OFF */
30 <ST_MORPHO_L_30 0 &gpioa 1 0>, /* SB58=OFF */
32 <ST_MORPHO_L_32 0 &gpioa 4 0>, /* SB56=OFF */
35 <ST_MORPHO_L_36 0 &gpioc 1 0>, /* SB62=OFF */
63 <ST_MORPHO_L_68 0 &gpiog 13 0>, /* SB37=OFF */
64 <ST_MORPHO_L_69 0 &gpiod 9 0>, /* SB75=ON, SB18=OFF, SB65=OFF */
65 <ST_MORPHO_L_70 0 &gpiog 11 0>, /* SB34=OFF */
72 <ST_MORPHO_R_6 0 &gpioc 5 0>, /* SB36=OFF */
75 <ST_MORPHO_R_12 0 &gpioa 12 0>, /* SB22=ON, SB28=OFF */
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/arc/asm-compat/
Dasm-macro-64-bit-gnu.h17 .macro LDR\aa d, s, off=0
18 ldl\aa \d, [\s, \off]
23 .macro STR\aa d, s, off=0
25 .if \off == 0
28 stl\aa \d, [\s, \off]
33 .macro STR d, s, off=0
34 .if \off == 0
37 .if \off > 255
38 STR.as \d, \s, \off / 8
40 stl \d, [\s, \off]
/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_bitmap.c23 uint32_t off = index % 8; in ext2_bitmap_set() local
30 __ASSERT((bm[idx] & BIT(off)) == 0, "Bit %d set in bitmap", index); in ext2_bitmap_set()
33 bm[idx] |= BIT(off); in ext2_bitmap_set()
44 uint32_t off = index % 8; in ext2_bitmap_unset() local
51 __ASSERT(bm[idx] & BIT(off), "Bit %d not set in bitmap", index); in ext2_bitmap_unset()
54 bm[idx] &= ~BIT(off); in ext2_bitmap_unset()
66 int off = find_lsb_set(~bm[i]) - 1; in ext2_bitmap_find_free() local
68 LOG_DBG("off: %d", off); in ext2_bitmap_find_free()
69 return off + i * 8; in ext2_bitmap_find_free()
/Zephyr-Core-3.5.0/samples/boards/mimxrt1060_evk/system_off/
DREADME.rst1 .. _mimxrt1060_evk-system-off-sample:
3 RT1060 System Off demo
10 soft off on NXP i.MX RT platforms. The functional behavior is:
13 * Turn the system off after enabling wakeup through a button press, and
37 4. Device will turn itself off using deep sleep state 1. Press SW 5
51 mimxrt1060_evkb system off demo
54 RTC Alarm set for 10 seconds to wake from soft-off.
55 Entering system off; press GPIO_5 to restart sooner
/Zephyr-Core-3.5.0/drivers/pwm/
Dpwm_mchp_xec.c28 /* Minimal on/off are 1 & 1 both are incremented, so 4.
33 /* Maximal on/off are UINT16_T, both are incremented.
62 uint32_t off; member
110 static uint32_t xec_compute_frequency(uint32_t clk, uint32_t on, uint32_t off) in xec_compute_frequency() argument
112 return ((clk * XEC_PWM_FREQ_PF)/((on + 1) + (off + 1))); in xec_compute_frequency()
135 uint32_t *on, uint32_t *off) in xec_compute_on_off() argument
142 *off = on_off - *on - 2; in xec_compute_on_off()
145 static uint32_t xec_compute_dc(uint32_t on, uint32_t off) in xec_compute_dc() argument
147 int dc = (on + 1) + (off + 1); in xec_compute_dc()
190 uint32_t *on, uint32_t *off) in xec_select_best_div_on_off() argument
[all …]
/Zephyr-Core-3.5.0/subsys/settings/src/
Dsettings_line.c18 int (*read_cb)(void *ctx, off_t off, char *buf, size_t *len);
19 int (*write_cb)(void *ctx, off_t off, char const *buf, size_t len);
180 off_t off; in settings_line_raw_read_until() local
190 off = seek / rbs * rbs; in settings_line_raw_read_until()
195 rc = settings_io_cb.read_cb(cb_arg, off, temp_buf, &read_size); in settings_line_raw_read_until()
200 off = seek - off; in settings_line_raw_read_until()
201 len = read_size - off; in settings_line_raw_read_until()
206 pend = memchr(&temp_buf[off], *until_char, len); in settings_line_raw_read_until()
208 len = pend - &temp_buf[off]; in settings_line_raw_read_until()
213 memcpy(out, &temp_buf[off], len); in settings_line_raw_read_until()
[all …]
Dsettings_priv.h27 void settings_line_io_init(int (*read_cb)(void *ctx, off_t off, char *buf,
29 int (*write_cb)(void *ctx, off_t off,
41 off_t off, void *cb_arg);
44 off_t off, void *cb_arg);
47 off_t off, void *cb_arg);
51 off_t off; member
90 * @param off from val_off (so within the value-string)
92 int settings_line_val_read(off_t val_off, off_t off, char *out, size_t len_req,
116 void settings_line_io_init(int (*read_cb)(void *ctx, off_t off, char *buf,
118 int (*write_cb)(void *ctx, off_t off, char const *buf,
/Zephyr-Core-3.5.0/samples/boards/nrf/system_off/
DREADME.rst1 .. _nrf-system-off-sample:
3 nRF5x System Off demo
17 system off was entered, and total uptime since initial power-on are retained
19 the containing RAM section powered while in system-off mode.
36 nrf52dk_nrf52832 system off demo
37 Entering system off; press sw0 to restart
/Zephyr-Core-3.5.0/include/zephyr/sys/
Dpoweroff.h17 * @defgroup sys_poweroff System power off
25 * @brief System power off hook.
28 * perform an immediate power off of the system.
37 * @brief Perform a system power off.
39 * This function will perform an immediate power off of the system. It is the
41 * be powered off. Any required wake up sources must be enabled before calling
/Zephyr-Core-3.5.0/subsys/storage/flash_map/
Dflash_map.c56 int flash_area_read(const struct flash_area *fa, off_t off, void *dst, in flash_area_read() argument
59 if (!is_in_flash_area_bounds(fa, off, len)) { in flash_area_read()
63 return flash_read(fa->fa_dev, fa->fa_off + off, dst, len); in flash_area_read()
66 int flash_area_write(const struct flash_area *fa, off_t off, const void *src, in flash_area_write() argument
69 if (!is_in_flash_area_bounds(fa, off, len)) { in flash_area_write()
73 return flash_write(fa->fa_dev, fa->fa_off + off, (void *)src, len); in flash_area_write()
76 int flash_area_erase(const struct flash_area *fa, off_t off, size_t len) in flash_area_erase() argument
78 if (!is_in_flash_area_bounds(fa, off, len)) { in flash_area_erase()
82 return flash_erase(fa->fa_dev, fa->fa_off + off, len); in flash_area_erase()
/Zephyr-Core-3.5.0/include/zephyr/arch/common/
Dpm_s2ram.h26 * @brief System off function
29 * to power the system off after the CPU context has been saved.
31 * This function never returns if the system is powered off. If the operation
35 * @retval none The system is powered off.
36 * @retval -EBUSY The system is busy and cannot be powered off at this time.
45 * (retained) RAM before powering the system off using the provided function.
52 * @param system_off Function to power off the system.
/Zephyr-Core-3.5.0/samples/drivers/led_pwm/
Dsample.yaml18 - "Turned off"
20 - "Blinking on: 0.1 sec, off: 0.1 sec"
21 - "(Blinking on: 1 sec, off: 1 sec|Cycle period not supported)"
22 - "Turned off, loop end"
DREADME.rst21 - Turning off
23 - Blinking on: 0.1 sec, off: 0.1 sec
24 - Blinking on: 1 sec, off: 1 sec
25 - Turning off
/Zephyr-Core-3.5.0/samples/boards/ti/cc13x2_cc26x2/system_off/
DREADME.rst1 .. _ti-cc13x2_cc26x2-system-off-sample:
3 cc13x2_cc26x2 System Off demo
16 * Turn the system off after enabling wakeup through a button press
42 4. Device will turn off the external flash, which is on by default, to
45 6. Device will explicitly turn itself off by going into shutdown mode.
59 cc1352r1_launchxl system off demo
63 Entering system off (SHUTDOWN); press BUTTON1 to restart
/Zephyr-Core-3.5.0/samples/drivers/led_pwm/src/
Dmain.c52 /* Turn LED off. */ in run_led_test()
58 LOG_INF(" Turned off"); in run_led_test()
73 /* Set LED blinking (on: 0.1 sec, off: 0.1 sec) */ in run_led_test()
79 LOG_INF(" Blinking on: 0.1 sec, off: 0.1 sec"); in run_led_test()
82 /* Enable LED blinking (on: 1 sec, off: 1 sec) */ in run_led_test()
86 LOG_INF(" Cycle period not supported - on: 1 sec, off: 1 sec"); in run_led_test()
88 LOG_INF(" Blinking on: 1 sec, off: 1 sec"); in run_led_test()
92 /* Turn LED off. */ in run_led_test()
98 LOG_INF(" Turned off, loop end"); in run_led_test()
/Zephyr-Core-3.5.0/tests/drivers/flash_simulator/src/
Dmain.c62 off_t off; in test_check_pattern32() local
66 for (off = 0; off < size; off += 4) { in test_check_pattern32()
67 rc = flash_read(flash_dev, start + off, &r_val32, in test_check_pattern32()
74 start + off, r_val32, val32); in test_check_pattern32()
109 off_t off; in test_write_read() local
118 for (off = 0; off < TEST_SIM_FLASH_SIZE; off += 4) { in test_write_read()
120 off, in test_write_read()
123 "flash_write (%d) should succeed at off 0x%x", rc, in test_write_read()
124 FLASH_SIMULATOR_BASE_OFFSET + off); in test_write_read()
130 for (off = 0; off < TEST_SIM_FLASH_SIZE; off += 4) { in test_write_read()
[all …]
/Zephyr-Core-3.5.0/dts/bindings/w1/
Dmaxim,ds2477_85_common.yaml16 - "off"
24 off: off (chip reset value)
33 - "off"
43 off: off (chip reset value)
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c86 size_t off; member
126 fs_mgmt_ctxt.off = 0; in fs_mgmt_cleanup()
174 static bool fs_mgmt_file_rsp(zcbor_state_t *zse, int rc, uint64_t off) in fs_mgmt_file_rsp() argument
183 return ok && zcbor_tstr_put_lit(zse, "off") && in fs_mgmt_file_rsp()
184 zcbor_uint64_put(zse, off); in fs_mgmt_file_rsp()
192 if (fs_mgmt_ctxt.len > 0 && fs_mgmt_ctxt.off >= fs_mgmt_ctxt.len) { in fs_mgmt_upload_download_finish_check()
208 uint64_t off = ULLONG_MAX; in fs_mgmt_file_download() local
218 ZCBOR_MAP_DECODE_KEY_DECODER("off", zcbor_uint64_decode, &off), in fs_mgmt_file_download()
236 if (!ok || off == ULLONG_MAX || name.len == 0 || name.len > (sizeof(path) - 1)) { in fs_mgmt_file_download()
278 fs_mgmt_ctxt.off = 0; in fs_mgmt_file_download()
[all …]
/Zephyr-Core-3.5.0/subsys/fs/fcb/
Dfcb_elem_info.c27 uint32_t off; in fcb_elem_crc8() local
50 off = loc->fe_data_off; in fcb_elem_crc8()
52 for (; off < end; off += blk_sz) { in fcb_elem_crc8()
53 blk_sz = end - off; in fcb_elem_crc8()
58 rc = fcb_flash_read(_fcb, loc->fe_sector, off, tmp_str, blk_sz); in fcb_elem_crc8()
125 off_t off; in fcb_elem_info() local
131 off = loc->fe_data_off + fcb_len_in_flash(_fcb, loc->fe_data_len); in fcb_elem_info()
133 rc = fcb_flash_read(_fcb, loc->fe_sector, off, &fl_em, sizeof(fl_em)); in fcb_elem_info()
/Zephyr-Core-3.5.0/boards/arm/cyclonev_socdk/support/
Dappli_debug_cmd.gdb7 set confirm off
8 set pagination off
9 set remote interrupt-on-connect off
/Zephyr-Core-3.5.0/tests/subsys/storage/flash_map/src/
Dmain.c41 off_t off; in ZTEST() local
66 off = 0; in ZTEST()
68 rc = flash_area_write(fa, off, wd, sizeof(wd)); in ZTEST()
72 rc = flash_read(flash_dev, fa->fa_off + off, rd, sizeof(rd)); in ZTEST()
79 rc = flash_write(flash_dev, fa->fa_off + off + in ZTEST()
86 rc = flash_area_read(fa, off + fs_sectors[i].fs_size - in ZTEST()
94 off += fs_sectors[i].fs_size; in ZTEST()
103 for (off = 0; off < fa->fa_size; off += sizeof(rd)) { in ZTEST()
104 rc = flash_area_read(fa, off, rd, sizeof(rd)); in ZTEST()
155 zassert_true(rc == -EINVAL, "Flash area check int 256 fac off\n"); in ZTEST()
[all …]

12345678910>>...37