Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/supply/
Dpower_supply_sysfs.c194 ret = sysfs_match_string(power_supply_status_text, buf); in power_supply_store_property()
197 ret = sysfs_match_string(power_supply_charge_type_text, buf); in power_supply_store_property()
200 ret = sysfs_match_string(power_supply_health_text, buf); in power_supply_store_property()
203 ret = sysfs_match_string(power_supply_technology_text, buf); in power_supply_store_property()
206 ret = sysfs_match_string(power_supply_capacity_level_text, buf); in power_supply_store_property()
209 ret = sysfs_match_string(power_supply_scope_text, buf); in power_supply_store_property()
Dtwl4030_charger.c672 mode = sysfs_match_string(modes, buf); in twl4030_bci_mode_store()
/Linux-v4.19/drivers/usb/typec/altmodes/
Ddisplayport.c338 con = sysfs_match_string(configurations, buf); in configuration_store()
423 ret = sysfs_match_string(pin_assignments, buf); in pin_assignment_store()
/Linux-v4.19/drivers/usb/common/
Droles.c172 ret = sysfs_match_string(usb_roles, buf); in role_store()
/Linux-v4.19/drivers/leds/
Dleds-wm831x-status.c193 i = sysfs_match_string(led_src_texts, buf); in wm831x_status_src_store()
/Linux-v4.19/drivers/usb/typec/
Dclass.c957 role = sysfs_match_string(typec_roles, buf); in preferred_role_store()
1001 ret = sysfs_match_string(typec_data_roles, buf); in data_role_store()
1056 ret = sysfs_match_string(typec_roles, buf); in power_role_store()
1104 ret = sysfs_match_string(typec_port_power_roles, buf); in port_type_store()
/Linux-v4.19/drivers/usb/misc/
Dusbsevseg.c303 i = sysfs_match_string(display_textmodes, buf); in textmode_store()
/Linux-v4.19/include/linux/
Dstring.h194 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s) macro
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Dmanager-sysfs.c188 r = sysfs_match_string(trans_key_type_str, buf); in manager_trans_key_type_store()
/Linux-v4.19/drivers/block/
Dvirtio_blk.c557 i = sysfs_match_string(virtblk_cache_types, buf); in virtblk_cache_type_store()
/Linux-v4.19/drivers/scsi/
Dsd.c181 ct = sysfs_match_string(sd_cache_types, buf); in cache_type_store()
409 mode = sysfs_match_string(lbp_mode, buf); in provisioning_mode_store()
446 mode = sysfs_match_string(zeroing_mode, buf); in zeroing_mode_store()
/Linux-v4.19/drivers/pci/pcie/
Daspm.c1130 i = sysfs_match_string(policy_str, val); in pcie_aspm_set_policy()
/Linux-v4.19/sound/soc/omap/
Dmcbsp.c840 i = sysfs_match_string(dma_op_modes, buf); in dma_op_mode_store()
/Linux-v4.19/drivers/misc/
Dapds990x.c866 ret = sysfs_match_string(reporting_modes, buf); in apds990x_prox_reporting_mode_store()