Lines Matching refs:bus_kobj
857 struct kobject *bus_kobj; in bus_register() local
868 bus_kobj = &priv->subsys.kobj; in bus_register()
869 retval = kobject_set_name(bus_kobj, "%s", bus->name); in bus_register()
873 bus_kobj->kset = bus_kset; in bus_register()
874 bus_kobj->ktype = &bus_ktype; in bus_register()
885 priv->devices_kset = kset_create_and_add("devices", NULL, bus_kobj); in bus_register()
891 priv->drivers_kset = kset_create_and_add("drivers", NULL, bus_kobj); in bus_register()
908 retval = sysfs_create_groups(bus_kobj, bus->bus_groups); in bus_register()
943 struct kobject *bus_kobj; in bus_unregister() local
952 bus_kobj = &sp->subsys.kobj; in bus_unregister()
953 sysfs_remove_groups(bus_kobj, bus->bus_groups); in bus_unregister()