Lines Matching refs:op
302 uint16_t op; in mcumgr_dummy_parse_op() local
304 if (len < sizeof(op)) { in mcumgr_dummy_parse_op()
308 memcpy(&op, buf, sizeof(op)); in mcumgr_dummy_parse_op()
309 op = sys_be16_to_cpu(op); in mcumgr_dummy_parse_op()
311 if (op != MCUMGR_SERIAL_HDR_PKT && op != MCUMGR_SERIAL_HDR_FRAG) { in mcumgr_dummy_parse_op()
315 return op; in mcumgr_dummy_parse_op()
363 uint16_t op; in mcumgr_dummy_process_frag() local
373 op = mcumgr_dummy_parse_op(frag, frag_len); in mcumgr_dummy_process_frag()
374 switch (op) { in mcumgr_dummy_process_frag()
391 frag + sizeof(op), in mcumgr_dummy_process_frag()
392 frag_len - sizeof(op)); in mcumgr_dummy_process_frag()
398 if (op == MCUMGR_SERIAL_HDR_PKT) { in mcumgr_dummy_process_frag()
448 uint16_t op; in mcumgr_dummy_process_frag_outgoing() local
458 op = mcumgr_dummy_parse_op(frag, frag_len); in mcumgr_dummy_process_frag_outgoing()
459 switch (op) { in mcumgr_dummy_process_frag_outgoing()
476 frag + sizeof(op), in mcumgr_dummy_process_frag_outgoing()
477 frag_len - sizeof(op)); in mcumgr_dummy_process_frag_outgoing()
483 if (op == MCUMGR_SERIAL_HDR_PKT) { in mcumgr_dummy_process_frag_outgoing()