Home
last modified time | relevance | path

Searched refs:sysfs_remove_file (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/acpi/
H A Dfan_attr.c114 sysfs_remove_file(&device->dev.kobj, &fan->fps[j].dev_attr.attr); in acpi_fan_create_attributes()
122 sysfs_remove_file(&device->dev.kobj, &fan->fine_grain_control.attr); in acpi_fan_create_attributes()
125 sysfs_remove_file(&device->dev.kobj, &fan->fst_speed.attr); in acpi_fan_create_attributes()
135 sysfs_remove_file(&device->dev.kobj, &fan->fst_speed.attr); in acpi_fan_delete_attributes()
141 sysfs_remove_file(&device->dev.kobj, &fan->fps[i].dev_attr.attr); in acpi_fan_delete_attributes()
143 sysfs_remove_file(&device->dev.kobj, &fan->fine_grain_control.attr); in acpi_fan_delete_attributes()
/linux/drivers/pci/hotplug/
H A Dpci_hotplug_core.c296 sysfs_remove_file(&pci_slot->kobj, in fs_add_slot()
300 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr); in fs_add_slot()
303 sysfs_remove_file(&pci_slot->kobj, in fs_add_slot()
307 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr); in fs_add_slot()
317 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr); in fs_remove_slot()
320 sysfs_remove_file(&pci_slot->kobj, in fs_remove_slot()
324 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr); in fs_remove_slot()
327 sysfs_remove_file(&pci_slot->kobj, in fs_remove_slot()
331 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_test.attr); in fs_remove_slot()
/linux/drivers/misc/
H A Dad525x_dpot.c665 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
668 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
671 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
674 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
676 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
H A Dpch_phub.c816 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_pch_mac.attr); in pch_phub_probe()
834 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_pch_mac.attr); in pch_phub_remove()
/linux/arch/powerpc/platforms/pseries/
H A Dpseries_energy.c357 sysfs_remove_file(&cpu_dev->kobj, in pseries_energy_cleanup()
359 sysfs_remove_file(&cpu_dev->kobj, in pseries_energy_cleanup()
/linux/drivers/infiniband/hw/mlx4/
H A Dsysfs.c161 sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr); \
220 sysfs_remove_file(port->mcgs_parent, attr); in del_sysfs_port_mcg_attr()
605 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries()
619 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in remove_vf_smi_entries()
620 sysfs_remove_file(&p->kobj, &p->enable_smi_admin.attr); in remove_vf_smi_entries()
/linux/drivers/xen/
H A Dsys-hypervisor.c620 sysfs_remove_file(hypervisor_kobj, &uuid_attr.attr); in hyper_sysfs_init()
626 sysfs_remove_file(hypervisor_kobj, &guest_type_attr.attr); in hyper_sysfs_init()
628 sysfs_remove_file(hypervisor_kobj, &type_attr.attr); in hyper_sysfs_init()
/linux/net/netfilter/
H A Dxt_IDLETIMER.c430 sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_destroy()
461 sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_destroy_v1()
/linux/net/9p/
H A Dtrans_virtio.c666 sysfs_remove_file(&vdev->dev.kobj, &dev_attr_mount_tag.attr); in p9_virtio_probe()
761 sysfs_remove_file(&(vdev->dev.kobj), &dev_attr_mount_tag.attr); in p9_virtio_remove()
/linux/drivers/thermal/intel/int340x_thermal/
H A Dint3400_thermal.c335 sysfs_remove_file(&priv->pdev->dev.kobj, &dev_attr_production_mode.attr); in production_mode_exit()
354 sysfs_remove_file(&priv->pdev->dev.kobj, in cleanup_odvp()
/linux/fs/sysfs/
H A Dfile.c387 sysfs_remove_file(kobj, ptr[i]); in sysfs_create_files()
545 sysfs_remove_file(kobj, ptr[i]); in sysfs_remove_files()
/linux/drivers/firmware/
H A Dqemu_fw_cfg.c723 sysfs_remove_file(fw_cfg_top_ko, &fw_cfg_rev_attr.attr); in fw_cfg_sysfs_probe()
738 sysfs_remove_file(fw_cfg_top_ko, &fw_cfg_rev_attr.attr); in fw_cfg_sysfs_remove()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c561 sysfs_remove_file(kobj, attr); in kfd_remove_sysfs_file()
632 sysfs_remove_file(dev->kobj_node, &dev->attr_gpuid); in kfd_remove_sysfs_node_entry()
633 sysfs_remove_file(dev->kobj_node, &dev->attr_name); in kfd_remove_sysfs_node_entry()
634 sysfs_remove_file(dev->kobj_node, &dev->attr_props); in kfd_remove_sysfs_node_entry()
900 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
902 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt98 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
/linux/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt95 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
/linux/kernel/module/
H A Dsysfs.c280 sysfs_remove_file(&mod->mkobj.kobj, &attr->attr); in module_remove_modinfo_attrs()
/linux/drivers/platform/x86/lenovo/
H A Dthink-lmi.c1445 sysfs_remove_file(&tlmi_priv.attribute_kset->kobj, &pending_reboot.attr); in tlmi_release_attr()
1446 sysfs_remove_file(&tlmi_priv.attribute_kset->kobj, &save_settings.attr); in tlmi_release_attr()
1449 sysfs_remove_file(&tlmi_priv.attribute_kset->kobj, &debug_cmd.attr); in tlmi_release_attr()
/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.c564 sysfs_remove_file(&bioscfg_drv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
/linux/include/linux/
H A Dsysfs.h777 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file() function
/linux/drivers/hwmon/
H A Dapplesmc.c1126 sysfs_remove_file(&pdev->dev.kobj, in applesmc_destroy_nodes()
/linux/drivers/base/
H A Dbus.c203 sysfs_remove_file(&sp->subsys.kobj, &attr->attr); in bus_remove_file()
/linux/mm/
H A Dmempolicy.c3762 sysfs_remove_file(&wi_group->wi_kobj, &attr->kobj_attr.attr); in sysfs_wi_node_delete()
3798 sysfs_remove_file(&wi_group->wi_kobj, &wi_auto_attr.attr); in wi_cleanup()
/linux/drivers/bus/mhi/host/
H A Dinit.c1070 sysfs_remove_file(&mhi_dev->dev.kobj, &dev_attr_trigger_edl.attr); in mhi_unregister_controller()
/linux/drivers/cpufreq/
H A Dcpufreq.c2852 sysfs_remove_file(cpufreq_global_kobject, &boost.attr); in remove_boost_sysfs_file()
/linux/drivers/net/phy/
H A Dphy_device.c1931 sysfs_remove_file(&phydev->mdio.dev.kobj, in phy_detach()

12