/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/tests_scripts/dfu/ |
D | dfu_srv_persistence.sh | 20 -- -argstest recover=0 expected-phase=2 26 -- -argstest recover=1 expected-phase=3 32 -- -argstest recover=1 expected-phase=4 38 -- -argstest recover=1 expected-phase=6 45 -- -argstest recover=1 expected-phase=8 53 -- -argstest recover=0 expected-phase=5 59 -- -argstest recover=1 expected-phase=6 66 -- -argstest recover=0 expected-phase=2 72 -- -argstest recover=1 expected-phase=3 78 -- -argstest recover=1 expected-phase=4 [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/tests_scripts/blob_mdls/ |
D | blob_srv_persistence.sh | 16 blob_cli_stop -flash_erase blob_srv_stop -flash_erase -- -argstest expected-phase=1 21 blob_cli_stop blob_srv_stop -- -argstest expected-phase=2 26 blob_cli_stop blob_srv_stop -- -argstest expected-phase=3 31 blob_cli_stop -flash_rm blob_srv_stop -flash_rm -- -argstest expected-phase=4 37 blob_cli_stop -flash_erase blob_srv_stop -flash_erase -- -argstest expected-phase=5 42 blob_cli_stop -flash_rm blob_srv_stop -flash_rm -- -argstest expected-phase=4 48 blob_cli_stop -flash_erase blob_srv_stop -flash_erase -- -argstest expected-phase=1 53 blob_cli_stop blob_srv_stop -- -argstest expected-phase=2 58 blob_cli_stop blob_srv_stop -- -argstest expected-phase=3 63 blob_cli_stop -flash_rm blob_srv_stop -flash_rm -- -argstest expected-phase=4 [all …]
|
/Zephyr-Core-3.5.0/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 | 12 - ``ztest_test_fail()`` during either the ``after`` or ``teardown`` phase of the test suite 13 - ``ztest_test_skip()`` during either the ``after`` or ``teardown`` phase of the test suite 14 - ``ztest_test_pass()`` during either the ``after`` or ``teardown`` phase of the test suite
|
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | dfu_srv.c | 88 srv->update.phase = BT_MESH_DFU_PHASE_IDLE; in apply_rsp_sent() 95 srv->update.phase = BT_MESH_DFU_PHASE_IDLE; in apply_rsp_sent() 110 srv->update.phase = BT_MESH_DFU_PHASE_VERIFY; in verify() 123 if (srv->update.phase == BT_MESH_DFU_PHASE_VERIFY) { in verify() 134 if (srv->update.phase == BT_MESH_DFU_PHASE_APPLYING) { in handle_info_get() 181 if (srv->update.phase != BT_MESH_DFU_PHASE_IDLE) { in handle_info_get() 209 if (srv->update.phase != BT_MESH_DFU_PHASE_IDLE) { in handle_metadata_check() 227 (srv->update.phase << 5))); in update_status_rsp() 229 if (srv->update.phase != BT_MESH_DFU_PHASE_IDLE) { in update_status_rsp() 286 srv->update.phase == BT_MESH_DFU_PHASE_TRANSFER_ERR && in handle_start() [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 | 209 enum bt_mesh_blob_xfer_phase phase) in phase_set() argument 211 srv->phase = phase; in phase_set() 212 LOG_DBG("Phase: %u", phase); in phase_set() 261 if (srv->phase == BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_START) { in timeout() 275 if (srv->phase != BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_BLOCK && in report_timeout() 276 srv->phase != BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_CHUNK) { in report_timeout() 297 net_buf_simple_add_u8(&buf, srv->phase); in xfer_status_rsp() 299 if (srv->phase == BT_MESH_BLOB_XFER_PHASE_INACTIVE) { in xfer_status_rsp() 305 if (srv->phase == BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_START) { in xfer_status_rsp() 332 if (srv->phase == BT_MESH_BLOB_XFER_PHASE_INACTIVE || in block_status_rsp() [all …]
|
D | dfu_cli.c | 440 target->phase == BT_MESH_DFU_PHASE_VERIFY) { in skip_targets_from_broadcast() 584 target->phase = BT_MESH_DFU_PHASE_APPLY_SUCCESS; in target_img_cb() 634 target->phase = BT_MESH_DFU_PHASE_APPLY_FAIL; in confirmed() 638 target->phase = BT_MESH_DFU_PHASE_APPLY_FAIL; in confirmed() 689 enum bt_mesh_dfu_phase phase; in handle_status() local 695 phase = byte >> 5; in handle_status() 702 rsp->phase = phase; in handle_status() 731 LOG_DBG("%u phase: %u, cur state: %u", status, phase, cli->xfer.state); in handle_status() 733 target->phase = phase; in handle_status() 735 if (cli->xfer.state == STATE_APPLY && phase == BT_MESH_DFU_PHASE_IDLE && in handle_status() [all …]
|
D | subnet.c | 512 uint8_t bt_mesh_subnet_kr_phase_set(uint16_t net_idx, uint8_t *phase) in bt_mesh_subnet_kr_phase_set() argument 527 *phase = 0x00; in bt_mesh_subnet_kr_phase_set() 531 if (*phase == sub->kr_phase) { in bt_mesh_subnet_kr_phase_set() 536 valid_transitions[sub->kr_phase] & BIT(*phase)) { in bt_mesh_subnet_kr_phase_set() 537 key_refresh(sub, *phase); in bt_mesh_subnet_kr_phase_set() 539 *phase = sub->kr_phase; in bt_mesh_subnet_kr_phase_set() 544 LOG_WRN("Invalid KR transition: 0x%02x -> 0x%02x", sub->kr_phase, *phase); in bt_mesh_subnet_kr_phase_set() 546 *phase = sub->kr_phase; in bt_mesh_subnet_kr_phase_set() 551 uint8_t bt_mesh_subnet_kr_phase_get(uint16_t net_idx, uint8_t *phase) in bt_mesh_subnet_kr_phase_get() argument 557 *phase = BT_MESH_KR_NORMAL; in bt_mesh_subnet_kr_phase_get() [all …]
|
/Zephyr-Core-3.5.0/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 | 117 if (ctx->phase == PPP_DEAD) { in ppp_link_terminated() 130 if (ctx->phase == PPP_DEAD) { in ppp_link_down()
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/ |
D | test_beacon.c | 221 uint8_t phase; in tx_on_key_refresh_test() local 224 status = bt_mesh_subnet_kr_phase_get(BT_MESH_KEY_PRIMARY, &phase); in tx_on_key_refresh_test() 226 ASSERT_TRUE(phase == BT_MESH_KR_NORMAL); in tx_on_key_refresh_test() 233 status = bt_mesh_subnet_kr_phase_get(BT_MESH_KEY_PRIMARY, &phase); in tx_on_key_refresh_test() 235 ASSERT_TRUE(phase == BT_MESH_KR_PHASE_1); in tx_on_key_refresh_test() 239 phase = BT_MESH_KR_PHASE_2; in tx_on_key_refresh_test() 240 status = bt_mesh_subnet_kr_phase_set(BT_MESH_KEY_PRIMARY, &phase); in tx_on_key_refresh_test() 242 status = bt_mesh_subnet_kr_phase_get(BT_MESH_KEY_PRIMARY, &phase); in tx_on_key_refresh_test() 244 ASSERT_TRUE(phase == BT_MESH_KR_PHASE_2); in tx_on_key_refresh_test() 248 phase = BT_MESH_KR_PHASE_3; in tx_on_key_refresh_test() [all …]
|
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 …]
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/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… 35 …ts: ``clk0`` and ``clk1`` with default frequency set to 100MHz, 0 degrees phase offset and 50% dut… 48 | This code will try to set on ``clk0`` frequency 50MHz, 90 degrees of phase offset and 75% duty cy… 58 .phase = 90 67 Clock output status (frequency, duty and phase offset) can be acquired with function ``clock_contro… 79 * Setting frequency, duty and phase at once, then check clock status and rate, 107 [00:00:00.320,000] <inf> CLK_CTRL_LITEX: CLKOUT0: set phase: 0 deg 110 [00:00:00.440,000] <inf> CLK_CTRL_LITEX: CLKOUT1: set phase: 0 deg 119 [00:00:00.550,000] <inf> CLK_CTRL_LITEX: CLKOUT0: set phase: 90 deg 124 CLKOUT0: get_status: rate:15000000 phase:90 duty:25 [all …]
|
/Zephyr-Core-3.5.0/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);
|
D | dfu_cli.h | 64 uint8_t phase; member 82 enum bt_mesh_dfu_phase phase; member
|
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/ |
D | ztest.c | 33 } phase = TEST_PHASE_FRAMEWORK; variable 197 phase = TEST_PHASE_SETUP; in run_test_functions() 199 phase = TEST_PHASE_TEST; in run_test_functions() 247 switch (phase) { in handle_signal() 251 PRINT(" at %s function\n", phase_str[phase]); in handle_signal() 393 phase = TEST_PHASE_TEARDOWN; in run_test() 395 phase = TEST_PHASE_FRAMEWORK; in run_test()
|
/Zephyr-Core-3.5.0/drivers/clock_control/ |
D | clock_control_litex.c | 440 lcko->def.duty.den, lcko->def.phase); in litex_clk_print_params() 445 lcko->ts_config.phase, lcko->config.period_off); in litex_clk_print_params() 450 lcko->config.phase, lcko->config.period_off); in litex_clk_print_params() 461 lcko->phase.delay_time, lcko->phase.phase_mux, lcko->phase.mx); in litex_clk_print_params() 1030 if (lcko->ts_config.phase != 0) { in litex_clk_calc_phase_normal() 1053 lcko->phase.phase_mux = p_m; in litex_clk_calc_phase_normal() 1054 lcko->phase.delay_time = delay; in litex_clk_calc_phase_normal() 1061 lcko->phase.phase_mux = 0; in litex_clk_calc_phase_normal() 1062 lcko->phase.delay_time = 0; in litex_clk_calc_phase_normal() 1076 int *phase = &lcko->ts_config.phase; in litex_clk_prepare_phase() local [all …]
|
D | clock_control_litex.h | 70 lcko->def.phase = CLKOUT_PHASE(N); \ 172 int phase; member 208 int phase; member 258 struct litex_clk_phase_params phase; member
|
D | Kconfig.litex | 13 such as phase, duty cycle, frequency for up to 7
|
/Zephyr-Core-3.5.0/samples/drivers/espi/ |
D | README.rst | 47 1st phase completed 48 2nd phase completed 49 3rd phase completed
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/clock_control/ |
D | clock_control_litex.h | 40 uint16_t phase; member
|
/Zephyr-Core-3.5.0/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 …]
|