| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | bioscfg.c | 585 struct kobject *attr_name_kobj; in hp_add_other_attributes() local 589 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() 598 attr_name_kobj->kset = bioscfg_drv.authentication_dir_kset; in hp_add_other_attributes() 603 attr_name_kobj->kset = bioscfg_drv.main_dir_kset; in hp_add_other_attributes() 610 kfree(attr_name_kobj); in hp_add_other_attributes() 614 ret = kobject_init_and_add(attr_name_kobj, &attr_name_ktype, in hp_add_other_attributes() 624 ret = hp_populate_secure_platform_data(attr_name_kobj); in hp_add_other_attributes() 628 ret = hp_populate_sure_start_data(attr_name_kobj); in hp_add_other_attributes() 642 kobject_put(attr_name_kobj); in hp_add_other_attributes() [all …]
|
| H A D | bioscfg.h | 133 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 289 if (!strcmp(kobj->name, bioscfg_drv.type##_data[i].attr_name_kobj->name)) \ 398 struct kobject *attr_name_kobj); 403 struct kobject *attr_name_kobj); 408 struct kobject *attr_name_kobj); [all …]
|
| H A D | string-attributes.c | 271 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() 367 return sysfs_create_group(attr_name_kobj, &string_attr_group); 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() [all …]
|
| H A D | passwdobj-attributes.c | 392 struct kobject *attr_name_kobj) in hp_populate_password_package_data() argument 396 password_data->attr_name_kobj = attr_name_kobj; in hp_populate_password_package_data() 403 attr_name_kobj->name, in hp_populate_password_package_data() 407 if (!strcmp(attr_name_kobj->name, SETUP_PASSWD)) in hp_populate_password_package_data() 408 return sysfs_create_group(attr_name_kobj, &password_attr_group); in hp_populate_password_package_data() 410 return sysfs_create_group(attr_name_kobj, &password_attr_group); in hp_populate_password_package_data() 502 struct kobject *attr_name_kobj) in hp_populate_password_buffer_data() argument 507 password_data->attr_name_kobj = attr_name_kobj; in hp_populate_password_buffer_data() 516 attr_name_kobj->name, in hp_populate_password_buffer_data() 519 if (!strcmp(attr_name_kobj->name, SETUP_PASSWD)) in hp_populate_password_buffer_data() [all …]
|
| H A D | order-list-attributes.c | 306 struct kobject *attr_name_kobj) in hp_populate_ordered_list_package_data() argument 310 ordered_list_data->attr_name_kobj = attr_name_kobj; in hp_populate_ordered_list_package_data() 318 attr_name_kobj->name, in hp_populate_ordered_list_package_data() 321 return sysfs_create_group(attr_name_kobj, &ordered_list_attr_group); in hp_populate_ordered_list_package_data() 393 struct kobject *attr_name_kobj) in hp_populate_ordered_list_buffer_data() argument 398 ordered_list_data->attr_name_kobj = attr_name_kobj; in hp_populate_ordered_list_buffer_data() 409 attr_name_kobj->name, in hp_populate_ordered_list_buffer_data() 413 return sysfs_create_group(attr_name_kobj, &ordered_list_attr_group); in hp_populate_ordered_list_buffer_data() 427 struct kobject *attr_name_kobj = in hp_exit_ordered_list_attributes() local 428 bioscfg_drv.ordered_list_data[instance_id].attr_name_kobj; in hp_exit_ordered_list_attributes() [all …]
|
| H A D | enum-attributes.c | 305 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 …]
|
| H A D | int-attributes.c | 283 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() 391 return sysfs_create_group(attr_name_kobj, &integer_attr_group); 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() [all …]
|
| H A D | surestart-attributes.c | 128 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 D | spmobj-attributes.c | 358 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 D | dell-wmi-sysman.h | 27 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 D | sysman.c | 392 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()
|
| H A D | passobj-attributes.c | 160 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()
|
| H A D | string-attributes.c | 126 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 D | int-attributes.c | 142 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()
|
| H A D | enum-attributes.c | 139 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()
|