Lines Matching +full:look +full:- +full:up

1 /* SPDX-License-Identifier: GPL-2.0+ */
12 #include <dm/uclass-id.h>
17 LOGL_EMERG = 0, /* U-Boot is unstable */
24 LOGL_DEBUG, /* Basic debug-level message */
43 LOGC_ARCH, /* Related to arch-specific code */
44 LOGC_BOARD, /* Related to board-specific code */
45 LOGC_CORE, /* Related to core features (non-driver-model) */
46 LOGC_DM, /* Core driver-model */
47 LOGC_DT, /* Device-tree */
64 * _log() - Internal function to emit a new log record
73 * @return 0 if log record was emitted, -ve on error
176 * An assertion is run-time check done in debug mode only. If DEBUG is not
178 * then it calls panic*( which may or may not reset/halt U-Boot (see
214 /* Non-logging versions of the above which just return the error code */
220 * struct log_rec - a single log record
229 * @cat: Category, representing a uclass or part of U-Boot
248 * struct log_driver - a driver which accepts and processes log records
255 * emit() - emit a log record
264 * struct log_device - an instance of a log driver
266 * Since drivers are set up at build-time we need to have a separate device for
267 * the run-time aspects of drivers (currently just a list of filters to apply
293 * struct log_filter - criterial to filter out log messages
300 * then all categories are permitted. Up to LOGF_MAX_CATEGORIES entries
320 * log_get_cat_name() - Get the name of a category
322 * @cat: Category to look up
329 * log_get_cat_by_name() - Look up a category by name
331 * @name: Name to look up
337 * log_get_level_name() - Get the name of a log level
339 * @level: Log level to look up
345 * log_get_level_by_name() - Look up a log level by name
347 * @name: Name to look up
352 /* Log format flags (bit numbers) for gd->log_fmt. See log_fmt_chars */
370 * log_add_filter() - Add a new filter to a log device
375 * then all categories are permitted. Up to LOGF_MAX_CATEGORIES entries
381 * or a -ve value on error
387 * log_remove_filter() - Remove a filter from a log device
392 * @return 0 if the filter was removed, -ENOENT if either the driver or the
399 * log_init() - Set up the log system ready for use
401 * @return 0 if OK, -ENOMEM if out of memory