Home
last modified time | relevance | path

Searched refs:device_remove_file (Results 1 – 25 of 214) sorted by relevance

123456789

/Linux-v5.4/arch/sh/drivers/dma/
Ddma-sysfs.c154 device_remove_file(dev, &dev_attr_dev_id); in dma_remove_sysfs_files()
155 device_remove_file(dev, &dev_attr_count); in dma_remove_sysfs_files()
156 device_remove_file(dev, &dev_attr_mode); in dma_remove_sysfs_files()
157 device_remove_file(dev, &dev_attr_flags); in dma_remove_sysfs_files()
158 device_remove_file(dev, &dev_attr_config); in dma_remove_sysfs_files()
/Linux-v5.4/drivers/acpi/
Ddevice_sysfs.c610 device_remove_file(&dev->dev, &dev_attr_power_state); in acpi_device_remove_files()
612 device_remove_file(&dev->dev, in acpi_device_remove_files()
621 device_remove_file(&dev->dev, &dev_attr_description); in acpi_device_remove_files()
627 device_remove_file(&dev->dev, &dev_attr_eject); in acpi_device_remove_files()
630 device_remove_file(&dev->dev, &dev_attr_sun); in acpi_device_remove_files()
633 device_remove_file(&dev->dev, &dev_attr_hrv); in acpi_device_remove_files()
636 device_remove_file(&dev->dev, &dev_attr_uid); in acpi_device_remove_files()
638 device_remove_file(&dev->dev, &dev_attr_adr); in acpi_device_remove_files()
639 device_remove_file(&dev->dev, &dev_attr_modalias); in acpi_device_remove_files()
640 device_remove_file(&dev->dev, &dev_attr_hid); in acpi_device_remove_files()
[all …]
Dacpi_pad.c343 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_add_sysfs()
348 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_add_sysfs()
349 device_remove_file(&device->dev, &dev_attr_idlepct); in acpi_pad_add_sysfs()
357 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_remove_sysfs()
358 device_remove_file(&device->dev, &dev_attr_idlepct); in acpi_pad_remove_sysfs()
359 device_remove_file(&device->dev, &dev_attr_rrtime); in acpi_pad_remove_sysfs()
/Linux-v5.4/drivers/net/wireless/ti/wlcore/
Dsysfs.c164 device_remove_file(wl->dev, &dev_attr_hw_pg_ver); in wlcore_sysfs_init()
167 device_remove_file(wl->dev, &dev_attr_bt_coex_state); in wlcore_sysfs_init()
177 device_remove_file(wl->dev, &dev_attr_hw_pg_ver); in wlcore_sysfs_free()
179 device_remove_file(wl->dev, &dev_attr_bt_coex_state); in wlcore_sysfs_free()
/Linux-v5.4/drivers/macintosh/
Dtherm_adt746x.c453 device_remove_file(dev, &dev_attr_sensor1_temperature); in thermostat_remove_files()
454 device_remove_file(dev, &dev_attr_sensor2_temperature); in thermostat_remove_files()
455 device_remove_file(dev, &dev_attr_sensor1_limit); in thermostat_remove_files()
456 device_remove_file(dev, &dev_attr_sensor2_limit); in thermostat_remove_files()
457 device_remove_file(dev, &dev_attr_sensor1_location); in thermostat_remove_files()
458 device_remove_file(dev, &dev_attr_sensor2_location); in thermostat_remove_files()
459 device_remove_file(dev, &dev_attr_limit_adjust); in thermostat_remove_files()
460 device_remove_file(dev, &dev_attr_specified_fan_speed); in thermostat_remove_files()
461 device_remove_file(dev, &dev_attr_sensor1_fan_speed); in thermostat_remove_files()
463 device_remove_file(dev, &dev_attr_sensor2_fan_speed); in thermostat_remove_files()
/Linux-v5.4/drivers/mfd/
Ducb1x00-assabet.c78 device_remove_file(&dev->ucb->dev, &dev_attr_batt_temp); in ucb1x00_assabet_remove()
79 device_remove_file(&dev->ucb->dev, &dev_attr_vcharger); in ucb1x00_assabet_remove()
80 device_remove_file(&dev->ucb->dev, &dev_attr_vbatt); in ucb1x00_assabet_remove()
Dtps65911-comparator.c148 device_remove_file(&pdev->dev, &dev_attr_comp2_threshold); in tps65911_comparator_remove()
149 device_remove_file(&pdev->dev, &dev_attr_comp1_threshold); in tps65911_comparator_remove()
/Linux-v5.4/arch/powerpc/kernel/
Deeh_sysfs.c146 device_remove_file(&pdev->dev, &dev_attr_eeh_notify_resume); in eeh_notify_resume_remove()
189 device_remove_file(&pdev->dev, &dev_attr_eeh_mode); in eeh_sysfs_remove_device()
190 device_remove_file(&pdev->dev, &dev_attr_eeh_pe_config_addr); in eeh_sysfs_remove_device()
191 device_remove_file(&pdev->dev, &dev_attr_eeh_pe_state); in eeh_sysfs_remove_device()
Dsysfs.c838 device_remove_file(s, &dev_attr_smt_snooze_delay); in unregister_cpu_online()
872 device_remove_file(s, &attrs[i]); in unregister_cpu_online()
876 device_remove_file(s, &pmc_attrs[i]); in unregister_cpu_online()
880 device_remove_file(s, &dev_attr_mmcra); in unregister_cpu_online()
883 device_remove_file(s, &dev_attr_purr); in unregister_cpu_online()
886 device_remove_file(s, &dev_attr_spurr); in unregister_cpu_online()
889 device_remove_file(s, &dev_attr_dscr); in unregister_cpu_online()
892 device_remove_file(s, &dev_attr_pir); in unregister_cpu_online()
896 device_remove_file(s, &dev_attr_tscr); in unregister_cpu_online()
901 device_remove_file(s, &dev_attr_pw20_state); in unregister_cpu_online()
[all …]
/Linux-v5.4/drivers/hwmon/
Dw83l785ts.c203 device_remove_file(dev, &sensor_dev_attr_temp1_input.dev_attr); in w83l785ts_probe()
204 device_remove_file(dev, &sensor_dev_attr_temp1_max.dev_attr); in w83l785ts_probe()
213 device_remove_file(&client->dev, in w83l785ts_remove()
215 device_remove_file(&client->dev, in w83l785ts_remove()
Dw83627ehf.c1813 device_remove_file(dev, &sda_sf3_arrays[i].dev_attr); in w83627ehf_device_remove_files()
1819 device_remove_file(dev, &attr->dev_attr); in w83627ehf_device_remove_files()
1822 device_remove_file(dev, &sda_sf3_arrays_fan3[i].dev_attr); in w83627ehf_device_remove_files()
1824 device_remove_file(dev, &sda_sf3_arrays_fan4[i].dev_attr); in w83627ehf_device_remove_files()
1828 device_remove_file(dev, &sda_in_input[i].dev_attr); in w83627ehf_device_remove_files()
1829 device_remove_file(dev, &sda_in_alarm[i].dev_attr); in w83627ehf_device_remove_files()
1830 device_remove_file(dev, &sda_in_min[i].dev_attr); in w83627ehf_device_remove_files()
1831 device_remove_file(dev, &sda_in_max[i].dev_attr); in w83627ehf_device_remove_files()
1834 device_remove_file(dev, &sda_fan_input[i].dev_attr); in w83627ehf_device_remove_files()
1835 device_remove_file(dev, &sda_fan_alarm[i].dev_attr); in w83627ehf_device_remove_files()
[all …]
Dibmpex.c426 device_remove_file(data->bmc_device, in ibmpex_find_sensors()
428 device_remove_file(data->bmc_device, &sensor_dev_attr_name.dev_attr); in ibmpex_find_sensors()
433 device_remove_file(data->bmc_device, in ibmpex_find_sensors()
516 device_remove_file(data->bmc_device, in ibmpex_bmc_delete()
518 device_remove_file(data->bmc_device, &sensor_dev_attr_name.dev_attr); in ibmpex_bmc_delete()
523 device_remove_file(data->bmc_device, in ibmpex_bmc_delete()
Ds3c-hwmon.c244 device_remove_file(dev, &attrs->in.dev_attr); in s3c_hwmon_create_attr()
255 device_remove_file(dev, &attrs->in.dev_attr); in s3c_hwmon_remove_attr()
256 device_remove_file(dev, &attrs->label.dev_attr); in s3c_hwmon_remove_attr()
/Linux-v5.4/drivers/platform/x86/
Dintel-rst.c111 device_remove_file(&acpi->dev, &irst_timeout_attr); in irst_add()
118 device_remove_file(&acpi->dev, &irst_wakeup_attr); in irst_remove()
119 device_remove_file(&acpi->dev, &irst_timeout_attr); in irst_remove()
/Linux-v5.4/drivers/net/wireless/broadcom/b43legacy/
Dsysfs.c214 device_remove_file(dev, &dev_attr_interference); in b43legacy_sysfs_register()
222 device_remove_file(dev, &dev_attr_shortpreamble); in b43legacy_sysfs_unregister()
223 device_remove_file(dev, &dev_attr_interference); in b43legacy_sysfs_unregister()
/Linux-v5.4/drivers/spi/
Dspi-tle62x0.c282 device_remove_file(&spi->dev, gpio_attrs[ptr]); in tle62x0_probe()
284 device_remove_file(&spi->dev, &dev_attr_status_show); in tle62x0_probe()
297 device_remove_file(&spi->dev, gpio_attrs[ptr]); in tle62x0_remove()
299 device_remove_file(&spi->dev, &dev_attr_status_show); in tle62x0_remove()
/Linux-v5.4/drivers/power/supply/
Dmax77693_charger.c724 device_remove_file(&pdev->dev, &dev_attr_top_off_timer); in max77693_charger_probe()
725 device_remove_file(&pdev->dev, &dev_attr_top_off_threshold_current); in max77693_charger_probe()
726 device_remove_file(&pdev->dev, &dev_attr_fast_charge_timer); in max77693_charger_probe()
735 device_remove_file(&pdev->dev, &dev_attr_top_off_timer); in max77693_charger_remove()
736 device_remove_file(&pdev->dev, &dev_attr_top_off_threshold_current); in max77693_charger_remove()
737 device_remove_file(&pdev->dev, &dev_attr_fast_charge_timer); in max77693_charger_remove()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c179 device_remove_file(adev->dev, &dev_attr_mem_info_vram_total); in amdgpu_vram_mgr_fini()
180 device_remove_file(adev->dev, &dev_attr_mem_info_vis_vram_total); in amdgpu_vram_mgr_fini()
181 device_remove_file(adev->dev, &dev_attr_mem_info_vram_used); in amdgpu_vram_mgr_fini()
182 device_remove_file(adev->dev, &dev_attr_mem_info_vis_vram_used); in amdgpu_vram_mgr_fini()
Damdgpu_pm.c2749 device_remove_file(adev->dev, &dev_attr_power_dpm_force_performance_level); in amdgpu_pm_virt_sysfs_fini()
2750 device_remove_file(adev->dev, &dev_attr_pp_dpm_sclk); in amdgpu_pm_virt_sysfs_fini()
2751 device_remove_file(adev->dev, &dev_attr_pp_dpm_mclk); in amdgpu_pm_virt_sysfs_fini()
2951 device_remove_file(adev->dev, &dev_attr_power_dpm_state); in amdgpu_pm_sysfs_fini()
2952 device_remove_file(adev->dev, &dev_attr_power_dpm_force_performance_level); in amdgpu_pm_sysfs_fini()
2954 device_remove_file(adev->dev, &dev_attr_pp_num_states); in amdgpu_pm_sysfs_fini()
2955 device_remove_file(adev->dev, &dev_attr_pp_cur_state); in amdgpu_pm_sysfs_fini()
2956 device_remove_file(adev->dev, &dev_attr_pp_force_state); in amdgpu_pm_sysfs_fini()
2957 device_remove_file(adev->dev, &dev_attr_pp_table); in amdgpu_pm_sysfs_fini()
2959 device_remove_file(adev->dev, &dev_attr_pp_dpm_sclk); in amdgpu_pm_sysfs_fini()
[all …]
/Linux-v5.4/drivers/thermal/
Dthermal_hwmon.c200 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
233 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
235 device_remove_file(hwmon->device, &temp->temp_crit.attr); in thermal_remove_hwmon_sysfs()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth_sysfs.c157 device_remove_file(dev, &dpaa_eth_attrs[--i]); in dpaa_eth_sysfs_init()
167 device_remove_file(dev, &dpaa_eth_attrs[i]); in dpaa_eth_sysfs_remove()
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c453 device_remove_file(sfp->class_dev, in pvr2_sysfs_tear_down_debugifc()
457 device_remove_file(sfp->class_dev, in pvr2_sysfs_tear_down_debugifc()
515 device_remove_file(sfp->class_dev, in class_dev_destroy()
519 device_remove_file(sfp->class_dev, in class_dev_destroy()
523 device_remove_file(sfp->class_dev, in class_dev_destroy()
527 device_remove_file(sfp->class_dev, in class_dev_destroy()
531 device_remove_file(sfp->class_dev, in class_dev_destroy()
535 device_remove_file(sfp->class_dev, in class_dev_destroy()
/Linux-v5.4/drivers/usb/host/
Dehci-sysfs.c171 device_remove_file(controller, &dev_attr_companion); in remove_sysfs_files()
173 device_remove_file(controller, &dev_attr_uframe_periodic_max); in remove_sysfs_files()
/Linux-v5.4/drivers/hid/
Dhid-prodikeys.c709 device_remove_file(&pm->pk->hdev->dev, sysfs_device_attr_octave); in pcmidi_snd_initialise()
711 device_remove_file(&pm->pk->hdev->dev, sysfs_device_attr_sustain); in pcmidi_snd_initialise()
713 device_remove_file(&pm->pk->hdev->dev, sysfs_device_attr_channel); in pcmidi_snd_initialise()
727 device_remove_file(&pm->pk->hdev->dev, in pcmidi_snd_terminate()
729 device_remove_file(&pm->pk->hdev->dev, in pcmidi_snd_terminate()
731 device_remove_file(&pm->pk->hdev->dev, in pcmidi_snd_terminate()
/Linux-v5.4/drivers/misc/ocxl/
Dsysfs.c135 device_remove_file(&info->dev, &afu_attrs[i]); in ocxl_sysfs_register_afu()
149 device_remove_file(&info->dev, &afu_attrs[i]); in ocxl_sysfs_unregister_afu()

123456789