Home
last modified time | relevance | path

Searched refs:sysfs_create_file (Results 1 – 25 of 68) sorted by relevance

123

/kernel/linux/linux-5.10/arch/x86/platform/uv/
Duv_sysfs.c48 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()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dpci_hotplug_core.c300 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dsysfs_engines.c477 sysfs_create_file(&ke->base, &timeslice_duration_def.attr)) in add_defaults()
481 sysfs_create_file(&ke->base, &preempt_timeout_def.attr)) in add_defaults()
521 sysfs_create_file(kobj, &timeslice_duration_attr.attr)) in intel_engines_add_sysfs()
525 sysfs_create_file(kobj, &preempt_timeout_attr.attr)) in intel_engines_add_sysfs()
/kernel/linux/linux-5.10/drivers/misc/
Dad525x_dpot.c638 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()
Dpch_phub.c713 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dpower.c69 return (sysfs_create_file(power_kobj, &auto_poweron_attr.attr)); in apo_pm_init()
Dmobility.c424 rc = sysfs_create_file(mobility_kobj, &class_attr_migration.attr); in mobility_sysfs_init()
428 rc = sysfs_create_file(mobility_kobj, &class_attr_api_version.attr.attr); in mobility_sysfs_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c672 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()
Dkfd_process.c496 ret = sysfs_create_file(p->kobj, attr); in kfd_sysfs_create_file()
544 ret = sysfs_create_file(kobj_stats, &pdd->attr_evict); in kfd_procfs_add_sysfs_stats()
554 ret = sysfs_create_file(kobj_stats, in kfd_procfs_add_sysfs_stats()
799 ret = sysfs_create_file(process->kobj, &process->attr_pasid); in kfd_create_process()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_manager_sysfs.c89 err = sysfs_create_file(kobj, &kattr->attr); in manager_sysfs_init_attribute()
/kernel/linux/linux-5.10/drivers/xen/
Dsys-hypervisor.c47 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-psr.c158 if (sysfs_create_file(psr_kobj, &psr_attrs[i].attr.attr)) { in opal_psr_init()
Dopal-sysparam.c265 if (sysfs_create_file(sysparam_kobj, &attr[i].kobj_attr.attr)) { in opal_sys_param_init()
/kernel/linux/linux-5.10/arch/x86/platform/olpc/
Dolpc-xo15-sci.c164 r = sysfs_create_file(&device->dev.kobj, &lid_wake_on_close_attr.attr); in xo15_sci_add()
/kernel/linux/linux-5.10/drivers/hwmon/
Dmcp3021.c153 err = sysfs_create_file(&client->dev.kobj, &dev_attr_in0_input.attr); in mcp3021_probe()
/kernel/linux/linux-5.10/drivers/base/
Ddriver.c107 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsysfs.c190 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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsecvar-sysfs.c227 rc = sysfs_create_file(secvar_kobj, &format_attr.attr); in secvar_sysfs_init()
/kernel/linux/linux-5.10/drivers/soc/xilinx/
Dzynqmp_power.c230 ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr); in zynqmp_pm_probe()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_IDLETIMER.c159 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Dcpm.c173 ret = sysfs_create_file(&dev->kobj, in cpm_idle_config_sysfs()
/kernel/linux/linux-5.10/drivers/edac/
Dedac_device_sysfs.c557 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()
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device.c438 ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_tcc_offset_degree_celsius.attr); in int3401_add()
678 ret = sysfs_create_file(&pdev->dev.kobj, &dev_attr_tcc_offset_degree_celsius.attr); in proc_thermal_pci_probe()
/kernel/linux/linux-5.10/net/batman-adv/
Dsysfs.c817 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()
/kernel/linux/linux-5.10/drivers/vfio/mdev/
Dmdev_sysfs.c118 ret = sysfs_create_file(&type->kobj, &mdev_type_attr_create.attr); in add_mdev_supported_type()

123