/Linux-v4.19/arch/x86/platform/uv/ |
D | uv_sysfs.c | 61 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/ |
D | pci_hotplug_core.c | 301 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/ |
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 | 723 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/ |
D | power.c | 81 return (sysfs_create_file(power_kobj, &auto_poweron_attr.attr)); in apo_pm_init()
|
D | mobility.c | 401 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/ |
D | kfd_topology.c | 626 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/ |
D | audio_manager_sysfs.c | 89 err = sysfs_create_file(kobj, &kattr->attr); in manager_sysfs_init_attribute()
|
/Linux-v4.19/drivers/xen/ |
D | sys-hypervisor.c | 50 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/ |
D | olpc-xo15-sci.c | 168 r = sysfs_create_file(&device->dev.kobj, &lid_wake_on_close_attr.attr); in xo15_sci_add()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | opal-psr.c | 162 if (sysfs_create_file(psr_kobj, &psr_attrs[i].attr.attr)) { in opal_psr_init()
|
D | opal-sysparam.c | 278 if (sysfs_create_file(sysparam_kobj, &attr[i].kobj_attr.attr)) { in opal_sys_param_init()
|
/Linux-v4.19/drivers/hwmon/ |
D | mcp3021.c | 156 err = sysfs_create_file(&client->dev.kobj, &dev_attr_in0_input.attr); in mcp3021_probe()
|
/Linux-v4.19/drivers/base/ |
D | driver.c | 106 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file()
|
/Linux-v4.19/drivers/net/bonding/ |
D | bond_sysfs_slave.c | 158 err = sysfs_create_file(&slave->kobj, &((*a)->attr)); in bond_sysfs_slave_add()
|
/Linux-v4.19/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() 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/ |
D | cpm.c | 187 ret = sysfs_create_file(&dev->kobj, in cpm_idle_config_sysfs()
|
/Linux-v4.19/drivers/edac/ |
D | edac_device_sysfs.c | 556 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/ |
D | sysfs.c | 769 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/ |
D | mdev_sysfs.c | 120 ret = sysfs_create_file(&type->kobj, &mdev_type_attr_create.attr); in add_mdev_supported_type()
|
/Linux-v4.19/net/netfilter/ |
D | xt_IDLETIMER.c | 138 ret = sysfs_create_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_create()
|
/Linux-v4.19/drivers/cpufreq/ |
D | cpufreq.c | 992 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/ |
D | fadump.c | 1551 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/ |
D | hidma_mgmt_sys.c | 239 return sysfs_create_file(parent, &chattr->attr.attr); in create_sysfs_entry_channel()
|
/Linux-v4.19/arch/arm/mach-orion5x/ |
D | ts78xx-setup.c | 568 ret = sysfs_create_file(firmware_kobj, &ts78xx_fpga_attr.attr); in ts78xx_init()
|