Home
last modified time | relevance | path

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

12

/drivers/base/
Dbase.h41 struct kset subsys;
42 struct kset *devices_kset;
46 struct kset *drivers_kset;
53 struct kset glue_dirs;
161 extern struct kset *devices_kset;
Dcore.c2153 static int dev_uevent_filter(struct kset *kset, struct kobject *kobj) in dev_uevent_filter() argument
2167 static const char *dev_uevent_name(struct kset *kset, struct kobject *kobj) in dev_uevent_name() argument
2178 static int dev_uevent(struct kset *kset, struct kobject *kobj, in dev_uevent() argument
2255 struct kset *kset; in uevent_show() local
2263 while (!top_kobj->kset && top_kobj->parent) in uevent_show()
2265 if (!top_kobj->kset) in uevent_show()
2268 kset = top_kobj->kset; in uevent_show()
2269 if (!kset->uevent_ops || !kset->uevent_ops->uevent) in uevent_show()
2273 if (kset->uevent_ops && kset->uevent_ops->filter) in uevent_show()
2274 if (!kset->uevent_ops->filter(kset, &dev->kobj)) in uevent_show()
[all …]
Dbus.c25 static struct kset *system_kset;
166 static int bus_uevent_filter(struct kset *kset, struct kobject *kobj) in bus_uevent_filter() argument
179 static struct kset *bus_kset;
614 priv->kobj.kset = bus->p->drivers_kset; in bus_add_driver()
823 priv->subsys.kobj.kset = bus_kset; in bus_register()
915 struct kset *bus_get_kset(struct bus_type *bus) in bus_get_kset()
Dclass.c85 static struct kset *class_kset;
180 cp->subsys.kobj.kset = class_kset; in __class_register()
182 cp->subsys.kobj.kset = class_kset; in __class_register()
Dswnode.c30 static struct kset *swnode_kset;
675 swnode->kobj.kset = swnode_kset; in swnode_register()
/drivers/dma-buf/
Ddma-buf-sysfs-stats.c109 static int dmabuf_sysfs_uevent_filter(struct kset *kset, struct kobject *kobj) in dmabuf_sysfs_uevent_filter() argument
118 static struct kset *dma_buf_stats_kset;
119 static struct kset *dma_buf_per_buffer_stats_kset;
176 dmabuf->sysfs_entry->kobj.kset = dma_buf_per_buffer_stats_kset; in sysfs_add_workfn()
/drivers/firmware/
Dqemu_fw_cfg.c490 static int fw_cfg_build_symlink(struct kset *dir, in fw_cfg_build_symlink()
494 struct kset *subdir; in fw_cfg_build_symlink()
531 subdir = kzalloc(sizeof(struct kset), GFP_KERNEL); in fw_cfg_build_symlink()
536 subdir->kobj.kset = dir; in fw_cfg_build_symlink()
560 static void fw_cfg_kset_unregister_recursive(struct kset *kset) in fw_cfg_kset_unregister_recursive() argument
564 list_for_each_entry_safe(k, next, &kset->list, entry) in fw_cfg_kset_unregister_recursive()
566 if (k->ktype == kset->kobj.ktype) in fw_cfg_kset_unregister_recursive()
570 kset_unregister(kset); in fw_cfg_kset_unregister_recursive()
576 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()
/drivers/net/phy/
Dphylink.c1355 struct ethtool_link_ksettings *kset) in phylink_get_ksettings() argument
1357 phylink_merge_link_mode(kset->link_modes.advertising, state->advertising); in phylink_get_ksettings()
1358 linkmode_copy(kset->link_modes.lp_advertising, state->lp_advertising); in phylink_get_ksettings()
1359 kset->base.speed = state->speed; in phylink_get_ksettings()
1360 kset->base.duplex = state->duplex; in phylink_get_ksettings()
1361 kset->base.autoneg = state->an_enabled ? AUTONEG_ENABLE : in phylink_get_ksettings()
1375 struct ethtool_link_ksettings *kset) in phylink_ethtool_ksettings_get() argument
1382 phy_ethtool_ksettings_get(pl->phydev, kset); in phylink_ethtool_ksettings_get()
1384 kset->base.port = pl->link_port; in phylink_ethtool_ksettings_get()
1387 linkmode_copy(kset->link_modes.supported, pl->supported); in phylink_ethtool_ksettings_get()
[all …]
/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;
266 slot->kobj.kset = pci_slots_kset; in pci_create_slot()
367 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.c28 static struct kset *efivars_kset;
518 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()

12