/Zephyr-latest/tests/ztest/fail/ |
D | Kconfig | 8 bool "Add a failed assert in the after phase" 11 bool "Add a failed assert in the teardown phase" 14 bool "Add a failed assume in the after phase" 17 bool "Add a failed assume in the teardown phase" 20 bool "Add a call to ztest_test_pass() in the after phase" 23 bool "Add a call to ztest_test_pass() in the teardown phase" 32 default "ERROR: cannot fail in test phase 'after()', bailing" if ZTEST_FAIL_TEST_ASSERT_AFTER 33 default "ERROR: cannot fail in test phase 'teardown()', bailing" if ZTEST_FAIL_TEST_ASSERT_TEARDOWN 34 default "ERROR: cannot skip in test phase 'after()', bailing" if ZTEST_FAIL_TEST_ASSUME_AFTER 35 default "ERROR: cannot skip in test phase 'teardown()', bailing" if ZTEST_FAIL_TEST_ASSUME_TEARDOWN [all …]
|
D | README.rst | 13 - ``ztest_test_fail()`` during either the ``after`` or ``teardown`` phase of the test suite 14 - ``ztest_test_skip()`` during either the ``after`` or ``teardown`` phase of the test suite 15 - ``ztest_test_pass()`` during either the ``after`` or ``teardown`` phase of the test suite
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/dfu/ |
D | dfu_srv_recovery.sh | 12 # settings from persistent storage, which will allow to verify if stored DFU server's phase and 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 40 -- -argstest recover=1 expected-phase=8 46 -- -argstest recover=0 expected-phase=2 51 -- -argstest recover=1 expected-phase=3 56 -- -argstest recover=1 expected-phase=4 [all …]
|
D | dfu_srv_recovery_verify_fail.sh | 16 -- -argstest recover=0 expected-phase=5 21 -- -argstest recover=1 expected-phase=6 27 -- -argstest recover=0 expected-phase=5 32 -- -argstest recover=1 expected-phase=6
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/blob_mdls/ |
D | blob_srv_persistence.sh | 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 41 blob_cli_stop -flash_erase blob_srv_stop -flash_erase -- -argstest expected-phase=1 45 blob_cli_stop blob_srv_stop -- -argstest expected-phase=2 49 blob_cli_stop blob_srv_stop -- -argstest expected-phase=3 53 blob_cli_stop -flash_rm blob_srv_stop -flash_rm -- -argstest expected-phase=4 [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | dfu_srv.c | 81 /* return phase back to give client one more chance. */ in apply_rsp_sent() 82 srv->update.phase = BT_MESH_DFU_PHASE_VERIFY_OK; in apply_rsp_sent() 90 srv->update.phase = BT_MESH_DFU_PHASE_IDLE; in apply_rsp_sent() 100 srv->update.phase = BT_MESH_DFU_PHASE_IDLE; in apply_rsp_sent() 115 srv->update.phase = BT_MESH_DFU_PHASE_VERIFY; in verify() 128 if (srv->update.phase == BT_MESH_DFU_PHASE_VERIFY) { in verify() 139 if (srv->update.phase == BT_MESH_DFU_PHASE_APPLYING) { in handle_info_get() 186 if (srv->update.phase != BT_MESH_DFU_PHASE_IDLE) { in handle_info_get() 214 if (srv->update.phase != BT_MESH_DFU_PHASE_IDLE) { in handle_metadata_check() 232 (srv->update.phase << 5))); in update_status_rsp() [all …]
|
D | dfd_srv.c | 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() 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() 90 srv->upload.phase == BT_MESH_DFD_UPLOAD_PHASE_TRANSFER_ACTIVE; in upload_is_busy() 187 ((t->phase & BIT_MASK(4)) << 15U) | in handle_receivers_get() 253 net_buf_simple_add_u8(&rsp, srv->phase); in status_rsp() 255 if (srv->phase == BT_MESH_DFD_PHASE_IDLE || !srv->dfu.xfer.slot) { in status_rsp() [all …]
|
D | mesh.h | 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 */
|
D | blob_srv.c | 207 enum bt_mesh_blob_xfer_phase phase) in phase_set() argument 209 srv->phase = phase; in phase_set() 210 LOG_DBG("Phase: %u", phase); in phase_set() 280 srv->phase == BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_CHUNK && in pull_mode_xfer_complete() 291 if (srv->phase == BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_START) { in timeout() 307 if (srv->phase != BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_BLOCK && in report_timeout() 308 srv->phase != BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_CHUNK) { in report_timeout() 329 net_buf_simple_add_u8(&buf, srv->phase); in xfer_status_rsp() 331 if (srv->phase == BT_MESH_BLOB_XFER_PHASE_INACTIVE) { in xfer_status_rsp() 337 if (srv->phase == BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_START) { in xfer_status_rsp() [all …]
|
/Zephyr-latest/dts/bindings/can/ |
D | can-fd-controller.yaml | 12 Initial data phase bitrate in bit/s. If this is unset, the initial data phase bitrate is set 17 Initial data phase bitrate in bit/s. If this is unset, the initial data phase bitrate is set 22 Initial data phase sample point in per mille (e.g. 875 equals 87.5%).
|
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/ |
D | test_forwarding_buf.cpp | 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() 123 zassert_equal(1, phase, "Expected a call to buf_Read_requested as the second step"); in ZTEST() 124 phase++; in ZTEST() 127 *ptr = (uint8_t *)&phase; in ZTEST() 131 target_stop_0_fake.custom_fake = [&phase](struct i2c_target_config *) -> int { in ZTEST() 132 zassert_equal(2, phase, "Expected a call to stop as the 3rd step"); in ZTEST() [all …]
|
D | test_forwarding_pio.cpp | 169 int phase = 0; in ZTEST() local 170 target_write_requested_0_fake.custom_fake = [&phase](struct i2c_target_config *) -> int { in ZTEST() 171 zassert_equal(0, phase, "Expected a call to write_requested before anything else"); in ZTEST() 172 phase++; in ZTEST() 175 target_write_received_0_fake.custom_fake = [&phase](struct i2c_target_config *, in ZTEST() 177 zassert_equal(1, phase, "Expected a call to write_received as the second step"); in ZTEST() 178 phase++; in ZTEST() 181 target_read_requested_0_fake.custom_fake = [&phase](struct i2c_target_config *, in ZTEST() 183 zassert_equal(2, phase, "Expected a call to read_requested as the 3rd step"); in ZTEST() 184 phase++; in ZTEST() [all …]
|
/Zephyr-latest/dts/bindings/clock/ |
D | raspberrypi,pico-rosc.yaml | 29 phase-flip: 32 Flipping phase-shifter output. 34 phase: 37 The phase-shift value.
|
D | silabs,series2-hfrcodpll.yaml | 4 Silicon Labs HFRCODPLL peripheral (high-frequency RC oscillator with digital phase-locked loop). 30 phase: Phase-lock loop mode 31 enum: ["freq", "phase"]
|
/Zephyr-latest/samples/drivers/clock_control_litex/ |
D | README.rst | 11 … Mode Clock Manager (MMCM) module to generate up to 7 clocks with defined phase, frequency and dut… 41 …ts: ``clk0`` and ``clk1`` with default frequency set to 100MHz, 0 degrees phase offset and 50% dut… 51 | This code will try to set on ``clk0`` frequency 50MHz, 90 degrees of phase offset and 75% duty cy… 61 .phase = 90 70 Clock output status (frequency, duty and phase offset) can be acquired with function ``clock_contro… 81 * Phase range, 82 * Setting frequency, duty and phase at once, then check clock status and rate, 110 [00:00:00.320,000] <inf> CLK_CTRL_LITEX: CLKOUT0: set phase: 0 deg 113 [00:00:00.440,000] <inf> CLK_CTRL_LITEX: CLKOUT1: set phase: 0 deg 122 [00:00:00.550,000] <inf> CLK_CTRL_LITEX: CLKOUT0: set phase: 90 deg [all …]
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | misc.c | 19 const char *ppp_phase_str(enum ppp_phase phase) in ppp_phase_str() argument 22 switch (phase) { in ppp_phase_str() 37 ARG_UNUSED(phase); in ppp_phase_str() 62 NET_DBG("Invalid phase transition: %s (%d) => %s (%d)", in validate_phase_transition() 85 if (ctx->phase == new_phase) { in ppp_change_phase_debug() 93 NET_DBG("[%p] phase %s (%d) => %s (%d) (%s():%d)", in ppp_change_phase_debug() 94 ctx, ppp_phase_str(ctx->phase), ctx->phase, in ppp_change_phase_debug() 98 validate_phase_transition(ctx->phase, new_phase); in ppp_change_phase_debug() 100 ctx->phase = new_phase; in ppp_change_phase_debug() 102 if (ctx->phase == PPP_DEAD) { in ppp_change_phase_debug() [all …]
|
/Zephyr-latest/include/zephyr/drivers/clock_control/ |
D | clock_control_litex.h | 33 * @param phase Phase offset in degrees 40 uint16_t phase; member
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_dfu.c | 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() 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() 148 if (phase == BT_MESH_DFD_PHASE_FAILED) { in dist_phase_changed() 155 prev_phase = phase; in dist_phase_changed() 162 .phase = dist_phase_changed, 513 ASSERT_EQUAL(BT_MESH_DFD_PHASE_FAILED, dfd_srv.phase); in dist_dfu_start_and_confirm() [all …]
|
D | test_beacon.c | 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() 252 phase = BT_MESH_KR_PHASE_2; in tx_on_key_refresh_test() 253 status = bt_mesh_subnet_kr_phase_set(BT_MESH_KEY_PRIMARY, &phase); in tx_on_key_refresh_test() 255 status = bt_mesh_subnet_kr_phase_get(BT_MESH_KEY_PRIMARY, &phase); in tx_on_key_refresh_test() 257 ASSERT_TRUE(phase == BT_MESH_KR_PHASE_2); in tx_on_key_refresh_test() 261 phase = BT_MESH_KR_PHASE_3; in tx_on_key_refresh_test() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/bridge/ |
D | brg_net_key_refresh.sh | 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. 45 # 9. Tester triggers transition to KRP phase 0x03 for all nodes and net keys.
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | st,stm32-fmc-nor-psram.yaml | 133 * ADDSET - Address setup phase duration. 138 * ADDHLD - Address-hold phase duration. 143 * DATAST - Data-phase duration. 149 * BUSTURN - Bus turnaround phase duration. 180 * ADDSET - Address setup phase duration. 182 * ADDHLD - Address-hold phase duration. 184 * DATAST - Data-phase duration. 186 * BUSTURN - Bus turnaround phase duration.
|
/Zephyr-latest/samples/drivers/espi/ |
D | sample.yaml | 40 - "espi: 1st phase completed" 41 - "espi: 2nd phase completed" 43 - "espi: 3rd phase completed"
|
D | README.rst | 47 1st phase completed 48 2nd phase completed 49 3rd phase completed
|
/Zephyr-latest/samples/drivers/clock_control_litex/src/ |
D | main.c | 33 /* Values for phase test */ 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() 185 .phase = 0 in litex_clk_test_phase() 197 printf("Phase test\n"); in litex_clk_test_phase() 207 setup2.phase = i; in litex_clk_test_phase() 225 .phase = LITEX_TEST_DUTY_PHASE_VAL, in litex_clk_test_duty() [all …]
|
/Zephyr-latest/doc/build/cmake/ |
D | index.rst | 51 phase (driven by CMake) and a build phase (driven by Make or Ninja). 55 Configuration Phase 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 131 Build Phase 134 The build phase begins when the user invokes ``make`` or ``ninja``. Its 137 :file:`zephyr.hex`, etc.) The build phase can be broken down, conceptually, 145 this phase header files used by the source files are generated. 158 .. figure:: build-build-phase-1.svg [all …]
|