/Linux-v5.10/arch/x86/platform/uv/ |
D | uv_sysfs.c | 48 ret = sysfs_create_file(sgi_uv_kobj, &partition_id_attr.attr); in sgi_uv_sysfs_init() 54 ret = sysfs_create_file(sgi_uv_kobj, &coherence_id_attr.attr); in sgi_uv_sysfs_init()
|
/Linux-v5.10/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-v5.10/drivers/gpu/drm/i915/gt/ |
D | sysfs_engines.c | 477 sysfs_create_file(&ke->base, ×lice_duration_def.attr)) in add_defaults() 481 sysfs_create_file(&ke->base, &preempt_timeout_def.attr)) in add_defaults() 521 sysfs_create_file(kobj, ×lice_duration_attr.attr)) in intel_engines_add_sysfs() 525 sysfs_create_file(kobj, &preempt_timeout_attr.attr)) in intel_engines_add_sysfs()
|
/Linux-v5.10/drivers/misc/ |
D | ad525x_dpot.c | 638 int err = sysfs_create_file(&dev->kobj, in ad_dpot_add_files() 641 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() 649 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-v5.10/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 | 405 rc = sysfs_create_file(mobility_kobj, &class_attr_migration.attr); in mobility_sysfs_init() 409 rc = sysfs_create_file(mobility_kobj, &class_attr_api_version.attr.attr); in mobility_sysfs_init()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 672 ret = sysfs_create_file(dev->kobj_node, &dev->attr_gpuid); in kfd_build_sysfs_node_entry() 675 ret = sysfs_create_file(dev->kobj_node, &dev->attr_name); in kfd_build_sysfs_node_entry() 678 ret = sysfs_create_file(dev->kobj_node, &dev->attr_props); in kfd_build_sysfs_node_entry() 697 ret = sysfs_create_file(mem->kobj, &mem->attr); in kfd_build_sysfs_node_entry() 718 ret = sysfs_create_file(cache->kobj, &cache->attr); in kfd_build_sysfs_node_entry() 739 ret = sysfs_create_file(iolink->kobj, &iolink->attr); in kfd_build_sysfs_node_entry() 826 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs() 834 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()
|
D | kfd_process.c | 500 ret = sysfs_create_file(p->kobj, attr); in kfd_sysfs_create_file() 548 ret = sysfs_create_file(kobj_stats, &pdd->attr_evict); in kfd_procfs_add_sysfs_stats() 558 ret = sysfs_create_file(kobj_stats, in kfd_procfs_add_sysfs_stats() 803 ret = sysfs_create_file(process->kobj, &process->attr_pasid); in kfd_create_process()
|
/Linux-v5.10/drivers/staging/greybus/ |
D | audio_manager_sysfs.c | 89 err = sysfs_create_file(kobj, &kattr->attr); in manager_sysfs_init_attribute()
|
/Linux-v5.10/drivers/xen/ |
D | sys-hypervisor.c | 47 return sysfs_create_file(hypervisor_kobj, &type_attr.attr); in xen_sysfs_type_init() 76 return sysfs_create_file(hypervisor_kobj, &guest_type_attr.attr); in xen_sysfs_guest_type_init() 173 return sysfs_create_file(hypervisor_kobj, &uuid_attr.attr); in xen_sysfs_uuid_init()
|
/Linux-v5.10/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-v5.10/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-v5.10/drivers/net/bonding/ |
D | bond_sysfs_slave.c | 144 err = sysfs_create_file(&slave->kobj, &((*a)->attr)); in bond_sysfs_slave_add()
|
/Linux-v5.10/drivers/base/ |
D | driver.c | 107 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file()
|
/Linux-v5.10/drivers/hwmon/ |
D | mcp3021.c | 153 err = sysfs_create_file(&client->dev.kobj, &dev_attr_in0_input.attr); in mcp3021_probe()
|
/Linux-v5.10/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 190 ret = sysfs_create_file(vdentry->kobj, &vdentry->dentry.attr); in create_sysfs_entry() 206 ret = sysfs_create_file(port->mcgs_parent, attr); in add_sysfs_port_mcg_attr() 603 ret = sysfs_create_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries() 614 ret = sysfs_create_file(&p->kobj, &p->enable_smi_admin.attr); in add_vf_smi_entries()
|
/Linux-v5.10/drivers/soc/xilinx/ |
D | zynqmp_power.c | 230 ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr); in zynqmp_pm_probe()
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | secvar-sysfs.c | 224 rc = sysfs_create_file(secvar_kobj, &format_attr.attr); in secvar_sysfs_init()
|
/Linux-v5.10/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-v5.10/arch/powerpc/platforms/4xx/ |
D | cpm.c | 173 ret = sysfs_create_file(&dev->kobj, in cpm_idle_config_sysfs()
|
/Linux-v5.10/drivers/edac/ |
D | edac_device_sysfs.c | 557 err = sysfs_create_file(&block->kobj, in edac_device_create_block() 752 err = sysfs_create_file(&edac_dev->kobj, in edac_device_add_main_sysfs_attributes()
|
/Linux-v5.10/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_device.c | 434 ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_tcc_offset_degree_celsius.attr); in int3401_add() 674 ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_tcc_offset_degree_celsius.attr); in proc_thermal_pci_probe()
|
/Linux-v5.10/net/batman-adv/ |
D | sysfs.c | 817 err = sysfs_create_file(bat_priv->mesh_obj, in batadv_sysfs_add_meshif() 894 err = sysfs_create_file(vlan->kobj, in batadv_sysfs_add_vlan() 1243 err = sysfs_create_file(*hardif_obj, &((*bat_attr)->attr)); in batadv_sysfs_add_hardif()
|