/Linux-v5.4/drivers/dio/ |
D | dio-sysfs.c | 73 if ((error = device_create_file(dev, &dev_attr_id)) || in dio_create_sysfs_dev_files() 74 (error = device_create_file(dev, &dev_attr_ipl)) || in dio_create_sysfs_dev_files() 75 (error = device_create_file(dev, &dev_attr_secid)) || in dio_create_sysfs_dev_files() 76 (error = device_create_file(dev, &dev_attr_name)) || in dio_create_sysfs_dev_files() 77 (error = device_create_file(dev, &dev_attr_resource))) in dio_create_sysfs_dev_files()
|
/Linux-v5.4/arch/sh/drivers/dma/ |
D | dma-sysfs.c | 54 return device_create_file(dma_subsys.dev_root, &dev_attr_devices); in dma_subsys_init() 134 ret |= device_create_file(dev, &dev_attr_dev_id); in dma_create_sysfs_files() 135 ret |= device_create_file(dev, &dev_attr_count); in dma_create_sysfs_files() 136 ret |= device_create_file(dev, &dev_attr_mode); in dma_create_sysfs_files() 137 ret |= device_create_file(dev, &dev_attr_flags); in dma_create_sysfs_files() 138 ret |= device_create_file(dev, &dev_attr_config); in dma_create_sysfs_files()
|
/Linux-v5.4/drivers/soc/versatile/ |
D | soc-integrator.c | 137 device_create_file(dev, &integrator_manf_attr); in integrator_soc_init() 138 device_create_file(dev, &integrator_arch_attr); in integrator_soc_init() 139 device_create_file(dev, &integrator_fpga_attr); in integrator_soc_init() 140 device_create_file(dev, &integrator_build_attr); in integrator_soc_init()
|
D | soc-realview.c | 115 device_create_file(soc_device_to_device(soc_dev), &realview_manf_attr); in realview_soc_probe() 116 device_create_file(soc_device_to_device(soc_dev), &realview_board_attr); in realview_soc_probe() 117 device_create_file(soc_device_to_device(soc_dev), &realview_arch_attr); in realview_soc_probe() 118 device_create_file(soc_device_to_device(soc_dev), &realview_build_attr); in realview_soc_probe()
|
/Linux-v5.4/drivers/hwmon/ |
D | w83627hf.c | 1444 if ((err = device_create_file(dev, in w83627hf_probe() 1446 || (err = device_create_file(dev, in w83627hf_probe() 1448 || (err = device_create_file(dev, in w83627hf_probe() 1450 || (err = device_create_file(dev, in w83627hf_probe() 1452 || (err = device_create_file(dev, in w83627hf_probe() 1454 || (err = device_create_file(dev, in w83627hf_probe() 1456 || (err = device_create_file(dev, in w83627hf_probe() 1458 || (err = device_create_file(dev, in w83627hf_probe() 1460 || (err = device_create_file(dev, in w83627hf_probe() 1462 || (err = device_create_file(dev, in w83627hf_probe() [all …]
|
D | i5k_amb.c | 290 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 305 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 321 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 337 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 353 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 368 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 376 res = device_create_file(&pdev->dev, &dev_attr_name); in i5k_amb_hwmon_init()
|
D | w83627ehf.c | 2359 err = device_create_file(dev, &dev_attr_cpu0_vid); in w83627ehf_probe() 2398 err = device_create_file(dev, &dev_attr_cpu0_vid); in w83627ehf_probe() 2438 err = device_create_file(dev, &sda_sf3_arrays[i].dev_attr); in w83627ehf_probe() 2448 err = device_create_file(dev, &attr->dev_attr); in w83627ehf_probe() 2456 err = device_create_file(dev, in w83627ehf_probe() 2463 err = device_create_file(dev, in w83627ehf_probe() 2472 if ((err = device_create_file(dev, &sda_in_input[i].dev_attr)) in w83627ehf_probe() 2473 || (err = device_create_file(dev, in w83627ehf_probe() 2475 || (err = device_create_file(dev, in w83627ehf_probe() 2477 || (err = device_create_file(dev, in w83627ehf_probe() [all …]
|
D | w83l785ts.c | 185 err = device_create_file(dev, &sensor_dev_attr_temp1_input.dev_attr); in w83l785ts_probe() 189 err = device_create_file(dev, &sensor_dev_attr_temp1_max.dev_attr); in w83l785ts_probe()
|
/Linux-v5.4/drivers/acpi/ |
D | device_sysfs.c | 523 result = device_create_file(&dev->dev, &dev_attr_path); in acpi_device_setup_files() 529 result = device_create_file(&dev->dev, &dev_attr_hid); in acpi_device_setup_files() 533 result = device_create_file(&dev->dev, &dev_attr_modalias); in acpi_device_setup_files() 547 result = device_create_file(&dev->dev, &dev_attr_description); in acpi_device_setup_files() 553 result = device_create_file(&dev->dev, &dev_attr_adr); in acpi_device_setup_files() 555 result = device_create_file(&dev->dev, &dev_attr_uid); in acpi_device_setup_files() 558 result = device_create_file(&dev->dev, &dev_attr_sun); in acpi_device_setup_files() 564 result = device_create_file(&dev->dev, &dev_attr_hrv); in acpi_device_setup_files() 570 result = device_create_file(&dev->dev, &dev_attr_status); in acpi_device_setup_files() 580 result = device_create_file(&dev->dev, &dev_attr_eject); in acpi_device_setup_files() [all …]
|
D | acpi_pad.c | 338 result = device_create_file(&device->dev, &dev_attr_idlecpus); in acpi_pad_add_sysfs() 341 result = device_create_file(&device->dev, &dev_attr_idlepct); in acpi_pad_add_sysfs() 346 result = device_create_file(&device->dev, &dev_attr_rrtime); in acpi_pad_add_sysfs()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | sysfs.c | 602 err = device_create_file(cpu_subsys.dev_root, &dev_attr_dscr_default); in sysfs_create_dscr_default() 728 device_create_file(cpu_subsys.dev_root, &dev_attr_svm); in create_svm_file() 749 device_create_file(s, &dev_attr_smt_snooze_delay); in register_cpu_online() 783 device_create_file(s, &attrs[i]); in register_cpu_online() 787 device_create_file(s, &pmc_attrs[i]); in register_cpu_online() 791 device_create_file(s, &dev_attr_mmcra); in register_cpu_online() 796 device_create_file(s, &dev_attr_purr); in register_cpu_online() 800 device_create_file(s, &dev_attr_spurr); in register_cpu_online() 803 device_create_file(s, &dev_attr_dscr); in register_cpu_online() 806 device_create_file(s, &dev_attr_pir); in register_cpu_online() [all …]
|
D | eeh_sysfs.c | 134 rc = device_create_file(&pdev->dev, &dev_attr_eeh_notify_resume); in eeh_notify_resume_add() 164 rc += device_create_file(&pdev->dev, &dev_attr_eeh_mode); in eeh_sysfs_add_device() 165 rc += device_create_file(&pdev->dev, &dev_attr_eeh_pe_config_addr); in eeh_sysfs_add_device() 166 rc += device_create_file(&pdev->dev, &dev_attr_eeh_pe_state); in eeh_sysfs_add_device()
|
/Linux-v5.4/drivers/macintosh/ |
D | therm_adt746x.c | 430 err = device_create_file(dev, &dev_attr_sensor1_temperature); in thermostat_create_files() 431 err |= device_create_file(dev, &dev_attr_sensor2_temperature); in thermostat_create_files() 432 err |= device_create_file(dev, &dev_attr_sensor1_limit); in thermostat_create_files() 433 err |= device_create_file(dev, &dev_attr_sensor2_limit); in thermostat_create_files() 434 err |= device_create_file(dev, &dev_attr_sensor1_location); in thermostat_create_files() 435 err |= device_create_file(dev, &dev_attr_sensor2_location); in thermostat_create_files() 436 err |= device_create_file(dev, &dev_attr_limit_adjust); in thermostat_create_files() 437 err |= device_create_file(dev, &dev_attr_specified_fan_speed); in thermostat_create_files() 438 err |= device_create_file(dev, &dev_attr_sensor1_fan_speed); in thermostat_create_files() 440 err |= device_create_file(dev, &dev_attr_sensor2_fan_speed); in thermostat_create_files()
|
/Linux-v5.4/drivers/mfd/ |
D | ucb1x00-assabet.c | 63 device_create_file(&ucb->dev, &dev_attr_vbatt); in ucb1x00_assabet_add() 64 device_create_file(&ucb->dev, &dev_attr_vcharger); in ucb1x00_assabet_add() 65 device_create_file(&ucb->dev, &dev_attr_batt_temp); in ucb1x00_assabet_add()
|
D | tps65911-comparator.c | 132 ret = device_create_file(&pdev->dev, &dev_attr_comp1_threshold); in tps65911_comparator_probe() 136 ret = device_create_file(&pdev->dev, &dev_attr_comp2_threshold); in tps65911_comparator_probe()
|
/Linux-v5.4/arch/mips/txx9/generic/ |
D | 7segled.c | 99 error = device_create_file(tx_7segled_subsys.dev_root, &dev_attr_map_seg7); in tx_7segled_init_sysfs() 117 device_create_file(dev, &dev_attr_ascii); in tx_7segled_init_sysfs() 118 device_create_file(dev, &dev_attr_raw); in tx_7segled_init_sysfs()
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | pseries_energy.c | 312 err = device_create_file(cpu_subsys.dev_root, in pseries_energy_init() 315 err = device_create_file(cpu_subsys.dev_root, in pseries_energy_init() 322 err = device_create_file(cpu_dev, in pseries_energy_init() 326 err = device_create_file(cpu_dev, in pseries_energy_init()
|
/Linux-v5.4/drivers/platform/x86/ |
D | intel-rst.c | 105 error = device_create_file(&acpi->dev, &irst_timeout_attr); in irst_add() 109 error = device_create_file(&acpi->dev, &irst_wakeup_attr); in irst_add()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vram_mgr.c | 137 ret = device_create_file(adev->dev, &dev_attr_mem_info_vram_total); in amdgpu_vram_mgr_init() 142 ret = device_create_file(adev->dev, &dev_attr_mem_info_vis_vram_total); in amdgpu_vram_mgr_init() 147 ret = device_create_file(adev->dev, &dev_attr_mem_info_vram_used); in amdgpu_vram_mgr_init() 152 ret = device_create_file(adev->dev, &dev_attr_mem_info_vis_vram_used); in amdgpu_vram_mgr_init()
|
D | amdgpu_pm.c | 2723 ret = device_create_file(adev->dev, &dev_attr_pp_dpm_sclk); in amdgpu_pm_virt_sysfs_init() 2729 ret = device_create_file(adev->dev, &dev_attr_pp_dpm_mclk); in amdgpu_pm_virt_sysfs_init() 2735 ret = device_create_file(adev->dev, &dev_attr_power_dpm_force_performance_level); in amdgpu_pm_virt_sysfs_init() 2790 ret = device_create_file(adev->dev, &dev_attr_power_dpm_state); in amdgpu_pm_sysfs_init() 2795 ret = device_create_file(adev->dev, &dev_attr_power_dpm_force_performance_level); in amdgpu_pm_sysfs_init() 2802 ret = device_create_file(adev->dev, &dev_attr_pp_num_states); in amdgpu_pm_sysfs_init() 2807 ret = device_create_file(adev->dev, &dev_attr_pp_cur_state); in amdgpu_pm_sysfs_init() 2812 ret = device_create_file(adev->dev, &dev_attr_pp_force_state); in amdgpu_pm_sysfs_init() 2817 ret = device_create_file(adev->dev, &dev_attr_pp_table); in amdgpu_pm_sysfs_init() 2823 ret = device_create_file(adev->dev, &dev_attr_pp_dpm_sclk); in amdgpu_pm_sysfs_init() [all …]
|
/Linux-v5.4/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 430 ret = device_create_file(sfp->class_dev,&dip->attr_debugcmd); in pvr2_sysfs_add_debugifc() 438 ret = device_create_file(sfp->class_dev,&dip->attr_debuginfo); in pvr2_sysfs_add_debugifc() 653 ret = device_create_file(sfp->class_dev, in class_dev_create() 668 ret = device_create_file(sfp->class_dev, in class_dev_create() 683 ret = device_create_file(sfp->class_dev,&sfp->attr_unit_number); in class_dev_create() 697 ret = device_create_file(sfp->class_dev, in class_dev_create() 712 ret = device_create_file(sfp->class_dev, in class_dev_create() 727 ret = device_create_file(sfp->class_dev, in class_dev_create()
|
/Linux-v5.4/drivers/usb/host/ |
D | ehci-sysfs.c | 156 i = device_create_file(controller, &dev_attr_companion); in create_sysfs_files() 160 i = device_create_file(controller, &dev_attr_uframe_periodic_max); in create_sysfs_files()
|
/Linux-v5.4/drivers/net/wireless/ti/wlcore/ |
D | sysfs.c | 141 ret = device_create_file(wl->dev, &dev_attr_bt_coex_state); in wlcore_sysfs_init() 148 ret = device_create_file(wl->dev, &dev_attr_hw_pg_ver); in wlcore_sysfs_init()
|
/Linux-v5.4/drivers/net/wireless/broadcom/b43legacy/ |
D | sysfs.c | 204 err = device_create_file(dev, &dev_attr_interference); in b43legacy_sysfs_register() 207 err = device_create_file(dev, &dev_attr_shortpreamble); in b43legacy_sysfs_register()
|
/Linux-v5.4/drivers/staging/fbtft/ |
D | fbtft-sysfs.c | 206 device_create_file(par->info->dev, &debug_device_attr); in fbtft_sysfs_init() 208 device_create_file(par->info->dev, &gamma_device_attrs[0]); in fbtft_sysfs_init()
|