Home
last modified time | relevance | path

Searched refs:sysfs_create_link (Results 1 – 25 of 70) sorted by relevance

123

/Linux-v4.19/drivers/base/
Dmodule.c62 no_warn = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module"); in module_add_driver()
66 no_warn = sysfs_create_link(mk->drivers_dir, &drv->p->kobj, in module_add_driver()
Ddevcoredump.c304 if (sysfs_create_link(&devcd->devcd_dev.kobj, &dev->kobj, in dev_coredumpm()
308 if (sysfs_create_link(&dev->kobj, &devcd->devcd_dev.kobj, in dev_coredumpm()
Dclass.c529 error = sysfs_create_link(cls->kobj, &dev->kobj, dev_name(dev)); in class_compat_create_link()
539 error = sysfs_create_link(&dev->kobj, &device_link->kobj, in class_compat_create_link()
Dcore.c1662 error = sysfs_create_link(&dev->kobj, of_node_kobj(of_node), "of_node"); in device_add_class_symlinks()
1671 error = sysfs_create_link(&dev->kobj, in device_add_class_symlinks()
1678 error = sysfs_create_link(&dev->kobj, &dev->parent->kobj, in device_add_class_symlinks()
1691 error = sysfs_create_link(&dev->class->p->subsys.kobj, in device_add_class_symlinks()
1774 error = sysfs_create_link(kobj, &dev->kobj, devt_str); in device_create_sys_dev_entry()
2455 err = sysfs_create_link(&root->dev.kobj, &mk->kobj, "module"); in __root_device_register()
2763 error = sysfs_create_link(&dev->kobj, &new_parent->kobj, in device_move_class_links()
/Linux-v4.19/drivers/uwb/
Dpal.c48 ret = sysfs_create_link(&pal->device->kobj, in uwb_pal_register()
53 ret = sysfs_create_link(&rc->uwb_dev.dev.kobj, in uwb_pal_register()
/Linux-v4.19/fs/sysfs/
Dsymlink.c88 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link() function
93 EXPORT_SYMBOL_GPL(sysfs_create_link);
/Linux-v4.19/drivers/acpi/
Dprocessor_driver.c177 result = sysfs_create_link(&device->dev.kobj, in acpi_pss_perf_init()
186 result = sysfs_create_link(&pr->cdev->device.kobj, in acpi_pss_perf_init()
Dglue.c239 retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj, in acpi_bind_one()
245 retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj, in acpi_bind_one()
Dfan.c372 result = sysfs_create_link(&pdev->dev.kobj, in acpi_fan_probe()
378 result = sysfs_create_link(&cdev->device.kobj, in acpi_fan_probe()
/Linux-v4.19/drivers/vfio/mdev/
Dmdev_sysfs.c260 ret = sysfs_create_link(type->devices_kobj, &dev->kobj, dev_name(dev)); in mdev_create_sysfs_files()
264 ret = sysfs_create_link(&dev->kobj, &type->kobj, "mdev_type"); in mdev_create_sysfs_files()
/Linux-v4.19/tools/power/pm-graph/config/
Dcgskip.txt57 sysfs_create_link
/Linux-v4.19/drivers/usb/typec/
Dbus.c333 err = sysfs_create_link(&dev->kobj, &port_dev->kobj, "port"); in typec_altmode_create_links()
337 err = sysfs_create_link(&port_dev->kobj, &dev->kobj, "partner"); in typec_altmode_create_links()
/Linux-v4.19/drivers/s390/char/
Dtape_class.c83 rc = sysfs_create_link( in register_tape_dev()
/Linux-v4.19/net/bridge/
Dbr_sysfs_if.c373 err = sysfs_create_link(&p->kobj, &br->dev->dev.kobj, in br_sysfs_addif()
385 return sysfs_create_link(br->ifobj, &p->kobj, p->sysfs_name); in br_sysfs_addif()
/Linux-v4.19/include/linux/
Dsysfs.h253 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
395 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link() function
/Linux-v4.19/drivers/platform/x86/
Dintel_menlow.c176 result = sysfs_create_link(&device->dev.kobj, in intel_menlow_memory_add()
181 result = sysfs_create_link(&cdev->device.kobj, in intel_menlow_memory_add()
/Linux-v4.19/drivers/pci/
Diov.c189 rc = sysfs_create_link(&dev->dev.kobj, &virtfn->dev.kobj, buf); in pci_iov_add_virtfn()
192 rc = sysfs_create_link(&virtfn->dev.kobj, &dev->dev.kobj, "physfn"); in pci_iov_add_virtfn()
315 rc = sysfs_create_link(&dev->dev.kobj, in sriov_enable()
/Linux-v4.19/drivers/i2c/
Di2c-mux.c414 WARN(sysfs_create_link(&priv->adap.dev.kobj, &muxc->dev->kobj, in i2c_mux_add_adapter()
419 WARN(sysfs_create_link(&muxc->dev->kobj, &priv->adap.dev.kobj, in i2c_mux_add_adapter()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dthermal.c177 ret = sysfs_create_link(&ar->dev->kobj, &cdev->device.kobj, in ath10k_thermal_register()
/Linux-v4.19/arch/sh/drivers/dma/
Ddma-sysfs.c149 return sysfs_create_link(&info->pdev->dev.kobj, &dev->kobj, name); in dma_create_sysfs_files()
/Linux-v4.19/drivers/usb/core/
Dport.c323 rc = sysfs_create_link(&left->dev.kobj, &right->dev.kobj, "peer"); in link_peers()
326 rc = sysfs_create_link(&right->dev.kobj, &left->dev.kobj, "peer"); in link_peers()
/Linux-v4.19/drivers/net/
Dmacvtap.c176 err = sysfs_create_link(&dev->dev.kobj, &classdev->kobj, in macvtap_device_event()
/Linux-v4.19/drivers/net/ipvlan/
Dipvtap.c169 err = sysfs_create_link(&dev->dev.kobj, &classdev->kobj, in ipvtap_device_event()
/Linux-v4.19/drivers/s390/cio/
Dccwgroup.c246 rc = sysfs_create_link(&gdev->cdev[i]->dev.kobj, in __ccwgroup_create_symlinks()
257 rc = sysfs_create_link(&gdev->dev.kobj, in __ccwgroup_create_symlinks()
/Linux-v4.19/drivers/misc/
Denclosure.c223 error = sysfs_create_link(&cdev->cdev.kobj, &cdev->dev->kobj, "device"); in enclosure_add_links()
228 error = sysfs_create_link(&cdev->dev->kobj, &cdev->cdev.kobj, name); in enclosure_add_links()

123