Searched refs:sysfs_match_string (Results  1 – 15 of 15) sorted by relevance
| /Linux-v5.4/drivers/power/supply/ | 
| D | power_supply_sysfs.c | 194 		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()
 
 | 
| D | twl4030_charger.c | 694 	mode = sysfs_match_string(modes, buf);  in twl4030_bci_mode_store()
 | 
| /Linux-v5.4/drivers/usb/typec/altmodes/ | 
| D | displayport.c | 334 	con = sysfs_match_string(configurations, buf);  in configuration_store()419 	ret = sysfs_match_string(pin_assignments, buf);  in pin_assignment_store()
 
 | 
| /Linux-v5.4/drivers/leds/ | 
| D | leds-wm831x-status.c | 189 	i = sysfs_match_string(led_src_texts, buf);  in wm831x_status_src_store()
 | 
| /Linux-v5.4/drivers/usb/typec/ | 
| D | class.c | 963 	role = sysfs_match_string(typec_roles, buf);  in preferred_role_store()1007 	ret = sysfs_match_string(typec_data_roles, buf);  in data_role_store()
 1062 	ret = sysfs_match_string(typec_roles, buf);  in power_role_store()
 1110 	ret = sysfs_match_string(typec_port_power_roles, buf);  in port_type_store()
 
 | 
| /Linux-v5.4/drivers/usb/roles/ | 
| D | class.c | 211 	ret = sysfs_match_string(usb_roles, buf);  in role_store()
 | 
| /Linux-v5.4/drivers/hwtracing/intel_th/ | 
| D | pti.c | 277 	i = sysfs_match_string(lpp_dest_str, buf);  in lpp_dest_store()
 | 
| /Linux-v5.4/drivers/usb/misc/ | 
| D | usbsevseg.c | 303 	i = sysfs_match_string(display_textmodes, buf);  in textmode_store()
 | 
| /Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ | 
| D | manager-sysfs.c | 177 	r = sysfs_match_string(trans_key_type_str, buf);  in manager_trans_key_type_store()
 | 
| /Linux-v5.4/include/linux/ | 
| D | string.h | 208 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s)  macro
 | 
| /Linux-v5.4/drivers/scsi/ | 
| D | sd.c | 184 	ct = sysfs_match_string(sd_cache_types, buf);  in cache_type_store()418 	mode = sysfs_match_string(lbp_mode, buf);  in provisioning_mode_store()
 455 	mode = sysfs_match_string(zeroing_mode, buf);  in zeroing_mode_store()
 
 | 
| /Linux-v5.4/drivers/block/ | 
| D | virtio_blk.c | 627 	i = sysfs_match_string(virtblk_cache_types, buf);  in cache_type_store()
 | 
| /Linux-v5.4/drivers/pci/pcie/ | 
| D | aspm.c | 1140 	i = sysfs_match_string(policy_str, val);  in pcie_aspm_set_policy()
 | 
| /Linux-v5.4/drivers/misc/ | 
| D | apds990x.c | 851 	ret = sysfs_match_string(reporting_modes, buf);  in apds990x_prox_reporting_mode_store()
 | 
| /Linux-v5.4/sound/soc/ti/ | 
| D | omap-mcbsp.c | 583 	i = sysfs_match_string(dma_op_modes, buf);  in dma_op_mode_store()
 |