Home
last modified time | relevance | path

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

123

/Linux-v4.19/arch/x86/platform/uv/
Duv_sysfs.c61 ret = sysfs_create_file(sgi_uv_kobj, &partition_id_attr.attr); in sgi_uv_sysfs_init()
67 ret = sysfs_create_file(sgi_uv_kobj, &coherence_id_attr.attr); in sgi_uv_sysfs_init()
/Linux-v4.19/drivers/pci/hotplug/
Dpci_hotplug_core.c301 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
308 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
315 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
322 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
329 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
/Linux-v4.19/drivers/misc/
Dad525x_dpot.c641 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()
Dpch_phub.c723 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe()
786 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe()
803 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dpower.c81 return (sysfs_create_file(power_kobj, &auto_poweron_attr.attr)); in apo_pm_init()
Dmobility.c401 rc = sysfs_create_file(mobility_kobj, &class_attr_migration.attr); in mobility_sysfs_init()
405 rc = sysfs_create_file(mobility_kobj, &class_attr_api_version.attr.attr); in mobility_sysfs_init()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c626 ret = sysfs_create_file(dev->kobj_node, &dev->attr_gpuid); in kfd_build_sysfs_node_entry()
629 ret = sysfs_create_file(dev->kobj_node, &dev->attr_name); in kfd_build_sysfs_node_entry()
632 ret = sysfs_create_file(dev->kobj_node, &dev->attr_props); in kfd_build_sysfs_node_entry()
649 ret = sysfs_create_file(mem->kobj, &mem->attr); in kfd_build_sysfs_node_entry()
668 ret = sysfs_create_file(cache->kobj, &cache->attr); in kfd_build_sysfs_node_entry()
687 ret = sysfs_create_file(iolink->kobj, &iolink->attr); in kfd_build_sysfs_node_entry()
773 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()
781 ret = sysfs_create_file(sys_props.kobj_topology, in kfd_topology_update_sysfs()
/Linux-v4.19/drivers/staging/greybus/
Daudio_manager_sysfs.c89 err = sysfs_create_file(kobj, &kattr->attr); in manager_sysfs_init_attribute()
/Linux-v4.19/drivers/xen/
Dsys-hypervisor.c50 return sysfs_create_file(hypervisor_kobj, &type_attr.attr); in xen_sysfs_type_init()
79 return sysfs_create_file(hypervisor_kobj, &guest_type_attr.attr); in xen_sysfs_guest_type_init()
176 return sysfs_create_file(hypervisor_kobj, &uuid_attr.attr); in xen_sysfs_uuid_init()
/Linux-v4.19/arch/x86/platform/olpc/
Dolpc-xo15-sci.c168 r = sysfs_create_file(&device->dev.kobj, &lid_wake_on_close_attr.attr); in xo15_sci_add()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-psr.c162 if (sysfs_create_file(psr_kobj, &psr_attrs[i].attr.attr)) { in opal_psr_init()
Dopal-sysparam.c278 if (sysfs_create_file(sysparam_kobj, &attr[i].kobj_attr.attr)) { in opal_sys_param_init()
/Linux-v4.19/drivers/hwmon/
Dmcp3021.c156 err = sysfs_create_file(&client->dev.kobj, &dev_attr_in0_input.attr); in mcp3021_probe()
/Linux-v4.19/drivers/base/
Ddriver.c106 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file()
/Linux-v4.19/drivers/net/bonding/
Dbond_sysfs_slave.c158 err = sysfs_create_file(&slave->kobj, &((*a)->attr)); in bond_sysfs_slave_add()
/Linux-v4.19/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()
607 ret = sysfs_create_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries()
618 ret = sysfs_create_file(&p->kobj, &p->enable_smi_admin.attr); in add_vf_smi_entries()
/Linux-v4.19/arch/powerpc/platforms/4xx/
Dcpm.c187 ret = sysfs_create_file(&dev->kobj, in cpm_idle_config_sysfs()
/Linux-v4.19/drivers/edac/
Dedac_device_sysfs.c556 err = sysfs_create_file(&block->kobj, in edac_device_create_block()
751 err = sysfs_create_file(&edac_dev->kobj, in edac_device_add_main_sysfs_attributes()
/Linux-v4.19/net/batman-adv/
Dsysfs.c769 err = sysfs_create_file(bat_priv->mesh_obj, in batadv_sysfs_add_meshif()
846 err = sysfs_create_file(vlan->kobj, in batadv_sysfs_add_vlan()
1178 err = sysfs_create_file(*hardif_obj, &((*bat_attr)->attr)); in batadv_sysfs_add_hardif()
/Linux-v4.19/drivers/vfio/mdev/
Dmdev_sysfs.c120 ret = sysfs_create_file(&type->kobj, &mdev_type_attr_create.attr); in add_mdev_supported_type()
/Linux-v4.19/net/netfilter/
Dxt_IDLETIMER.c138 ret = sysfs_create_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_create()
/Linux-v4.19/drivers/cpufreq/
Dcpufreq.c992 ret = sysfs_create_file(&policy->kobj, &((*drv_attr)->attr)); in cpufreq_add_dev_interface()
998 ret = sysfs_create_file(&policy->kobj, &cpuinfo_cur_freq.attr); in cpufreq_add_dev_interface()
1003 ret = sysfs_create_file(&policy->kobj, &scaling_cur_freq.attr); in cpufreq_add_dev_interface()
1008 ret = sysfs_create_file(&policy->kobj, &bios_limit.attr); in cpufreq_add_dev_interface()
2408 ret = sysfs_create_file(cpufreq_global_kobject, &boost.attr); in create_boost_sysfs_file()
/Linux-v4.19/arch/powerpc/kernel/
Dfadump.c1551 rc = sysfs_create_file(kernel_kobj, &fadump_attr.attr); in fadump_init_files()
1556 rc = sysfs_create_file(kernel_kobj, &fadump_register_attr.attr); in fadump_init_files()
1569 rc = sysfs_create_file(kernel_kobj, &fadump_release_attr.attr); in fadump_init_files()
/Linux-v4.19/drivers/dma/qcom/
Dhidma_mgmt_sys.c239 return sysfs_create_file(parent, &chattr->attr.attr); in create_sysfs_entry_channel()
/Linux-v4.19/arch/arm/mach-orion5x/
Dts78xx-setup.c568 ret = sysfs_create_file(firmware_kobj, &ts78xx_fpga_attr.attr); in ts78xx_init()

123