/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_data_sprom.c | 252 BHND_NV_LOG("invalid sprom %hhu signature: " in bhnd_nvram_sprom_ident() 267 BHND_NV_LOG("sprom %hhu CRC error (crc=%#hhx, " in bhnd_nvram_sprom_ident() 282 BHND_NV_LOG("sprom parsing failed with %zu CRC errors\n", in bhnd_nvram_sprom_ident() 324 BHND_NV_LOG("error initializing opcode state: %d\n", error); in bhnd_nvram_sprom_getvar_direct() 433 BHND_NV_LOG("invalid %s SPROM variable type %d\n", in bhnd_nvram_sprom_write_var() 440 BHND_NV_LOG("error encoding '%s', SPROM_ARRAY_MAXLEN " in bhnd_nvram_sprom_write_var() 450 BHND_NV_LOG("missing required property: %s\n", in bhnd_nvram_sprom_write_var() 467 BHND_NV_LOG("error converting input type %s to %s " in bhnd_nvram_sprom_write_var() 497 BHND_NV_LOG("error promoting %s to %s: %d\n", in bhnd_nvram_sprom_write_var() 512 BHND_NV_LOG("invalid %s property value '%s[%zu]': " in bhnd_nvram_sprom_write_var() [all …]
|
H A D | bhnd_nvram_value_prf.c | 290 BHND_NV_LOG("error parsing repeat " in bhnd_nvram_val_vprintf() 301 BHND_NV_LOG("error parsing repeat count at " in bhnd_nvram_val_vprintf() 374 BHND_NV_LOG("error parsing width %s: %d\n", p, in bhnd_nvram_val_vprintf() 417 BHND_NV_LOG("error parsing width %s: " in bhnd_nvram_val_vprintf() 446 BHND_NV_LOG("invalid length modifier " in bhnd_nvram_val_vprintf() 461 BHND_NV_LOG("invalid length modifier " in bhnd_nvram_val_vprintf() 471 BHND_NV_LOG("invalid length modifier " in bhnd_nvram_val_vprintf() 486 BHND_NV_LOG("invalid length modifier " in bhnd_nvram_val_vprintf() 497 BHND_NV_LOG("invalid size specifier: " in bhnd_nvram_val_vprintf() 533 BHND_NV_LOG("format string references more " in bhnd_nvram_val_vprintf() [all …]
|
H A D | bhnd_nvram_data_tlv.c | 193 BHND_NV_LOG("error reading TLV_ENV record " in bhnd_nvram_tlv_getvar_direct() 203 BHND_NV_LOG("error reading TLV_ENV record " in bhnd_nvram_tlv_getvar_direct() 212 BHND_NV_LOG("error parsing TLV_ENV data: %d\n", in bhnd_nvram_tlv_getvar_direct() 271 BHND_NV_LOG("%s name exceeds maximum TLV record " in bhnd_nvram_tlv_serialize() 282 BHND_NV_LOG("error serializing %s to required type " in bhnd_nvram_tlv_serialize() 290 BHND_NV_LOG("%s value exceeds maximum TLV record " in bhnd_nvram_tlv_serialize() 322 BHND_NV_LOG("error serializing %s to required " in bhnd_nvram_tlv_serialize() 387 BHND_NV_LOG("cannot parse zero-length TLV_ENV record " in bhnd_nvram_tlv_init() 398 BHND_NV_LOG("error parsing TLV_ENV data: %d\n", error); in bhnd_nvram_tlv_init() 588 BHND_NV_LOG("'%s=' exceeds maximum TLV_ENV record length\n", in bhnd_nvram_tlv_filter_setvar() [all …]
|
H A D | bhnd_nvram_iores.c | 90 BHND_NV_LOG("invalid bus width %u\n", bus_width); in bhnd_nvram_iores_new() 98 BHND_NV_LOG("offset %#jx+%#jx exceeds SIZE_MAX\n", in bhnd_nvram_iores_new() 105 BHND_NV_LOG("offset %#jx+%#jx exceeds BUS_SPACE_MAXSIZE\n", in bhnd_nvram_iores_new() 118 BHND_NV_LOG("base address %#jx+%#jx not aligned to bus width " in bhnd_nvram_iores_new() 124 BHND_NV_LOG("size %#jx not aligned to bus width %u\n", in bhnd_nvram_iores_new()
|
H A D | bhnd_nvram_data_bcm.c | 345 BHND_NV_LOG("cannot parse value for '%s' " in bhnd_nvram_bcm_getvar_direct_common() 389 BHND_NV_LOG("missing required property: %s\n", \ in bhnd_nvram_bcm_serialize() 398 BHND_NV_LOG("error reading required header " \ in bhnd_nvram_bcm_serialize() 418 BHND_NV_LOG("error reading %s uint8 option value: %d\n", in bhnd_nvram_bcm_serialize() 496 BHND_NV_LOG("error serializing %s to required type " in bhnd_nvram_bcm_serialize() 524 BHND_NV_LOG("size %zu exceeds maximum supported size of %u " in bhnd_nvram_bcm_serialize() 576 BHND_NV_LOG("corrupt header size: %zu\n", io_size); in bhnd_nvram_bcm_init() 581 BHND_NV_LOG("header size %zu exceeds input size %zu\n", in bhnd_nvram_bcm_init() 612 BHND_NV_LOG("warning: NVRAM CRC error (crc=%#hhx, " in bhnd_nvram_bcm_init() 653 BHND_NV_LOG("error parsing envp at offset %#zx: %d\n", in bhnd_nvram_bcm_init() [all …]
|
H A D | bhnd_nvram_data_btxt.c | 316 BHND_NV_LOG("cannot parse value for '%s' " in bhnd_nvram_btxt_getvar_direct() 411 BHND_NV_LOG("error serializing %s to required type " in bhnd_nvram_btxt_serialize() 608 BHND_NV_LOG("unexpected error in seek_eol(): %d\n", in bhnd_nvram_btxt_next() 620 BHND_NV_LOG("unexpected error in seek_next(): %d\n", error); in bhnd_nvram_btxt_next() 634 BHND_NV_LOG("unexpected error in read_ptr(): %d\n", error); in bhnd_nvram_btxt_next() 693 BHND_NV_LOG("unexpected error in entry_len(): %d\n", error); in bhnd_nvram_btxt_getvar_ptr() 701 BHND_NV_LOG("unexpected error in read_ptr(): %d\n", error); in bhnd_nvram_btxt_getvar_ptr() 708 BHND_NV_LOG("unexpected error in parse_env(): %d\n", error); in bhnd_nvram_btxt_getvar_ptr() 944 BHND_NV_LOG("invalid character (%#hhx) in value\n", in bhnd_nvram_btxt_filter_setvar()
|
H A D | bhnd_nvram_data_bcmraw.c | 204 BHND_NV_LOG("error serializing %s to required type " in bhnd_nvram_bcmraw_serialize() 283 BHND_NV_LOG("error parsing envp at offset %#zx: %d\n", in bhnd_nvram_bcmraw_init() 299 BHND_NV_LOG("missing terminating NUL at offset %#zx\n", in bhnd_nvram_bcmraw_init()
|
H A D | bhnd_nvram_private.h | 127 #define BHND_NV_LOG(fmt, ...) \ macro 186 #define BHND_NV_LOG(fmt, ...) \ macro 205 #define BHND_NV_DEBUG(...) BHND_NV_LOG(__VA_ARGS__)
|
H A D | bhnd_nvram_data_sprom_subr.c | 68 BHND_NV_LOG("bad encoding at %td: " _fmt, \ 128 BHND_NV_LOG("expected EOF parsing binding table: %d\n", error); in bhnd_sprom_opcode_init() 1201 BHND_NV_LOG("offset out of range\n"); in bhnd_sprom_opcode_step() 1241 BHND_NV_LOG("unrecognized type %#hhx\n", immd); in bhnd_sprom_opcode_step() 1247 BHND_NV_LOG("unrecognized opcode %#hhx\n", *opcode); in bhnd_sprom_opcode_step()
|
H A D | bhnd_nvram_store.c | 287 BHND_NV_LOG("variable '%s' has dangling " in bhnd_nvstore_parse_data() 294 BHND_NV_LOG("more than SIZE_MAX variables in " in bhnd_nvstore_parse_data() 423 BHND_NV_LOG("failed to register path for %s: %d\n", in bhnd_nvstore_parse_path_entries() 676 BHND_NV_LOG("invalid device path flag: %#" PRIx32, flags); in bhnd_nvram_store_export_child() 1229 BHND_NV_LOG("error initializing value: %d\n", error); in bhnd_nvram_store_setvar()
|
H A D | bhnd_nvram_value_subr.c | 269 BHND_NV_LOG("cannot represent size %s[%zu]\n", in bhnd_nvram_value_size() 500 BHND_NV_LOG("short element of type %s -- misaligned " in bhnd_nvram_value_array_next()
|
H A D | bhnd_nvram_store_subr.c | 144 BHND_NV_LOG("error allocating %zu byte index\n", bytes); in bhnd_nvstore_index_new() 378 BHND_NV_LOG("cannot unset property %s: %d\n", full_name, in bhnd_nvstore_path_register_update() 391 BHND_NV_LOG("cannot set property %s: %d\n", full_name, in bhnd_nvstore_path_register_update()
|
H A D | bhnd_nvram_value.c | 614 BHND_NV_LOG("copy failed: %d", error); in bhnd_nvram_val_copy() 1147 BHND_NV_LOG("cannot represent %" PRId64 " as %s\n", in bhnd_nvram_val_encode_int() 1160 BHND_NV_LOG("cannot represent %" PRIu64 " as %s\n", in bhnd_nvram_val_encode_int() 1281 BHND_NV_LOG("snprintf() failed: %zd\n", len); in bhnd_nvram_val_encode_int() 1292 BHND_NV_LOG("unknown type %s\n", bhnd_nvram_type_name(otype)); in bhnd_nvram_val_encode_int()
|
H A D | bhnd_nvram_plist.c | 155 BHND_NV_LOG("error copying property: %d\n", in bhnd_nvram_plist_copy() 834 BHND_NV_LOG("invalid input data; initialization " in bhnd_nvram_prop_bytes_new()
|
H A D | bhnd_nvram_subr.c | 851 BHND_NV_LOG("unsupported integer type: %d\n", otype); in bhnd_nvram_parse_int() 1018 BHND_NV_LOG("delimiter '%c' not found in '%.*s'\n", delim, in bhnd_nvram_parse_env()
|
H A D | bhnd_nvram_value_fmts.c | 597 BHND_NV_LOG("error initializing array representation: %d\n", in bhnd_nvram_val_bcmstr_encode() 605 BHND_NV_LOG("error encoding array representation: %d\n", error); in bhnd_nvram_val_bcmstr_encode()
|