Lines Matching refs:name
87 const char *name; member
115 meta->name, str_value, status, *store_value); in cfg_int_item_handler()
121 cfg_err("Invalid config item meta for %s", meta->name); in cfg_int_item_handler()
133 meta->fallback, meta->name); in cfg_int_item_handler()
144 meta->name, value, meta->min, meta->max, *store_value); in cfg_int_item_handler()
169 meta->name, str_value, status, *store_value); in cfg_uint_item_handler()
175 cfg_err("Invalid config item meta for %s", meta->name); in cfg_uint_item_handler()
187 meta->fallback, meta->name); in cfg_uint_item_handler()
198 meta->name, value, min, max, *store_value); in cfg_uint_item_handler()
214 meta->name, str_value, status, *store_value ? "true" : "false"); in cfg_bool_item_handler()
228 cfg_err("Invalid config item meta for %s", meta->name); in cfg_string_item_handler()
236 meta->name, str_value, store_value); in cfg_string_item_handler()
244 meta->name, str_value, store_value); in cfg_string_item_handler()
264 QDF_MAC_ADDR_FMT, meta->name, str_value, status, in cfg_mac_item_handler()
281 QDF_IPV4_ADDR_STR, meta->name, str_value, status, in cfg_ipv4_item_handler()
298 QDF_IPV6_ADDR_STR, meta->name, str_value, status, in cfg_ipv6_item_handler()
306 .name = _name, \
332 #define __CFG_INI(id, mtype, ctype, name, min, max, fallback, desc, def...) \ in cfg_store_set_defaults() argument
338 #define __CFG_INI_STRING(id, mtype, ctype, name, min_len, max_len, ...) \ in cfg_store_set_defaults() argument
342 #define __CFG_INI(id, mtype, ctype, name, min, max, fallback, desc, def...) \ in cfg_store_set_defaults() argument
348 static const struct cfg_meta *cfg_lookup_meta(const char *name) in cfg_lookup_meta() argument
355 QDF_BUG(name); in cfg_lookup_meta()
356 if (!name) in cfg_lookup_meta()
366 if (strlen(meta->name) >= CFG_META_NAME_LENGTH_MAX) { in cfg_lookup_meta()
367 cfg_err("Invalid meta name %s", meta->name); in cfg_lookup_meta()
371 qdf_mem_copy(param, meta->name, strlen(meta->name)); in cfg_lookup_meta()
372 param[strlen(meta->name)] = '\0'; in cfg_lookup_meta()
378 if (qdf_str_eq(name, ini_name)) in cfg_lookup_meta()
385 cfg_err("Invalid ini name %s", meta->name); in cfg_lookup_meta()
388 if (qdf_str_eq(name, ini_name)) in cfg_lookup_meta()
418 static QDF_STATUS cfg_ini_section_handler(void *context, const char *name) in cfg_ini_section_handler() argument
420 cfg_err("Unexpected section '%s'. Sections are not supported.", name); in cfg_ini_section_handler()
630 cfg_nofl_debug("%pK %s %d", offset, meta->name, in cfg_store_print()
634 cfg_nofl_debug("%pK %s %d", offset, meta->name, in cfg_store_print()
638 cfg_nofl_debug("%pK %s %d", offset, meta->name, in cfg_store_print()
642 cfg_nofl_debug("%pK %s %s", offset, meta->name, in cfg_store_print()
647 offset, meta->name, in cfg_store_print()
652 offset, meta->name, in cfg_store_print()
657 offset, meta->name, in cfg_store_print()
697 len = qdf_scnprintf(buf, buflen, "%s %d\n", meta->name, in cfg_ini_config_print()
703 len = qdf_scnprintf(buf, buflen, "%s %d\n", meta->name, in cfg_ini_config_print()
709 len = qdf_scnprintf(buf, buflen, "%s %d\n", meta->name, in cfg_ini_config_print()
715 len = qdf_scnprintf(buf, buflen, "%s %s\n", meta->name, in cfg_ini_config_print()
723 meta->name, in cfg_ini_config_print()
731 meta->name, in cfg_ini_config_print()
738 meta->name, in cfg_ini_config_print()