Home
last modified time | relevance | path

Searched refs:attr_name_kobj (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.c587 struct kobject *attr_name_kobj; in hp_add_other_attributes() local
591 attr_name_kobj = kzalloc_obj(*attr_name_kobj); in hp_add_other_attributes()
592 if (!attr_name_kobj) in hp_add_other_attributes()
600 attr_name_kobj->kset = bioscfg_drv.authentication_dir_kset; in hp_add_other_attributes()
605 attr_name_kobj->kset = bioscfg_drv.main_dir_kset; in hp_add_other_attributes()
612 kfree(attr_name_kobj); in hp_add_other_attributes()
616 ret = kobject_init_and_add(attr_name_kobj, &attr_name_ktype, in hp_add_other_attributes()
626 ret = hp_populate_secure_platform_data(attr_name_kobj); in hp_add_other_attributes()
630 ret = hp_populate_sure_start_data(attr_name_kobj); in hp_add_other_attributes()
644 kobject_put(attr_name_kobj); in hp_add_other_attributes()
[all …]
H A Dbioscfg.h134 struct kobject *attr_name_kobj; member
143 struct kobject *attr_name_kobj; member
153 struct kobject *attr_name_kobj; member
162 struct kobject *attr_name_kobj; member
171 struct kobject *attr_name_kobj; member
196 struct kobject *attr_name_kobj; member
293 if (bioscfg_drv.type##_data[i].attr_name_kobj && \
294 !strcmp(kobj->name, bioscfg_drv.type##_data[i].attr_name_kobj->name)) \
403 struct kobject *attr_name_kobj);
409 struct kobject *attr_name_kobj);
[all …]
H A Dstring-attributes.c275 struct kobject *attr_name_kobj) in hp_populate_string_package_data() argument
279 string_data->attr_name_kobj = attr_name_kobj; in hp_populate_string_package_data()
288 attr_name_kobj->name, in hp_populate_string_package_data()
291 return sysfs_create_group(attr_name_kobj, &string_attr_group); in hp_populate_string_package_data()
352 struct kobject *attr_name_kobj) in hp_populate_string_buffer_data() argument
357 string_data->attr_name_kobj = attr_name_kobj; in hp_populate_string_buffer_data()
367 attr_name_kobj->name, in hp_populate_string_buffer_data()
371 return sysfs_create_group(attr_name_kobj, &string_attr_group); in hp_populate_string_buffer_data()
385 struct kobject *attr_name_kobj = in hp_exit_string_attributes() local
386 bioscfg_drv.string_data[instance_id].attr_name_kobj; in hp_exit_string_attributes()
[all …]
H A Dpasswdobj-attributes.c403 struct kobject *attr_name_kobj) in hp_populate_password_package_data() argument
407 password_data->attr_name_kobj = attr_name_kobj; in hp_populate_password_package_data()
414 attr_name_kobj->name, in hp_populate_password_package_data()
418 if (!strcmp(attr_name_kobj->name, SETUP_PASSWD)) in hp_populate_password_package_data()
419 return sysfs_create_group(attr_name_kobj, &password_attr_group); in hp_populate_password_package_data()
421 return sysfs_create_group(attr_name_kobj, &password_attr_group); in hp_populate_password_package_data()
513 struct kobject *attr_name_kobj) in hp_populate_password_buffer_data() argument
518 password_data->attr_name_kobj = attr_name_kobj; in hp_populate_password_buffer_data()
527 attr_name_kobj->name, in hp_populate_password_buffer_data()
530 if (!strcmp(attr_name_kobj->name, SETUP_PASSWD)) in hp_populate_password_buffer_data()
[all …]
H A Denum-attributes.c315 struct kobject *attr_name_kobj) in hp_populate_enumeration_package_data() argument
319 enum_data->attr_name_kobj = attr_name_kobj; in hp_populate_enumeration_package_data()
331 attr_name_kobj->name, in hp_populate_enumeration_package_data()
334 return sysfs_create_group(attr_name_kobj, &enumeration_attr_group); in hp_populate_enumeration_package_data()
411 struct kobject *attr_name_kobj) in hp_populate_enumeration_buffer_data() argument
416 enum_data->attr_name_kobj = attr_name_kobj; in hp_populate_enumeration_buffer_data()
431 attr_name_kobj->name, in hp_populate_enumeration_buffer_data()
435 return sysfs_create_group(attr_name_kobj, &enumeration_attr_group); in hp_populate_enumeration_buffer_data()
450 struct kobject *attr_name_kobj = enum_data->attr_name_kobj; in hp_exit_enumeration_attributes() local
452 if (attr_name_kobj) in hp_exit_enumeration_attributes()
[all …]
H A Dorder-list-attributes.c311 struct kobject *attr_name_kobj) in hp_populate_ordered_list_package_data() argument
315 ordered_list_data->attr_name_kobj = attr_name_kobj; in hp_populate_ordered_list_package_data()
323 attr_name_kobj->name, in hp_populate_ordered_list_package_data()
326 return sysfs_create_group(attr_name_kobj, &ordered_list_attr_group); in hp_populate_ordered_list_package_data()
398 struct kobject *attr_name_kobj) in hp_populate_ordered_list_buffer_data() argument
403 ordered_list_data->attr_name_kobj = attr_name_kobj; in hp_populate_ordered_list_buffer_data()
414 attr_name_kobj->name, in hp_populate_ordered_list_buffer_data()
418 return sysfs_create_group(attr_name_kobj, &ordered_list_attr_group); in hp_populate_ordered_list_buffer_data()
432 struct kobject *attr_name_kobj = in hp_exit_ordered_list_attributes() local
433 bioscfg_drv.ordered_list_data[instance_id].attr_name_kobj; in hp_exit_ordered_list_attributes()
[all …]
H A Dint-attributes.c287 struct kobject *attr_name_kobj) in hp_populate_integer_package_data() argument
291 integer_data->attr_name_kobj = attr_name_kobj; in hp_populate_integer_package_data()
298 attr_name_kobj->name, in hp_populate_integer_package_data()
301 return sysfs_create_group(attr_name_kobj, &integer_attr_group); in hp_populate_integer_package_data()
375 struct kobject *attr_name_kobj) in hp_populate_integer_buffer_data() argument
380 integer_data->attr_name_kobj = attr_name_kobj; in hp_populate_integer_buffer_data()
391 attr_name_kobj->name, in hp_populate_integer_buffer_data()
395 return sysfs_create_group(attr_name_kobj, &integer_attr_group); in hp_populate_integer_buffer_data()
409 struct kobject *attr_name_kobj = in hp_exit_integer_attributes() local
410 bioscfg_drv.integer_data[instance_id].attr_name_kobj; in hp_exit_integer_attributes()
[all …]
H A Dsurestart-attributes.c128 int hp_populate_sure_start_data(struct kobject *attr_name_kobj) in hp_populate_sure_start_data() argument
130 bioscfg_drv.sure_start_attr_kobj = attr_name_kobj; in hp_populate_sure_start_data()
131 return sysfs_create_group(attr_name_kobj, &sure_start_attr_group); in hp_populate_sure_start_data()
H A Dspmobj-attributes.c358 if (bioscfg_drv.spm_data.attr_name_kobj) in hp_exit_secure_platform_attributes()
359 sysfs_remove_group(bioscfg_drv.spm_data.attr_name_kobj, in hp_exit_secure_platform_attributes()
363 int hp_populate_secure_platform_data(struct kobject *attr_name_kobj) in hp_populate_secure_platform_data() argument
366 bioscfg_drv.spm_data.attr_name_kobj = attr_name_kobj; in hp_populate_secure_platform_data()
379 return sysfs_create_group(attr_name_kobj, &secure_platform_attr_group); in hp_populate_secure_platform_data()
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Ddell-wmi-sysman.h27 struct kobject *attr_name_kobj; member
38 struct kobject *attr_name_kobj; member
50 struct kobject *attr_name_kobj; member
61 struct kobject *attr_name_kobj; member
168 struct kobject *attr_name_kobj, u32 enum_property_count);
173 struct kobject *attr_name_kobj);
177 int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj);
181 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj);
H A Dstring-attributes.c126 int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj) in populate_str_data() argument
128 wmi_priv.str_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_str_data()
156 return sysfs_create_group(attr_name_kobj, &str_attr_group); in populate_str_data()
169 if (wmi_priv.str_data[instance_id].attr_name_kobj) in exit_str_attributes()
170 sysfs_remove_group(wmi_priv.str_data[instance_id].attr_name_kobj, in exit_str_attributes()
H A Dpassobj-attributes.c161 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj) in populate_po_data() argument
163 wmi_priv.po_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_po_data()
177 return sysfs_create_group(attr_name_kobj, &po_attr_group); in populate_po_data()
190 if (wmi_priv.po_data[instance_id].attr_name_kobj) in exit_po_attributes()
191 sysfs_remove_group(wmi_priv.po_data[instance_id].attr_name_kobj, in exit_po_attributes()
H A Dint-attributes.c142 struct kobject *attr_name_kobj) in populate_int_data() argument
144 wmi_priv.integer_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_int_data()
178 return sysfs_create_group(attr_name_kobj, &integer_attr_group); in populate_int_data()
191 if (wmi_priv.integer_data[instance_id].attr_name_kobj) in exit_int_attributes()
192 sysfs_remove_group(wmi_priv.integer_data[instance_id].attr_name_kobj, in exit_int_attributes()