/drivers/base/ |
D | base.h | 30 struct kset subsys; 31 struct kset *devices_kset; 35 struct kset *drivers_kset; 42 struct kset glue_dirs; 147 extern struct kset *devices_kset;
|
D | core.c | 1392 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 …]
|
D | bus.c | 24 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()
|
D | class.c | 84 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/ |
D | phylink.c | 1105 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/ |
D | qemu_fw_cfg.c | 492 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;
|
D | memmap.c | 178 static struct kset *mmap_kset; in add_sysfs_fw_map_entry() 189 entry->kobj.kset = mmap_kset; in add_sysfs_fw_map_entry()
|
D | dmi-sysfs.c | 571 static struct kset *dmi_kset; 601 entry->kobj.kset = dmi_kset; in dmi_sysfs_register_handle()
|
D | edd.c | 625 static struct kset *edd_kset; 715 edev->kobj.kset = edd_kset; in edd_device_register()
|
/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 352 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/ |
D | slot.c | 15 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/ |
D | runtime-map.c | 101 static struct kset *map_kset; 126 entry->kobj.kset = map_kset; in add_sysfs_runtime_map_entry()
|
D | esrt.c | 165 static struct kset *esrt_kset; 175 entry->kobj.kset = esrt_kset; in esre_create_sysfs_entry()
|
D | efivars.c | 30 static struct kset *efivars_kset; 506 new_var->kobj.kset = efivars_kset; in efivar_create_sysfs_entry()
|
/drivers/staging/greybus/ |
D | audio_manager_private.h | 17 struct kset *manager_kset,
|
D | audio_manager_module.c | 185 struct kset *manager_kset, in gb_audio_manager_module_create() 205 m->kobj.kset = manager_kset; in gb_audio_manager_module_create()
|
D | audio_manager.c | 18 static struct kset *manager_kset;
|
/drivers/vfio/mdev/ |
D | mdev_private.h | 21 struct kset *mdev_types_kset;
|
D | mdev_sysfs.c | 107 type->kobj.kset = parent->mdev_types_kset; in add_mdev_supported_type()
|
/drivers/s390/char/ |
D | sclp_sd.c | 95 static struct kset *sclp_sd_kset; 507 sd_file->kobj.kset = sclp_sd_kset; in sclp_sd_file_create()
|
D | sclp_ocf.c | 35 static struct kset *ocf_kset;
|
D | sclp_config.c | 153 struct kset *ofb_kset; in sclp_ofb_setup()
|
/drivers/of/ |
D | of_private.h | 40 extern struct kset *of_kset;
|
D | kobj.c | 125 np->kobj.kset = of_kset; in __of_attach_node_sysfs()
|
/drivers/parisc/ |
D | pdc_stable.c | 949 static struct kset *paths_kset; 979 entry->kobj.kset = paths_kset; in pdcs_register_pathentries()
|