Home
last modified time | relevance | path

Searched refs:sysfs_match_string (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/acpi/
H A Dplatform_profile.c208 index = sysfs_match_string(profile_names, buf); in profile_store()
420 i = sysfs_match_string(profile_names, buf); in platform_profile_store()
H A Dbutton.c702 i = sysfs_match_string(lid_init_state_str, val); in param_set_lid_init_state()
/linux/drivers/leds/
H A Dleds-wm831x-status.c189 i = sysfs_match_string(led_src_texts, buf); in src_store()
/linux/drivers/usb/typec/
H A Dclass.c678 mode = sysfs_match_string(usb_modes, buf); in usb_mode_store()
1467 mode = sysfs_match_string(usb_modes, buf); in usb_capability_store()
1635 role = sysfs_match_string(typec_roles, buf); in preferred_role_store()
1679 ret = sysfs_match_string(typec_data_roles, buf); in data_role_store()
1729 ret = sysfs_match_string(typec_roles, buf); in power_role_store()
1778 ret = sysfs_match_string(typec_port_power_roles, buf); in port_type_store()
/linux/drivers/hwtracing/intel_th/
H A Dpti.c277 i = sysfs_match_string(lpp_dest_str, buf); in lpp_dest_store()
/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c544 con = sysfs_match_string(configurations, buf); in configuration_store()
641 ret = sysfs_match_string(pin_assignments, buf); in pin_assignment_store()
/linux/drivers/usb/roles/
H A Dclass.c283 ret = sysfs_match_string(usb_roles, buf); in role_store()
/linux/drivers/usb/misc/
H A Dusbsevseg.c277 i = sysfs_match_string(display_textmodes, buf); in textmode_store()
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dsysman.c169 int type = sysfs_match_string(reset_types, buf); in reset_bios_store()
/linux/include/linux/
H A Dstring.h336 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s) macro
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dmanager-sysfs.c178 r = sysfs_match_string(trans_key_type_str, buf); in manager_trans_key_type_store()
/linux/arch/x86/platform/uv/
H A Duv_nmi.c221 i = sysfs_match_string(actions, val); in param_set_action()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c84 index = sysfs_match_string(t7xx_mode_names, buf); in t7xx_mode_store()
/linux/kernel/power/
H A Dhibernate.c1512 index = sysfs_match_string(comp_alg_enabled, compressor); in hibernate_compressor_param_set()
/linux/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c279 res = sysfs_match_string(fip_conn_type_names, buf); in store_ctlr_mode()
/linux/drivers/power/supply/
H A Dtwl4030_charger.c694 mode = sysfs_match_string(modes, buf); in twl4030_bci_mode_store()
/linux/drivers/platform/cznic/
H A Dturris-omnia-mcu-gpio.c987 i = sysfs_match_string(front_button_modes, buf); in front_button_mode_store()
/linux/sound/soc/ti/
H A Domap-mcbsp.c580 i = sysfs_match_string(dma_op_modes, buf); in dma_op_mode_store()
/linux/mm/
H A Dmemory_hotplug.c144 int ret = sysfs_match_string(online_policy_to_str, val); in set_online_policy()
/linux/drivers/platform/x86/intel/pmc/
H A Dcore.c1114 mode = sysfs_match_string(pmc_lpm_modes, buf); in pmc_core_lpm_latch_mode_write()
/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_dp.c1899 pattern = sysfs_match_string(test_pattern_str, buf); in zynqmp_dp_pattern_write()
/linux/drivers/ufs/core/
H A Dufs-sysfs.c481 mode = sysfs_match_string(wb_resize_en_mode, buf); in wb_resize_enable_store()
/linux/fs/btrfs/
H A Dsysfs.c1372 return sysfs_match_string(btrfs_read_policy_name, param); in btrfs_read_policy_to_enum()