Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/drivers/acpi/
Ddevice_sysfs.c615 device_remove_file(&dev->dev, &dev_attr_power_state); in acpi_device_remove_files()
617 device_remove_file(&dev->dev, in acpi_device_remove_files()
626 device_remove_file(&dev->dev, &dev_attr_description); in acpi_device_remove_files()
632 device_remove_file(&dev->dev, &dev_attr_eject); in acpi_device_remove_files()
635 device_remove_file(&dev->dev, &dev_attr_sun); in acpi_device_remove_files()
638 device_remove_file(&dev->dev, &dev_attr_hrv); in acpi_device_remove_files()
641 device_remove_file(&dev->dev, &dev_attr_uid); in acpi_device_remove_files()
643 device_remove_file(&dev->dev, &dev_attr_adr); in acpi_device_remove_files()
644 device_remove_file(&dev->dev, &dev_attr_modalias); in acpi_device_remove_files()
645 device_remove_file(&dev->dev, &dev_attr_hid); in acpi_device_remove_files()
[all …]
Dacpi_pad.c348 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_add_sysfs()
353 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_add_sysfs()
354 device_remove_file(&device->dev, &dev_attr_idlepct); in acpi_pad_add_sysfs()
362 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_remove_sysfs()
363 device_remove_file(&device->dev, &dev_attr_idlepct); in acpi_pad_remove_sysfs()
364 device_remove_file(&device->dev, &dev_attr_rrtime); in acpi_pad_remove_sysfs()
/linux-6.6.21/arch/sh/drivers/dma/
Ddma-sysfs.c160 device_remove_file(dev, &dev_attr_dev_id); in dma_remove_sysfs_files()
161 device_remove_file(dev, &dev_attr_count); in dma_remove_sysfs_files()
162 device_remove_file(dev, &dev_attr_mode); in dma_remove_sysfs_files()
163 device_remove_file(dev, &dev_attr_flags); in dma_remove_sysfs_files()
164 device_remove_file(dev, &dev_attr_config); in dma_remove_sysfs_files()
/linux-6.6.21/arch/powerpc/kernel/
Dsysfs.c795 device_remove_file(s, &dev_attr_idle_purr); in remove_idle_purr_file()
825 device_remove_file(s, &dev_attr_idle_spurr); in remove_idle_spurr_file()
946 device_remove_file(s, &dev_attr_smt_snooze_delay); in unregister_cpu_online()
980 device_remove_file(s, &attrs[i]); in unregister_cpu_online()
984 device_remove_file(s, &pmc_attrs[i]); in unregister_cpu_online()
989 device_remove_file(s, &dev_attr_mmcra); in unregister_cpu_online()
992 device_remove_file(s, &dev_attr_mmcr3); in unregister_cpu_online()
996 device_remove_file(s, &dev_attr_purr); in unregister_cpu_online()
1001 device_remove_file(s, &dev_attr_spurr); in unregister_cpu_online()
1006 device_remove_file(s, &dev_attr_dscr); in unregister_cpu_online()
[all …]
Deeh_sysfs.c130 device_remove_file(&pdev->dev, &dev_attr_eeh_notify_resume); in eeh_notify_resume_remove()
177 device_remove_file(&pdev->dev, &dev_attr_eeh_mode); in eeh_sysfs_remove_device()
178 device_remove_file(&pdev->dev, &dev_attr_eeh_pe_config_addr); in eeh_sysfs_remove_device()
179 device_remove_file(&pdev->dev, &dev_attr_eeh_pe_state); in eeh_sysfs_remove_device()
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dsysfs.c160 device_remove_file(wl->dev, &dev_attr_hw_pg_ver); in wlcore_sysfs_init()
163 device_remove_file(wl->dev, &dev_attr_bt_coex_state); in wlcore_sysfs_init()
173 device_remove_file(wl->dev, &dev_attr_hw_pg_ver); in wlcore_sysfs_free()
175 device_remove_file(wl->dev, &dev_attr_bt_coex_state); in wlcore_sysfs_free()
/linux-6.6.21/drivers/macintosh/
Dtherm_adt746x.c454 device_remove_file(dev, &dev_attr_sensor1_temperature); in thermostat_remove_files()
455 device_remove_file(dev, &dev_attr_sensor2_temperature); in thermostat_remove_files()
456 device_remove_file(dev, &dev_attr_sensor1_limit); in thermostat_remove_files()
457 device_remove_file(dev, &dev_attr_sensor2_limit); in thermostat_remove_files()
458 device_remove_file(dev, &dev_attr_sensor1_location); in thermostat_remove_files()
459 device_remove_file(dev, &dev_attr_sensor2_location); in thermostat_remove_files()
460 device_remove_file(dev, &dev_attr_limit_adjust); in thermostat_remove_files()
461 device_remove_file(dev, &dev_attr_specified_fan_speed); in thermostat_remove_files()
462 device_remove_file(dev, &dev_attr_sensor1_fan_speed); in thermostat_remove_files()
464 device_remove_file(dev, &dev_attr_sensor2_fan_speed); in thermostat_remove_files()
/linux-6.6.21/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-6.6.21/drivers/hwmon/
Dw83l785ts.c201 device_remove_file(dev, &sensor_dev_attr_temp1_input.dev_attr); in w83l785ts_probe()
202 device_remove_file(dev, &sensor_dev_attr_temp1_max.dev_attr); in w83l785ts_probe()
211 device_remove_file(&client->dev, in w83l785ts_remove()
213 device_remove_file(&client->dev, in w83l785ts_remove()
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()
517 device_remove_file(data->bmc_device, in ibmpex_bmc_delete()
519 device_remove_file(data->bmc_device, &sensor_dev_attr_name.dev_attr); in ibmpex_bmc_delete()
524 device_remove_file(data->bmc_device, in ibmpex_bmc_delete()
/linux-6.6.21/drivers/platform/x86/intel/
Drst.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-6.6.21/drivers/net/wireless/broadcom/b43legacy/
Dsysfs.c216 device_remove_file(dev, &dev_attr_interference); in b43legacy_sysfs_register()
224 device_remove_file(dev, &dev_attr_shortpreamble); in b43legacy_sysfs_unregister()
225 device_remove_file(dev, &dev_attr_interference); in b43legacy_sysfs_unregister()
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth_sysfs.c129 device_remove_file(dev, &dpaa_eth_attrs[--i]); in dpaa_eth_sysfs_init()
139 device_remove_file(dev, &dpaa_eth_attrs[i]); in dpaa_eth_sysfs_remove()
/linux-6.6.21/drivers/thermal/
Dthermal_hwmon.c211 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
243 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
245 device_remove_file(hwmon->device, &temp->temp_crit.attr); in thermal_remove_hwmon_sysfs()
/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c449 device_remove_file(sfp->class_dev, in pvr2_sysfs_tear_down_debugifc()
453 device_remove_file(sfp->class_dev, in pvr2_sysfs_tear_down_debugifc()
508 device_remove_file(sfp->class_dev, in class_dev_destroy()
512 device_remove_file(sfp->class_dev, in class_dev_destroy()
516 device_remove_file(sfp->class_dev, in class_dev_destroy()
520 device_remove_file(sfp->class_dev, in class_dev_destroy()
524 device_remove_file(sfp->class_dev, in class_dev_destroy()
528 device_remove_file(sfp->class_dev, in class_dev_destroy()
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.c450 device_remove_file(adev->dev, &dev_attr_xgmi_device_id); in amdgpu_xgmi_sysfs_add_dev_info()
451 device_remove_file(adev->dev, &dev_attr_xgmi_error); in amdgpu_xgmi_sysfs_add_dev_info()
452 device_remove_file(adev->dev, &dev_attr_xgmi_num_hops); in amdgpu_xgmi_sysfs_add_dev_info()
453 device_remove_file(adev->dev, &dev_attr_xgmi_num_links); in amdgpu_xgmi_sysfs_add_dev_info()
465 device_remove_file(adev->dev, &dev_attr_xgmi_device_id); in amdgpu_xgmi_sysfs_rem_dev_info()
466 device_remove_file(adev->dev, &dev_attr_xgmi_error); in amdgpu_xgmi_sysfs_rem_dev_info()
467 device_remove_file(adev->dev, &dev_attr_xgmi_num_hops); in amdgpu_xgmi_sysfs_rem_dev_info()
468 device_remove_file(adev->dev, &dev_attr_xgmi_num_links); in amdgpu_xgmi_sysfs_rem_dev_info()
/linux-6.6.21/drivers/macintosh/ams/
Dams-core.c169 device_remove_file(&ams_info.of_dev->dev, &dev_attr_current); in ams_sensor_attach()
209 device_remove_file(&ams_info.of_dev->dev, &dev_attr_current); in ams_sensor_detach()
/linux-6.6.21/drivers/i2c/muxes/
Di2c-demux-pinctrl.c277 device_remove_file(&pdev->dev, &dev_attr_available_masters); in i2c_demux_pinctrl_probe()
294 device_remove_file(&pdev->dev, &dev_attr_current_master); in i2c_demux_pinctrl_remove()
295 device_remove_file(&pdev->dev, &dev_attr_available_masters); in i2c_demux_pinctrl_remove()
/linux-6.6.21/drivers/misc/cxl/
Dsysfs.c486 device_remove_file(&adapter->dev, dev_attr); in cxl_sysfs_adapter_add()
500 device_remove_file(&adapter->dev, dev_attr); in cxl_sysfs_adapter_remove()
663 device_remove_file(&afu->dev, &afu_attrs[i]); in cxl_sysfs_afu_remove()
729 device_remove_file(&afu->dev, &afu_attrs[i]); in cxl_sysfs_afu_add()
755 device_remove_file(afu->chardev_m, &afu_master_attrs[i]); in cxl_sysfs_afu_m_add()
769 device_remove_file(afu->chardev_m, &afu_master_attrs[i]); in cxl_sysfs_afu_m_remove()
/linux-6.6.21/drivers/platform/x86/
Dsony-laptop.c870 device_remove_file(&pd->dev, &handles->devattr); in sony_nc_handles_cleanup()
1950 device_remove_file(&pd->dev, &kbdbl_ctl->mode_attr); in sony_nc_kbd_backlight_setup()
1961 device_remove_file(&pd->dev, &kbdbl_ctl->mode_attr); in sony_nc_kbd_backlight_cleanup()
1963 device_remove_file(&pd->dev, &kbdbl_ctl->timeout_attr); in sony_nc_kbd_backlight_cleanup()
2107 device_remove_file(&pd->dev, &bcare_ctl->attrs[0]); in sony_nc_battery_care_setup()
2119 device_remove_file(&pd->dev, &bcare_ctl->attrs[0]); in sony_nc_battery_care_cleanup()
2121 device_remove_file(&pd->dev, &bcare_ctl->attrs[1]); in sony_nc_battery_care_cleanup()
2266 device_remove_file(&pd->dev, &th_handle->profiles_attr); in sony_nc_thermal_setup()
2276 device_remove_file(&pd->dev, &th_handle->profiles_attr); in sony_nc_thermal_cleanup()
2277 device_remove_file(&pd->dev, &th_handle->mode_attr); in sony_nc_thermal_cleanup()
[all …]

123456789