/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | environment.py | 121 action="store", 130 action="store", 136 "-T", "--testsuite-root", action="append", default=[], type = norm_path, 145 action="store_true", 149 test_plan_report_xor.add_argument("--list-tests", action="store_true", 157 test_plan_report_xor.add_argument("--test-tree", action="store_true", 163 action="store_true", 167 "--emulation-only", action="store_true", 171 "--device-testing", action="store_true", 211 parser.add_argument("--device-flash-with-test", action="store_true", [all …]
|
/Zephyr-latest/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-latest/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':
|
D | renode.py | 33 action='append', 38 action='append', 42 action='store_true',
|
D | intel_cyclonev.py | 105 parser.add_argument('--config', action='append', 111 parser.add_argument('--use-elf', default=False, action='store_true', 114 parser.add_argument('--cmd-pre-init', action='append', 120 parser.add_argument('--cmd-pre-load', action='append', 128 parser.add_argument('--cmd-post-verify', action='append', 131 parser.add_argument('--verify', action='store_true', 133 parser.add_argument('--verify-only', action='store_true', 137 parser.add_argument('--tui', default=False, action='store_true', 146 parser.add_argument('--gdb-init', action='append', 148 parser.add_argument('--no-halt', action='store_true', [all …]
|
D | renode-robot.py | 33 action='append', 37 action='append', 41 action='store_true',
|
D | openocd.py | 127 parser.add_argument('--config', action='append', 133 parser.add_argument('--use-elf', default=False, action='store_true', 136 parser.add_argument('--cmd-pre-init', action='append', 142 parser.add_argument('--cmd-pre-load', action='append', 150 parser.add_argument('--cmd-post-verify', action='append', 153 parser.add_argument('--verify', action='store_true', 155 parser.add_argument('--verify-only', action='store_true', 159 parser.add_argument('--tui', default=False, action='store_true', 171 parser.add_argument('--gdb-init', action='append', 173 parser.add_argument('--no-halt', action='store_true', [all …]
|
/Zephyr-latest/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-latest/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() 585 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_hdr_malformed); in img_mgmt_upload_inspect() 591 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_hdr_malformed); in img_mgmt_upload_inspect() 595 action->size = req->size; in img_mgmt_upload_inspect() 599 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_magic_mismatch); in img_mgmt_upload_inspect() 621 action->area_id = img_mgmt_get_unused_slot_area_id(req->image); in img_mgmt_upload_inspect() 622 if (action->area_id < 0) { in img_mgmt_upload_inspect() 624 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, img_mgmt_err_str_no_slot); in img_mgmt_upload_inspect() [all …]
|
D | img_mgmt.c | 729 struct img_mgmt_upload_action action; in img_mgmt_upload() local 766 .action = &action, in img_mgmt_upload() 774 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(&action, NULL); in img_mgmt_upload() 783 rc = img_mgmt_upload_inspect(&req, &action); in img_mgmt_upload() 790 MGMT_CTXT_SET_RC_RSN(ctxt, IMG_MGMT_UPLOAD_ACTION_RC_RSN(&action)); in img_mgmt_upload() 796 if (!action.proceed) { in img_mgmt_upload() 813 IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(&action, img_mgmt_err_str_app_reject); in img_mgmt_upload() 828 g_img_mgmt_state.area_id = action.area_id; in img_mgmt_upload() 829 g_img_mgmt_state.size = action.size; in img_mgmt_upload() 891 if (action.erase) { in img_mgmt_upload() [all …]
|
/Zephyr-latest/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-latest/scripts/pylib/pytest-twister-harness/tests/resources/ |
D | mock_script.py | 19 parser.add_argument('--sleep', action='store', default=0, type=float) 20 parser.add_argument('--long-sleep', action='store_true') 21 parser.add_argument('--return-code', action='store', default=0, type=int) 22 parser.add_argument('--exception', action='store_true')
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/ |
D | img_mgmt.h | 359 #define IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, rsn) ((action)->rc_rsn = (rsn)) argument 360 #define IMG_MGMT_UPLOAD_ACTION_RC_RSN(action) ((action)->rc_rsn) argument 374 #define IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, rsn) argument 375 #define IMG_MGMT_UPLOAD_ACTION_RC_RSN(action) NULL argument
|
/Zephyr-latest/subsys/bluetooth/host/classic/shell/ |
D | bredr.c | 174 const char *action; in cmd_discovery() local 176 action = argv[1]; in cmd_discovery() 177 if (!strcmp(action, "on")) { in cmd_discovery() 204 } else if (!strcmp(action, "off")) { in cmd_discovery() 301 const char *action; in cmd_discoverable() local 303 action = argv[1]; in cmd_discoverable() 305 if (!strcmp(action, "on")) { in cmd_discoverable() 307 } else if (!strcmp(action, "off")) { in cmd_discoverable() 329 const char *action; in cmd_connectable() local 331 action = argv[1]; in cmd_connectable() [all …]
|
/Zephyr-latest/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()
|
D | power_domain_nxp_scu.c | 24 enum pm_device_action action) in scu_pd_pm_action() argument 30 LOG_DBG("attempting PM action %d on rsrc %d", action, scu_data->rsrc); in scu_pd_pm_action() 32 switch (action) { in scu_pd_pm_action()
|
/Zephyr-latest/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-latest/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-latest/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-latest/scripts/logging/dictionary/ |
D | log_parser.py | 35 argparser.add_argument("--hex", action="store_true", 37 argparser.add_argument("--rawhex", action="store_true", 39 argparser.add_argument("--debug", action="store_true",
|
/Zephyr-latest/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-latest/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-latest/scripts/west_commands/ |
D | spdx.py | 36 parser.add_argument('-i', '--init', action="store_true", 44 parser.add_argument('--analyze-includes', action="store_true", 46 parser.add_argument('--include-sdk', action="store_true",
|