Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/acpi/
Dfan_attr.c111 sysfs_remove_file(&device->dev.kobj, &fan->fps[j].dev_attr.attr); in acpi_fan_create_attributes()
119 sysfs_remove_file(&device->dev.kobj, &fan->fst_speed.attr); in acpi_fan_create_attributes()
122 sysfs_remove_file(&device->dev.kobj, &fan->fine_grain_control.attr); in acpi_fan_create_attributes()
133 sysfs_remove_file(&device->dev.kobj, &fan->fps[i].dev_attr.attr); in acpi_fan_delete_attributes()
135 sysfs_remove_file(&device->dev.kobj, &fan->fst_speed.attr); in acpi_fan_delete_attributes()
136 sysfs_remove_file(&device->dev.kobj, &fan->fine_grain_control.attr); in acpi_fan_delete_attributes()
/linux-6.6.21/drivers/pci/hotplug/
Dpci_hotplug_core.c338 sysfs_remove_file(&pci_slot->kobj, in fs_add_slot()
342 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr); in fs_add_slot()
345 sysfs_remove_file(&pci_slot->kobj, in fs_add_slot()
349 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr); in fs_add_slot()
359 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr); in fs_remove_slot()
362 sysfs_remove_file(&pci_slot->kobj, in fs_remove_slot()
366 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr); in fs_remove_slot()
369 sysfs_remove_file(&pci_slot->kobj, in fs_remove_slot()
373 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_test.attr); in fs_remove_slot()
/linux-6.6.21/drivers/misc/
Dad525x_dpot.c666 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
669 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
672 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
675 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
677 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
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-6.6.21/arch/powerpc/platforms/pseries/
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-6.6.21/drivers/infiniband/hw/mlx4/
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-6.6.21/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device.c246 sysfs_remove_file(&dev->kobj, &dev_attr_tcc_offset_degree_celsius.attr); in proc_thermal_add()
267 sysfs_remove_file(&proc_priv->dev->kobj, &dev_attr_tcc_offset_degree_celsius.attr); in proc_thermal_remove()
Dint3400_thermal.c349 sysfs_remove_file(&priv->pdev->dev.kobj, &dev_attr_production_mode.attr); in production_mode_exit()
368 sysfs_remove_file(&priv->pdev->dev.kobj, in cleanup_odvp()
/linux-6.6.21/drivers/xen/
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-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c1067 sysfs_remove_file(p->kobj, &p->attr_pasid); in kfd_process_remove_sysfs()
1075 sysfs_remove_file(p->kobj, &pdd->attr_vram); in kfd_process_remove_sysfs()
1076 sysfs_remove_file(p->kobj, &pdd->attr_sdma); in kfd_process_remove_sysfs()
1078 sysfs_remove_file(pdd->kobj_stats, &pdd->attr_evict); in kfd_process_remove_sysfs()
1080 sysfs_remove_file(pdd->kobj_stats, in kfd_process_remove_sysfs()
1090 sysfs_remove_file(pdd->kobj_counters, &pdd->attr_faults); in kfd_process_remove_sysfs()
1091 sysfs_remove_file(pdd->kobj_counters, &pdd->attr_page_in); in kfd_process_remove_sysfs()
1092 sysfs_remove_file(pdd->kobj_counters, &pdd->attr_page_out); in kfd_process_remove_sysfs()
Dkfd_topology.c562 sysfs_remove_file(kobj, attr); in kfd_remove_sysfs_file()
633 sysfs_remove_file(dev->kobj_node, &dev->attr_gpuid); in kfd_remove_sysfs_node_entry()
634 sysfs_remove_file(dev->kobj_node, &dev->attr_name); in kfd_remove_sysfs_node_entry()
635 sysfs_remove_file(dev->kobj_node, &dev->attr_props); in kfd_remove_sysfs_node_entry()
901 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
903 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
/linux-6.6.21/drivers/platform/x86/dell/dell-wmi-sysman/
Dsysman.c374 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in release_attributes_data()
375 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
/linux-6.6.21/arch/x86/platform/olpc/
Dolpc-xo15-sci.c191 sysfs_remove_file(&device->dev.kobj, &lid_wake_on_close_attr.attr); in xo15_sci_remove()
/linux-6.6.21/drivers/base/
Ddriver.c198 sysfs_remove_file(&drv->p->kobj, &attr->attr); in driver_remove_file()
/linux-6.6.21/net/netfilter/
Dxt_IDLETIMER.c418 sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_destroy()
447 sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_destroy_v1()
/linux-6.6.21/drivers/soc/xilinx/
Dzynqmp_power.c280 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr); in zynqmp_pm_remove()
/linux-6.6.21/drivers/edac/
Dedac_device_sysfs.c594 sysfs_remove_file(&block->kobj, in edac_device_delete_block()
783 sysfs_remove_file(&edac_dev->kobj, in edac_device_remove_main_sysfs_attributes()
/linux-6.6.21/net/9p/
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-6.6.21/fs/sysfs/
Dfile.c368 sysfs_remove_file(kobj, ptr[i]); in sysfs_create_files()
524 sysfs_remove_file(kobj, ptr[i]); in sysfs_remove_files()
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-nhlt.c84 sysfs_remove_file(&dev->kobj, &dev_attr_platform_id.attr); in skl_nhlt_remove_sysfs()
/linux-6.6.21/drivers/firmware/
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-6.6.21/drivers/cpufreq/
Dintel_pstate.c1584 sysfs_remove_file(intel_pstate_kobject, &num_pstates.attr); in intel_pstate_sysfs_remove()
1585 sysfs_remove_file(intel_pstate_kobject, &turbo_pct.attr); in intel_pstate_sysfs_remove()
1589 sysfs_remove_file(intel_pstate_kobject, &max_perf_pct.attr); in intel_pstate_sysfs_remove()
1590 sysfs_remove_file(intel_pstate_kobject, &min_perf_pct.attr); in intel_pstate_sysfs_remove()
1593 sysfs_remove_file(intel_pstate_kobject, &energy_efficiency.attr); in intel_pstate_sysfs_remove()
1615 sysfs_remove_file(intel_pstate_kobject, &hwp_dynamic_boost.attr); in intel_pstate_sysfs_hide_hwp_dynamic_boost()
/linux-6.6.21/Documentation/translations/zh_CN/filesystems/
Dsysfs.txt95 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
/linux-6.6.21/Documentation/translations/zh_TW/filesystems/
Dsysfs.txt98 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
/linux-6.6.21/kernel/module/
Dsysfs.c286 sysfs_remove_file(&mod->mkobj.kobj, &attr->attr); in module_remove_modinfo_attrs()

12