Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_sysfs.c48 ret = sysfs_match_string(state_operations, buf); in state_store()
122 ret = sysfs_match_string(adf_cfg_services, buf); in cfg_services_store()
/openbmc/linux/drivers/acpi/
H A Dplatform_profile.c96 i = sysfs_match_string(profile_names, buf); in platform_profile_store()
H A Dbutton.c684 i = sysfs_match_string(lid_init_state_str, val); in param_set_lid_init_state()
/openbmc/linux/block/
H A Dblk-ioprio.c114 ret = sysfs_match_string(policy_name, buf); in ioprio_set_prio_policy()
/openbmc/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c374 con = sysfs_match_string(configurations, buf); in configuration_store()
471 ret = sysfs_match_string(pin_assignments, buf); in pin_assignment_store()
/openbmc/linux/drivers/leds/
H A Dleds-wm831x-status.c189 i = sysfs_match_string(led_src_texts, buf); in src_store()
/openbmc/linux/drivers/hwtracing/intel_th/
H A Dpti.c277 i = sysfs_match_string(lpp_dest_str, buf); in lpp_dest_store()
/openbmc/linux/include/linux/
H A Dstring.h237 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s) macro
/openbmc/linux/drivers/usb/roles/
H A Dclass.c254 ret = sysfs_match_string(usb_roles, buf); in role_store()
/openbmc/linux/drivers/usb/misc/
H A Dusbsevseg.c277 i = sysfs_match_string(display_textmodes, buf); in textmode_store()
/openbmc/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dsysman.c170 int type = sysfs_match_string(reset_types, buf); in reset_bios_store()
/openbmc/linux/drivers/usb/typec/
H A Dclass.c1387 role = sysfs_match_string(typec_roles, buf); in preferred_role_store()
1431 ret = sysfs_match_string(typec_data_roles, buf); in data_role_store()
1481 ret = sysfs_match_string(typec_roles, buf); in power_role_store()
1530 ret = sysfs_match_string(typec_port_power_roles, buf); in port_type_store()
/openbmc/linux/drivers/crypto/intel/qat/qat_4xxx/
H A Dadf_drv.c272 ret = sysfs_match_string(adf_cfg_services, services); in adf_gen4_dev_config()
/openbmc/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()
/openbmc/linux/drivers/power/supply/
H A Dpower_supply_sysfs.c563 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()
/openbmc/linux/drivers/gpio/
H A Dgpiolib-sysfs.c266 flags = sysfs_match_string(trigger_names, buf); in edge_store()
H A Dgpio-sim.c268 pull = sysfs_match_string(gpio_sim_sysfs_pull_strings, buf); in gpio_sim_sysfs_pull_store()
/openbmc/linux/drivers/platform/x86/
H A Dthink-lmi.c550 i = sysfs_match_string(encoding_options, buf); in encoding_store()
640 i = sysfs_match_string(level_options, buf); in level_store()
/openbmc/linux/drivers/scsi/
H A Dsd.c161 ct = sysfs_match_string(sd_cache_types, buf); in cache_type_store()
470 mode = sysfs_match_string(lbp_mode, buf); in provisioning_mode_store()
507 mode = sysfs_match_string(zeroing_mode, buf); in zeroing_mode_store()
/openbmc/linux/drivers/misc/
H A Dapds990x.c851 ret = sysfs_match_string(reporting_modes, buf); in apds990x_prox_reporting_mode_store()
/openbmc/linux/drivers/pci/pcie/
H A Daspm.c1218 i = sysfs_match_string(policy_str, val); in pcie_aspm_set_policy()
/openbmc/linux/drivers/platform/x86/intel/pmc/
H A Dcore.c868 mode = sysfs_match_string(pmc_lpm_modes, buf); in pmc_core_lpm_latch_mode_write()
/openbmc/linux/sound/soc/ti/
H A Domap-mcbsp.c581 i = sysfs_match_string(dma_op_modes, buf); in dma_op_mode_store()
/openbmc/linux/mm/
H A Dmemory_hotplug.c143 int ret = sysfs_match_string(online_policy_to_str, val); in set_online_policy()

12