Home
last modified time | relevance | path

Searched refs:kset (Results 1 – 25 of 31) sorted by relevance

12

/drivers/base/
Dbase.h30 struct kset subsys;
31 struct kset *devices_kset;
35 struct kset *drivers_kset;
42 struct kset glue_dirs;
147 extern struct kset *devices_kset;
Dcore.c1392 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter() argument
1406 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name() argument
1417 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent() argument
1494 struct kset *kset; in uevent_show() local
1502 while (!top_kobj->kset && top_kobj->parent) in uevent_show()
1504 if (!top_kobj->kset) in uevent_show()
1507 kset = top_kobj->kset; in uevent_show()
1508 if (!kset->uevent_ops || !kset->uevent_ops->uevent) in uevent_show()
1512 if (kset->uevent_ops && kset->uevent_ops->filter) in uevent_show()
1513 if (!kset->uevent_ops->filter(kset, &dev->kobj)) in uevent_show()
[all …]
Dbus.c24 static struct kset *system_kset;
165 static int bus_uevent_filter(struct kset *kset, struct kobject *kobj) in bus_uevent_filter() argument
178 static struct kset *bus_kset;
613 priv->kobj.kset = bus->p->drivers_kset; in bus_add_driver()
820 priv->subsys.kobj.kset = bus_kset; in bus_register()
912 struct kset *bus_get_kset(struct bus_type *bus) in bus_get_kset()
Dclass.c84 static struct kset *class_kset;
179 cp->subsys.kobj.kset = class_kset; in __class_register()
181 cp->subsys.kobj.kset = class_kset; in __class_register()
/drivers/net/phy/
Dphylink.c1105 struct ethtool_link_ksettings *kset) in phylink_get_ksettings() argument
1107 phylink_merge_link_mode(kset->link_modes.advertising, state->advertising); in phylink_get_ksettings()
1108 linkmode_copy(kset->link_modes.lp_advertising, state->lp_advertising); in phylink_get_ksettings()
1109 kset->base.speed = state->speed; in phylink_get_ksettings()
1110 kset->base.duplex = state->duplex; in phylink_get_ksettings()
1111 kset->base.autoneg = state->an_enabled ? AUTONEG_ENABLE : in phylink_get_ksettings()
1125 struct ethtool_link_ksettings *kset) in phylink_ethtool_ksettings_get() argument
1132 phy_ethtool_ksettings_get(pl->phydev, kset); in phylink_ethtool_ksettings_get()
1134 kset->base.port = pl->link_port; in phylink_ethtool_ksettings_get()
1137 linkmode_copy(kset->link_modes.supported, pl->supported); in phylink_ethtool_ksettings_get()
[all …]
/drivers/firmware/
Dqemu_fw_cfg.c492 static int fw_cfg_build_symlink(struct kset *dir, in fw_cfg_build_symlink()
496 struct kset *subdir; in fw_cfg_build_symlink()
533 subdir = kzalloc(sizeof(struct kset), GFP_KERNEL); in fw_cfg_build_symlink()
538 subdir->kobj.kset = dir; in fw_cfg_build_symlink()
562 static void fw_cfg_kset_unregister_recursive(struct kset *kset) in fw_cfg_kset_unregister_recursive() argument
566 list_for_each_entry_safe(k, next, &kset->list, entry) in fw_cfg_kset_unregister_recursive()
568 if (k->ktype == kset->kobj.ktype) in fw_cfg_kset_unregister_recursive()
572 kset_unregister(kset); in fw_cfg_kset_unregister_recursive()
578 static struct kset *fw_cfg_fname_kset;
Dmemmap.c178 static struct kset *mmap_kset; in add_sysfs_fw_map_entry()
189 entry->kobj.kset = mmap_kset; in add_sysfs_fw_map_entry()
Ddmi-sysfs.c571 static struct kset *dmi_kset;
601 entry->kobj.kset = dmi_kset; in dmi_sysfs_register_handle()
Dedd.c625 static struct kset *edd_kset;
715 edev->kobj.kset = edd_kset; in edd_device_register()
/drivers/scsi/
Discsi_boot_sysfs.c352 boot_kobj->kobj.kset = boot_kset->kset; in iscsi_boot_create_kobj()
504 boot_kset->kset = kset_create_and_add(set_name, NULL, firmware_kobj); in iscsi_boot_create_kset()
505 if (!boot_kset->kset) { in iscsi_boot_create_kset()
551 kset_unregister(boot_kset->kset); in iscsi_boot_destroy_kset()
/drivers/pci/
Dslot.c15 struct kset *pci_slots_kset;
302 slot->kobj.kset = pci_slots_kset; in pci_create_slot()
401 struct kset *pci_bus_kset; in pci_slot_init()
/drivers/firmware/efi/
Druntime-map.c101 static struct kset *map_kset;
126 entry->kobj.kset = map_kset; in add_sysfs_runtime_map_entry()
Desrt.c165 static struct kset *esrt_kset;
175 entry->kobj.kset = esrt_kset; in esre_create_sysfs_entry()
Defivars.c30 static struct kset *efivars_kset;
506 new_var->kobj.kset = efivars_kset; in efivar_create_sysfs_entry()
/drivers/staging/greybus/
Daudio_manager_private.h17 struct kset *manager_kset,
Daudio_manager_module.c185 struct kset *manager_kset, in gb_audio_manager_module_create()
205 m->kobj.kset = manager_kset; in gb_audio_manager_module_create()
Daudio_manager.c18 static struct kset *manager_kset;
/drivers/vfio/mdev/
Dmdev_private.h21 struct kset *mdev_types_kset;
Dmdev_sysfs.c107 type->kobj.kset = parent->mdev_types_kset; in add_mdev_supported_type()
/drivers/s390/char/
Dsclp_sd.c95 static struct kset *sclp_sd_kset;
507 sd_file->kobj.kset = sclp_sd_kset; in sclp_sd_file_create()
Dsclp_ocf.c35 static struct kset *ocf_kset;
Dsclp_config.c153 struct kset *ofb_kset; in sclp_ofb_setup()
/drivers/of/
Dof_private.h40 extern struct kset *of_kset;
Dkobj.c125 np->kobj.kset = of_kset; in __of_attach_node_sysfs()
/drivers/parisc/
Dpdc_stable.c949 static struct kset *paths_kset;
979 entry->kobj.kset = paths_kset; in pdcs_register_pathentries()

12