Lines Matching full:log_backend
22 * @defgroup log_backend Logger backend interface
27 /* Forward declaration of the log_backend type. */
28 struct log_backend;
64 void (*process)(const struct log_backend *const backend,
67 void (*dropped)(const struct log_backend *const backend, uint32_t cnt);
68 void (*panic)(const struct log_backend *const backend);
69 void (*init)(const struct log_backend *const backend);
70 int (*is_ready)(const struct log_backend *const backend);
71 int (*format_set)(const struct log_backend *const backend,
74 void (*notify)(const struct log_backend *const backend,
94 struct log_backend { struct
118 static const STRUCT_SECTION_ITERABLE(log_backend, _name) = \ argument
137 static inline void log_backend_init(const struct log_backend *const backend) in log_backend_init()
156 static inline int log_backend_is_ready(const struct log_backend *const backend) in log_backend_is_ready()
175 static inline void log_backend_msg_process(const struct log_backend *const backend, in log_backend_msg_process()
191 static inline void log_backend_dropped(const struct log_backend *const backend, in log_backend_dropped()
206 static inline void log_backend_panic(const struct log_backend *const backend) in log_backend_panic()
220 static inline void log_backend_id_set(const struct log_backend *const backend, in log_backend_id_set()
235 static inline uint8_t log_backend_id_get(const struct log_backend *const backend) in log_backend_id_get()
248 static inline const struct log_backend *log_backend_get(uint32_t idx) in log_backend_get()
250 const struct log_backend *backend; in log_backend_get()
252 STRUCT_SECTION_GET(log_backend, idx, &backend); in log_backend_get()
266 STRUCT_SECTION_COUNT(log_backend, &cnt); in log_backend_count_get()
277 static inline void log_backend_activate(const struct log_backend *const backend, in log_backend_activate()
291 const struct log_backend *const backend) in log_backend_deactivate()
305 const struct log_backend *const backend) in log_backend_is_active()
320 static inline int log_backend_format_set(const struct log_backend *backend, uint32_t log_type) in log_backend_format_set()
350 static inline void log_backend_notify(const struct log_backend *const backend, in log_backend_notify()