Home
last modified time | relevance | path

Searched refs:tables_kobj (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/firmware/
H A Ddmi_scan.c769 struct kobject *tables_kobj; in dmi_init() local
785 tables_kobj = kobject_create_and_add("tables", dmi_kobj); in dmi_init()
786 if (!tables_kobj) in dmi_init()
795 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_smbios_entry_point); in dmi_init()
801 ret = sysfs_create_bin_file(tables_kobj, &bin_attr_DMI); in dmi_init()
805 sysfs_remove_bin_file(tables_kobj, in dmi_init()
810 kobject_del(tables_kobj); in dmi_init()
811 kobject_put(tables_kobj); in dmi_init()
/linux/drivers/acpi/
H A Dsysfs.c300 static struct kobject *tables_kobj; variable
514 tables_kobj = kobject_create_and_add("tables", acpi_kobj); in acpi_tables_sysfs_init()
515 if (!tables_kobj) in acpi_tables_sysfs_init()
518 tables_data_kobj = kobject_create_and_add("data", tables_kobj); in acpi_tables_sysfs_init()
522 dynamic_tables_kobj = kobject_create_and_add("dynamic", tables_kobj); in acpi_tables_sysfs_init()
539 ret = acpi_table_attr_init(tables_kobj, in acpi_tables_sysfs_init()
549 kobject_uevent(tables_kobj, KOBJ_ADD); in acpi_tables_sysfs_init()
557 kobject_put(tables_kobj); in acpi_tables_sysfs_init()