Home
last modified time | relevance | path

Searched +full:2 +full:- +full:phase (Results 1 – 25 of 173) sorted by relevance

1234567

/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/blob_mdls/
Dblob_srv_persistence.sh3 # SPDX-License-Identifier: Apache-2.0
9 # Tests with -flash_erase run with clear flash and start new procedure.
10 # Tests with -flash_rm clean up stored settings after them
11 # to run tests with -flash_erase correctly.
15 blob_cli_stop -flash_erase blob_srv_stop -flash_erase -- -argstest expected-phase=1
19 blob_cli_stop blob_srv_stop -- -argstest expected-phase=2
23 blob_cli_stop blob_srv_stop -- -argstest expected-phase=3
27 blob_cli_stop -flash_rm blob_srv_stop -flash_rm -- -argstest expected-phase=4
32 blob_cli_stop -flash_erase blob_srv_stop -flash_erase -- -argstest expected-phase=5
36 blob_cli_stop -flash_rm blob_srv_stop -flash_rm -- -argstest expected-phase=4
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/dfu/
Ddfu_srv_recovery.sh3 # SPDX-License-Identifier: Apache-2.0
12 # settings from persistent storage, which will allow to verify if stored DFU server's phase and
18 dfu_cli_stop -flash_erase dfu_target_dfu_stop -flash_erase \
19 -- -argstest recover=0 expected-phase=2
24 -- -argstest recover=1 expected-phase=3
29 -- -argstest recover=1 expected-phase=4
34 -- -argstest recover=1 expected-phase=6
36 # Use phase `BT_MESH_DFU_PHASE_APPLY_SUCCESS` as marker to bring whole procedure to an end
39 dfu_cli_stop -flash_rm dfu_target_dfu_stop -flash_rm \
40 -- -argstest recover=1 expected-phase=8
[all …]
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/
Dtest_forwarding_pio.cpp3 * SPDX-License-Identifier: Apache-2.0
59 const uint8_t expected_data[2] = { in ZTEST()
64 uint8_t data[2]; in ZTEST()
68 [expected_data](struct i2c_target_config *, uint8_t *out) -> int { in ZTEST()
73 [expected_data](struct i2c_target_config *, uint8_t *out) -> int { in ZTEST()
107 uint8_t write_data[2]; in ZTEST()
110 target_write_requested_0_fake.return_val = -EINVAL; in ZTEST()
111 zassert_equal(-EINVAL, i2c_write(controller, write_data, sizeof(write_data), in ZTEST()
122 zexpect_equal(2, target_write_requested_0_fake.call_count, "Was called %d times", in ZTEST()
124 zexpect_equal(2, target_write_received_0_fake.call_count, "Was called %d times", in ZTEST()
[all …]
Dtest_forwarding_buf.cpp3 * SPDX-License-Identifier: Apache-2.0
71 target_buf_read_requested_0_fake.return_val = -EINTR; in ZTEST()
73 zassert_equal(-EINTR, i2c_read(controller, &data, 1, emulated_target_config[0].address)); in ZTEST()
90 zassert_equal(-ENOMEM, i2c_read(controller, &data, 1, emulated_target_config[0].address)); in ZTEST()
99 uint8_t read_data[2] = {}; in ZTEST()
114 int phase = 0; in ZTEST() local
115 target_buf_write_received_0_fake.custom_fake = [&phase](struct i2c_target_config *, in ZTEST()
117 zassert_equal(0, phase, in ZTEST()
119 phase++; in ZTEST()
121 target_buf_read_requested_0_fake.custom_fake = [&phase](struct i2c_target_config *, in ZTEST()
[all …]
/Zephyr-latest/dts/bindings/clock/
Draspberrypi,pico-rosc.yaml2 # SPDX-License-Identifier: Apache-2.0
7 compatible: "raspberrypi,pico-rosc"
9 include: [fixed-clock.yaml, fixed-factor-clock.yaml]
17 - LOW: 8 (default)
18 - MEDIUM: 6
19 - HIGH: 4
20 - TOOHIGH: 2
22 stage-drive-strength:
29 phase-flip:
32 Flipping phase-shifter output.
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_srv.c4 * SPDX-License-Identifier: Apache-2.0
30 bt_mesh_model_data_store(srv->mod, false, NULL, &srv->update, in store_state()
31 sizeof(srv->update)); in store_state()
36 bt_mesh_model_data_store(srv->mod, false, NULL, NULL, 0); in erase_state()
42 srv->update.idx >= srv->img_count) { in xfer_failed()
48 if (srv->cb->end) { in xfer_failed()
49 srv->cb->end(srv, &srv->imgs[srv->update.idx], false); in xfer_failed()
60 if (idx >= srv->img_count) { in metadata_check()
64 if (!srv->cb->check) { in metadata_check()
68 if (srv->cb->check(srv, &srv->imgs[idx], buf, effect)) { in metadata_check()
[all …]
Dmesh.h4 * SPDX-License-Identifier: Apache-2.0
14 BT_MESH_KEY_UPDATED, /* KR phase 1, second key added */
15 BT_MESH_KEY_SWAPPED, /* KR phase 2, now sending on second key */
16 BT_MESH_KEY_REVOKED, /* KR phase 3, old key removed */
Ddfd_srv.c4 * SPDX-License-Identifier: Apache-2.0
61 srv->phase = new_phase; in dfd_phase_set()
63 if (srv->cb && srv->cb->phase) { in dfd_phase_set()
64 srv->cb->phase(srv, srv->phase); in dfd_phase_set()
71 for (int i = 0; i < srv->target_cnt; ++i) { in target_get()
72 if (addr == srv->targets[i].blob.addr) { in target_get()
73 return &srv->targets[i]; in target_get()
82 return srv->phase == BT_MESH_DFD_PHASE_TRANSFER_ACTIVE || in is_busy()
83 srv->phase == BT_MESH_DFD_PHASE_TRANSFER_SUCCESS || in is_busy()
84 srv->phase == BT_MESH_DFD_PHASE_APPLYING_UPDATE; in is_busy()
[all …]
/Zephyr-latest/samples/drivers/clock_control_litex/
DREADME.rst1 .. zephyr:code-sample:: clock-control-litex
3 :relevant-api: clock_control_interface
11 … Mode Clock Manager (MMCM) module to generate up to 7 clocks with defined phase, frequency and dut…
15 * LiteX-capable FPGA platform with MMCM modules (for example Digilent Arty A7 development board)
16 * SoC configuration with VexRiscv soft CPU and Xilinx 7-series MMCM interface in LiteX (S7MMCM modu…
23 .. literalinclude:: ../../../dts/riscv/riscv32-litex-vexriscv.dtsi
25 :start-at: clk0: clock-controller@0 {
26 :end-at: };
29 .. literalinclude:: ../../../dts/riscv/riscv32-litex-vexriscv.dtsi
31 :start-at: clk1: clock-controller@1 {
[all …]
/Zephyr-latest/dts/bindings/memory-controllers/
Dst,stm32-fmc-nor-psram.yaml2 # SPDX-License-Identifier: Apache-2.0
11 - 8 bits
12 - 16 bits
13 - 32 bits
15 - Asynchronous mode
16 - Burst mode for synchronous accesses with configurable option to split burst
18 - Multiplexed or non-multiplexed
20 - Asynchronous mode
21 - Burst mode for synchronous accesses
22 - Multiplexed or non-multiplexed
[all …]
Drenesas,smartbond-nor-psram.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "renesas,smartbond-nor-psram"
14 is-ram:
19 dev-size:
25 dev-type:
31 dev-density:
40 dev-id:
46 reset-delay-us:
52 read-cs-idle-min-ns:
59 erase-cs-idle-min-ns:
[all …]
/Zephyr-latest/include/zephyr/net/
Dgptp.h4 * SPDX-License-Identifier: Apache-2.0
75 #define GPTP_POW2(exp) pow(2, exp)
88 res /= 2; in gptp_pow2()
98 /* Pre-calculated constants */
99 /* 2^16 */
101 /* 2^41 */
105 * have that bit set to 1. IEEE 802.1AS chapter 10.5.2.2.2
139 uint8_t octets[2];
154 /** Version of the PTP, always 2. */
184 /** Control value. Sync: 0, Follow-up: 2, Others: 5. */
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_beacon.c4 * SPDX-License-Identifier: Apache-2.0
90 static uint8_t net_key[16] = { 1, 2, 3 };
109 .option = "rand-int", in test_args_parse()
177 ASSERT_TRUE(bt_mesh.iv_index == 2); in tx_on_iv_update_test()
225 ASSERT_TRUE(bt_mesh.iv_index == 2); in test_rx_on_iv_update()
234 uint8_t phase; in tx_on_key_refresh_test() local
237 status = bt_mesh_subnet_kr_phase_get(BT_MESH_KEY_PRIMARY, &phase); in tx_on_key_refresh_test()
239 ASSERT_TRUE(phase == BT_MESH_KR_NORMAL); in tx_on_key_refresh_test()
246 status = bt_mesh_subnet_kr_phase_get(BT_MESH_KEY_PRIMARY, &phase); in tx_on_key_refresh_test()
248 ASSERT_TRUE(phase == BT_MESH_KR_PHASE_1); in tx_on_key_refresh_test()
[all …]
Dtest_dfu.c4 * SPDX-License-Identifier: Apache-2.0
74 .option = "fail-confirm", in test_args_parse()
80 .name = "{none, start, verify, verify-ok, verify-fail, apply}", in test_args_parse()
81 .option = "expected-phase", in test_args_parse()
82 .descript = "Expected DFU Server phase value restored from flash" in test_args_parse()
89 .descript = "Recover DFU server phase" in test_args_parse()
109 memset(chunk->data, 0, chunk->size); in dummy_blob_chunk_rd()
142 static void dist_phase_changed(struct bt_mesh_dfd_srv *srv, enum bt_mesh_dfd_phase phase) in dist_phase_changed() argument
146 if (phase == BT_MESH_DFD_PHASE_COMPLETED || in dist_phase_changed()
147 phase == BT_MESH_DFD_PHASE_FAILED) { in dist_phase_changed()
[all …]
/Zephyr-latest/samples/drivers/espi/
Dsample.yaml8 - drivers
9 - espi
10 filter: dt_compat_enabled("microchip,mec15xx-board-power")
18 - "Hello eSPI test (.*)"
19 - "eSPI test - I/O initialization...complete"
20 - "eSPI slave configured successfully!"
21 - "eSPI test - callbacks initialization... complete"
22 - "eSPI test - Power initialization...complete"
23 - "eSPI BUS reset (.*)"
24 - "espi: Hello eSPI test mec1501modular_assy6885"
[all …]
DREADME.rst1 .. zephyr:code-sample:: espi
3 :relevant-api: espi_interface spi_interface
27 boards's map-file next fixture settings::
29 - fixture: espi_device_connect
34 .. code-block:: console
37 eSPI test - I/O initialization...complete
39 eSPI test - callbacks initialization... complete
40 eSPI test - callbacks registration... complete
41 eSPI test - Power initialization...complete
42 eSPI test - Handshake
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/bridge/
Dbrg_net_key_refresh.sh3 # SPDX-License-Identifier: Apache-2.0
18 # Subnet Bridge (bridges subnets 0 <-> 1)
24 # (*) - All nodes are in the tester's range
28 # 2. Tester provisions and configures Subnet Bridge node.
29 # 3. Tester provisions and configures the non-bridge node for subnet 1.
32 # b. Tester sends DATA and GET messages to the non-bridge node encrypted
33 # with the primary key and verifies that the non-bridge node sends a
35 # c. Tester triggers transition to KRP phase 0x02 for relevant nodes for
38 # e. Tester triggers transition to KRP phase 0x03 for relevant nodes for
43 # 7. Tester triggers transition to KRP phase 0x02 for all nodes and net keys.
[all …]
/Zephyr-latest/dts/bindings/wifi/
Dnordic,nrf70-qspi.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: This is a representation of the nRF70 Wi-Fi chip.
8 on-bus: qspi
11 qspi-frequency:
20 qspi-quad-mode:
24 SPI mode (2 IO lines - MOSI & MISO).
26 qspi-rx-delay:
33 qspi-cpha:
36 Set to indicate phase starts with asserted half-phase (CPHA=1).
39 qspi-cpol:
/Zephyr-latest/drivers/clock_control/
Dclock_control_litex.c4 * SPDX-License-Identifier: Apache-2.0
36 {DRP_ADDR_DAT_W, 2},
37 {DRP_ADDR_DAT_R, 2},
66 …* https://github.com/Digilent/Zybo-hdmi-out/blob/b991fff6e964420ae3c00c3dbee52f2ad748b3ba/sdk/disp…
213 return litex_clk_filter_table[glob_mul - 1]; in litex_clk_lookup_filter()
219 return litex_clk_lock_table[glob_mul - 1]; in litex_clk_lookup_lock()
234 int assert = (1 << (drp[reg].size * BITS_PER_BYTE)) - 1; in litex_clk_assert_reg()
251 timeout = ldev->timeout.lock; in litex_clk_wait()
253 timeout = ldev->timeout.drdy; in litex_clk_wait()
257 timeout--; in litex_clk_wait()
[all …]
/Zephyr-latest/dts/bindings/pwm/
Dnxp,s32-emios-pwm.yaml2 # SPDX-License-Identifier: Apache-2.0
11 - Channel 0 for mode OPWFMB
12 - Channel 1 for mode OPWMB
13 - Channel 2 for mode OPWMCB with deadtime inserted at leading edge
14 - Channel 3 for mode SAIC, use internal timebase with input filter = 2 eMIOS clock
19 pwm-mode = "OPWFMB";
22 duty-cycle = <32768>;
28 master-bus = <&emios1_bus_a>;
29 pwm-mode = "OPWMB";
30 duty-cycle = <32768>;
[all …]
/Zephyr-latest/doc/project/
Drelease_process.rst6 The Zephyr project releases on a time-based cycle, rather than a feature-driven
10 A time-based release process enables the Zephyr project to provide users with a
12 roughly 4-month release cycle allows the project to coordinate development of
19 - Release tagging procedure:
21 - linear mode on main branch,
22 - release branches for maintenance after release tagging.
23 - Each release period will consist of a development phase followed by a
24 stabilization phase. Release candidates will be tagged during the
25 stabilization phase. During the stabilization phase, only stabilization
29 - Development phase: all changes are considered and merged, subject to
[all …]
/Zephyr-latest/samples/drivers/clock_control_litex/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
13 /* Select clock outputs for tests [0-6] */
33 /* Values for phase test */
56 #define LITEX_TEST_DUTY 2
75 printf("CLKOUT%d: get_status: rate:%d phase:%d duty:%d\n", in litex_clk_test_getters()
76 i, setup.rate, setup.phase, setup.duty); in litex_clk_test_getters()
90 .phase = LITEX_TEST_SINGLE_PHASE_VAL in litex_clk_test_single()
96 .phase = LITEX_TEST_SINGLE_PHASE_VAL2, in litex_clk_test_single()
122 .phase = LITEX_TEST_FREQUENCY_PHASE_VAL in litex_clk_test_freq()
148 if (ret != 0 && ret != -ENOTSUP) { in litex_clk_test_freq()
[all …]
/Zephyr-latest/doc/build/cmake/
Dindex.rst1 .. _cmake-details:
32 .. code-block:: cmake
51 phase (driven by CMake) and a build phase (driven by Make or Ninja).
55 Configuration Phase
56 -------------------
58 The configuration phase begins when the user invokes *CMake* to generate a
61 .. figure:: build-config-phase.svg
63 :alt: Zephyr's build configuration phase
64 :figclass: align-center
69 top-level directory, which in turn refers to :file:`CMakeLists.txt` files
[all …]
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
8 SPI mode value (clock polarity and phase) used in the test.
11 2: CPOL 1 (Active low), CPHA 0 (leading)
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcfg.h8 * SPDX-License-Identifier: Apache-2.0
39 /* Key Refresh Phase */
94 * @retval -ENOTSUP The Mesh Private beacon feature is not supported.
95 * @retval -EINVAL Invalid parameter.
96 * @retval -EALREADY Already in the given state.
138 * @retval -EINVAL Invalid TTL value.
148 /** @brief Get the current Mesh On-Demand Private Proxy state.
150 * @retval 0 or positive value represents On-Demand Private Proxy feature state
151 * @retval -ENOTSUP The On-Demand Private Proxy feature is not supported.
155 /** @brief Set state of Mesh On-Demand Private Proxy.
[all …]

1234567