Home
last modified time | relevance | path

Searched refs:sysfs_remove_file (Results 1 – 25 of 29) 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/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()
607 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries()
621 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in remove_vf_smi_entries()
622 sysfs_remove_file(&p->kobj, &p->enable_smi_admin.attr); in remove_vf_smi_entries()
/linux/drivers/xen/
H A Dsys-hypervisor.c616 sysfs_remove_file(hypervisor_kobj, &uuid_attr.attr); in hyper_sysfs_init()
622 sysfs_remove_file(hypervisor_kobj, &guest_type_attr.attr); in hyper_sysfs_init()
624 sysfs_remove_file(hypervisor_kobj, &type_attr.attr); in hyper_sysfs_init()
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dsysman.c373 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in release_attributes_data()
374 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
/linux/arch/x86/platform/olpc/
H A Dolpc-xo15-sci.c191 sysfs_remove_file(&device->dev.kobj, &lid_wake_on_close_attr.attr); in xo15_sci_remove()
/linux/net/netfilter/
H A Dxt_IDLETIMER.c424 sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_destroy()
455 sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_destroy_v1()
/linux/drivers/edac/
H A Dedac_device_sysfs.c578 sysfs_remove_file(&block->kobj, in edac_device_delete_block()
767 sysfs_remove_file(&edac_dev->kobj, in edac_device_remove_main_sysfs_attributes()
/linux/net/9p/
H A Dtrans_virtio.c667 sysfs_remove_file(&vdev->dev.kobj, &dev_attr_mount_tag.attr); in p9_virtio_probe()
762 sysfs_remove_file(&(vdev->dev.kobj), &dev_attr_mount_tag.attr); in p9_virtio_remove()
/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/drivers/gpu/drm/xe/
H A Dxe_survivability_mode.c185 sysfs_remove_file(&dev->kobj, &dev_attr_survivability_mode.attr); in xe_survivability_mode_fini()
/linux/drivers/misc/
H A Dpch_phub.c815 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_pch_mac.attr); in pch_phub_probe()
833 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_pch_mac.attr); in pch_phub_remove()
/linux/drivers/soc/xilinx/
H A Dzynqmp_power.c399 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr); in zynqmp_pm_remove()
/linux/drivers/platform/x86/
H A Dasus-armoury.c972 sysfs_remove_file(&asus_armoury.fw_attr_kset->kobj, &pending_reboot.attr); in asus_fw_attr_add()
1146 sysfs_remove_file(&asus_armoury.fw_attr_kset->kobj, &pending_reboot.attr); in asus_fw_exit()
/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/drivers/cpufreq/
H A Dintel_pstate.c1870 sysfs_remove_file(intel_pstate_kobject, &num_pstates.attr); in intel_pstate_sysfs_remove()
1871 sysfs_remove_file(intel_pstate_kobject, &turbo_pct.attr); in intel_pstate_sysfs_remove()
1875 sysfs_remove_file(intel_pstate_kobject, &max_perf_pct.attr); in intel_pstate_sysfs_remove()
1876 sysfs_remove_file(intel_pstate_kobject, &min_perf_pct.attr); in intel_pstate_sysfs_remove()
1879 sysfs_remove_file(intel_pstate_kobject, &energy_efficiency.attr); in intel_pstate_sysfs_remove()
1901 sysfs_remove_file(intel_pstate_kobject, &hwp_dynamic_boost.attr); in intel_pstate_sysfs_hide_hwp_dynamic_boost()
/linux/kernel/module/
H A Dsysfs.c281 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.c562 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()

12