Searched refs:state_flags (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | img_mgmt_state.c | 361 uint8_t state_flags; in img_mgmt_state_set_pending() local 364 state_flags = img_mgmt_state_flags(slot); in img_mgmt_state_set_pending() 369 if (state_flags & IMG_MGMT_STATE_F_CONFIRMED && slot != 0) { in img_mgmt_state_set_pending() 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 462 ZCBOR_ENCODE_FLAG(zse, "pending", state_flags & REPORT_SLOT_PENDING) && in img_mgmt_state_encode_slot() 463 ZCBOR_ENCODE_FLAG(zse, "confirmed", state_flags & REPORT_SLOT_CONFIRMED) && in img_mgmt_state_encode_slot() 464 ZCBOR_ENCODE_FLAG(zse, "active", state_flags & REPORT_SLOT_ACTIVE) && in img_mgmt_state_encode_slot() 465 ZCBOR_ENCODE_FLAG(zse, "permanent", state_flags & REPORT_SLOT_PERMANENT); in img_mgmt_state_encode_slot()
|