Searched refs:__sysfs_match_string (Results 1 - 8 of 8) sorted by relevance

/linux-master/arch/x86/kernel/cpu/
H A Dintel_epb.c153 ret = __sysfs_match_string(energy_perf_strings,
/linux-master/include/linux/
H A Dstring.h303 int __sysfs_match_string(const char * const *array, size_t n, const char *s);
310 * Helper for __sysfs_match_string(). Calculates the size of @a automatically.
312 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s)
/linux-master/drivers/md/bcache/
H A Dsysfs.c378 v = __sysfs_match_string(bch_cache_modes, -1, buf);
389 v = __sysfs_match_string(bch_reada_cache_policies, -1, buf);
398 v = __sysfs_match_string(bch_stop_on_failure_modes, -1, buf);
875 v = __sysfs_match_string(error_actions, -1, buf);
1158 v = __sysfs_match_string(cache_replacement_policies, -1, buf);
/linux-master/lib/
H A Dstring_helpers.c935 * __sysfs_match_string - matches given string in an array
951 int __sysfs_match_string(const char * const *array, size_t n, const char *str) function
966 EXPORT_SYMBOL(__sysfs_match_string); variable
/linux-master/drivers/soc/aspeed/
H A Daspeed-uart-routing.c526 val = __sysfs_match_string(sel->options, -1, buf);
/linux-master/drivers/power/supply/
H A Dpower_supply_sysfs.c352 ret = __sysfs_match_string(ps_attr->text_values,
/linux-master/drivers/counter/
H A Dcounter-sysfs.c261 err = __sysfs_match_string(avail->strs, avail->num_items, buf);
/linux-master/drivers/iio/
H A Dindustrialio-core.c562 ret = __sysfs_match_string(e->items, e->num_items, buf);

Completed in 201 milliseconds