Searched refs:__sysfs_match_string (Results 1 – 7 of 7) sorted by relevance
/linux-5.10/arch/x86/kernel/cpu/ |
D | intel_epb.c | 143 ret = __sysfs_match_string(energy_perf_strings, in energy_perf_bias_store()
|
/linux-5.10/drivers/md/bcache/ |
D | sysfs.c | 362 v = __sysfs_match_string(bch_cache_modes, -1, buf); in STORE() 373 v = __sysfs_match_string(bch_reada_cache_policies, -1, buf); in STORE() 382 v = __sysfs_match_string(bch_stop_on_failure_modes, -1, buf); in STORE() 859 v = __sysfs_match_string(error_actions, -1, buf); in STORE() 1139 v = __sysfs_match_string(cache_replacement_policies, -1, buf); in STORE()
|
/linux-5.10/lib/ |
D | string.c | 771 int __sysfs_match_string(const char * const *array, size_t n, const char *str) in __sysfs_match_string() function 786 EXPORT_SYMBOL(__sysfs_match_string);
|
/linux-5.10/include/linux/ |
D | string.h | 193 int __sysfs_match_string(const char * const *array, size_t n, const char *s); 202 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s)
|
/linux-5.10/drivers/counter/ |
D | counter.c | 70 index = __sysfs_match_string(e->items, e->num_items, buf); in counter_signal_enum_write() 133 index = __sysfs_match_string(e->items, e->num_items, buf); in counter_count_enum_write() 194 index = __sysfs_match_string(e->items, e->num_items, buf); in counter_device_enum_write()
|
/linux-5.10/drivers/power/supply/ |
D | power_supply_sysfs.c | 320 ret = __sysfs_match_string(ps_attr->text_values, in power_supply_store_property()
|
/linux-5.10/drivers/iio/ |
D | industrialio-core.c | 512 ret = __sysfs_match_string(e->items, e->num_items, buf); in iio_enum_write()
|