Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/base/
H A Dmodule.c86 sysfs_remove_link(mk->drivers_dir, driver_name); in module_add_driver()
92 sysfs_remove_link(&drv->p->kobj, "module"); in module_add_driver()
104 sysfs_remove_link(&drv->p->kobj, "module"); in module_remove_driver()
113 sysfs_remove_link(mk->drivers_dir, driver_name); in module_remove_driver()
H A Dclass.c616 sysfs_remove_link(cls->kobj, dev_name(dev)); in class_compat_create_link()
635 sysfs_remove_link(&dev->kobj, "device"); in class_compat_remove_link()
636 sysfs_remove_link(cls->kobj, dev_name(dev)); in class_compat_remove_link()
H A Dcore.c600 sysfs_remove_link(&sup->kobj, buf); in devlink_add_symlinks()
602 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_add_symlinks()
604 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_add_symlinks()
618 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_remove_symlinks()
619 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_remove_symlinks()
633 sysfs_remove_link(&con->kobj, buf); in devlink_remove_symlinks()
636 sysfs_remove_link(&sup->kobj, buf); in devlink_remove_symlinks()
3422 sysfs_remove_link(&dev->kobj, "device"); in device_add_class_symlinks()
3424 sysfs_remove_link(&dev->kobj, "subsystem"); in device_add_class_symlinks()
3426 sysfs_remove_link(&dev->kobj, "of_node"); in device_add_class_symlinks()
[all …]
H A Dnode.c738 sysfs_remove_link(&node_devices[nid]->dev.kobj, in unregister_cpu_under_node()
740 sysfs_remove_link(&obj->kobj, in unregister_cpu_under_node()
844 sysfs_remove_link(&node_devices[mem_blk->nid]->dev.kobj, in unregister_memory_block_under_nodes()
846 sysfs_remove_link(&mem_blk->dev.kobj, in unregister_memory_block_under_nodes()
H A Ddd.c458 sysfs_remove_link(&dev->kobj, "driver"); in driver_sysfs_add()
461 sysfs_remove_link(&dev->driver->p->kobj, in driver_sysfs_add()
475 sysfs_remove_link(&drv->p->kobj, kobject_name(&dev->kobj)); in driver_sysfs_remove()
476 sysfs_remove_link(&dev->kobj, "driver"); in driver_sysfs_remove()
/openbmc/linux/drivers/s390/cio/
H A 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()
/openbmc/linux/drivers/acpi/
H A Dprocessor_thermal.c314 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in acpi_processor_thermal_init()
325 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in acpi_processor_thermal_exit()
326 sysfs_remove_link(&pr->cdev->device.kobj, "device"); in acpi_processor_thermal_exit()
H A Dfan_core.c386 sysfs_remove_link(&pdev->dev.kobj, "thermal_cooling"); in acpi_fan_probe()
405 sysfs_remove_link(&pdev->dev.kobj, "thermal_cooling"); in acpi_fan_remove()
406 sysfs_remove_link(&fan->cdev->device.kobj, "device"); in acpi_fan_remove()
H A Dglue.c337 sysfs_remove_link(&acpi_dev->dev.kobj, physnode_name); in acpi_unbind_one()
338 sysfs_remove_link(&dev->kobj, "firmware_node"); in acpi_unbind_one()
/openbmc/linux/fs/sysfs/
H A Dsymlink.c143 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() function
154 EXPORT_SYMBOL_GPL(sysfs_remove_link);
/openbmc/linux/drivers/thunderbolt/
H A 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()
/openbmc/linux/drivers/usb/core/
H A Dport.c513 sysfs_remove_link(&left->dev.kobj, "peer"); in link_peers()
588 sysfs_remove_link(&left->dev.kobj, "peer"); in unlink_peers()
590 sysfs_remove_link(&right->dev.kobj, "peer"); in unlink_peers()
702 sysfs_remove_link(&dev->kobj, "connector"); in connector_bind()
709 sysfs_remove_link(&connector->kobj, dev_name(dev)); in connector_unbind()
710 sysfs_remove_link(&dev->kobj, "connector"); in connector_unbind()
/openbmc/linux/drivers/vfio/mdev/
H A Dmdev_sysfs.c292 sysfs_remove_link(mdev->type->devices_kobj, dev_name(&mdev->dev)); in mdev_create_sysfs_files()
300 sysfs_remove_link(kobj, "mdev_type"); in mdev_remove_sysfs_files()
301 sysfs_remove_link(mdev->type->devices_kobj, dev_name(&mdev->dev)); in mdev_remove_sysfs_files()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_sysfs.c112 sysfs_remove_link(&dev->kobj, "typec_connector"); in typec_connector_bind()
120 sysfs_remove_link(&typec_connector->kobj, "drm_connector"); in typec_connector_unbind()
121 sysfs_remove_link(&dev->kobj, "typec_connector"); in typec_connector_unbind()
420 sysfs_remove_link(&connector->kdev->kobj, "ddc"); in drm_sysfs_connector_remove()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dthermal.c207 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); in ath10k_thermal_register()
218 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); in ath10k_thermal_unregister()
/openbmc/linux/drivers/usb/typec/
H A Dbus.c387 sysfs_remove_link(&dev->kobj, "port"); in typec_altmode_create_links()
394 sysfs_remove_link(&alt->partner->adev.dev.kobj, "partner"); in typec_altmode_remove_links()
395 sysfs_remove_link(&alt->adev.dev.kobj, "port"); in typec_altmode_remove_links()
/openbmc/linux/drivers/pci/
H A Diov.c198 sysfs_remove_link(&dev->dev.kobj, buf); in pci_iov_sysfs_link()
367 sysfs_remove_link(&dev->dev.kobj, buf); in pci_iov_remove_virtfn()
374 sysfs_remove_link(&virtfn->dev.kobj, "physfn"); in pci_iov_remove_virtfn()
701 sysfs_remove_link(&dev->dev.kobj, "dep_link"); in sriov_enable()
733 sysfs_remove_link(&dev->dev.kobj, "dep_link"); in sriov_disable()
/openbmc/linux/drivers/iommu/
H A Diommu-sysfs.c125 sysfs_remove_link(&link->kobj, "iommu"); in iommu_device_unlink()
/openbmc/linux/drivers/misc/
H A 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()
/openbmc/linux/drivers/s390/char/
H A Dtape_class.c109 sysfs_remove_link(&device->kobj, tcd->mode_name); in unregister_tape_dev()
/openbmc/linux/tools/testing/cxl/test/
H A Dcxl.c1061 sysfs_remove_link(&pdev->dev.kobj, "firmware_node"); in cxl_rch_init()
1079 sysfs_remove_link(&pdev->dev.kobj, "firmware_node"); in cxl_rch_exit()
1207 sysfs_remove_link(&pdev->dev.kobj, "physical_node"); in cxl_single_init()
1231 sysfs_remove_link(&pdev->dev.kobj, "physical_node"); in cxl_single_exit()
1411 sysfs_remove_link(&pdev->dev.kobj, "physical_node"); in cxl_test_init()
1443 sysfs_remove_link(&pdev->dev.kobj, "physical_node"); in cxl_test_exit()
/openbmc/linux/block/
H A Dholder.c29 sysfs_remove_link(from, kobject_name(to)); in del_symlink()
/openbmc/linux/drivers/char/tpm/
H A Dtpm-chip.c481 sysfs_remove_link(&chip->dev.parent->kobj, "ppi"); in tpm_del_legacy_sysfs()
484 sysfs_remove_link(&chip->dev.parent->kobj, (*i)->name); in tpm_del_legacy_sysfs()
/openbmc/linux/arch/sh/drivers/dma/
H A Ddma-sysfs.c167 sysfs_remove_link(&info->pdev->dev.kobj, name); in dma_remove_sysfs_files()
/openbmc/linux/drivers/i2c/
H A Di2c-mux.c504 sysfs_remove_link(&muxc->dev->kobj, symlink_name); in i2c_mux_del_adapters()
506 sysfs_remove_link(&priv->adap.dev.kobj, "mux_device"); in i2c_mux_del_adapters()

1234