Home
last modified time | relevance | path

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

12

/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_sysfs_rl.c297 ret = sysfs_match_string(rl_services, buf); in srv_store()
341 ret = sysfs_match_string(rl_services, buf); in cap_rem_store()
367 ret = sysfs_match_string(rl_operations, buf); in sla_op_store()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_debugfs.c188 log_level = sysfs_match_string(ice_fwlog_level_string, user_val); in ice_debugfs_module_write()
439 index = sysfs_match_string(ice_fwlog_log_size, user_val); in ice_debugfs_log_size_write()
/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.c700 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/usb/typec/altmodes/
H A Ddisplayport.c526 con = sysfs_match_string(configurations, buf); in configuration_store()
623 ret = sysfs_match_string(pin_assignments, buf); in pin_assignment_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/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/
H A Dthink-lmi.c553 i = sysfs_match_string(encoding_options, buf); in encoding_store()
643 i = sysfs_match_string(level_options, buf); in level_store()
1248 cmd = sysfs_match_string(save_mode_strings, buf); in save_settings_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/drivers/power/supply/
H A Dpower_supply_sysfs.c613 int i = sysfs_match_string(POWER_SUPPLY_CHARGE_BEHAVIOUR_TEXT, buf); in power_supply_charge_behaviour_parse()
H A Dtwl4030_charger.c695 mode = sysfs_match_string(modes, buf); in twl4030_bci_mode_store()
/linux/arch/x86/platform/uv/
H A Duv_nmi.c221 i = sysfs_match_string(actions, val); in param_set_action()
/linux/drivers/gpio/
H A Dgpiolib-sysfs.c272 flags = sysfs_match_string(trigger_names, buf); in edge_store()
H A Dgpio-sim.c326 pull = sysfs_match_string(gpio_sim_sysfs_pull_strings, buf); in gpio_sim_sysfs_pull_store()
/linux/kernel/power/
H A Dhibernate.c1479 index = sysfs_match_string(comp_alg_enabled, compressor); in hibernate_compressor_param_set()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c84 index = sysfs_match_string(t7xx_mode_names, buf); in t7xx_mode_store()
/linux/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c279 res = sysfs_match_string(fip_conn_type_names, buf); in store_ctlr_mode()
/linux/drivers/platform/cznic/
H A Dturris-omnia-mcu-gpio.c978 i = sysfs_match_string(front_button_modes, buf); in front_button_mode_store()
/linux/drivers/scsi/
H A Dsd.c165 ct = sysfs_match_string(sd_cache_types, buf); in cache_type_store()
479 mode = sysfs_match_string(lbp_mode, buf); in provisioning_mode_store()
519 mode = sysfs_match_string(zeroing_mode, buf); in zeroing_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/drivers/pci/pcie/
H A Daspm.c1517 i = sysfs_match_string(policy_str, val); in pcie_aspm_set_policy()

12