/linux-6.1.9/drivers/acpi/ |
D | fan_attr.c | 83 status = sysfs_create_file(&device->dev.kobj, &fan->fine_grain_control.attr); in acpi_fan_create_attributes() 93 status = sysfs_create_file(&device->dev.kobj, &fan->fst_speed.attr); in acpi_fan_create_attributes() 106 status = sysfs_create_file(&device->dev.kobj, &fps->dev_attr.attr); in acpi_fan_create_attributes()
|
/linux-6.1.9/drivers/pci/hotplug/ |
D | pci_hotplug_core.c | 300 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot() 307 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot() 314 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot() 321 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot() 328 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | sysfs_engines.c | 478 sysfs_create_file(&ke->base, ×lice_duration_def.attr)) in add_defaults() 482 sysfs_create_file(&ke->base, &preempt_timeout_def.attr)) in add_defaults() 522 sysfs_create_file(kobj, ×lice_duration_attr.attr)) in intel_engines_add_sysfs() 526 sysfs_create_file(kobj, &preempt_timeout_attr.attr)) in intel_engines_add_sysfs()
|
/linux-6.1.9/arch/mips/loongson64/ |
D | boardinfo.c | 46 return sysfs_create_file(lefi_kobj, &boardinfo_attr.attr); in boardinfo_init()
|
/linux-6.1.9/drivers/misc/ |
D | ad525x_dpot.c | 641 int err = sysfs_create_file(&dev->kobj, in ad_dpot_add_files() 644 err |= sysfs_create_file(&dev->kobj, in ad_dpot_add_files() 647 err |= sysfs_create_file(&dev->kobj, in ad_dpot_add_files() 650 err |= sysfs_create_file(&dev->kobj, in ad_dpot_add_files() 652 err |= sysfs_create_file(&dev->kobj, in ad_dpot_add_files()
|
D | pch_phub.c | 713 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe() 776 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe() 793 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | power.c | 69 return (sysfs_create_file(power_kobj, &auto_poweron_attr.attr)); in apo_pm_init()
|
D | mobility.c | 824 rc = sysfs_create_file(mobility_kobj, &class_attr_migration.attr); in mobility_sysfs_init() 828 rc = sysfs_create_file(mobility_kobj, &class_attr_api_version.attr.attr); in mobility_sysfs_init()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | env.c | 74 return sysfs_create_file(loongson_kobj, &boardinfo_attr.attr); in boardinfo_init()
|
/linux-6.1.9/drivers/platform/x86/ |
D | uv_sysfs.c | 616 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_type_attribute.attr); in init_pci_top_obj() 621 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_location_attribute.attr); in init_pci_top_obj() 626 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_iio_stack_attribute.attr); in init_pci_top_obj() 631 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_ppb_addr_attribute.attr); in init_pci_top_obj() 636 ret = sysfs_create_file(&top_obj->kobj, &uv_pci_slot_attribute.attr); in init_pci_top_obj()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 717 ret = sysfs_create_file(dev->kobj_node, &dev->attr_gpuid); in kfd_build_sysfs_node_entry() 720 ret = sysfs_create_file(dev->kobj_node, &dev->attr_name); in kfd_build_sysfs_node_entry() 723 ret = sysfs_create_file(dev->kobj_node, &dev->attr_props); in kfd_build_sysfs_node_entry() 742 ret = sysfs_create_file(mem->kobj, &mem->attr); in kfd_build_sysfs_node_entry() 763 ret = sysfs_create_file(cache->kobj, &cache->attr); in kfd_build_sysfs_node_entry() 784 ret = sysfs_create_file(iolink->kobj, &iolink->attr); in kfd_build_sysfs_node_entry() 805 ret = sysfs_create_file(p2plink->kobj, &p2plink->attr); in kfd_build_sysfs_node_entry() 892 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs() 900 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs() 1386 ret = sysfs_create_file(p2plink->kobj, &p2plink->attr); in kfd_build_p2p_node_entry()
|
/linux-6.1.9/drivers/xen/ |
D | sys-hypervisor.c | 46 return sysfs_create_file(hypervisor_kobj, &type_attr.attr); in xen_sysfs_type_init() 75 return sysfs_create_file(hypervisor_kobj, &guest_type_attr.attr); in xen_sysfs_guest_type_init() 172 return sysfs_create_file(hypervisor_kobj, &uuid_attr.attr); in xen_sysfs_uuid_init()
|
/linux-6.1.9/drivers/staging/greybus/ |
D | audio_manager_sysfs.c | 89 err = sysfs_create_file(kobj, &kattr->attr); in manager_sysfs_init_attribute()
|
/linux-6.1.9/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | sysman.c | 213 ret = sysfs_create_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in create_attributes_level_sysfs_files() 217 ret = sysfs_create_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in create_attributes_level_sysfs_files()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 192 ret = sysfs_create_file(vdentry->kobj, &vdentry->dentry.attr); in create_sysfs_entry() 208 ret = sysfs_create_file(port->mcgs_parent, attr); in add_sysfs_port_mcg_attr() 593 ret = sysfs_create_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries() 604 ret = sysfs_create_file(&p->kobj, &p->enable_smi_admin.attr); in add_vf_smi_entries()
|
/linux-6.1.9/arch/x86/platform/olpc/ |
D | olpc-xo15-sci.c | 164 r = sysfs_create_file(&device->dev.kobj, &lid_wake_on_close_attr.attr); in xo15_sci_add()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | opal-psr.c | 158 if (sysfs_create_file(psr_kobj, &psr_attrs[i].attr.attr)) { in opal_psr_init()
|
D | opal-sysparam.c | 265 if (sysfs_create_file(sysparam_kobj, &attr[i].kobj_attr.attr)) { in opal_sys_param_init()
|
/linux-6.1.9/drivers/base/ |
D | driver.c | 182 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | secvar-sysfs.c | 227 rc = sysfs_create_file(secvar_kobj, &format_attr.attr); in secvar_sysfs_init()
|
/linux-6.1.9/arch/powerpc/platforms/ps3/ |
D | setup.c | 207 result = sysfs_create_file(kobj, &attr.attr); in ps3_setup_sysfs()
|
/linux-6.1.9/net/netfilter/ |
D | xt_IDLETIMER.c | 159 ret = sysfs_create_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_create() 208 ret = sysfs_create_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_create_v1()
|
/linux-6.1.9/arch/powerpc/platforms/4xx/ |
D | cpm.c | 173 ret = sysfs_create_file(&dev->kobj, in cpm_idle_config_sysfs()
|
/linux-6.1.9/kernel/module/ |
D | decompress.c | 268 error = sysfs_create_file(&module_kset->kobj, in module_decompress_sysfs_init()
|
/linux-6.1.9/drivers/soc/xilinx/ |
D | zynqmp_power.c | 263 ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr); in zynqmp_pm_probe()
|