Home
last modified time | relevance | path

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

/drivers/platform/x86/hp/hp-bioscfg/
A Dbioscfg.c589 attr_name_kobj = kzalloc(sizeof(*attr_name_kobj), GFP_KERNEL); in hp_add_other_attributes()
590 if (!attr_name_kobj) in hp_add_other_attributes()
610 kfree(attr_name_kobj); in hp_add_other_attributes()
707 attr_name_kobj = kzalloc(sizeof(*attr_name_kobj), GFP_KERNEL); in hp_init_bios_package_attribute()
708 if (!attr_name_kobj) { in hp_init_bios_package_attribute()
738 attr_name_kobj); in hp_init_bios_package_attribute()
748 attr_name_kobj); in hp_init_bios_package_attribute()
800 attr_name_kobj = kzalloc(sizeof(*attr_name_kobj), GFP_KERNEL); in hp_init_bios_buffer_attribute()
801 if (!attr_name_kobj) { in hp_init_bios_buffer_attribute()
837 attr_name_kobj); in hp_init_bios_buffer_attribute()
[all …]
A Dbioscfg.h133 struct kobject *attr_name_kobj; member
142 struct kobject *attr_name_kobj; member
152 struct kobject *attr_name_kobj; member
161 struct kobject *attr_name_kobj; member
170 struct kobject *attr_name_kobj; member
195 struct kobject *attr_name_kobj; member
398 struct kobject *attr_name_kobj);
418 struct kobject *attr_name_kobj);
423 struct kobject *attr_name_kobj);
429 struct kobject *attr_name_kobj);
[all …]
A Dstring-attributes.c271 struct kobject *attr_name_kobj) in hp_populate_string_package_data() argument
275 string_data->attr_name_kobj = attr_name_kobj; in hp_populate_string_package_data()
284 attr_name_kobj->name, in hp_populate_string_package_data()
287 return sysfs_create_group(attr_name_kobj, &string_attr_group); in hp_populate_string_package_data()
348 struct kobject *attr_name_kobj) in hp_populate_string_buffer_data() argument
353 string_data->attr_name_kobj = attr_name_kobj; in hp_populate_string_buffer_data()
363 attr_name_kobj->name, in hp_populate_string_buffer_data()
381 struct kobject *attr_name_kobj = in hp_exit_string_attributes() local
382 bioscfg_drv.string_data[instance_id].attr_name_kobj; in hp_exit_string_attributes()
384 if (attr_name_kobj) in hp_exit_string_attributes()
[all …]
A Dpasswdobj-attributes.c387 struct kobject *attr_name_kobj) in hp_populate_password_package_data() argument
391 password_data->attr_name_kobj = attr_name_kobj; in hp_populate_password_package_data()
398 attr_name_kobj->name, in hp_populate_password_package_data()
402 if (!strcmp(attr_name_kobj->name, SETUP_PASSWD)) in hp_populate_password_package_data()
497 struct kobject *attr_name_kobj) in hp_populate_password_buffer_data() argument
502 password_data->attr_name_kobj = attr_name_kobj; in hp_populate_password_buffer_data()
511 attr_name_kobj->name, in hp_populate_password_buffer_data()
514 if (!strcmp(attr_name_kobj->name, SETUP_PASSWD)) in hp_populate_password_buffer_data()
531 struct kobject *attr_name_kobj = in hp_exit_password_attributes() local
534 if (attr_name_kobj) in hp_exit_password_attributes()
[all …]
A Denum-attributes.c305 struct kobject *attr_name_kobj) in hp_populate_enumeration_package_data() argument
309 enum_data->attr_name_kobj = attr_name_kobj; in hp_populate_enumeration_package_data()
321 attr_name_kobj->name, in hp_populate_enumeration_package_data()
324 return sysfs_create_group(attr_name_kobj, &enumeration_attr_group); in hp_populate_enumeration_package_data()
401 struct kobject *attr_name_kobj) in hp_populate_enumeration_buffer_data() argument
406 enum_data->attr_name_kobj = attr_name_kobj; in hp_populate_enumeration_buffer_data()
421 attr_name_kobj->name, in hp_populate_enumeration_buffer_data()
425 return sysfs_create_group(attr_name_kobj, &enumeration_attr_group); in hp_populate_enumeration_buffer_data()
440 struct kobject *attr_name_kobj = enum_data->attr_name_kobj; in hp_exit_enumeration_attributes() local
442 if (attr_name_kobj) in hp_exit_enumeration_attributes()
[all …]
A Dint-attributes.c283 struct kobject *attr_name_kobj) in hp_populate_integer_package_data() argument
287 integer_data->attr_name_kobj = attr_name_kobj; in hp_populate_integer_package_data()
294 attr_name_kobj->name, in hp_populate_integer_package_data()
297 return sysfs_create_group(attr_name_kobj, &integer_attr_group); in hp_populate_integer_package_data()
371 struct kobject *attr_name_kobj) in hp_populate_integer_buffer_data() argument
376 integer_data->attr_name_kobj = attr_name_kobj; in hp_populate_integer_buffer_data()
387 attr_name_kobj->name, in hp_populate_integer_buffer_data()
405 struct kobject *attr_name_kobj = in hp_exit_integer_attributes() local
406 bioscfg_drv.integer_data[instance_id].attr_name_kobj; in hp_exit_integer_attributes()
408 if (attr_name_kobj) in hp_exit_integer_attributes()
[all …]
A Dorder-list-attributes.c301 struct kobject *attr_name_kobj) in hp_populate_ordered_list_package_data() argument
305 ordered_list_data->attr_name_kobj = attr_name_kobj; in hp_populate_ordered_list_package_data()
313 attr_name_kobj->name, in hp_populate_ordered_list_package_data()
316 return sysfs_create_group(attr_name_kobj, &ordered_list_attr_group); in hp_populate_ordered_list_package_data()
388 struct kobject *attr_name_kobj) in hp_populate_ordered_list_buffer_data() argument
393 ordered_list_data->attr_name_kobj = attr_name_kobj; in hp_populate_ordered_list_buffer_data()
404 attr_name_kobj->name, in hp_populate_ordered_list_buffer_data()
422 struct kobject *attr_name_kobj = in hp_exit_ordered_list_attributes() local
423 bioscfg_drv.ordered_list_data[instance_id].attr_name_kobj; in hp_exit_ordered_list_attributes()
425 if (attr_name_kobj) in hp_exit_ordered_list_attributes()
[all …]
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()
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()
/drivers/platform/x86/dell/dell-wmi-sysman/
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);
A Dsysman.c392 struct kobject *attr_name_kobj; //individual attribute names in init_bios_attributes() local
463 attr_name_kobj = kzalloc(sizeof(*attr_name_kobj), GFP_KERNEL); in init_bios_attributes()
464 if (!attr_name_kobj) { in init_bios_attributes()
469 attr_name_kobj->kset = tmp_set; in init_bios_attributes()
471 retval = kobject_init_and_add(attr_name_kobj, &attr_name_ktype, NULL, "%s", in init_bios_attributes()
474 kobject_put(attr_name_kobj); in init_bios_attributes()
481 retval = populate_enum_data(elements, instance_id, attr_name_kobj, in init_bios_attributes()
485 retval = populate_int_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
488 retval = populate_str_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
491 retval = populate_po_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
A Dpassobj-attributes.c160 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj) in populate_po_data() argument
162 wmi_priv.po_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_po_data()
176 return sysfs_create_group(attr_name_kobj, &po_attr_group); in populate_po_data()
189 if (wmi_priv.po_data[instance_id].attr_name_kobj) in exit_po_attributes()
190 sysfs_remove_group(wmi_priv.po_data[instance_id].attr_name_kobj, in exit_po_attributes()
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()
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()
A Denum-attributes.c139 struct kobject *attr_name_kobj, u32 enum_property_count) in populate_enum_data() argument
143 wmi_priv.enumeration_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_enum_data()
201 return sysfs_create_group(attr_name_kobj, &enumeration_attr_group); in populate_enum_data()
214 if (wmi_priv.enumeration_data[instance_id].attr_name_kobj) in exit_enum_attributes()
215 sysfs_remove_group(wmi_priv.enumeration_data[instance_id].attr_name_kobj, in exit_enum_attributes()

Completed in 24 milliseconds