Lines Matching defs:value
40 * Description: Change the BIOS setting to the desired value using the SetBiosSetting
338 static int tlmi_opcode_setting(char *setting, const char *value)
343 opcode_str = kasprintf(GFP_KERNEL, "%s:%s;", setting, value);
352 static int tlmi_setting(int item, char **value, const char *guid_string)
364 ret = tlmi_extract_output_string(&output, value);
369 static int tlmi_get_bios_selections(const char *item, char **value)
384 ret = tlmi_extract_output_string(&output, value);
933 char *item, *value, *p;
940 /* validate and split from `item,value` -> `value` */
941 value = strpbrk(item, ",");
942 if (!value || value == item || !strlen(value + 1))
945 /* On Workstations remove the Options part after the value */
946 p = strchrnul(value, ';');
948 ret = sysfs_emit(buf, "%s\n", value + 1);
1466 /* Remove the value part */