Lines Matching refs:instance_id

17 	int instance_id = get_str_instance_id(kobj);  in current_value_show()  local
21 if (instance_id < 0) in current_value_show()
25 obj = get_wmiobj_pointer(instance_id, DELL_WMI_BIOS_STRING_ATTRIBUTE_GUID); in current_value_show()
42 static int validate_str_input(int instance_id, const char *buf) in validate_str_input() argument
46 if ((in_len < wmi_priv.str_data[instance_id].min_length) || in validate_str_input()
47 (in_len > wmi_priv.str_data[instance_id].max_length)) in validate_str_input()
125 int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj) in populate_str_data() argument
127 wmi_priv.str_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_str_data()
130 strlcpy_attr(wmi_priv.str_data[instance_id].attribute_name, in populate_str_data()
134 strlcpy_attr(wmi_priv.str_data[instance_id].display_name_language_code, in populate_str_data()
138 strlcpy_attr(wmi_priv.str_data[instance_id].display_name, in populate_str_data()
142 strlcpy_attr(wmi_priv.str_data[instance_id].default_value, in populate_str_data()
146 strlcpy_attr(wmi_priv.str_data[instance_id].dell_modifier, in populate_str_data()
150 wmi_priv.str_data[instance_id].min_length = (uintptr_t)str_obj[MIN_LEN].string.pointer; in populate_str_data()
153 wmi_priv.str_data[instance_id].max_length = (uintptr_t) str_obj[MAX_LEN].string.pointer; in populate_str_data()
165 int instance_id; in exit_str_attributes() local
167 for (instance_id = 0; instance_id < wmi_priv.str_instances_count; instance_id++) { in exit_str_attributes()
168 if (wmi_priv.str_data[instance_id].attr_name_kobj) in exit_str_attributes()
169 sysfs_remove_group(wmi_priv.str_data[instance_id].attr_name_kobj, in exit_str_attributes()