Home
last modified time | relevance | path

Searched refs:attr_name_kobj (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/
H A Dpasswdobj-attributes.c394 * @attr_name_kobj: The parent kernel object
397 struct kobject *attr_name_kobj) in hp_populate_password_package_data()
401 password_data->attr_name_kobj = attr_name_kobj; in hp_populate_password_package_data()
408 attr_name_kobj->name, in hp_populate_password_package_data()
412 if (!strcmp(attr_name_kobj->name, SETUP_PASSWD)) in hp_populate_password_package_data()
413 return sysfs_create_group(attr_name_kobj, &password_attr_group); in hp_populate_password_package_data()
415 return sysfs_create_group(attr_name_kobj, &password_attr_group); in hp_populate_password_package_data()
504 * @attr_name_kobj: The parent kernel object
507 struct kobject *attr_name_kobj) in hp_populate_password_buffer_data()
396 hp_populate_password_package_data(union acpi_object *password_obj, int instance_id, struct kobject *attr_name_kobj) hp_populate_password_package_data() argument
506 hp_populate_password_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, struct kobject *attr_name_kobj) hp_populate_password_buffer_data() argument
541 struct kobject *attr_name_kobj = hp_exit_password_attributes() local
[all...]
H A Dorder-list-attributes.c306 * @attr_name_kobj: The parent kernel object
309 struct kobject *attr_name_kobj) in hp_populate_ordered_list_package_data()
313 ordered_list_data->attr_name_kobj = attr_name_kobj; in hp_populate_ordered_list_package_data()
321 attr_name_kobj->name, in hp_populate_ordered_list_package_data()
324 return sysfs_create_group(attr_name_kobj, &ordered_list_attr_group); in hp_populate_ordered_list_package_data()
393 * @attr_name_kobj: The parent kernel object
396 struct kobject *attr_name_kobj) in hp_populate_ordered_list_buffer_data()
401 ordered_list_data->attr_name_kobj = attr_name_kobj; in hp_populate_ordered_list_buffer_data()
308 hp_populate_ordered_list_package_data(union acpi_object *order_obj, int instance_id, struct kobject *attr_name_kobj) hp_populate_ordered_list_package_data() argument
395 hp_populate_ordered_list_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, struct kobject *attr_name_kobj) hp_populate_ordered_list_buffer_data() argument
430 struct kobject *attr_name_kobj = hp_exit_ordered_list_attributes() local
[all...]
H A Denum-attributes.c309 * @attr_name_kobj: The parent kernel object
313 struct kobject *attr_name_kobj) in hp_populate_enumeration_package_data()
317 enum_data->attr_name_kobj = attr_name_kobj; in hp_populate_enumeration_package_data()
329 attr_name_kobj->name, in hp_populate_enumeration_package_data()
332 return sysfs_create_group(attr_name_kobj, &enumeration_attr_group); in hp_populate_enumeration_package_data()
405 * @attr_name_kobj: The parent kernel object
409 struct kobject *attr_name_kobj) in hp_populate_enumeration_buffer_data()
414 enum_data->attr_name_kobj = attr_name_kobj; in hp_populate_enumeration_buffer_data()
311 hp_populate_enumeration_package_data(union acpi_object *enum_obj, int instance_id, struct kobject *attr_name_kobj) hp_populate_enumeration_package_data() argument
407 hp_populate_enumeration_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, struct kobject *attr_name_kobj) hp_populate_enumeration_buffer_data() argument
448 struct kobject *attr_name_kobj = enum_data->attr_name_kobj; hp_exit_enumeration_attributes() local
[all...]
H A Dint-attributes.c282 * @attr_name_kobj: The parent kernel object
286 struct kobject *attr_name_kobj) in hp_populate_integer_package_data()
290 integer_data->attr_name_kobj = attr_name_kobj; in hp_populate_integer_package_data()
297 attr_name_kobj->name, in hp_populate_integer_package_data()
300 return sysfs_create_group(attr_name_kobj, &integer_attr_group); in hp_populate_integer_package_data()
371 * @attr_name_kobj: The parent kernel object
374 struct kobject *attr_name_kobj) in hp_populate_integer_buffer_data()
379 integer_data->attr_name_kobj = attr_name_kobj; in hp_populate_integer_buffer_data()
284 hp_populate_integer_package_data(union acpi_object *integer_obj, int instance_id, struct kobject *attr_name_kobj) hp_populate_integer_package_data() argument
373 hp_populate_integer_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, struct kobject *attr_name_kobj) hp_populate_integer_buffer_data() argument
408 struct kobject *attr_name_kobj = hp_exit_integer_attributes() local
[all...]
H A Dstring-attributes.c271 * @attr_name_kobj: The parent kernel object
275 struct kobject *attr_name_kobj) in hp_populate_string_package_data()
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()
348 * @attr_name_kobj: The parent kernel object
352 struct kobject *attr_name_kobj) in hp_populate_string_buffer_data()
357 string_data->attr_name_kobj = attr_name_kobj; in hp_populate_string_buffer_data()
273 hp_populate_string_package_data(union acpi_object *string_obj, int instance_id, struct kobject *attr_name_kobj) hp_populate_string_package_data() argument
350 hp_populate_string_buffer_data(u8 *buffer_ptr, u32 *buffer_size, int instance_id, struct kobject *attr_name_kobj) hp_populate_string_buffer_data() argument
385 struct kobject *attr_name_kobj = hp_exit_string_attributes() local
[all...]
H 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
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 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()
380 return sysfs_create_group(attr_name_kobj, &secure_platform_attr_group); in hp_populate_secure_platform_data()
/kernel/linux/linux-6.6/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
163 struct kobject *attr_name_kobj, u32 enum_property_count);
168 struct kobject *attr_name_kobj);
172 int populate_str_data(union acpi_object *str_obj, int instance_id, struct kobject *attr_name_kobj);
176 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj);
H A Dpassobj-attributes.c157 * @attr_name_kobj: The parent kernel object
159 int populate_po_data(union acpi_object *po_obj, int instance_id, struct kobject *attr_name_kobj) in populate_po_data() argument
161 wmi_priv.po_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_po_data()
175 return sysfs_create_group(attr_name_kobj, &po_attr_group); in populate_po_data()
188 if (wmi_priv.po_data[instance_id].attr_name_kobj) in exit_po_attributes()
189 sysfs_remove_group(wmi_priv.po_data[instance_id].attr_name_kobj, in exit_po_attributes()
H A Dstring-attributes.c123 * @attr_name_kobj: The parent kernel object
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()
155 return sysfs_create_group(attr_name_kobj, &str_attr_group); in populate_str_data()
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()
H A Dsysman.c393 struct kobject *attr_name_kobj; //individual attribute names in init_bios_attributes() local
464 attr_name_kobj = kzalloc(sizeof(*attr_name_kobj), GFP_KERNEL); in init_bios_attributes()
465 if (!attr_name_kobj) { in init_bios_attributes()
470 attr_name_kobj->kset = tmp_set; in init_bios_attributes()
472 retval = kobject_init_and_add(attr_name_kobj, &attr_name_ktype, NULL, "%s", in init_bios_attributes()
475 kobject_put(attr_name_kobj); in init_bios_attributes()
482 retval = populate_enum_data(elements, instance_id, attr_name_kobj, in init_bios_attributes()
486 retval = populate_int_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
489 retval = populate_str_data(elements, instance_id, attr_name_kobj); in init_bios_attributes()
[all...]
H A Denum-attributes.c134 * @attr_name_kobj: The parent kernel object
138 struct kobject *attr_name_kobj, u32 enum_property_count) in populate_enum_data()
142 wmi_priv.enumeration_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_enum_data()
200 return sysfs_create_group(attr_name_kobj, &enumeration_attr_group); in populate_enum_data()
213 if (wmi_priv.enumeration_data[instance_id].attr_name_kobj) in exit_enum_attributes()
214 sysfs_remove_group(wmi_priv.enumeration_data[instance_id].attr_name_kobj, in exit_enum_attributes()
137 populate_enum_data(union acpi_object *enumeration_obj, int instance_id, struct kobject *attr_name_kobj, u32 enum_property_count) populate_enum_data() argument
H A Dint-attributes.c138 * @attr_name_kobj: The parent kernel object
141 struct kobject *attr_name_kobj) in populate_int_data()
143 wmi_priv.integer_data[instance_id].attr_name_kobj = attr_name_kobj; in populate_int_data()
177 return sysfs_create_group(attr_name_kobj, &integer_attr_group); in populate_int_data()
190 if (wmi_priv.integer_data[instance_id].attr_name_kobj) in exit_int_attributes()
191 sysfs_remove_group(wmi_priv.integer_data[instance_id].attr_name_kobj, in exit_int_attributes()
140 populate_int_data(union acpi_object *integer_obj, int instance_id, struct kobject *attr_name_kobj) populate_int_data() argument

Completed in 8 milliseconds