Home
last modified time | relevance | path

Searched refs:sysfs_remove_file (Results 1 – 25 of 40) 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/gpu/drm/xe/
H A Dxe_device_sysfs.c200 sysfs_remove_file(&dev->kobj, &dev_attr_lb_fan_control_version.attr); in late_bind_remove_files()
203 sysfs_remove_file(&dev->kobj, &dev_attr_lb_voltage_regulator_version.attr); in late_bind_remove_files()
292 sysfs_remove_file(&xe->drm.dev->kobj, &dev_attr_vram_d3cold_threshold.attr); in xe_device_sysfs_fini()
H A Dxe_survivability_mode.c152 sysfs_remove_file(&dev->kobj, &dev_attr_survivability_mode.attr); in xe_survivability_mode_fini()
/linux/drivers/misc/
H A 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()
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/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/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_device.c310 sysfs_remove_file(&dev->kobj, &dev_attr_tcc_offset_degree_celsius.attr); in proc_thermal_add()
331 sysfs_remove_file(&proc_priv->dev->kobj, &dev_attr_tcc_offset_degree_celsius.attr); in proc_thermal_remove()
H A Dint3400_thermal.c333 sysfs_remove_file(&priv->pdev->dev.kobj, &dev_attr_production_mode.attr); in production_mode_exit()
352 sysfs_remove_file(&priv->pdev->dev.kobj, in cleanup_odvp()
/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/drivers/soc/hisilicon/
H A Dkunpeng_hccs.c1540 sysfs_remove_file(&hdev->dev->kobj, &used_types_attr.attr); in hccs_remove_misc_sysfs()
1545 sysfs_remove_file(&hdev->dev->kobj, in hccs_remove_misc_sysfs()
1547 sysfs_remove_file(&hdev->dev->kobj, &dec_lane_of_type_attr.attr); in hccs_remove_misc_sysfs()
1548 sysfs_remove_file(&hdev->dev->kobj, &inc_lane_of_type_attr.attr); in hccs_remove_misc_sysfs()
1578 sysfs_remove_file(&hdev->dev->kobj, &dec_lane_of_type_attr.attr); in hccs_add_misc_sysfs()
1580 sysfs_remove_file(&hdev->dev->kobj, in hccs_add_misc_sysfs()
1583 sysfs_remove_file(&hdev->dev->kobj, &used_types_attr.attr); in hccs_add_misc_sysfs()
/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/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c553 sysfs_remove_file(kobj, attr); in kfd_remove_sysfs_file()
624 sysfs_remove_file(dev->kobj_node, &dev->attr_gpuid); in kfd_remove_sysfs_node_entry()
625 sysfs_remove_file(dev->kobj_node, &dev->attr_name); in kfd_remove_sysfs_node_entry()
626 sysfs_remove_file(dev->kobj_node, &dev->attr_props); in kfd_remove_sysfs_node_entry()
892 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
894 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xcp.c916 sysfs_remove_file(&xcp_cfg->kobj, &supp_nps_sysfs_mode.attr); in amdgpu_xcp_cfg_sysfs_init()
941 sysfs_remove_file(&xcp_cfg->kobj, &supp_nps_sysfs_mode.attr); in amdgpu_xcp_cfg_sysfs_init()
962 sysfs_remove_file(&xcp_cfg->kobj, &supp_nps_sysfs_mode.attr); in amdgpu_xcp_cfg_sysfs_fini()
/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/fs/sysfs/
H A Dfile.c399 sysfs_remove_file(kobj, ptr[i]); in sysfs_create_files()
557 sysfs_remove_file(kobj, ptr[i]); in sysfs_remove_files()
/linux/Documentation/translations/zh_CN/filesystems/
H A Dsysfs.txt95 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt98 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
/linux/drivers/cpufreq/
H A Dintel_pstate.c1930 sysfs_remove_file(intel_pstate_kobject, &num_pstates.attr); in intel_pstate_sysfs_remove()
1931 sysfs_remove_file(intel_pstate_kobject, &turbo_pct.attr); in intel_pstate_sysfs_remove()
1935 sysfs_remove_file(intel_pstate_kobject, &max_perf_pct.attr); in intel_pstate_sysfs_remove()
1936 sysfs_remove_file(intel_pstate_kobject, &min_perf_pct.attr); in intel_pstate_sysfs_remove()
1939 sysfs_remove_file(intel_pstate_kobject, &energy_efficiency.attr); in intel_pstate_sysfs_remove()
1961 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()

12