Lines Matching refs:log_backend

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,
95 struct log_backend { struct
119 static const STRUCT_SECTION_ITERABLE(log_backend, _name) = \ argument
138 static inline void log_backend_init(const struct log_backend *const backend) in log_backend_init()
158 static inline int log_backend_is_ready(const struct log_backend *const backend) in log_backend_is_ready()
177 static inline void log_backend_msg_process(const struct log_backend *const backend, in log_backend_msg_process()
193 static inline void log_backend_dropped(const struct log_backend *const backend, in log_backend_dropped()
208 static inline void log_backend_panic(const struct log_backend *const backend) in log_backend_panic()
222 static inline void log_backend_id_set(const struct log_backend *const backend, in log_backend_id_set()
237 static inline uint8_t log_backend_id_get(const struct log_backend *const backend) in log_backend_id_get()
250 static inline const struct log_backend *log_backend_get(uint32_t idx) in log_backend_get()
252 const struct log_backend *backend; in log_backend_get()
254 STRUCT_SECTION_GET(log_backend, idx, &backend); in log_backend_get()
268 STRUCT_SECTION_COUNT(log_backend, &cnt); in log_backend_count_get()
279 static inline void log_backend_activate(const struct log_backend *const backend, in log_backend_activate()
293 const struct log_backend *const backend) in log_backend_deactivate()
307 const struct log_backend *const backend) in log_backend_is_active()
322 static inline int log_backend_format_set(const struct log_backend *backend, uint32_t log_type) in log_backend_format_set()
352 static inline void log_backend_notify(const struct log_backend *const backend, in log_backend_notify()