Searched refs:sysfs_create_file (Results 1 – 16 of 16) sorted by relevance
/linux-4.19.296/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()
|
D | sgi_hotplug.c | 637 rc = sysfs_create_file(&pci_slot->kobj, in sn_hotplug_slot_register()
|
/linux-4.19.296/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 | 722 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe() 785 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe() 802 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe()
|
/linux-4.19.296/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-4.19.296/drivers/base/ |
D | driver.c | 106 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file()
|
D | bus.c | 134 error = sysfs_create_file(&bus->p->subsys.kobj, &attr->attr); in bus_create_file()
|
D | core.c | 1572 error = sysfs_create_file(&dev->kobj, &attr->attr); in device_create_file()
|
/linux-4.19.296/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-4.19.296/drivers/cpufreq/ |
D | cpufreq.c | 998 ret = sysfs_create_file(&policy->kobj, &((*drv_attr)->attr)); in cpufreq_add_dev_interface() 1004 ret = sysfs_create_file(&policy->kobj, &cpuinfo_cur_freq.attr); in cpufreq_add_dev_interface() 1009 ret = sysfs_create_file(&policy->kobj, &scaling_cur_freq.attr); in cpufreq_add_dev_interface() 1014 ret = sysfs_create_file(&policy->kobj, &bios_limit.attr); in cpufreq_add_dev_interface() 2411 ret = sysfs_create_file(cpufreq_global_kobject, &boost.attr); in create_boost_sysfs_file()
|
D | intel_pstate.c | 1116 rc = sysfs_create_file(intel_pstate_kobject, &max_perf_pct.attr); in intel_pstate_sysfs_expose_params() 1119 rc = sysfs_create_file(intel_pstate_kobject, &min_perf_pct.attr); in intel_pstate_sysfs_expose_params() 1123 rc = sysfs_create_file(intel_pstate_kobject, in intel_pstate_sysfs_expose_params()
|
/linux-4.19.296/include/linux/ |
D | sysfs.h | 526 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file() function
|
/linux-4.19.296/fs/sysfs/ |
D | file.c | 344 err = sysfs_create_file(kobj, ptr[i]); in sysfs_create_files()
|
/linux-4.19.296/fs/xfs/ |
D | xfs_sysfs.c | 588 error = sysfs_create_file(&mp->m_error_kobj.kobject, in xfs_error_sysfs_init()
|
/linux-4.19.296/lib/ |
D | kobject.c | 75 error = sysfs_create_file(kobj, attr); in populate_dir()
|
/linux-4.19.296/block/ |
D | elevator.c | 851 if (sysfs_create_file(&e->kobj, &attr->attr)) in elv_register_queue()
|