Home
last modified time | relevance | path

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

12345678

/linux-6.15/arch/sh/drivers/dma/
H A 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.15/arch/powerpc/kernel/
H A Dsysfs.c796 device_remove_file(s, &dev_attr_idle_purr); in remove_idle_purr_file()
826 device_remove_file(s, &dev_attr_idle_spurr); in remove_idle_spurr_file()
981 device_remove_file(s, &attrs[i]); in unregister_cpu_online()
985 device_remove_file(s, &pmc_attrs[i]); in unregister_cpu_online()
990 device_remove_file(s, &dev_attr_mmcra); in unregister_cpu_online()
993 device_remove_file(s, &dev_attr_mmcr3); in unregister_cpu_online()
997 device_remove_file(s, &dev_attr_purr); in unregister_cpu_online()
1002 device_remove_file(s, &dev_attr_spurr); in unregister_cpu_online()
1007 device_remove_file(s, &dev_attr_dscr); in unregister_cpu_online()
1010 device_remove_file(s, &dev_attr_pir); in unregister_cpu_online()
[all …]
H A 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.15/drivers/net/wireless/ti/wlcore/
H A Dsysfs.c155 device_remove_file(wl->dev, &dev_attr_hw_pg_ver); in wlcore_sysfs_init()
158 device_remove_file(wl->dev, &dev_attr_bt_coex_state); in wlcore_sysfs_init()
168 device_remove_file(wl->dev, &dev_attr_hw_pg_ver); in wlcore_sysfs_free()
170 device_remove_file(wl->dev, &dev_attr_bt_coex_state); in wlcore_sysfs_free()
/linux-6.15/drivers/macintosh/
H A 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.15/drivers/mfd/
H A 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()
H A 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.15/drivers/hwmon/
H A 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()
H A Dibmpex.c420 device_remove_file(data->bmc_device, in ibmpex_find_sensors()
422 device_remove_file(data->bmc_device, &dev_attr_name.attr); in ibmpex_find_sensors()
427 device_remove_file(data->bmc_device, in ibmpex_find_sensors()
511 device_remove_file(data->bmc_device, in ibmpex_bmc_delete()
513 device_remove_file(data->bmc_device, &dev_attr_name.attr); in ibmpex_bmc_delete()
518 device_remove_file(data->bmc_device, in ibmpex_bmc_delete()
H A Dadcxx.c191 device_remove_file(&spi->dev, &ad_input[i].dev_attr); in adcxx_probe()
205 device_remove_file(&spi->dev, &ad_input[i].dev_attr); in adcxx_remove()
/linux-6.15/drivers/platform/x86/intel/
H A Drst.c112 device_remove_file(&acpi->dev, &irst_timeout_attr); in irst_add()
119 device_remove_file(&acpi->dev, &irst_wakeup_attr); in irst_remove()
120 device_remove_file(&acpi->dev, &irst_timeout_attr); in irst_remove()
/linux-6.15/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c212 device_remove_file(dev, &dev_attr_interference); in b43legacy_sysfs_register()
220 device_remove_file(dev, &dev_attr_shortpreamble); in b43legacy_sysfs_unregister()
221 device_remove_file(dev, &dev_attr_interference); in b43legacy_sysfs_unregister()
/linux-6.15/drivers/spi/
H A 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.15/drivers/power/supply/
H A Dmax77693_charger.c776 device_remove_file(&pdev->dev, &dev_attr_top_off_timer); in max77693_charger_probe()
777 device_remove_file(&pdev->dev, &dev_attr_top_off_threshold_current); in max77693_charger_probe()
778 device_remove_file(&pdev->dev, &dev_attr_fast_charge_timer); in max77693_charger_probe()
785 device_remove_file(&pdev->dev, &dev_attr_top_off_timer); in max77693_charger_remove()
786 device_remove_file(&pdev->dev, &dev_attr_top_off_threshold_current); in max77693_charger_remove()
787 device_remove_file(&pdev->dev, &dev_attr_fast_charge_timer); in max77693_charger_remove()
/linux-6.15/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c127 device_remove_file(dev, &dpaa_eth_attrs[--i]); in dpaa_eth_sysfs_init()
137 device_remove_file(dev, &dpaa_eth_attrs[i]); in dpaa_eth_sysfs_remove()
/linux-6.15/drivers/thermal/
H A Dthermal_hwmon.c205 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
237 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
239 device_remove_file(hwmon->device, &temp->temp_crit.attr); in thermal_remove_hwmon_sysfs()
/linux-6.15/drivers/media/usb/pvrusb2/
H A 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.15/drivers/usb/host/
H A 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.15/drivers/hid/
H A Dhid-prodikeys.c699 device_remove_file(&pm->hdev->dev, sysfs_device_attr_octave); in pcmidi_snd_initialise()
701 device_remove_file(&pm->hdev->dev, sysfs_device_attr_sustain); in pcmidi_snd_initialise()
703 device_remove_file(&pm->hdev->dev, sysfs_device_attr_channel); in pcmidi_snd_initialise()
717 device_remove_file(&pm->hdev->dev, sysfs_device_attr_channel); in pcmidi_snd_terminate()
718 device_remove_file(&pm->hdev->dev, sysfs_device_attr_sustain); in pcmidi_snd_terminate()
719 device_remove_file(&pm->hdev->dev, sysfs_device_attr_octave); in pcmidi_snd_terminate()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.c600 device_remove_file(adev->dev, &dev_attr_xgmi_device_id); in amdgpu_xgmi_sysfs_add_dev_info()
601 device_remove_file(adev->dev, &dev_attr_xgmi_physical_id); in amdgpu_xgmi_sysfs_add_dev_info()
602 device_remove_file(adev->dev, &dev_attr_xgmi_error); in amdgpu_xgmi_sysfs_add_dev_info()
603 device_remove_file(adev->dev, &dev_attr_xgmi_num_hops); in amdgpu_xgmi_sysfs_add_dev_info()
604 device_remove_file(adev->dev, &dev_attr_xgmi_num_links); in amdgpu_xgmi_sysfs_add_dev_info()
606 device_remove_file(adev->dev, &dev_attr_xgmi_port_num); in amdgpu_xgmi_sysfs_add_dev_info()
618 device_remove_file(adev->dev, &dev_attr_xgmi_device_id); in amdgpu_xgmi_sysfs_rem_dev_info()
620 device_remove_file(adev->dev, &dev_attr_xgmi_error); in amdgpu_xgmi_sysfs_rem_dev_info()
621 device_remove_file(adev->dev, &dev_attr_xgmi_num_hops); in amdgpu_xgmi_sysfs_rem_dev_info()
622 device_remove_file(adev->dev, &dev_attr_xgmi_num_links); in amdgpu_xgmi_sysfs_rem_dev_info()
[all …]
/linux-6.15/drivers/macintosh/ams/
H A 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.15/drivers/i2c/muxes/
H A Di2c-demux-pinctrl.c279 device_remove_file(&pdev->dev, &dev_attr_available_masters); in i2c_demux_pinctrl_probe()
296 device_remove_file(&pdev->dev, &dev_attr_current_master); in i2c_demux_pinctrl_remove()
297 device_remove_file(&pdev->dev, &dev_attr_available_masters); in i2c_demux_pinctrl_remove()
/linux-6.15/drivers/platform/x86/
H A Dsony-laptop.c869 device_remove_file(&pd->dev, &handles->devattr); in sony_nc_handles_cleanup()
2528 device_remove_file(&pd->dev, &gfxs_ctl->attr); in sony_nc_gfx_switch_cleanup()
2603 device_remove_file(&pd->dev, hsc_handle); in sony_nc_highspeed_charging_cleanup()
2669 device_remove_file(&pd->dev, lowbatt_handle); in sony_nc_lowbatt_cleanup()
2756 device_remove_file(&pd->dev, fan_handle); in sony_nc_fanspeed_setup()
2771 device_remove_file(&pd->dev, fan_handle); in sony_nc_fanspeed_cleanup()
2776 device_remove_file(&pd->dev, hsf_handle); in sony_nc_fanspeed_cleanup()
2850 device_remove_file(&pd->dev, uc_handle); in sony_nc_usb_charge_cleanup()
2897 device_remove_file(&pd->dev, panel_handle); in sony_nc_panelid_cleanup()
2952 device_remove_file(&pd->dev, sc_handle); in sony_nc_smart_conn_cleanup()
[all …]
H A Dhuawei-wmi.c481 device_remove_file(&battery->dev, &dev_attr_charge_control_start_threshold); in huawei_wmi_battery_add()
488 device_remove_file(&battery->dev, &dev_attr_charge_control_start_threshold); in huawei_wmi_battery_remove()
489 device_remove_file(&battery->dev, &dev_attr_charge_control_end_threshold); in huawei_wmi_battery_remove()
520 device_remove_file(dev, &dev_attr_charge_control_thresholds); in huawei_wmi_battery_exit()
605 device_remove_file(dev, &dev_attr_fn_lock_state); in huawei_wmi_fn_lock_exit()
/linux-6.15/drivers/scsi/aic94xx/
H A Daic94xx_init.c471 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_pcba_sn); in asd_create_dev_attrs()
473 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_bios_build); in asd_create_dev_attrs()
475 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_aic_revision); in asd_create_dev_attrs()
481 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_aic_revision); in asd_remove_dev_attrs()
482 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_bios_build); in asd_remove_dev_attrs()
483 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_pcba_sn); in asd_remove_dev_attrs()
484 device_remove_file(&asd_ha->pcidev->dev, &dev_attr_update_bios); in asd_remove_dev_attrs()

12345678