/Zephyr-Core-3.7.0/scripts/pylib/twister/twisterlib/ |
D | environment.py | 93 action="store", 100 action="store", 104 "-T", "--testsuite-root", action="append", default=[], type = norm_path, 113 action="store_true", 117 case_select.add_argument("--list-tests", action="store_true", 126 case_select.add_argument("--test-tree", action="store_true", 132 action="store_true", 136 "--emulation-only", action="store_true", 140 "--device-testing", action="store_true", 173 parser.add_argument("--device-flash-with-test", action="store_true", [all …]
|
/Zephyr-Core-3.7.0/tests/subsys/emul/src/ |
D | emul_tester.h | 13 int (*set_action)(const struct emul *target, int action); 14 int (*get_action)(const struct emul *target, int *action); 17 static inline int emul_tester_backend_set_action(const struct emul *target, int action) in emul_tester_backend_set_action() argument 22 return api->set_action(target, action); in emul_tester_backend_set_action() 25 static inline int emul_tester_backend_get_action(const struct emul *target, int *action) in emul_tester_backend_get_action() argument 30 return api->get_action(target, action); in emul_tester_backend_get_action()
|
D | emul_tester.c | 22 int action; member 25 static int emul_tester_set_action(const struct emul *target, int action) in emul_tester_set_action() argument 30 data->action = action * cfg->scale; in emul_tester_set_action() 35 static int emul_tester_get_action(const struct emul *target, int *action) in emul_tester_get_action() argument 39 *action = data->action; in emul_tester_get_action()
|
/Zephyr-Core-3.7.0/scripts/west_commands/runners/ |
D | stm32flash.py | 19 def __init__(self, cfg, device, action='write', baud=57600, argument 25 self.action = action 62 parser.add_argument('--force-binary', required=False, action='store_true', 75 parser.add_argument('--verify', default=False, required=False, action='store_true', 82 return Stm32flashBinaryRunner(cfg, device=args.device, action=args.action, 97 action = self.action.lower() 99 if action == 'info': 103 elif action == 'erase': 111 elif action == 'start': 122 elif action == 'write': [all …]
|
D | renode.py | 32 action='append', 36 action='append', 40 action='store_true',
|
D | intel_cyclonev.py | 102 parser.add_argument('--config', action='append', 107 parser.add_argument('--use-elf', default=False, action='store_true', 110 parser.add_argument('--cmd-pre-init', action='append', 116 parser.add_argument('--cmd-pre-load', action='append', 124 parser.add_argument('--cmd-post-verify', action='append', 127 parser.add_argument('--verify', action='store_true', 129 parser.add_argument('--verify-only', action='store_true', 133 parser.add_argument('--tui', default=False, action='store_true', 142 parser.add_argument('--gdb-init', action='append', 144 parser.add_argument('--no-halt', action='store_true', [all …]
|
D | renode-robot.py | 32 action='append', 36 action='append', 40 action='store_true',
|
D | openocd.py | 111 parser.add_argument('--config', action='append', 116 parser.add_argument('--use-elf', default=False, action='store_true', 119 parser.add_argument('--cmd-pre-init', action='append', 125 parser.add_argument('--cmd-pre-load', action='append', 133 parser.add_argument('--cmd-post-verify', action='append', 136 parser.add_argument('--verify', action='store_true', 138 parser.add_argument('--verify-only', action='store_true', 142 parser.add_argument('--tui', default=False, action='store_true', 154 parser.add_argument('--gdb-init', action='append', 156 parser.add_argument('--no-halt', action='store_true', [all …]
|
/Zephyr-Core-3.7.0/scripts/west_commands/tests/ |
D | test_stm32flash.py | 78 def test_stm32flash_init(cc, req, action, runner_config): argument 81 if action == 'write': 85 action=action, baud=TEST_BAUD, force_binary=TEST_FORCE_BINARY, 92 assert cc.call_args_list == [call(x) for x in EXPECTED_COMMANDS[action]] 97 def test_stm32flash_create(cc, req, action, runner_config): argument 99 if action == 'start': 100 args = ['--action', action, '--baud-rate', TEST_BAUD, '--start-addr', TEST_ADDR, 103 args = ['--action', action, '--baud-rate', TEST_BAUD, '--start-addr', TEST_ADDR] 112 assert cc.call_args_list == [call(x) for x in EXPECTED_COMMANDS[action]]
|
/Zephyr-Core-3.7.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | zephyr_img_mgmt.c | 552 struct img_mgmt_upload_action *action) in img_mgmt_upload_inspect() argument 558 memset(action, 0, sizeof(*action)); in img_mgmt_upload_inspect() 562 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_hdr_malformed); in img_mgmt_upload_inspect() 584 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_hdr_malformed); in img_mgmt_upload_inspect() 590 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_hdr_malformed); in img_mgmt_upload_inspect() 594 action->size = req->size; in img_mgmt_upload_inspect() 598 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_magic_mismatch); in img_mgmt_upload_inspect() 620 action->area_id = img_mgmt_get_unused_slot_area_id(req->image); in img_mgmt_upload_inspect() 621 if (action->area_id < 0) { in img_mgmt_upload_inspect() 623 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_no_slot); in img_mgmt_upload_inspect() [all …]
|
D | img_mgmt.c | 456 struct img_mgmt_upload_action action; in img_mgmt_upload() local 493 .action = &action, in img_mgmt_upload() 501 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(&action, NULL); in img_mgmt_upload() 510 rc = img_mgmt_upload_inspect(&req, &action); in img_mgmt_upload() 517 MGMT_CTXT_SET_RC_RSN(ctxt, IMG_MGMT_UPLOAD_ACTION_RC_RSN(&action)); in img_mgmt_upload() 523 if (!action.proceed) { in img_mgmt_upload() 540 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(&action, img_mgmt_err_str_app_reject); in img_mgmt_upload() 555 g_img_mgmt_state.area_id = action.area_id; in img_mgmt_upload() 556 g_img_mgmt_state.size = action.size; in img_mgmt_upload() 618 if (action.erase) { in img_mgmt_upload() [all …]
|
/Zephyr-Core-3.7.0/subsys/pm/ |
D | device.c | 43 enum pm_device_action action) in pm_device_action_run() argument 53 if (pm->state == action_target_state[action]) { in pm_device_action_run() 56 if (pm->state != action_expected_state[action]) { in pm_device_action_run() 60 ret = pm->action_cb(dev, action); in pm_device_action_run() 73 switch (action) { in pm_device_action_run() 81 pm->state = action_target_state[action]; in pm_device_action_run() 89 pm->state = action_target_state[action]; in pm_device_action_run() 91 if (action == PM_DEVICE_ACTION_TURN_OFF) { in pm_device_action_run() 177 enum pm_device_action action; member 185 rc = pm_device_action_run(dev, visitor_context->action); in pm_device_children_visitor() [all …]
|
/Zephyr-Core-3.7.0/scripts/pylib/pytest-twister-harness/tests/resources/ |
D | mock_script.py | 18 parser.add_argument('--sleep', action='store', default=0, type=float) 19 parser.add_argument('--long-sleep', action='store_true') 20 parser.add_argument('--return-code', action='store', default=0, type=int) 21 parser.add_argument('--exception', action='store_true')
|
/Zephyr-Core-3.7.0/include/zephyr/mgmt/mcumgr/grp/img_mgmt/ |
D | img_mgmt.h | 358 #define IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, rsn) ((action)->rc_rsn = (rsn)) argument 359 #define IMG_MGMT_UPLOAD_ACTION_RC_RSN(action) ((action)->rc_rsn) argument 373 #define IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, rsn) argument 374 #define IMG_MGMT_UPLOAD_ACTION_RC_RSN(action) NULL argument
|
/Zephyr-Core-3.7.0/subsys/bluetooth/shell/ |
D | bredr.c | 169 const char *action; in cmd_discovery() local 171 action = argv[1]; in cmd_discovery() 172 if (!strcmp(action, "on")) { in cmd_discovery() 194 } else if (!strcmp(action, "off")) { in cmd_discovery() 290 const char *action; in cmd_discoverable() local 292 action = argv[1]; in cmd_discoverable() 294 if (!strcmp(action, "on")) { in cmd_discoverable() 296 } else if (!strcmp(action, "off")) { in cmd_discoverable() 318 const char *action; in cmd_connectable() local 320 action = argv[1]; in cmd_connectable() [all …]
|
/Zephyr-Core-3.7.0/drivers/power_domain/ |
D | power_domain_gpio.c | 30 enum pm_device_action action; member 44 (void)pm_device_action_run(dev, visitor_context->action); in pd_on_domain_visitor() 51 enum pm_device_action action) in pd_gpio_pm_action() argument 67 switch (action) { in pd_gpio_pm_action() 78 context.action = PM_DEVICE_ACTION_TURN_ON; in pd_gpio_pm_action() 85 context.action = PM_DEVICE_ACTION_TURN_OFF; in pd_gpio_pm_action()
|
D | power_domain_gpio_monitor.c | 30 enum pm_device_action action; member 43 (void)pm_device_action_run(dev, visitor_context->action); in pd_on_domain_visitor() 64 context.action = PM_DEVICE_ACTION_SUSPEND; in pd_gpio_monitor_callback() 66 context.action = PM_DEVICE_ACTION_TURN_OFF; in pd_gpio_monitor_callback() 74 static int pd_gpio_monitor_pm_action(const struct device *dev, enum pm_device_action action) in pd_gpio_monitor_pm_action() argument 78 switch (action) { in pd_gpio_monitor_pm_action()
|
/Zephyr-Core-3.7.0/scripts/ci/ |
D | version_mgr.py | 30 parser.add_argument('-l', '--list', action="store_true", 34 parser.add_argument('-L', '--latest', action="store_true", 36 parser.add_argument('-w', '--weekly', action="store_true", 38 parser.add_argument('-W', '--list-weekly', action="store_true", 40 parser.add_argument('-v', '--verbose', action="store_true",
|
/Zephyr-Core-3.7.0/samples/subsys/pm/device_pm/src/ |
D | dummy_parent.c | 27 enum pm_device_action action) in dummy_parent_pm_action() argument 29 switch (action) { in dummy_parent_pm_action()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | prov.c | 55 static bt_mesh_output_action_t output_action(uint8_t action) in output_action() argument 57 switch (action) { in output_action() 73 static bt_mesh_input_action_t input_action(uint8_t action) in input_action() argument 75 switch (action) { in input_action() 172 int bt_mesh_prov_auth(bool is_provisioner, uint8_t method, uint8_t action, uint8_t size) in bt_mesh_prov_auth() argument 181 if (action || size) { in bt_mesh_prov_auth() 188 if (action || size) { in bt_mesh_prov_auth() 197 output = output_action(action); in bt_mesh_prov_auth() 229 input = input_action(action); in bt_mesh_prov_auth()
|
/Zephyr-Core-3.7.0/tests/subsys/pm/power_states_api/src/ |
D | test_driver.c | 21 enum pm_device_action action) in test_driver_action() argument 24 ARG_UNUSED(action); in test_driver_action()
|
/Zephyr-Core-3.7.0/arch/xtensa/core/ |
D | gen_zsr.py | 17 parser.add_argument("--coherence", action="store_true", 19 parser.add_argument("--mmu", action="store_true", 21 parser.add_argument("--syscall-scratch", action="store_true",
|
/Zephyr-Core-3.7.0/scripts/west_commands/ |
D | spdx.py | 37 parser.add_argument('-i', '--init', action="store_true", 45 parser.add_argument('--analyze-includes', action="store_true", 47 parser.add_argument('--include-sdk', action="store_true",
|
/Zephyr-Core-3.7.0/scripts/pylib/pytest-twister-harness/src/twister_harness/ |
D | plugin.py | 25 action='store_true', 72 action='append', 121 '--twister-fixture', action='append', dest='fixtures', metavar='FIXTURE', default=[],
|
/Zephyr-Core-3.7.0/doc/services/pm/ |
D | power_domain.rst | 33 action [style=invis] 42 action -> devA [label="pm_device_get()"] 89 A power domain needs to implement the PM action callback used by the 95 enum pm_device_action *action) 97 switch (action) { 144 state. These notifications are sent as actions in the device PM action 151 enum pm_device_action *action) 153 switch (action) {
|