Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dstring.h228 int __sysfs_match_string(const char * const *array, size_t n, const char *s);
237 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s)
/linux-6.6.21/drivers/md/bcache/
Dsysfs.c378 v = __sysfs_match_string(bch_cache_modes, -1, buf); in STORE()
389 v = __sysfs_match_string(bch_reada_cache_policies, -1, buf); in STORE()
398 v = __sysfs_match_string(bch_stop_on_failure_modes, -1, buf); in STORE()
880 v = __sysfs_match_string(error_actions, -1, buf); in STORE()
1163 v = __sysfs_match_string(cache_replacement_policies, -1, buf); in STORE()
/linux-6.6.21/arch/x86/kernel/cpu/
Dintel_epb.c153 ret = __sysfs_match_string(energy_perf_strings, in energy_perf_bias_store()
/linux-6.6.21/lib/
Dstring_helpers.c978 int __sysfs_match_string(const char * const *array, size_t n, const char *str) in __sysfs_match_string() function
993 EXPORT_SYMBOL(__sysfs_match_string);
/linux-6.6.21/drivers/soc/aspeed/
Daspeed-uart-routing.c526 val = __sysfs_match_string(sel->options, -1, buf); in aspeed_uart_routing_store()
/linux-6.6.21/drivers/power/supply/
Dpower_supply_sysfs.c331 ret = __sysfs_match_string(ps_attr->text_values, in power_supply_store_property()
/linux-6.6.21/drivers/counter/
Dcounter-sysfs.c261 err = __sysfs_match_string(avail->strs, avail->num_items, buf); in counter_comp_u32_store()
/linux-6.6.21/drivers/iio/
Dindustrialio-core.c557 ret = __sysfs_match_string(e->items, e->num_items, buf); in iio_enum_write()