/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/src/ |
D | example_mgmt.c | 32 static int example_mgmt_test(struct smp_streamer *ctxt) in example_mgmt_test() argument 35 zcbor_state_t *zse = ctxt->writer->zs; in example_mgmt_test() 36 zcbor_state_t *zsd = ctxt->reader->zs; in example_mgmt_test() 75 static int example_mgmt_other(struct smp_streamer *ctxt) in example_mgmt_other() argument 78 zcbor_state_t *zse = ctxt->writer->zs; in example_mgmt_other() 79 zcbor_state_t *zsd = ctxt->reader->zs; in example_mgmt_other()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/enum_mgmt/src/ |
D | enum_mgmt.c | 171 static int enum_mgmt_count(struct smp_streamer *ctxt) in enum_mgmt_count() argument 173 zcbor_state_t *zse = ctxt->writer->zs; in enum_mgmt_count() 185 static int enum_mgmt_list(struct smp_streamer *ctxt) in enum_mgmt_list() argument 187 zcbor_state_t *zse = ctxt->writer->zs; in enum_mgmt_list() 216 static int enum_mgmt_single(struct smp_streamer *ctxt) in enum_mgmt_single() argument 218 zcbor_state_t *zse = ctxt->writer->zs; in enum_mgmt_single() 219 zcbor_state_t *zsd = ctxt->reader->zs; in enum_mgmt_single() 302 static int enum_mgmt_details(struct smp_streamer *ctxt) in enum_mgmt_details() argument 304 zcbor_state_t *zse = ctxt->writer->zs; in enum_mgmt_details() 305 zcbor_state_t *zsd = ctxt->reader->zs; in enum_mgmt_details() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/settings_mgmt/src/ |
D | settings_mgmt.c | 32 static int settings_mgmt_read(struct smp_streamer *ctxt) in settings_mgmt_read() argument 35 zcbor_state_t *zse = ctxt->writer->zs; in settings_mgmt_read() 36 zcbor_state_t *zsd = ctxt->reader->zs; in settings_mgmt_read() 156 static int settings_mgmt_write(struct smp_streamer *ctxt) in settings_mgmt_write() argument 159 zcbor_state_t *zse = ctxt->writer->zs; in settings_mgmt_write() 160 zcbor_state_t *zsd = ctxt->reader->zs; in settings_mgmt_write() 259 static int settings_mgmt_delete(struct smp_streamer *ctxt) in settings_mgmt_delete() argument 261 zcbor_state_t *zse = ctxt->writer->zs; in settings_mgmt_delete() 262 zcbor_state_t *zsd = ctxt->reader->zs; in settings_mgmt_delete() 358 static int settings_mgmt_commit(struct smp_streamer *ctxt) in settings_mgmt_commit() argument [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | img_mgmt.c | 128 static bool img_mgmt_reset_zse(struct smp_streamer *ctxt) in img_mgmt_reset_zse() argument 130 zcbor_state_t *zse = ctxt->writer->zs; in img_mgmt_reset_zse() 133 net_buf_reset(ctxt->writer->nb); in img_mgmt_reset_zse() 134 ctxt->writer->nb->len = sizeof(struct smp_hdr); in img_mgmt_reset_zse() 135 zcbor_new_encode_state(zse, ARRAY_SIZE(ctxt->writer->zs), in img_mgmt_reset_zse() 136 ctxt->writer->nb->data + sizeof(struct smp_hdr), in img_mgmt_reset_zse() 137 net_buf_tailroom(ctxt->writer->nb), 0); in img_mgmt_reset_zse() 409 img_mgmt_erase(struct smp_streamer *ctxt) in img_mgmt_erase() argument 413 zcbor_state_t *zse = ctxt->writer->zs; in img_mgmt_erase() 414 zcbor_state_t *zsd = ctxt->reader->zs; in img_mgmt_erase() [all …]
|
D | img_mgmt_state.c | 413 static bool img_mgmt_state_encode_slot(struct smp_streamer *ctxt, uint32_t slot, int state_flags) in img_mgmt_state_encode_slot() argument 415 zcbor_state_t *zse = ctxt->writer->zs; in img_mgmt_state_encode_slot() 487 img_mgmt_state_read(struct smp_streamer *ctxt) in img_mgmt_state_read() argument 489 zcbor_state_t *zse = ctxt->writer->zs; in img_mgmt_state_read() 523 ok = img_mgmt_state_encode_slot(ctxt, slot_a, flags_a) && in img_mgmt_state_read() 524 img_mgmt_state_encode_slot(ctxt, slot_o, flags_o); in img_mgmt_state_read() 526 ok = img_mgmt_state_encode_slot(ctxt, slot_o, flags_o) && in img_mgmt_state_read() 527 img_mgmt_state_encode_slot(ctxt, slot_a, flags_a); in img_mgmt_state_read() 686 img_mgmt_state_write(struct smp_streamer *ctxt) in img_mgmt_state_write() argument 700 zcbor_state_t *zse = ctxt->writer->zs; in img_mgmt_state_write() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/ |
D | os_mgmt.c | 147 static int os_mgmt_echo(struct smp_streamer *ctxt) in os_mgmt_echo() argument 150 zcbor_state_t *zsd = ctxt->reader->zs; in os_mgmt_echo() 151 zcbor_state_t *zse = ctxt->writer->zs; in os_mgmt_echo() 325 static int os_mgmt_taskstat_read(struct smp_streamer *ctxt) in os_mgmt_taskstat_read() argument 327 zcbor_state_t *zse = ctxt->writer->zs; in os_mgmt_taskstat_read() 364 static int os_mgmt_reset(struct smp_streamer *ctxt) in os_mgmt_reset() argument 367 zcbor_state_t *zsd = ctxt->reader->zs; in os_mgmt_reset() 368 zcbor_state_t *zse = ctxt->writer->zs; in os_mgmt_reset() 410 os_mgmt_mcumgr_params(struct smp_streamer *ctxt) in os_mgmt_mcumgr_params() argument 412 zcbor_state_t *zse = ctxt->writer->zs; in os_mgmt_mcumgr_params() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt.c | 204 static int fs_mgmt_file_download(struct smp_streamer *ctxt) in fs_mgmt_file_download() argument 211 zcbor_state_t *zse = ctxt->writer->zs; in fs_mgmt_file_download() 212 zcbor_state_t *zsd = ctxt->reader->zs; in fs_mgmt_file_download() 248 if (ctxt->smpt != fs_mgmt_ctxt.transport || in fs_mgmt_file_download() 298 fs_mgmt_ctxt.transport = ctxt->smpt; in fs_mgmt_file_download() 350 static int fs_mgmt_file_upload(struct smp_streamer *ctxt) in fs_mgmt_file_upload() argument 357 zcbor_state_t *zse = ctxt->writer->zs; in fs_mgmt_file_upload() 358 zcbor_state_t *zsd = ctxt->reader->zs; in fs_mgmt_file_upload() 398 if (ctxt->smpt != fs_mgmt_ctxt.transport || in fs_mgmt_file_upload() 443 fs_mgmt_ctxt.transport = ctxt->smpt; in fs_mgmt_file_upload() [all …]
|
/Zephyr-latest/drivers/xen/dom0/ |
D | domctl.c | 64 int xen_domctl_getvcpucontext(int domid, int vcpu, vcpu_guest_context_t *ctxt) in xen_domctl_getvcpucontext() argument 72 set_xen_guest_handle(domctl.u.vcpucontext.ctxt, ctxt); in xen_domctl_getvcpucontext() 77 int xen_domctl_setvcpucontext(int domid, int vcpu, vcpu_guest_context_t *ctxt) in xen_domctl_setvcpucontext() argument 85 set_xen_guest_handle(domctl.u.vcpucontext.ctxt, ctxt); in xen_domctl_setvcpucontext()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/shell_mgmt/src/ |
D | shell_mgmt.c | 45 shell_mgmt_exec(struct smp_streamer *ctxt) in shell_mgmt_exec() argument 52 zcbor_state_t *zsd = ctxt->reader->zs; in shell_mgmt_exec() 53 zcbor_state_t *zse = ctxt->writer->zs; in shell_mgmt_exec()
|
/Zephyr-latest/include/zephyr/xen/dom0/ |
D | domctl.h | 19 int xen_domctl_getvcpucontext(int domid, int vcpu, vcpu_guest_context_t *ctxt); 20 int xen_domctl_setvcpucontext(int domid, int vcpu, vcpu_guest_context_t *ctxt);
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/stat_mgmt/src/ |
D | stat_mgmt.c | 123 stat_mgmt_show(struct smp_streamer *ctxt) in stat_mgmt_show() argument 125 zcbor_state_t *zse = ctxt->writer->zs; in stat_mgmt_show() 126 zcbor_state_t *zsd = ctxt->reader->zs; in stat_mgmt_show() 189 stat_mgmt_list(struct smp_streamer *ctxt) in stat_mgmt_list() argument 192 zcbor_state_t *zse = ctxt->writer->zs; in stat_mgmt_list()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/zephyr_basic/src/ |
D | basic_mgmt.c | 48 static int storage_erase_handler(struct smp_streamer *ctxt) in storage_erase_handler() argument 50 zcbor_state_t *zse = ctxt->writer->zs; in storage_erase_handler()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/include/mgmt/mcumgr/grp/img_mgmt/ |
D | img_mgmt_priv.h | 209 int img_mgmt_state_read(struct smp_streamer *ctxt);
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/ |
D | mgmt.h | 68 typedef int (*mgmt_handler_fn)(struct smp_streamer *ctxt);
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/ |
D | img_mgmt.h | 361 int img_mgmt_error_rsp(struct smp_streamer *ctxt, int rc, const char *rsn);
|
/Zephyr-latest/include/zephyr/xen/public/ |
D | domctl.h | 195 XEN_GUEST_HANDLE_64(vcpu_guest_context_t) ctxt; /* IN/OUT */
|
/Zephyr-latest/doc/services/device_mgmt/ |
D | mcumgr_callbacks.rst | 236 static int test_command(struct mgmt_ctxt *ctxt) 241 zcbor_state_t *zse = ctxt->cnbe->zs;
|
/Zephyr-latest/doc/develop/tools/ |
D | coccinelle.rst | 100 - ``rep+ctxt`` runs successively the report mode and the context mode.
|