/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/tests/bsim/bluetooth/mesh/tests_scripts/dfu/ |
D | dfu_srv_recovery.sh | 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 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 61 -- -argstest recover=1 expected-phase=6 67 -- -argstest recover=1 expected-phase=8
|
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/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/drivers/i2c/i2c_emul/src/ |
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 …]
|
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 …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | dfu_srv.c | 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() 234 if (srv->update.phase != BT_MESH_DFU_PHASE_IDLE) { 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 | 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 …]
|
D | dfu_cli.c | 458 target->phase == BT_MESH_DFU_PHASE_VERIFY) { in skip_targets_from_broadcast() 602 target->phase = BT_MESH_DFU_PHASE_APPLY_SUCCESS; in target_img_cb() 652 target->phase = BT_MESH_DFU_PHASE_APPLY_FAIL; in confirmed() 656 target->phase = BT_MESH_DFU_PHASE_APPLY_FAIL; in confirmed() 707 enum bt_mesh_dfu_phase phase; in handle_status() local 713 phase = byte >> 5; in handle_status() 720 rsp->phase = phase; in handle_status() 749 LOG_DBG("%u phase: %u, cur state: %u", status, phase, cli->xfer.state); in handle_status() 751 target->phase = phase; in handle_status() 753 if (cli->xfer.state == STATE_APPLY && phase == BT_MESH_DFU_PHASE_IDLE && in handle_status() [all …]
|
D | subnet.c | 511 uint8_t bt_mesh_subnet_kr_phase_set(uint16_t net_idx, uint8_t *phase) in bt_mesh_subnet_kr_phase_set() argument 526 *phase = 0x00; in bt_mesh_subnet_kr_phase_set() 530 if (*phase == sub->kr_phase) { in bt_mesh_subnet_kr_phase_set() 535 valid_transitions[sub->kr_phase] & BIT(*phase)) { in bt_mesh_subnet_kr_phase_set() 536 key_refresh(sub, *phase); in bt_mesh_subnet_kr_phase_set() 538 *phase = sub->kr_phase; in bt_mesh_subnet_kr_phase_set() 543 LOG_WRN("Invalid KR transition: 0x%02x -> 0x%02x", sub->kr_phase, *phase); in bt_mesh_subnet_kr_phase_set() 545 *phase = sub->kr_phase; in bt_mesh_subnet_kr_phase_set() 550 uint8_t bt_mesh_subnet_kr_phase_get(uint16_t net_idx, uint8_t *phase) in bt_mesh_subnet_kr_phase_get() argument 556 *phase = BT_MESH_KR_NORMAL; in bt_mesh_subnet_kr_phase_get() [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() 85 if (ctx->phase == new_phase) { 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() 104 } else if (ctx->phase == PPP_RUNNING) { in ppp_change_phase_debug()
|
D | link.c | 119 if (ctx->phase == PPP_DEAD) { in ppp_link_terminated() 134 if (ctx->phase == PPP_DEAD) { in ppp_link_down()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_dfu.c | 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() 517 ASSERT_EQUAL(BT_MESH_DFD_PHASE_COMPLETED, dfd_srv.phase); in dist_dfu_start_and_confirm() 531 dfd_srv.targets[i].phase); in dist_dfu_start_and_confirm() 533 ASSERT_EQUAL(BT_MESH_DFU_PHASE_APPLYING, dfd_srv.targets[i].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/samples/drivers/clock_control_litex/src/ |
D | main.c | 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() 207 setup2.phase = i; in litex_clk_test_phase() 225 .phase = LITEX_TEST_DUTY_PHASE_VAL, in litex_clk_test_duty() 231 .phase = LITEX_TEST_DUTY_PHASE_VAL, in litex_clk_test_duty()
|
/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… 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 127 CLKOUT0: get_status: rate:15000000 phase:90 duty:25 [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | dfd_srv.h | 207 void (*phase)(struct bt_mesh_dfd_srv *srv, enum bt_mesh_dfd_phase phase); member 221 enum bt_mesh_dfd_phase phase; member 225 enum bt_mesh_dfd_upload_phase phase; member
|
D | cfg.h | 394 uint8_t bt_mesh_subnet_kr_phase_set(uint16_t net_idx, uint8_t *phase); 404 uint8_t bt_mesh_subnet_kr_phase_get(uint16_t net_idx, uint8_t *phase);
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_litex.c | 443 lcko->def.duty.den, lcko->def.phase); in litex_clk_print_params() 448 lcko->ts_config.phase, lcko->config.period_off); in litex_clk_print_params() 453 lcko->config.phase, lcko->config.period_off); in litex_clk_print_params() 464 lcko->phase.delay_time, lcko->phase.phase_mux, lcko->phase.mx); in litex_clk_print_params() 1037 if (lcko->ts_config.phase != 0) { in litex_clk_calc_phase_normal() 1060 lcko->phase.phase_mux = p_m; in litex_clk_calc_phase_normal() 1061 lcko->phase.delay_time = delay; in litex_clk_calc_phase_normal() 1068 lcko->phase.phase_mux = 0; in litex_clk_calc_phase_normal() 1069 lcko->phase.delay_time = 0; in litex_clk_calc_phase_normal() 1083 int *phase = &lcko->ts_config.phase; in litex_clk_prepare_phase() local [all …]
|
D | clock_control_litex.h | 69 lcko->def.phase = CLKOUT_PHASE(N); \ 171 int phase; member 207 int phase; member 256 struct litex_clk_phase_params phase; member
|
/Zephyr-latest/samples/drivers/espi/ |
D | README.rst | 47 1st phase completed 48 2nd phase completed 49 3rd phase completed
|
/Zephyr-latest/include/zephyr/drivers/clock_control/ |
D | clock_control_litex.h | 40 uint16_t phase; member
|
/Zephyr-latest/doc/build/cmake/ |
D | index.rst | 51 phase (driven by CMake) and a build phase (driven by Make or Ninja). 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 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 169 decided during the configuration phase), and compiled into archives 171 generated during the configuration phase and the pre-build stage(s)). [all …]
|