Home
last modified time | relevance | path

Searched refs:str_value (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Denum-attributes.c130 char *str_value = NULL; in hp_populate_enumeration_elements_from_package() local
151 &str_value, &value_len); in hp_populate_enumeration_elements_from_package()
168 kfree(str_value); in hp_populate_enumeration_elements_from_package()
178 strscpy(enum_data->common.path, str_value); in hp_populate_enumeration_elements_from_package()
220 &str_value, &value_len); in hp_populate_enumeration_elements_from_package()
225 strscpy(enum_data->common.prerequisites[reqs], str_value); in hp_populate_enumeration_elements_from_package()
227 kfree(str_value); in hp_populate_enumeration_elements_from_package()
228 str_value = NULL; in hp_populate_enumeration_elements_from_package()
237 strscpy(enum_data->current_value, str_value); in hp_populate_enumeration_elements_from_package()
268 &str_value, &value_len); in hp_populate_enumeration_elements_from_package()
[all …]
H A Dorder-list-attributes.c130 char *str_value = NULL; in hp_populate_ordered_list_elements_from_package() local
155 &str_value, &value_len); in hp_populate_ordered_list_elements_from_package()
172 kfree(str_value); in hp_populate_ordered_list_elements_from_package()
179 strscpy(ordered_list_data->current_value, str_value); in hp_populate_ordered_list_elements_from_package()
183 strscpy(ordered_list_data->common.path, str_value); in hp_populate_ordered_list_elements_from_package()
225 &str_value, &value_len); in hp_populate_ordered_list_elements_from_package()
230 strscpy(ordered_list_data->common.prerequisites[reqs], str_value); in hp_populate_ordered_list_elements_from_package()
232 kfree(str_value); in hp_populate_ordered_list_elements_from_package()
233 str_value = NULL; in hp_populate_ordered_list_elements_from_package()
264 ret = hp_convert_hexstr_to_str(str_value, value_len, &tmpstr, &tmp_len); in hp_populate_ordered_list_elements_from_package()
[all …]
H A Dstring-attributes.c133 char *str_value = NULL; in hp_populate_string_elements_from_package() local
156 &str_value, &value_len); in hp_populate_string_elements_from_package()
174 kfree(str_value); in hp_populate_string_elements_from_package()
181 strscpy(string_data->current_value, str_value); in hp_populate_string_elements_from_package()
184 strscpy(string_data->common.path, str_value); in hp_populate_string_elements_from_package()
227 &str_value, &value_len); in hp_populate_string_elements_from_package()
232 strscpy(string_data->common.prerequisites[reqs], str_value); in hp_populate_string_elements_from_package()
233 kfree(str_value); in hp_populate_string_elements_from_package()
234 str_value = NULL; in hp_populate_string_elements_from_package()
252 kfree(str_value); in hp_populate_string_elements_from_package()
[all …]
H A Dpasswdobj-attributes.c221 char *str_value = NULL; in hp_populate_password_elements_from_package() local
245 &str_value, &value_len); in hp_populate_password_elements_from_package()
262 kfree(str_value); in hp_populate_password_elements_from_package()
271 strscpy(password_data->common.path, str_value); in hp_populate_password_elements_from_package()
313 &str_value, &value_len); in hp_populate_password_elements_from_package()
318 strscpy(password_data->common.prerequisites[reqs], str_value); in hp_populate_password_elements_from_package()
320 kfree(str_value); in hp_populate_password_elements_from_package()
321 str_value = NULL; in hp_populate_password_elements_from_package()
356 &str_value, &value_len); in hp_populate_password_elements_from_package()
360 strscpy(password_data->encodings[pos_values], str_value); in hp_populate_password_elements_from_package()
[all …]
H A Dint-attributes.c143 char *str_value = NULL; in hp_populate_integer_elements_from_package() local
166 &str_value, &value_len); in hp_populate_integer_elements_from_package()
182 kfree(str_value); in hp_populate_integer_elements_from_package()
188 ret = kstrtoint(str_value, 10, &int_value); in hp_populate_integer_elements_from_package()
195 strscpy(integer_data->common.path, str_value); in hp_populate_integer_elements_from_package()
237 &str_value, &value_len); in hp_populate_integer_elements_from_package()
242 strscpy(integer_data->common.prerequisites[reqs], str_value); in hp_populate_integer_elements_from_package()
243 kfree(str_value); in hp_populate_integer_elements_from_package()
244 str_value = NULL; in hp_populate_integer_elements_from_package()
265 kfree(str_value); in hp_populate_integer_elements_from_package()
[all …]
H A Dbioscfg.c659 char *str_value = NULL; in hp_init_bios_package_attribute() local
690 &str_value, &str_len); in hp_init_bios_package_attribute()
695 kfree(str_value); in hp_init_bios_package_attribute()
699 if (!str_value || !str_value[0]) { in hp_init_bios_package_attribute()
705 duplicate = kset_find_obj(temp_kset, str_value); in hp_init_bios_package_attribute()
707 pr_debug("Duplicate attribute name found - %s\n", str_value); in hp_init_bios_package_attribute()
723 NULL, "%s", str_value); in hp_init_bios_package_attribute()
763 kfree(str_value); in hp_init_bios_package_attribute()
777 char *str_value = NULL; in hp_init_bios_buffer_attribute() local
870 kfree(str_value); in hp_init_bios_buffer_attribute()
/linux/tools/testing/selftests/hid/tests/
H A Dbase_device.py66 def str_value(self) -> str: member in SysfsFile
69 @str_value.setter
70 def str_value(self, v: str) -> None: member in SysfsFile
102 return self._status.str_value
106 return self._type.str_value
/linux/drivers/iio/accel/
H A Dst_accel_core.c1510 char *str_value; in apply_acpi_orientation() local
1514 str_value = "-1"; in apply_acpi_orientation()
1517 str_value = "0"; in apply_acpi_orientation()
1520 str_value = "1"; in apply_acpi_orientation()
1525 adata->mount_matrix.rotation[i * 3 + j] = str_value; in apply_acpi_orientation()
/linux/fs/smb/client/
H A Dsess.c746 char *str_value, in cifs_security_buffer_from_str() argument
761 if (!str_value) { in cifs_security_buffer_from_str()
768 str_value, in cifs_security_buffer_from_str()