Home
last modified time | relevance | path

Searched refs:__ATTR_RW (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/edac/
H A Dmem_repair.c291 [MR_PERSIST_MODE] = __ATTR_RW(persist_mode),
293 [MR_HPA] = __ATTR_RW(hpa),
296 [MR_DPA] = __ATTR_RW(dpa),
299 [MR_NIBBLE_MASK] = __ATTR_RW(nibble_mask),
300 [MR_BANK_GROUP] = __ATTR_RW(bank_group),
301 [MR_BANK] = __ATTR_RW(bank),
302 [MR_RANK] = __ATTR_RW(rank),
303 [MR_ROW] = __ATTR_RW(row),
304 [MR_COLUMN] = __ATTR_RW(column),
305 [MR_CHANNEL] = __ATTR_RW(channel),
[all …]
H A Dscrub.c154 ((struct edac_scrub_dev_attr) { .dev_attr = __ATTR_RW(_name), \
H A Decs.c143 ((struct edac_ecs_dev_attr) { .dev_attr = __ATTR_RW(_name), \
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_freq.c180 static struct kobj_attribute attr_min_freq = __ATTR_RW(min_freq);
217 static struct kobj_attribute attr_max_freq = __ATTR_RW(max_freq);
243 static struct kobj_attribute attr_power_profile = __ATTR_RW(power_profile);
/linux/kernel/
H A Dreboot.c1104 static struct kobj_attribute hw_protection_attr = __ATTR_RW(hw_protection); in reboot_setup()
1253 static struct kobj_attribute reboot_mode_attr = __ATTR_RW(mode); in force_store()
1276 static struct kobj_attribute reboot_force_attr = __ATTR_RW(force); in type_show()
1332 static struct kobj_attribute reboot_type_attr = __ATTR_RW(type); in cpu_store()
1362 static struct kobj_attribute reboot_cpu_attr = __ATTR_RW(cpu);
/linux/include/rdma/
H A Dib_sysfs.h22 struct ib_port_attribute ib_port_attr_##_name = __ATTR_RW(_name)
/linux/drivers/cpufreq/
H A Dcpufreq_governor.h76 static struct governor_attr _name = __ATTR_RW(_name)
/linux/include/linux/iio/
H A Dsysfs.h67 { .dev_attr = __ATTR_RW(_name), \
/linux/include/linux/device/
H A Ddriver.h154 struct driver_attribute driver_attr_##_name = __ATTR_RW(_name)
/linux/drivers/platform/x86/lenovo/
H A Dthink-lmi.c598 static struct kobj_attribute auth_encoding = __ATTR_RW(encoding);
625 static struct kobj_attribute auth_kbdlang = __ATTR_RW(kbdlang);
662 static struct kobj_attribute auth_index = __ATTR_RW(index);
688 static struct kobj_attribute auth_level = __ATTR_RW(level);
1388 static struct kobj_attribute save_settings = __ATTR_RW(save_settings);
/linux/mm/
H A Dkhugepaged.c172 __ATTR_RW(scan_sleep_millisecs);
188 __ATTR_RW(alloc_sleep_millisecs);
212 __ATTR_RW(pages_to_scan);
246 __ATTR_RW(defrag);
278 __ATTR_RW(max_ptes_none);
304 __ATTR_RW(max_ptes_swap);
330 __ATTR_RW(max_ptes_shared);
H A Dhugetlb_sysfs.c21 static struct kobj_attribute _name##_attr = __ATTR_RW(_name)
/linux/drivers/misc/ocxl/
H A Dsysfs.c93 __ATTR_RW(reload_on_reset),
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-pri.h416 static struct kobj_attribute stat##_attr = __ATTR_RW(stat)
/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Denum-attributes.c64 __ATTR_RW(current_value);
/linux/arch/s390/kernel/
H A Dipl.c2107 static struct kobj_attribute on_reboot_attr = __ATTR_RW(on_reboot);
2135 static struct kobj_attribute on_panic_attr = __ATTR_RW(on_panic);
2162 static struct kobj_attribute on_restart_attr = __ATTR_RW(on_restart);
2200 static struct kobj_attribute on_halt_attr = __ATTR_RW(on_halt);
2228 static struct kobj_attribute on_poff_attr = __ATTR_RW(on_poff);
/linux/drivers/acpi/
H A Dsysfs.c966 static struct kobj_attribute hotplug_enabled_attr = __ATTR_RW(enabled);
1025 static const struct kobj_attribute force_remove_attr = __ATTR_RW(force_remove);
H A Dplatform_profile.c445 static struct kobj_attribute attr_platform_profile = __ATTR_RW(platform_profile);
/linux/fs/nfs/
H A Dsysfs.c297 static struct kobj_attribute nfs_sysfs_attr_shutdown = __ATTR_RW(shutdown);
/linux/sound/hda/core/
H A Dsysfs.c159 struct widget_attribute wid_attr_##_name = __ATTR_RW(_name)
/linux/drivers/xen/
H A Dsys-hypervisor.c28 static struct hyp_sysfs_attr _name##_attr = __ATTR_RW(_name)
/linux/net/core/
H A Dnet-sysfs.c1503 = __ATTR_RW(tx_maxrate);
1820 = __ATTR_RW(xps_cpus);
1890 = __ATTR_RW(xps_rxqs);
/linux/include/linux/
H A Dsysfs.h269 #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store) macro
/linux/fs/xfs/
H A Dxfs_sysfs.c34 static struct xfs_sysfs_attr xfs_sysfs_attr_##name = __ATTR_RW(name)
/linux/kernel/sched/
H A Dcpufreq_schedutil.c627 static struct governor_attr rate_limit_us = __ATTR_RW(rate_limit_us);

12