Lines Matching +full:raw +full:- +full:x +full:- +full:min
4 * SPDX-License-Identifier: Apache-2.0
67 /* Dictionary-based log message */
84 /* Data length, non-zero fox hexdump message. */
96 uint32_t raw; member
116 early_buf_idx += (sizeof(uint32_t) - rem); in early_buf_align_idx()
138 return (EARLY_BUF_SIZE - early_buf_idx) >= len; in early_buf_has_space()
151 return (uint32_t)((uintptr_t)&early_buf[early_buf_idx] - (uintptr_t)len_loc - LEN_SZ); in early_buf_get_len()
229 unaligned = 4 - unaligned; in write_data()
230 unaligned = MIN(len, unaligned); in write_data()
232 len -= unaligned; in write_data()
264 len -= sizeof(uint32_t); in write_data()
371 STM_D32(stm_esp, hdr.raw, false, false); in log_frontend_msg()
373 STM_D32(stm_esp, hdr.raw, use_timestamp, true); in log_frontend_msg()
424 STM_D32(stm_esp, dict_desc.raw, false, false); in log_frontend_msg()
426 STM_D32(stm_esp, dict_desc.raw, true, true); in log_frontend_msg()
440 early_package_cb(&dict_desc.raw, sizeof(dict_desc.raw), NULL); in log_frontend_msg()
451 /* Common function for optimized message (log with 0-2 arguments) which is used in
461 early_package_cb(&dict_desc.raw, sizeof(dict_desc.raw), NULL); in early_msg_start()
468 /* Common function for optimized message (log with 0-2 arguments) which writes to STMESP */
476 STM_D32(stm_esp, dict_desc.raw, false, false); in msg_start()
478 STM_D32(stm_esp, dict_desc.raw, true, true); in msg_start()
497 msg_start(stm_esp, level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_0()
506 len_loc = early_msg_start(level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_0()
524 msg_start(stm_esp, level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_1()
534 len_loc = early_msg_start(level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_1()
554 msg_start(stm_esp, level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_2()
565 len_loc = early_msg_start(level, source, (uint32_t)package_hdr.raw, fmt); in log_frontend_simple_2()
634 return -EIO; in log_frontend_stmesp_etr_ready()
647 len -= sizeof(uint32_t); in log_frontend_stmesp_etr_ready()
649 /* Write remaining data as raw data. */ in log_frontend_stmesp_etr_ready()
662 void log_frontend_stmesp_log0(const void *source, uint32_t x) in log_frontend_stmesp_log0() argument
665 int err = stmesp_get_port((uint32_t)x + 0x8000, &port); in log_frontend_stmesp_log0()
675 void log_frontend_stmesp_log1(const void *source, uint32_t x, uint32_t arg) in log_frontend_stmesp_log1() argument
678 int err = stmesp_get_port((uint32_t)x + 0x8000, &port); in log_frontend_stmesp_log1()