Home
last modified time | relevance | path

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

123456789

/linux-5.19.10/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-5.19.10/drivers/acpi/
Ddevice_sysfs.c613 device_remove_file(&dev->dev, &dev_attr_power_state); in acpi_device_remove_files()
615 device_remove_file(&dev->dev, in acpi_device_remove_files()
624 device_remove_file(&dev->dev, &dev_attr_description); in acpi_device_remove_files()
630 device_remove_file(&dev->dev, &dev_attr_eject); in acpi_device_remove_files()
633 device_remove_file(&dev->dev, &dev_attr_sun); in acpi_device_remove_files()
636 device_remove_file(&dev->dev, &dev_attr_hrv); in acpi_device_remove_files()
639 device_remove_file(&dev->dev, &dev_attr_uid); in acpi_device_remove_files()
641 device_remove_file(&dev->dev, &dev_attr_adr); in acpi_device_remove_files()
642 device_remove_file(&dev->dev, &dev_attr_modalias); in acpi_device_remove_files()
643 device_remove_file(&dev->dev, &dev_attr_hid); in acpi_device_remove_files()
[all …]
Dacpi_pad.c347 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_add_sysfs()
352 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_add_sysfs()
353 device_remove_file(&device->dev, &dev_attr_idlepct); in acpi_pad_add_sysfs()
361 device_remove_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_remove_sysfs()
362 device_remove_file(&device->dev, &dev_attr_idlepct); in acpi_pad_remove_sysfs()
363 device_remove_file(&device->dev, &dev_attr_rrtime); in acpi_pad_remove_sysfs()
/linux-5.19.10/arch/powerpc/kernel/
Dsysfs.c785 device_remove_file(s, &dev_attr_idle_purr); in remove_idle_purr_file()
815 device_remove_file(s, &dev_attr_idle_spurr); in remove_idle_spurr_file()
936 device_remove_file(s, &dev_attr_smt_snooze_delay); in unregister_cpu_online()
970 device_remove_file(s, &attrs[i]); in unregister_cpu_online()
974 device_remove_file(s, &pmc_attrs[i]); in unregister_cpu_online()
979 device_remove_file(s, &dev_attr_mmcra); in unregister_cpu_online()
982 device_remove_file(s, &dev_attr_mmcr3); in unregister_cpu_online()
986 device_remove_file(s, &dev_attr_purr); in unregister_cpu_online()
991 device_remove_file(s, &dev_attr_spurr); in unregister_cpu_online()
996 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-5.19.10/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-5.19.10/drivers/macintosh/
Dtherm_adt746x.c452 device_remove_file(dev, &dev_attr_sensor1_temperature); in thermostat_remove_files()
453 device_remove_file(dev, &dev_attr_sensor2_temperature); in thermostat_remove_files()
454 device_remove_file(dev, &dev_attr_sensor1_limit); in thermostat_remove_files()
455 device_remove_file(dev, &dev_attr_sensor2_limit); in thermostat_remove_files()
456 device_remove_file(dev, &dev_attr_sensor1_location); in thermostat_remove_files()
457 device_remove_file(dev, &dev_attr_sensor2_location); in thermostat_remove_files()
458 device_remove_file(dev, &dev_attr_limit_adjust); in thermostat_remove_files()
459 device_remove_file(dev, &dev_attr_specified_fan_speed); in thermostat_remove_files()
460 device_remove_file(dev, &dev_attr_sensor1_fan_speed); in thermostat_remove_files()
462 device_remove_file(dev, &dev_attr_sensor2_fan_speed); in thermostat_remove_files()
/linux-5.19.10/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-5.19.10/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()
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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/thermal/
Dthermal_hwmon.c202 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
234 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
236 device_remove_file(hwmon->device, &temp->temp_crit.attr); in thermal_remove_hwmon_sysfs()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/i2c/muxes/
Di2c-demux-pinctrl.c273 device_remove_file(&pdev->dev, &dev_attr_available_masters); in i2c_demux_pinctrl_probe()
290 device_remove_file(&pdev->dev, &dev_attr_current_master); in i2c_demux_pinctrl_remove()
291 device_remove_file(&pdev->dev, &dev_attr_available_masters); in i2c_demux_pinctrl_remove()
/linux-5.19.10/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-5.19.10/drivers/platform/x86/
Dsony-laptop.c871 device_remove_file(&pd->dev, &handles->devattr); in sony_nc_handles_cleanup()
1944 device_remove_file(&pd->dev, &kbdbl_ctl->mode_attr); in sony_nc_kbd_backlight_setup()
1955 device_remove_file(&pd->dev, &kbdbl_ctl->mode_attr); in sony_nc_kbd_backlight_cleanup()
1957 device_remove_file(&pd->dev, &kbdbl_ctl->timeout_attr); in sony_nc_kbd_backlight_cleanup()
2101 device_remove_file(&pd->dev, &bcare_ctl->attrs[0]); in sony_nc_battery_care_setup()
2113 device_remove_file(&pd->dev, &bcare_ctl->attrs[0]); in sony_nc_battery_care_cleanup()
2115 device_remove_file(&pd->dev, &bcare_ctl->attrs[1]); in sony_nc_battery_care_cleanup()
2261 device_remove_file(&pd->dev, &th_handle->profiles_attr); in sony_nc_thermal_setup()
2271 device_remove_file(&pd->dev, &th_handle->profiles_attr); in sony_nc_thermal_cleanup()
2272 device_remove_file(&pd->dev, &th_handle->mode_attr); in sony_nc_thermal_cleanup()
[all …]

123456789