Home
last modified time | relevance | path

Searched refs:sysfs_remove_link (Results 1 – 25 of 85) sorted by relevance

1234

/linux-5.19.10/drivers/base/
Dmodule.c80 sysfs_remove_link(&drv->p->kobj, "module"); in module_remove_driver()
89 sysfs_remove_link(mk->drivers_dir, driver_name); in module_remove_driver()
Dclass.c549 sysfs_remove_link(cls->kobj, dev_name(dev)); in class_compat_create_link()
568 sysfs_remove_link(&dev->kobj, "device"); in class_compat_remove_link()
569 sysfs_remove_link(cls->kobj, dev_name(dev)); in class_compat_remove_link()
Dcore.c568 sysfs_remove_link(&sup->kobj, buf); in devlink_add_symlinks()
570 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_add_symlinks()
572 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_add_symlinks()
587 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_remove_symlinks()
588 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_remove_symlinks()
602 sysfs_remove_link(&con->kobj, buf); in devlink_remove_symlinks()
605 sysfs_remove_link(&sup->kobj, buf); in devlink_remove_symlinks()
3178 sysfs_remove_link(&dev->kobj, "device"); in device_add_class_symlinks()
3181 sysfs_remove_link(&dev->kobj, "subsystem"); in device_add_class_symlinks()
3183 sysfs_remove_link(&dev->kobj, "of_node"); in device_add_class_symlinks()
[all …]
Ddd.c454 sysfs_remove_link(&dev->kobj, "driver"); in driver_sysfs_add()
457 sysfs_remove_link(&dev->driver->p->kobj, in driver_sysfs_add()
471 sysfs_remove_link(&drv->p->kobj, kobject_name(&dev->kobj)); in driver_sysfs_remove()
472 sysfs_remove_link(&dev->kobj, "driver"); in driver_sysfs_remove()
Dnode.c781 sysfs_remove_link(&node_devices[nid]->dev.kobj, in unregister_cpu_under_node()
783 sysfs_remove_link(&obj->kobj, in unregister_cpu_under_node()
887 sysfs_remove_link(&node_devices[mem_blk->nid]->dev.kobj, in unregister_memory_block_under_nodes()
889 sysfs_remove_link(&mem_blk->dev.kobj, in unregister_memory_block_under_nodes()
/linux-5.19.10/drivers/s390/cio/
Dccwgroup.c43 sysfs_remove_link(&gdev->dev.kobj, str); in __ccwgroup_remove_symlinks()
44 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, "group_device"); in __ccwgroup_remove_symlinks()
244 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, in __ccwgroup_create_symlinks()
256 sysfs_remove_link(&gdev->dev.kobj, str); in __ccwgroup_create_symlinks()
259 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, in __ccwgroup_create_symlinks()
/linux-5.19.10/drivers/usb/core/
Dport.c354 sysfs_remove_link(&left->dev.kobj, "peer"); in link_peers()
429 sysfs_remove_link(&left->dev.kobj, "peer"); in unlink_peers()
431 sysfs_remove_link(&right->dev.kobj, "peer"); in unlink_peers()
542 sysfs_remove_link(&dev->kobj, "connector"); in connector_bind()
549 sysfs_remove_link(&connector->kobj, dev_name(dev)); in connector_unbind()
550 sysfs_remove_link(&dev->kobj, "connector"); in connector_unbind()
/linux-5.19.10/drivers/acpi/
Dprocessor_driver.c185 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in acpi_pss_perf_init()
196 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in acpi_pss_perf_exit()
197 sysfs_remove_link(&pr->cdev->device.kobj, "device"); in acpi_pss_perf_exit()
Dglue.c274 sysfs_remove_link(&acpi_dev->dev.kobj, physnode_name); in acpi_unbind_one()
275 sysfs_remove_link(&dev->kobj, "firmware_node"); in acpi_unbind_one()
Dfan_core.c429 sysfs_remove_link(&pdev->dev.kobj, "thermal_cooling"); in acpi_fan_remove()
430 sysfs_remove_link(&fan->cdev->device.kobj, "device"); in acpi_fan_remove()
Dthermal.c851 sysfs_remove_link(&tz->thermal_zone->device.kobj, "device"); in acpi_thermal_register_thermal_zone()
853 sysfs_remove_link(&tz->device->dev.kobj, "thermal_zone"); in acpi_thermal_register_thermal_zone()
862 sysfs_remove_link(&tz->device->dev.kobj, "thermal_zone"); in acpi_thermal_unregister_thermal_zone()
863 sysfs_remove_link(&tz->thermal_zone->device.kobj, "device"); in acpi_thermal_unregister_thermal_zone()
/linux-5.19.10/fs/sysfs/
Dsymlink.c143 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() function
154 EXPORT_SYMBOL_GPL(sysfs_remove_link);
/linux-5.19.10/drivers/vfio/mdev/
Dmdev_sysfs.c277 sysfs_remove_link(mdev->type->devices_kobj, dev_name(&mdev->dev)); in mdev_create_sysfs_files()
285 sysfs_remove_link(kobj, "mdev_type"); in mdev_remove_sysfs_files()
286 sysfs_remove_link(mdev->type->devices_kobj, dev_name(&mdev->dev)); in mdev_remove_sysfs_files()
/linux-5.19.10/drivers/thunderbolt/
Dusb4_port.c25 sysfs_remove_link(&dev->kobj, "connector"); in connector_bind()
32 sysfs_remove_link(&connector->kobj, dev_name(dev)); in connector_unbind()
33 sysfs_remove_link(&dev->kobj, "connector"); in connector_unbind()
/linux-5.19.10/drivers/net/wireless/ath/ath10k/
Dthermal.c206 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); in ath10k_thermal_register()
217 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); in ath10k_thermal_unregister()
/linux-5.19.10/drivers/usb/typec/
Dbus.c350 sysfs_remove_link(&dev->kobj, "port"); in typec_altmode_create_links()
357 sysfs_remove_link(&alt->partner->adev.dev.kobj, "partner"); in typec_altmode_remove_links()
358 sysfs_remove_link(&alt->adev.dev.kobj, "port"); in typec_altmode_remove_links()
/linux-5.19.10/drivers/thermal/intel/
Dintel_menlow.c169 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in intel_menlow_memory_add()
193 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in intel_menlow_memory_remove()
194 sysfs_remove_link(&cdev->device.kobj, "device"); in intel_menlow_memory_remove()
/linux-5.19.10/drivers/pci/
Diov.c199 sysfs_remove_link(&dev->dev.kobj, buf); in pci_iov_sysfs_link()
368 sysfs_remove_link(&dev->dev.kobj, buf); in pci_iov_remove_virtfn()
375 sysfs_remove_link(&virtfn->dev.kobj, "physfn"); in pci_iov_remove_virtfn()
702 sysfs_remove_link(&dev->dev.kobj, "dep_link"); in sriov_enable()
734 sysfs_remove_link(&dev->dev.kobj, "dep_link"); in sriov_disable()
/linux-5.19.10/drivers/s390/char/
Dtape_class.c109 sysfs_remove_link(&device->kobj, tcd->mode_name); in unregister_tape_dev()
/linux-5.19.10/drivers/iommu/
Diommu-sysfs.c132 sysfs_remove_link(&link->kobj, "iommu"); in iommu_device_unlink()
/linux-5.19.10/drivers/misc/
Denclosure.c201 sysfs_remove_link(&cdev->dev->kobj, name); in enclosure_remove_links()
204 sysfs_remove_link(&cdev->cdev.kobj, "device"); in enclosure_remove_links()
219 sysfs_remove_link(&cdev->cdev.kobj, "device"); in enclosure_add_links()
/linux-5.19.10/block/
Dholder.c29 sysfs_remove_link(from, kobject_name(to)); in del_symlink()
/linux-5.19.10/drivers/char/tpm/
Dtpm-chip.c473 sysfs_remove_link(&chip->dev.parent->kobj, "ppi"); in tpm_del_legacy_sysfs()
476 sysfs_remove_link(&chip->dev.parent->kobj, (*i)->name); in tpm_del_legacy_sysfs()
/linux-5.19.10/arch/sh/drivers/dma/
Ddma-sysfs.c161 sysfs_remove_link(&info->pdev->dev.kobj, name); in dma_remove_sysfs_files()
/linux-5.19.10/drivers/i2c/
Di2c-mux.c453 sysfs_remove_link(&muxc->dev->kobj, symlink_name); in i2c_mux_del_adapters()
455 sysfs_remove_link(&priv->adap.dev.kobj, "mux_device"); in i2c_mux_del_adapters()

1234