/Linux-v4.19/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-v4.19/arch/sh/drivers/dma/ |
D | dma-sysfs.c | 57 return device_create_file(dma_subsys.dev_root, &dev_attr_devices); in dma_subsys_init() 137 ret |= device_create_file(dev, &dev_attr_dev_id); in dma_create_sysfs_files() 138 ret |= device_create_file(dev, &dev_attr_count); in dma_create_sysfs_files() 139 ret |= device_create_file(dev, &dev_attr_mode); in dma_create_sysfs_files() 140 ret |= device_create_file(dev, &dev_attr_flags); in dma_create_sysfs_files() 141 ret |= device_create_file(dev, &dev_attr_config); in dma_create_sysfs_files()
|
/Linux-v4.19/drivers/soc/versatile/ |
D | soc-integrator.c | 141 device_create_file(dev, &integrator_manf_attr); in integrator_soc_init() 142 device_create_file(dev, &integrator_arch_attr); in integrator_soc_init() 143 device_create_file(dev, &integrator_fpga_attr); in integrator_soc_init() 144 device_create_file(dev, &integrator_build_attr); in integrator_soc_init()
|
D | soc-realview.c | 119 device_create_file(soc_device_to_device(soc_dev), &realview_manf_attr); in realview_soc_probe() 120 device_create_file(soc_device_to_device(soc_dev), &realview_board_attr); in realview_soc_probe() 121 device_create_file(soc_device_to_device(soc_dev), &realview_arch_attr); in realview_soc_probe() 122 device_create_file(soc_device_to_device(soc_dev), &realview_build_attr); in realview_soc_probe()
|
/Linux-v4.19/drivers/acpi/ |
D | device_sysfs.c | 525 result = device_create_file(&dev->dev, &dev_attr_path); in acpi_device_setup_files() 531 result = device_create_file(&dev->dev, &dev_attr_hid); in acpi_device_setup_files() 535 result = device_create_file(&dev->dev, &dev_attr_modalias); in acpi_device_setup_files() 549 result = device_create_file(&dev->dev, &dev_attr_description); in acpi_device_setup_files() 555 result = device_create_file(&dev->dev, &dev_attr_adr); in acpi_device_setup_files() 557 result = device_create_file(&dev->dev, &dev_attr_uid); in acpi_device_setup_files() 560 result = device_create_file(&dev->dev, &dev_attr_sun); in acpi_device_setup_files() 566 result = device_create_file(&dev->dev, &dev_attr_hrv); in acpi_device_setup_files() 572 result = device_create_file(&dev->dev, &dev_attr_status); in acpi_device_setup_files() 582 result = device_create_file(&dev->dev, &dev_attr_eject); in acpi_device_setup_files() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | sysfs.c | 600 err = device_create_file(cpu_subsys.dev_root, &dev_attr_dscr_default); in sysfs_create_dscr_default() 730 device_create_file(s, &dev_attr_smt_snooze_delay); in register_cpu_online() 764 device_create_file(s, &attrs[i]); in register_cpu_online() 768 device_create_file(s, &pmc_attrs[i]); in register_cpu_online() 772 device_create_file(s, &dev_attr_mmcra); in register_cpu_online() 777 device_create_file(s, &dev_attr_purr); in register_cpu_online() 781 device_create_file(s, &dev_attr_spurr); in register_cpu_online() 784 device_create_file(s, &dev_attr_dscr); in register_cpu_online() 787 device_create_file(s, &dev_attr_pir); in register_cpu_online() 791 device_create_file(s, &dev_attr_tscr); in register_cpu_online() [all …]
|
D | eeh_sysfs.c | 133 rc = device_create_file(&pdev->dev, &dev_attr_eeh_notify_resume); in eeh_notify_resume_add() 163 rc += device_create_file(&pdev->dev, &dev_attr_eeh_mode); in eeh_sysfs_add_device() 164 rc += device_create_file(&pdev->dev, &dev_attr_eeh_pe_config_addr); in eeh_sysfs_add_device() 165 rc += device_create_file(&pdev->dev, &dev_attr_eeh_pe_state); in eeh_sysfs_add_device()
|
/Linux-v4.19/drivers/hwmon/ |
D | w83627hf.c | 1471 if ((err = device_create_file(dev, in w83627hf_probe() 1473 || (err = device_create_file(dev, in w83627hf_probe() 1475 || (err = device_create_file(dev, in w83627hf_probe() 1477 || (err = device_create_file(dev, in w83627hf_probe() 1479 || (err = device_create_file(dev, in w83627hf_probe() 1481 || (err = device_create_file(dev, in w83627hf_probe() 1483 || (err = device_create_file(dev, in w83627hf_probe() 1485 || (err = device_create_file(dev, in w83627hf_probe() 1487 || (err = device_create_file(dev, in w83627hf_probe() 1489 || (err = device_create_file(dev, in w83627hf_probe() [all …]
|
D | k8temp.c | 253 err = device_create_file(&pdev->dev, in k8temp_probe() 260 err = device_create_file(&pdev->dev, in k8temp_probe() 268 err = device_create_file(&pdev->dev, in k8temp_probe() 273 err = device_create_file(&pdev->dev, in k8temp_probe() 281 err = device_create_file(&pdev->dev, &dev_attr_name); in k8temp_probe()
|
D | i5k_amb.c | 303 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 318 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 334 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 350 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 366 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 381 res = device_create_file(&pdev->dev, in i5k_amb_hwmon_init() 389 res = device_create_file(&pdev->dev, &dev_attr_name); in i5k_amb_hwmon_init()
|
D | w83627ehf.c | 2372 err = device_create_file(dev, &dev_attr_cpu0_vid); in w83627ehf_probe() 2411 err = device_create_file(dev, &dev_attr_cpu0_vid); in w83627ehf_probe() 2451 err = device_create_file(dev, &sda_sf3_arrays[i].dev_attr); in w83627ehf_probe() 2461 err = device_create_file(dev, &attr->dev_attr); in w83627ehf_probe() 2469 err = device_create_file(dev, in w83627ehf_probe() 2476 err = device_create_file(dev, in w83627ehf_probe() 2485 if ((err = device_create_file(dev, &sda_in_input[i].dev_attr)) in w83627ehf_probe() 2486 || (err = device_create_file(dev, in w83627ehf_probe() 2488 || (err = device_create_file(dev, in w83627ehf_probe() 2490 || (err = device_create_file(dev, in w83627ehf_probe() [all …]
|
D | w83l785ts.c | 198 err = device_create_file(dev, &sensor_dev_attr_temp1_input.dev_attr); in w83l785ts_probe() 202 err = device_create_file(dev, &sensor_dev_attr_temp1_max.dev_attr); in w83l785ts_probe()
|
/Linux-v4.19/drivers/macintosh/ |
D | therm_adt746x.c | 429 err = device_create_file(dev, &dev_attr_sensor1_temperature); in thermostat_create_files() 430 err |= device_create_file(dev, &dev_attr_sensor2_temperature); in thermostat_create_files() 431 err |= device_create_file(dev, &dev_attr_sensor1_limit); in thermostat_create_files() 432 err |= device_create_file(dev, &dev_attr_sensor2_limit); in thermostat_create_files() 433 err |= device_create_file(dev, &dev_attr_sensor1_location); in thermostat_create_files() 434 err |= device_create_file(dev, &dev_attr_sensor2_location); in thermostat_create_files() 435 err |= device_create_file(dev, &dev_attr_limit_adjust); in thermostat_create_files() 436 err |= device_create_file(dev, &dev_attr_specified_fan_speed); in thermostat_create_files() 437 err |= device_create_file(dev, &dev_attr_sensor1_fan_speed); in thermostat_create_files() 439 err |= device_create_file(dev, &dev_attr_sensor2_fan_speed); in thermostat_create_files()
|
/Linux-v4.19/drivers/mfd/ |
D | ucb1x00-assabet.c | 66 device_create_file(&ucb->dev, &dev_attr_vbatt); in ucb1x00_assabet_add() 67 device_create_file(&ucb->dev, &dev_attr_vcharger); in ucb1x00_assabet_add() 68 device_create_file(&ucb->dev, &dev_attr_batt_temp); in ucb1x00_assabet_add()
|
D | tps65911-comparator.c | 137 ret = device_create_file(&pdev->dev, &dev_attr_comp1_threshold); in tps65911_comparator_probe() 141 ret = device_create_file(&pdev->dev, &dev_attr_comp2_threshold); in tps65911_comparator_probe()
|
/Linux-v4.19/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-v4.19/drivers/usb/misc/ |
D | cytherm.c | 325 retval = device_create_file(&interface->dev, &dev_attr_brightness); in cytherm_probe() 328 retval = device_create_file(&interface->dev, &dev_attr_temp); in cytherm_probe() 331 retval = device_create_file(&interface->dev, &dev_attr_button); in cytherm_probe() 334 retval = device_create_file(&interface->dev, &dev_attr_port0); in cytherm_probe() 337 retval = device_create_file(&interface->dev, &dev_attr_port1); in cytherm_probe()
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | pseries_energy.c | 306 err = device_create_file(cpu_subsys.dev_root, in pseries_energy_init() 309 err = device_create_file(cpu_subsys.dev_root, in pseries_energy_init() 316 err = device_create_file(cpu_dev, in pseries_energy_init() 320 err = device_create_file(cpu_dev, in pseries_energy_init()
|
/Linux-v4.19/drivers/platform/x86/ |
D | intel-rst.c | 124 error = device_create_file(&acpi->dev, &irst_timeout_attr); in irst_add() 128 error = device_create_file(&acpi->dev, &irst_wakeup_attr); in irst_add()
|
D | hp-wmi.c | 885 err = device_create_file(&device->dev, &dev_attr_display); in hp_wmi_bios_setup() 888 err = device_create_file(&device->dev, &dev_attr_hddtemp); in hp_wmi_bios_setup() 891 err = device_create_file(&device->dev, &dev_attr_als); in hp_wmi_bios_setup() 894 err = device_create_file(&device->dev, &dev_attr_dock); in hp_wmi_bios_setup() 897 err = device_create_file(&device->dev, &dev_attr_tablet); in hp_wmi_bios_setup() 900 err = device_create_file(&device->dev, &dev_attr_postcode); in hp_wmi_bios_setup()
|
/Linux-v4.19/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-v4.19/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 440 ret = device_create_file(sfp->class_dev,&dip->attr_debugcmd); in pvr2_sysfs_add_debugifc() 448 ret = device_create_file(sfp->class_dev,&dip->attr_debuginfo); in pvr2_sysfs_add_debugifc() 663 ret = device_create_file(sfp->class_dev, in class_dev_create() 678 ret = device_create_file(sfp->class_dev, in class_dev_create() 693 ret = device_create_file(sfp->class_dev,&sfp->attr_unit_number); in class_dev_create() 707 ret = device_create_file(sfp->class_dev, in class_dev_create() 722 ret = device_create_file(sfp->class_dev, in class_dev_create() 737 ret = device_create_file(sfp->class_dev, in class_dev_create()
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | sysfs.c | 155 ret = device_create_file(wl->dev, &dev_attr_bt_coex_state); in wlcore_sysfs_init() 162 ret = device_create_file(wl->dev, &dev_attr_hw_pg_ver); in wlcore_sysfs_init()
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/ |
D | sysfs.c | 218 err = device_create_file(dev, &dev_attr_interference); in b43legacy_sysfs_register() 221 err = device_create_file(dev, &dev_attr_shortpreamble); in b43legacy_sysfs_register()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pm.c | 1802 ret = device_create_file(adev->dev, &dev_attr_power_dpm_state); in amdgpu_pm_sysfs_init() 1807 ret = device_create_file(adev->dev, &dev_attr_power_dpm_force_performance_level); in amdgpu_pm_sysfs_init() 1814 ret = device_create_file(adev->dev, &dev_attr_pp_num_states); in amdgpu_pm_sysfs_init() 1819 ret = device_create_file(adev->dev, &dev_attr_pp_cur_state); in amdgpu_pm_sysfs_init() 1824 ret = device_create_file(adev->dev, &dev_attr_pp_force_state); in amdgpu_pm_sysfs_init() 1829 ret = device_create_file(adev->dev, &dev_attr_pp_table); in amdgpu_pm_sysfs_init() 1835 ret = device_create_file(adev->dev, &dev_attr_pp_dpm_sclk); in amdgpu_pm_sysfs_init() 1840 ret = device_create_file(adev->dev, &dev_attr_pp_dpm_mclk); in amdgpu_pm_sysfs_init() 1845 ret = device_create_file(adev->dev, &dev_attr_pp_dpm_pcie); in amdgpu_pm_sysfs_init() 1850 ret = device_create_file(adev->dev, &dev_attr_pp_sclk_od); in amdgpu_pm_sysfs_init() [all …]
|