arch/alpha/kernel/pci-sysfs.c
166
res_attr->attr.mode = S_IRUSR | S_IWUSR;
arch/arm/mach-imx/mmdc.c
118
S_IRUGO | S_IWUSR);
arch/arm/mach-omap1/pm.c
496
debugfs_create_file("omap_pm", S_IWUSR | S_IRUGO, d, NULL,
arch/arm/mach-omap2/pm-debug.c
191
debugfs_create_file("suspend", S_IRUGO|S_IWUSR, d, pwrdm,
arch/arm/mach-omap2/pm-debug.c
236
debugfs_create_file("enable_off_mode", S_IRUGO | S_IWUSR, d,
arch/arm/mm/alignment.c
1025
res = proc_create("cpu/alignment", S_IWUSR | S_IRUGO, NULL,
arch/arm/vdso/vdsomunge.c
179
outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
arch/loongarch/kernel/kdebugfs.c
155
debugfs_create_file("sfb_state", S_IRUGO | S_IWUSR,
arch/loongarch/kernel/kdebugfs.c
161
debugfs_create_file("tso_state", S_IRUGO | S_IWUSR,
arch/mips/kernel/unaligned.c
1609
debugfs_create_u32("unaligned_action", S_IRUGO | S_IWUSR,
arch/mips/kernel/vpe-mt.c
276
static DEVICE_ATTR(kill, S_IWUSR, NULL, store_kill);
arch/mips/mm/sc-debugfs.c
57
debugfs_create_file("prefetch", S_IRUGO | S_IWUSR, dir, NULL,
arch/mips/sibyte/common/bus_watcher.c
136
ent = proc_create_single_data("bus_watcher", S_IWUSR | S_IRUGO, NULL,
arch/mips/txx9/generic/setup.c
838
dev->bindata_attr.attr.mode = S_IRUSR | S_IWUSR;
arch/powerpc/kvm/book3s_hv.c
114
module_param(one_vm_per_core, bool, S_IRUGO | S_IWUSR);
arch/powerpc/kvm/book3s_hv.c
132
module_param(nested, bool, S_IRUGO | S_IWUSR);
arch/s390/appldata/appldata_base.c
362
ops->ctl_table[0].mode = S_IRUGO | S_IWUSR;
arch/s390/appldata/appldata_base.c
58
.mode = S_IRUGO | S_IWUSR,
arch/s390/appldata/appldata_base.c
63
.mode = S_IRUGO | S_IWUSR,
arch/s390/kernel/debug.c
1128
.mode = S_IRUGO | S_IWUSR,
arch/s390/kernel/debug.c
1135
.mode = S_IRUGO | S_IWUSR,
arch/s390/kernel/debug.c
1349
mode &= ~(S_IWUSR | S_IWGRP | S_IWOTH);
arch/s390/kernel/debug.c
848
S_IRUSR | S_IWUSR, 0, 0);
arch/s390/pci/pci_debug.c
187
debugfs_create_file("statistics", S_IFREG | S_IRUGO | S_IWUSR,
arch/s390/pci/pci_sysfs.c
160
static const BIN_ATTR(report_error, S_IWUSR, NULL, report_error_write, PAGE_SIZE);
arch/sh/drivers/dma/dma-sysfs.c
113
static DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, dma_show_mode, dma_store_mode);
arch/sh/drivers/dma/dma-sysfs.c
80
static DEVICE_ATTR(dev_id, S_IRUGO | S_IWUSR, dma_show_dev_id, dma_store_dev_id);
arch/sh/drivers/dma/dma-sysfs.c
95
static DEVICE_ATTR(config, S_IWUSR, NULL, dma_store_config);
arch/sh/mm/alignment.c
177
res = proc_create_data("alignment", S_IWUSR | S_IRUGO, dir,
arch/sh/mm/alignment.c
182
res = proc_create_data("kernel_alignment", S_IWUSR | S_IRUGO, dir,
arch/x86/events/core.c
2686
static DEVICE_ATTR(rdpmc, S_IRUSR | S_IWUSR, get_attr_rdpmc, set_attr_rdpmc);
arch/x86/kernel/cpu/mce/inject.c
705
{ .name = "status", .fops = &status_fops, .perm = S_IRUSR | S_IWUSR },
arch/x86/kernel/cpu/mce/inject.c
706
{ .name = "misc", .fops = &misc_fops, .perm = S_IRUSR | S_IWUSR },
arch/x86/kernel/cpu/mce/inject.c
707
{ .name = "addr", .fops = &addr_fops, .perm = S_IRUSR | S_IWUSR },
arch/x86/kernel/cpu/mce/inject.c
708
{ .name = "synd", .fops = &synd_fops, .perm = S_IRUSR | S_IWUSR },
arch/x86/kernel/cpu/mce/inject.c
709
{ .name = "ipid", .fops = &ipid_fops, .perm = S_IRUSR | S_IWUSR },
arch/x86/kernel/cpu/mce/inject.c
710
{ .name = "bank", .fops = &bank_fops, .perm = S_IRUSR | S_IWUSR },
arch/x86/kernel/cpu/mce/inject.c
711
{ .name = "flags", .fops = &flags_fops, .perm = S_IRUSR | S_IWUSR },
arch/x86/kernel/cpu/mce/inject.c
712
{ .name = "cpu", .fops = &extcpu_fops, .perm = S_IRUSR | S_IWUSR },
arch/x86/kernel/cpu/mtrr/if.c
419
proc_create("mtrr", S_IWUSR | S_IRUGO, NULL, &mtrr_proc_ops);
arch/x86/mm/pkeys.c
180
debugfs_create_file("init_pkru", S_IRUSR | S_IWUSR,
arch/x86/mm/tlb.c
1832
debugfs_create_file("tlb_single_page_flush_ceiling", S_IRUSR | S_IWUSR,
arch/x86/platform/olpc/olpc-xo1-sci.c
155
static DEVICE_ATTR(lid_wake_mode, S_IWUSR | S_IRUGO, lid_wake_mode_show,
crypto/asymmetric_keys/pkcs7_key_type.c
21
module_param_named(usage, pkcs7_usage, uint, S_IWUSR | S_IRUGO);
drivers/acpi/acpi_dbg.c
755
S_IFREG | S_IRUGO | S_IWUSR,
drivers/acpi/apei/einj-core.c
1099
debugfs_create_x32("flags", S_IRUSR | S_IWUSR, einj_debug_dir,
drivers/acpi/apei/einj-core.c
1101
debugfs_create_x64("param1", S_IRUSR | S_IWUSR, einj_debug_dir,
drivers/acpi/apei/einj-core.c
1103
debugfs_create_x64("param2", S_IRUSR | S_IWUSR, einj_debug_dir,
drivers/acpi/apei/einj-core.c
1105
debugfs_create_x64("param3", S_IRUSR | S_IWUSR, einj_debug_dir,
drivers/acpi/apei/einj-core.c
1107
debugfs_create_x64("param4", S_IRUSR | S_IWUSR, einj_debug_dir,
drivers/acpi/apei/einj-core.c
1109
debugfs_create_x32("notrigger", S_IRUSR | S_IWUSR,
drivers/acpi/apei/einj-core.c
1120
debugfs_create_x32("vendor_flags", S_IRUSR | S_IWUSR,
drivers/acpi/nfit/core.c
31
module_param(force_enable_dimms, bool, S_IRUGO|S_IWUSR);
drivers/ata/libahci.c
109
static DEVICE_ATTR(em_buffer, S_IWUSR | S_IRUGO,
drivers/ata/libata-sata.c
1168
DEVICE_ATTR(ncq_prio_enable, S_IRUGO | S_IWUSR,
drivers/ata/libata-sata.c
1211
DEVICE_ATTR(em_message, S_IRUGO | S_IWUSR,
drivers/ata/libata-sata.c
1266
DEVICE_ATTR(sw_activity, S_IWUSR | S_IRUGO, ata_scsi_activity_show,
drivers/ata/libata-sata.c
989
DEVICE_ATTR(link_power_management_policy, S_IRUGO | S_IWUSR,
drivers/ata/libata-scsi.c
191
DEVICE_ATTR(unload_heads, S_IRUGO | S_IWUSR,
drivers/ata/sata_fsl.c
1499
host_priv->intr_coalescing.attr.mode = S_IRUGO | S_IWUSR;
drivers/ata/sata_fsl.c
1508
host_priv->rx_watermark.attr.mode = S_IRUGO | S_IWUSR;
drivers/base/cpu.c
143
static DEVICE_ATTR(probe, S_IWUSR, NULL, cpu_probe_store);
drivers/base/cpu.c
144
static DEVICE_ATTR(release, S_IWUSR, NULL, cpu_release_store);
drivers/base/devres.c
54
module_param_named(log, log_devres, int, S_IRUGO | S_IWUSR);
drivers/bus/brcmstb_gisb.c
391
static DEVICE_ATTR(gisb_arb_timeout, S_IWUSR | S_IRUGO,
drivers/char/tlclk.c
345
static DEVICE_ATTR(received_ref_clk3a, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
367
static DEVICE_ATTR(received_ref_clk3b, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
389
static DEVICE_ATTR(enable_clk3b_output, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
410
static DEVICE_ATTR(enable_clk3a_output, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
431
static DEVICE_ATTR(enable_clkb1_output, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
453
static DEVICE_ATTR(enable_clka1_output, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
474
static DEVICE_ATTR(enable_clkb0_output, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
495
static DEVICE_ATTR(enable_clka0_output, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
537
static DEVICE_ATTR(select_amcb2_transmit_clock, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
579
static DEVICE_ATTR(select_amcb1_transmit_clock, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
600
static DEVICE_ATTR(select_redundant_clock, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
621
static DEVICE_ATTR(select_ref_frequency, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
642
static DEVICE_ATTR(filter_select, (S_IWUSR|S_IWGRP), NULL, store_filter_select);
drivers/char/tlclk.c
662
static DEVICE_ATTR(hardware_switching_mode, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
683
static DEVICE_ATTR(hardware_switching, (S_IWUSR|S_IWGRP), NULL,
drivers/char/tlclk.c
703
static DEVICE_ATTR(refalign, (S_IWUSR|S_IWGRP), NULL, store_refalign);
drivers/char/tlclk.c
723
static DEVICE_ATTR(mode_select, (S_IWUSR|S_IWGRP), NULL, store_mode_select);
drivers/char/tlclk.c
743
static DEVICE_ATTR(reset, (S_IWUSR|S_IWGRP), NULL, store_reset);
drivers/char/tpm/tpm_ppi.c
386
static DEVICE_ATTR(request, S_IRUGO | S_IWUSR | S_IWGRP,
drivers/edac/altera_edac.c
201
edac_debugfs_create_file("altr_trigger", S_IWUSR, mci->debugfs, mci,
drivers/edac/altera_edac.c
681
if (!edac_debugfs_create_file("altr_trigger", S_IWUSR,
drivers/edac/debugfs.c
69
debugfs_create_u8(name, S_IRUGO | S_IWUSR, parent,
drivers/edac/debugfs.c
73
debugfs_create_bool("fake_inject_ue", S_IRUGO | S_IWUSR, parent,
drivers/edac/debugfs.c
76
debugfs_create_u16("fake_inject_count", S_IRUGO | S_IWUSR, parent,
drivers/edac/debugfs.c
79
debugfs_create_file("fake_inject", S_IWUSR, parent, &mci->dev,
drivers/edac/edac_device_sysfs.c
155
CTL_INFO_ATTR(log_ue, S_IRUGO | S_IWUSR,
drivers/edac/edac_device_sysfs.c
157
CTL_INFO_ATTR(log_ce, S_IRUGO | S_IWUSR,
drivers/edac/edac_device_sysfs.c
159
CTL_INFO_ATTR(panic_on_ue, S_IRUGO | S_IWUSR,
drivers/edac/edac_device_sysfs.c
162
CTL_INFO_ATTR(poll_msec, S_IRUGO | S_IWUSR,
drivers/edac/edac_mc_sysfs.c
224
static DEVICE_ATTR(dimm_label, S_IRUGO | S_IWUSR,
drivers/edac/edac_mc_sysfs.c
493
static DEVICE_ATTR(reset_counters, S_IWUSR, NULL, mci_reset_counters_store);
drivers/edac/edac_mc_sysfs.c
535
mode |= S_IWUSR;
drivers/edac/edac_pci_sysfs.c
284
EDAC_PCI_ATTR(check_pci_errors, S_IRUGO | S_IWUSR, edac_pci_int_show,
drivers/edac/edac_pci_sysfs.c
286
EDAC_PCI_ATTR(edac_pci_log_pe, S_IRUGO | S_IWUSR, edac_pci_int_show,
drivers/edac/edac_pci_sysfs.c
288
EDAC_PCI_ATTR(edac_pci_log_npe, S_IRUGO | S_IWUSR, edac_pci_int_show,
drivers/edac/edac_pci_sysfs.c
290
EDAC_PCI_ATTR(edac_pci_panic_on_pe, S_IRUGO | S_IWUSR, edac_pci_int_show,
drivers/edac/fsl_ddr_edac.c
158
static DEVICE_ATTR(inject_data_hi, S_IRUGO | S_IWUSR,
drivers/edac/fsl_ddr_edac.c
160
static DEVICE_ATTR(inject_data_lo, S_IRUGO | S_IWUSR,
drivers/edac/fsl_ddr_edac.c
162
static DEVICE_ATTR(inject_ctrl, S_IRUGO | S_IWUSR,
drivers/edac/highbank_mc_edac.c
114
static DEVICE_ATTR(inject_ctrl, S_IWUSR, NULL, highbank_mc_inject_ctrl);
drivers/edac/i5100_edac.c
956
edac_debugfs_create_x8("inject_channel", S_IRUGO | S_IWUSR, priv->debugfs,
drivers/edac/i5100_edac.c
958
edac_debugfs_create_x8("inject_hlinesel", S_IRUGO | S_IWUSR, priv->debugfs,
drivers/edac/i5100_edac.c
960
edac_debugfs_create_x8("inject_deviceptr1", S_IRUGO | S_IWUSR, priv->debugfs,
drivers/edac/i5100_edac.c
962
edac_debugfs_create_x8("inject_deviceptr2", S_IRUGO | S_IWUSR, priv->debugfs,
drivers/edac/i5100_edac.c
964
edac_debugfs_create_x16("inject_eccmask1", S_IRUGO | S_IWUSR, priv->debugfs,
drivers/edac/i5100_edac.c
966
edac_debugfs_create_x16("inject_eccmask2", S_IRUGO | S_IWUSR, priv->debugfs,
drivers/edac/i5100_edac.c
968
edac_debugfs_create_file("inject_enable", S_IWUSR, priv->debugfs,
drivers/edac/i7core_edac.c
1052
static DEVICE_ATTR(udimm##param, S_IRUGO | S_IWUSR, \
drivers/edac/i7core_edac.c
1133
static DEVICE_ATTR(inject_section, S_IRUGO | S_IWUSR,
drivers/edac/i7core_edac.c
1136
static DEVICE_ATTR(inject_type, S_IRUGO | S_IWUSR,
drivers/edac/i7core_edac.c
1140
static DEVICE_ATTR(inject_eccmask, S_IRUGO | S_IWUSR,
drivers/edac/i7core_edac.c
1143
static DEVICE_ATTR(inject_enable, S_IRUGO | S_IWUSR,
drivers/edac/i7core_edac.c
846
static DEVICE_ATTR(param, S_IRUGO | S_IWUSR, \
drivers/edac/mpc85xx_edac.c
406
.mode = (S_IRUGO | S_IWUSR)
drivers/edac/mpc85xx_edac.c
413
.mode = (S_IRUGO | S_IWUSR)
drivers/edac/mpc85xx_edac.c
420
.mode = (S_IRUGO | S_IWUSR)
drivers/edac/octeon_edac-lmc.c
197
static DEVICE_ATTR(inject, S_IRUGO | S_IWUSR,
drivers/edac/octeon_edac-lmc.c
199
static DEVICE_ATTR(error_type, S_IRUGO | S_IWUSR,
drivers/edac/octeon_edac-lmc.c
201
static DEVICE_ATTR(dimm, S_IRUGO | S_IWUSR,
drivers/edac/octeon_edac-lmc.c
203
static DEVICE_ATTR(rank, S_IRUGO | S_IWUSR,
drivers/edac/octeon_edac-lmc.c
205
static DEVICE_ATTR(bank, S_IRUGO | S_IWUSR,
drivers/edac/octeon_edac-lmc.c
207
static DEVICE_ATTR(row, S_IRUGO | S_IWUSR,
drivers/edac/octeon_edac-lmc.c
209
static DEVICE_ATTR(col, S_IRUGO | S_IWUSR,
drivers/edac/xgene_edac.c
1180
debugfs_create_file("l3_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev,
drivers/edac/xgene_edac.c
171
edac_debugfs_create_file("inject_ctrl", S_IWUSR, mci->debugfs, mci,
drivers/edac/xgene_edac.c
876
edac_debugfs_create_file("l1_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev,
drivers/edac/xgene_edac.c
878
edac_debugfs_create_file("l2_inject_ctrl", S_IWUSR, dbgfs_dir, edac_dev,
drivers/firmware/tegra/bpmp-debugfs.c
730
mode |= t & DEBUGFS_S_IWUSR ? S_IWUSR : 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1903
~(S_IWUSR | S_IWGRP | S_IWOTH);
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
1352
~(S_IWUSR | S_IWGRP | S_IWOTH);
drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c
123
debugfs_create_file("rap_test", S_IWUSR, minor->debugfs_root,
drivers/gpu/drm/amd/amdgpu/amdgpu_securedisplay.c
183
debugfs_create_file("securedisplay_test", S_IWUSR, adev_to_drm(adev)->primary->debugfs_root,
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3613
static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, amdgpu_hwmon_get_pwm1, amdgpu_hwmon_set_pwm1, 0);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3614
static SENSOR_DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR, amdgpu_hwmon_get_pwm1_enable, amdgpu_hwmon_set_pwm1_enable, 0);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3620
static SENSOR_DEVICE_ATTR(fan1_target, S_IRUGO | S_IWUSR, amdgpu_hwmon_get_fan1_target, amdgpu_hwmon_set_fan1_target, 0);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3621
static SENSOR_DEVICE_ATTR(fan1_enable, S_IRUGO | S_IWUSR, amdgpu_hwmon_get_fan1_enable, amdgpu_hwmon_set_fan1_enable, 0);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3632
static SENSOR_DEVICE_ATTR(power1_cap, S_IRUGO | S_IWUSR, amdgpu_hwmon_show_power_cap, amdgpu_hwmon_set_power_cap, 0);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3637
static SENSOR_DEVICE_ATTR(power2_cap, S_IRUGO | S_IWUSR, amdgpu_hwmon_show_power_cap, amdgpu_hwmon_set_power_cap, 1);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3706
effective_mode &= ~S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3767
effective_mode &= ~S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
3783
effective_mode |= S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4088
umode |= S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4146
umode |= S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4206
umode |= S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4267
umode |= S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4326
umode |= S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4380
umode |= S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4437
umode |= S_IWUSR;
drivers/gpu/drm/amd/pm/amdgpu_pm.c
4558
if (mode & (S_IRUSR | S_IWUSR))
drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
113
AMDGPU_DEVICE_ATTR(_name, S_IRUGO | S_IWUSR, \
drivers/gpu/drm/arm/malidp_drv.c
558
debugfs_create_file("debug", S_IRUGO | S_IWUSR, minor->debugfs_root,
drivers/gpu/drm/drm_debugfs_crc.c
378
debugfs_create_file("control", S_IRUGO | S_IWUSR, crc_ent, crtc,
drivers/gpu/drm/drm_mipi_dbi.c
1509
umode_t mode = S_IFREG | S_IWUSR;
drivers/gpu/drm/i915/i915_debugfs.c
735
debugfs_create_file(i915_debugfs_files[i].name, S_IRUGO | S_IWUSR,
drivers/gpu/drm/i915/i915_gpu_error.c
2609
.attr.mode = S_IRUSR | S_IWUSR,
drivers/gpu/drm/i915/i915_sysfs.c
143
.attr = {.name = "l3_parity", .mode = (S_IRUSR | S_IWUSR)},
drivers/gpu/drm/i915/i915_sysfs.c
152
.attr = {.name = "l3_parity_slice_1", .mode = (S_IRUSR | S_IWUSR)},
drivers/gpu/drm/nouveau/nouveau_debugfs.c
275
S_IRUGO | S_IWUSR,
drivers/gpu/drm/radeon/radeon_pm.c
662
static DEVICE_ATTR(power_profile, S_IRUGO | S_IWUSR, radeon_get_pm_profile, radeon_set_pm_profile);
drivers/gpu/drm/radeon/radeon_pm.c
663
static DEVICE_ATTR(power_method, S_IRUGO | S_IWUSR, radeon_get_pm_method, radeon_set_pm_method);
drivers/gpu/drm/radeon/radeon_pm.c
664
static DEVICE_ATTR(power_dpm_state, S_IRUGO | S_IWUSR, radeon_get_dpm_state, radeon_set_dpm_state);
drivers/gpu/drm/radeon/radeon_pm.c
665
static DEVICE_ATTR(power_dpm_force_performance_level, S_IRUGO | S_IWUSR,
drivers/gpu/drm/radeon/radeon_pm.c
709
static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, radeon_hwmon_get_pwm1, radeon_hwmon_set_pwm1, 0);
drivers/gpu/drm/radeon/radeon_pm.c
710
static SENSOR_DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR, radeon_hwmon_get_pwm1_enable, radeon_hwmon_set_pwm1_enable, 0);
drivers/gpu/drm/radeon/radeon_pm.c
816
effective_mode &= ~S_IWUSR;
drivers/gpu/drm/sti/sti_drv.c
104
debugfs_create_file("fps_show", S_IRUGO | S_IWUSR, minor->debugfs_root,
drivers/gpu/drm/vc4/vc4_hvs.c
1171
debugfs_create_bool("hvs_load_tracker", S_IRUGO | S_IWUSR,
drivers/gpu/host1x/debug.c
181
debugfs_create_u32("trace_cmdbuf", S_IRUGO|S_IWUSR, de,
drivers/gpu/host1x/debug.c
186
debugfs_create_u32("force_timeout_pid", S_IRUGO|S_IWUSR, de,
drivers/gpu/host1x/debug.c
188
debugfs_create_u32("force_timeout_val", S_IRUGO|S_IWUSR, de,
drivers/gpu/host1x/debug.c
190
debugfs_create_u32("force_timeout_channel", S_IRUGO|S_IWUSR, de,
drivers/hid/hid-led.c
109
module_param(riso_kagaku_switch_green_blue, bool, S_IRUGO | S_IWUSR);
drivers/hid/hid-lenovo.c
1086
__ATTR(press_to_select, S_IWUSR | S_IRUGO,
drivers/hid/hid-lenovo.c
1091
__ATTR(dragging, S_IWUSR | S_IRUGO,
drivers/hid/hid-lenovo.c
1096
__ATTR(release_to_select, S_IWUSR | S_IRUGO,
drivers/hid/hid-lenovo.c
1101
__ATTR(select_right, S_IWUSR | S_IRUGO,
drivers/hid/hid-lenovo.c
1106
__ATTR(sensitivity, S_IWUSR | S_IRUGO,
drivers/hid/hid-lenovo.c
1111
__ATTR(press_speed, S_IWUSR | S_IRUGO,
drivers/hid/hid-lenovo.c
696
__ATTR(fn_lock, S_IWUSR | S_IRUGO,
drivers/hid/hid-lenovo.c
701
__ATTR(sensitivity, S_IWUSR | S_IRUGO,
drivers/hid/hid-lenovo.c
706
__ATTR(middleclick_workaround, S_IWUSR | S_IRUGO,
drivers/hid/hid-lg4ff.c
1050
static DEVICE_ATTR(range, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, lg4ff_range_show, lg4ff_range_store);
drivers/hid/hid-lg4ff.c
937
static DEVICE_ATTR(alternate_modes, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, lg4ff_alternate_modes_show, lg4ff_alternate_modes_store);
drivers/hid/hid-lg4ff.c
989
static DEVICE_ATTR(combine_pedals, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, lg4ff_combine_show, lg4ff_combine_store);
drivers/hid/hid-logitech-hidpp.c
2788
static DEVICE_ATTR(range, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, hidpp_ff_range_show, hidpp_ff_range_store);
drivers/hid/hid-multitouch.c
495
static DEVICE_ATTR(quirks, S_IWUSR | S_IRUGO, mt_show_quirks, mt_set_quirks);
drivers/hid/hid-ntrig.c
249
static DEVICE_ATTR(min_width, S_IWUSR | S_IRUGO, show_min_width, set_min_width);
drivers/hid/hid-ntrig.c
284
static DEVICE_ATTR(min_height, S_IWUSR | S_IRUGO, show_min_height,
drivers/hid/hid-ntrig.c
317
static DEVICE_ATTR(activate_slack, S_IWUSR | S_IRUGO, show_activate_slack,
drivers/hid/hid-ntrig.c
353
static DEVICE_ATTR(activation_width, S_IWUSR | S_IRUGO, show_activation_width,
drivers/hid/hid-ntrig.c
389
static DEVICE_ATTR(activation_height, S_IWUSR | S_IRUGO,
drivers/hid/hid-ntrig.c
427
static DEVICE_ATTR(deactivate_slack, S_IWUSR | S_IRUGO, show_deactivate_slack,
drivers/hid/hid-picolcd_debugfs.c
855
(eeprom_w ? S_IWUSR : 0) | (eeprom_r ? S_IRUSR : 0),
drivers/hid/hid-picolcd_debugfs.c
865
(flash_w ? S_IWUSR : 0) | (flash_r ? S_IRUSR : 0),
drivers/hid/hid-prodikeys.c
119
static DEVICE_ATTR(channel, S_IRUGO | S_IWUSR | S_IWGRP , show_channel,
drivers/hid/hid-prodikeys.c
157
static DEVICE_ATTR(sustain, S_IRUGO | S_IWUSR | S_IWGRP, show_sustain,
drivers/hid/hid-prodikeys.c
195
static DEVICE_ATTR(octave, S_IRUGO | S_IWUSR | S_IWGRP, show_octave,
drivers/hid/hid-roccat-pyra.c
277
__BIN_ATTR(settings, (S_IWUSR | S_IRUGO),
drivers/hid/hid-sensor-custom.c
598
if (hid_custom_attrs[j].mode & S_IWUSR)
drivers/hid/hid-sensor-custom.c
73
{.name = "value", .mode = S_IWUSR | S_IRUGO},
drivers/hid/hid-wiimote-core.c
1700
static DEVICE_ATTR(extension, S_IRUGO | S_IWUSR | S_IWGRP, wiimote_ext_show,
drivers/hid/hid-wiimote-modules.c
1859
static DEVICE_ATTR(pro_calib, S_IRUGO|S_IWUSR|S_IWGRP, wiimod_pro_calib_show,
drivers/hid/wacom_sys.c
13
#define DEV_ATTR_RW_PERM (S_IRUGO | S_IWUSR | S_IWGRP)
drivers/hid/wacom_sys.c
14
#define DEV_ATTR_WO_PERM (S_IWUSR | S_IWGRP)
drivers/hwmon/adt7411.c
182
SENSOR_DEVICE_ATTR_2(__name, S_IRUGO | S_IWUSR, adt7411_show_bit, \
drivers/hwmon/adt7411.c
522
return visible ? S_IRUGO | S_IWUSR : 0;
drivers/hwmon/adt7411.c
535
return visible ? S_IRUGO | S_IWUSR : 0;
drivers/hwmon/asb100.c
272
static SENSOR_DEVICE_ATTR(in##offset##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/asb100.c
274
static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/asb100.c
391
static SENSOR_DEVICE_ATTR(fan##offset##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/asb100.c
393
static SENSOR_DEVICE_ATTR(fan##offset##_div, S_IRUGO | S_IWUSR, \
drivers/hwmon/asb100.c
461
static SENSOR_DEVICE_ATTR(temp##num##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/asb100.c
463
static SENSOR_DEVICE_ATTR(temp##num##_max_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/asc7621.c
805
{.sda = SENSOR_ATTR(name, S_IRUGO | S_IWUSR, show_##r, store_##r, n), \
drivers/hwmon/asc7621.c
814
{.sda = SENSOR_ATTR(name, S_IRUGO | S_IWUSR, show_##r, store_##r, n), \
drivers/hwmon/dme1737.c
1340
S_IRUGO | S_IWUSR);
drivers/hwmon/dme1737.c
1514
static SENSOR_DEVICE_ATTR_2(in##ix##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/dme1737.c
1516
static SENSOR_DEVICE_ATTR_2(in##ix##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/dme1737.c
1535
static SENSOR_DEVICE_ATTR_2(temp##ix##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/dme1737.c
1537
static SENSOR_DEVICE_ATTR_2(temp##ix##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/dme1737.c
1573
static SENSOR_DEVICE_ATTR_2(fan##ix##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/dme1737.c
1577
static SENSOR_DEVICE_ATTR_2(fan##ix##_type, S_IRUGO | S_IWUSR, \
drivers/hwmon/dme1737.c
1590
static SENSOR_DEVICE_ATTR_2(fan##ix##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/dme1737.c
1594
static SENSOR_DEVICE_ATTR_2(fan##ix##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/dme1737.c
2182
S_IRUGO | S_IWUSR);
drivers/hwmon/dme1737.c
2187
S_IRUGO | S_IWUSR);
drivers/hwmon/dme1737.c
2191
S_IRUGO | S_IWUSR);
drivers/hwmon/dme1737.c
2195
S_IRUGO | S_IWUSR);
drivers/hwmon/dme1737.c
2203
S_IRUGO | S_IWUSR);
drivers/hwmon/dme1737.c
2208
S_IRUGO | S_IWUSR);
drivers/hwmon/dme1737.c
2219
S_IRUGO | S_IWUSR);
drivers/hwmon/f71805f.c
1000
static SENSOR_DEVICE_ATTR(in3_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1002
static SENSOR_DEVICE_ATTR(in3_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1005
static SENSOR_DEVICE_ATTR(in4_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1007
static SENSOR_DEVICE_ATTR(in4_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1010
static SENSOR_DEVICE_ATTR(in5_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1012
static SENSOR_DEVICE_ATTR(in5_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1015
static SENSOR_DEVICE_ATTR(in6_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1017
static SENSOR_DEVICE_ATTR(in6_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1020
static SENSOR_DEVICE_ATTR(in7_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1022
static SENSOR_DEVICE_ATTR(in7_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1025
static SENSOR_DEVICE_ATTR(in8_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1027
static SENSOR_DEVICE_ATTR(in8_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1030
static SENSOR_DEVICE_ATTR(in9_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1032
static SENSOR_DEVICE_ATTR(in9_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1035
static SENSOR_DEVICE_ATTR(in10_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1037
static SENSOR_DEVICE_ATTR(in10_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1041
static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1043
static SENSOR_DEVICE_ATTR(fan1_target, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1046
static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1048
static SENSOR_DEVICE_ATTR(fan2_target, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1051
static SENSOR_DEVICE_ATTR(fan3_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1053
static SENSOR_DEVICE_ATTR(fan3_target, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1057
static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1059
static SENSOR_DEVICE_ATTR(temp1_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1063
static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1065
static SENSOR_DEVICE_ATTR(temp2_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1069
static SENSOR_DEVICE_ATTR(temp3_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1071
static SENSOR_DEVICE_ATTR(temp3_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1080
static SENSOR_DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1082
static SENSOR_DEVICE_ATTR(pwm1_freq, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1086
static SENSOR_DEVICE_ATTR(pwm2_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1088
static SENSOR_DEVICE_ATTR(pwm2_freq, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1092
static SENSOR_DEVICE_ATTR(pwm3_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1094
static SENSOR_DEVICE_ATTR(pwm3_freq, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1098
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1101
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1104
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1107
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1110
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1113
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point3_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1117
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1120
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1123
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1126
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point2_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1129
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1132
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point3_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1136
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1139
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1142
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1145
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point2_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1148
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1151
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point3_fan, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
1457
S_IRUGO | S_IWUSR);
drivers/hwmon/f71805f.c
757
S_IRUGO | S_IWUSR))
drivers/hwmon/f71805f.c
985
static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
987
static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
990
static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
992
static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
995
static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO | S_IWUSR,
drivers/hwmon/f71805f.c
997
static SENSOR_DEVICE_ATTR(in2_min, S_IRUGO | S_IWUSR,
drivers/hwmon/f71882fg.c
1025
SENSOR_ATTR_2(in1_max, S_IRUGO|S_IWUSR, show_in_max, store_in_max,
drivers/hwmon/f71882fg.c
1027
SENSOR_ATTR_2(in1_beep, S_IRUGO|S_IWUSR, show_in_beep, store_in_beep,
drivers/hwmon/f71882fg.c
1274
SENSOR_ATTR_2(fan1_full_speed, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1278
SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0),
drivers/hwmon/f71882fg.c
1279
SENSOR_ATTR_2(pwm1_enable, S_IRUGO|S_IWUSR, show_pwm_enable,
drivers/hwmon/f71882fg.c
1281
SENSOR_ATTR_2(pwm1_interpolate, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1285
SENSOR_ATTR_2(fan2_full_speed, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1289
SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1),
drivers/hwmon/f71882fg.c
1290
SENSOR_ATTR_2(pwm2_enable, S_IRUGO|S_IWUSR, show_pwm_enable,
drivers/hwmon/f71882fg.c
1292
SENSOR_ATTR_2(pwm2_interpolate, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1296
SENSOR_ATTR_2(fan3_full_speed, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1300
SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2),
drivers/hwmon/f71882fg.c
1301
SENSOR_ATTR_2(pwm3_enable, S_IRUGO|S_IWUSR, show_pwm_enable,
drivers/hwmon/f71882fg.c
1303
SENSOR_ATTR_2(pwm3_interpolate, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1307
SENSOR_ATTR_2(fan4_full_speed, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1311
SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3),
drivers/hwmon/f71882fg.c
1312
SENSOR_ATTR_2(pwm4_enable, S_IRUGO|S_IWUSR, show_pwm_enable,
drivers/hwmon/f71882fg.c
1314
SENSOR_ATTR_2(pwm4_interpolate, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1354
SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1396
SENSOR_ATTR_2(fan1_beep, S_IRUGO|S_IWUSR, show_fan_beep,
drivers/hwmon/f71882fg.c
1398
SENSOR_ATTR_2(fan2_beep, S_IRUGO|S_IWUSR, show_fan_beep,
drivers/hwmon/f71882fg.c
1400
SENSOR_ATTR_2(fan3_beep, S_IRUGO|S_IWUSR, show_fan_beep,
drivers/hwmon/f71882fg.c
1402
SENSOR_ATTR_2(fan4_beep, S_IRUGO|S_IWUSR, show_fan_beep,
drivers/hwmon/f71882fg.c
1614
SENSOR_ATTR_2(pwm1_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1617
SENSOR_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1620
SENSOR_ATTR_2(pwm1_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1623
SENSOR_ATTR_2(pwm1_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1626
SENSOR_ATTR_2(pwm1_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1629
SENSOR_ATTR_2(pwm1_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1636
SENSOR_ATTR_2(pwm2_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1639
SENSOR_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1642
SENSOR_ATTR_2(pwm2_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1645
SENSOR_ATTR_2(pwm2_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1648
SENSOR_ATTR_2(pwm2_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1651
SENSOR_ATTR_2(pwm2_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1658
SENSOR_ATTR_2(pwm3_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1661
SENSOR_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1664
SENSOR_ATTR_2(pwm3_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1667
SENSOR_ATTR_2(pwm3_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1670
SENSOR_ATTR_2(pwm3_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1673
SENSOR_ATTR_2(pwm3_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1687
SENSOR_ATTR_2(pwm1_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1690
SENSOR_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1693
SENSOR_ATTR_2(pwm1_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1696
SENSOR_ATTR_2(pwm1_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1699
SENSOR_ATTR_2(pwm1_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1702
SENSOR_ATTR_2(pwm1_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1705
SENSOR_ATTR_2(pwm1_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1712
SENSOR_ATTR_2(pwm2_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1715
SENSOR_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1718
SENSOR_ATTR_2(pwm2_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1721
SENSOR_ATTR_2(pwm2_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1724
SENSOR_ATTR_2(pwm2_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1727
SENSOR_ATTR_2(pwm2_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1730
SENSOR_ATTR_2(pwm2_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1737
SENSOR_ATTR_2(pwm3_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1740
SENSOR_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1743
SENSOR_ATTR_2(pwm3_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1746
SENSOR_ATTR_2(pwm3_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1749
SENSOR_ATTR_2(pwm3_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1752
SENSOR_ATTR_2(pwm3_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1755
SENSOR_ATTR_2(pwm3_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1765
SENSOR_ATTR_2(pwm1_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1768
SENSOR_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1771
SENSOR_ATTR_2(pwm1_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1774
SENSOR_ATTR_2(pwm1_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1777
SENSOR_ATTR_2(pwm1_auto_point4_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1780
SENSOR_ATTR_2(pwm1_auto_point5_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1783
SENSOR_ATTR_2(pwm1_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1786
SENSOR_ATTR_2(pwm1_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1789
SENSOR_ATTR_2(pwm1_auto_point3_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1792
SENSOR_ATTR_2(pwm1_auto_point4_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1795
SENSOR_ATTR_2(pwm1_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1806
SENSOR_ATTR_2(pwm2_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1809
SENSOR_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1812
SENSOR_ATTR_2(pwm2_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1815
SENSOR_ATTR_2(pwm2_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1818
SENSOR_ATTR_2(pwm2_auto_point4_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1821
SENSOR_ATTR_2(pwm2_auto_point5_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1824
SENSOR_ATTR_2(pwm2_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1827
SENSOR_ATTR_2(pwm2_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1830
SENSOR_ATTR_2(pwm2_auto_point3_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1833
SENSOR_ATTR_2(pwm2_auto_point4_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1836
SENSOR_ATTR_2(pwm2_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1847
SENSOR_ATTR_2(pwm3_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1850
SENSOR_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1853
SENSOR_ATTR_2(pwm3_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1856
SENSOR_ATTR_2(pwm3_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1859
SENSOR_ATTR_2(pwm3_auto_point4_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1862
SENSOR_ATTR_2(pwm3_auto_point5_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1865
SENSOR_ATTR_2(pwm3_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1868
SENSOR_ATTR_2(pwm3_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1871
SENSOR_ATTR_2(pwm3_auto_point3_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1874
SENSOR_ATTR_2(pwm3_auto_point4_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1877
SENSOR_ATTR_2(pwm3_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1888
SENSOR_ATTR_2(pwm4_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1891
SENSOR_ATTR_2(pwm4_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1894
SENSOR_ATTR_2(pwm4_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1897
SENSOR_ATTR_2(pwm4_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1900
SENSOR_ATTR_2(pwm4_auto_point4_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1903
SENSOR_ATTR_2(pwm4_auto_point5_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1906
SENSOR_ATTR_2(pwm4_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1909
SENSOR_ATTR_2(pwm4_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1912
SENSOR_ATTR_2(pwm4_auto_point3_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1915
SENSOR_ATTR_2(pwm4_auto_point4_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1918
SENSOR_ATTR_2(pwm4_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1941
SENSOR_ATTR_2(pwm1_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1944
SENSOR_ATTR_2(temp1_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1947
SENSOR_ATTR_2(temp1_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1950
SENSOR_ATTR_2(temp1_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1953
SENSOR_ATTR_2(temp1_auto_point4_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1956
SENSOR_ATTR_2(temp1_auto_point5_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1959
SENSOR_ATTR_2(temp1_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1962
SENSOR_ATTR_2(temp1_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1965
SENSOR_ATTR_2(temp1_auto_point3_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1968
SENSOR_ATTR_2(temp1_auto_point4_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1971
SENSOR_ATTR_2(temp1_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1982
SENSOR_ATTR_2(pwm2_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1985
SENSOR_ATTR_2(temp2_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1988
SENSOR_ATTR_2(temp2_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1991
SENSOR_ATTR_2(temp2_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1994
SENSOR_ATTR_2(temp2_auto_point4_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
1997
SENSOR_ATTR_2(temp2_auto_point5_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2000
SENSOR_ATTR_2(temp2_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2003
SENSOR_ATTR_2(temp2_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2006
SENSOR_ATTR_2(temp2_auto_point3_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2009
SENSOR_ATTR_2(temp2_auto_point4_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2012
SENSOR_ATTR_2(temp2_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2023
SENSOR_ATTR_2(pwm3_auto_channels_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2026
SENSOR_ATTR_2(temp3_auto_point1_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2029
SENSOR_ATTR_2(temp3_auto_point2_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2032
SENSOR_ATTR_2(temp3_auto_point3_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2035
SENSOR_ATTR_2(temp3_auto_point4_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2038
SENSOR_ATTR_2(temp3_auto_point5_pwm, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2041
SENSOR_ATTR_2(temp3_auto_point1_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2044
SENSOR_ATTR_2(temp3_auto_point2_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2047
SENSOR_ATTR_2(temp3_auto_point3_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2050
SENSOR_ATTR_2(temp3_auto_point4_temp, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
2053
SENSOR_ATTR_2(temp3_auto_point1_temp_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f71882fg.c
712
SENSOR_ATTR_2(temp1_max, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f71882fg.c
714
SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO|S_IWUSR, show_temp_max_hyst,
drivers/hwmon/f71882fg.c
717
SENSOR_ATTR_2(temp1_crit, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
724
SENSOR_ATTR_2(temp2_max, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f71882fg.c
726
SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO|S_IWUSR, show_temp_max_hyst,
drivers/hwmon/f71882fg.c
729
SENSOR_ATTR_2(temp2_crit, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
736
SENSOR_ATTR_2(temp3_max, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f71882fg.c
738
SENSOR_ATTR_2(temp3_max_hyst, S_IRUGO|S_IWUSR, show_temp_max_hyst,
drivers/hwmon/f71882fg.c
741
SENSOR_ATTR_2(temp3_crit, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
761
SENSOR_ATTR_2(temp1_max, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f71882fg.c
763
SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO|S_IWUSR, show_temp_max_hyst,
drivers/hwmon/f71882fg.c
771
SENSOR_ATTR_2(temp1_crit, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
780
SENSOR_ATTR_2(temp2_max, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f71882fg.c
782
SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO|S_IWUSR, show_temp_max_hyst,
drivers/hwmon/f71882fg.c
786
SENSOR_ATTR_2(temp2_crit, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
795
SENSOR_ATTR_2(temp3_max, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f71882fg.c
797
SENSOR_ATTR_2(temp3_max_hyst, S_IRUGO|S_IWUSR, show_temp_max_hyst,
drivers/hwmon/f71882fg.c
801
SENSOR_ATTR_2(temp3_crit, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
848
SENSOR_ATTR_2(temp1_max_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
850
SENSOR_ATTR_2(temp1_crit_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
853
SENSOR_ATTR_2(temp2_max_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
855
SENSOR_ATTR_2(temp2_crit_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
858
SENSOR_ATTR_2(temp3_max_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
860
SENSOR_ATTR_2(temp3_crit_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
865
SENSOR_ATTR_2(temp1_max_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
867
SENSOR_ATTR_2(temp1_crit_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
870
SENSOR_ATTR_2(temp2_max_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
872
SENSOR_ATTR_2(temp2_crit_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
875
SENSOR_ATTR_2(temp3_max_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
877
SENSOR_ATTR_2(temp3_crit_beep, S_IRUGO|S_IWUSR, show_temp_beep,
drivers/hwmon/f71882fg.c
889
SENSOR_ATTR_2(temp1_max, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
891
SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f71882fg.c
896
SENSOR_ATTR_2(temp2_max, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
898
SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f71882fg.c
903
SENSOR_ATTR_2(temp3_max, S_IRUGO|S_IWUSR, show_temp_crit,
drivers/hwmon/f71882fg.c
905
SENSOR_ATTR_2(temp3_max_hyst, S_IRUGO|S_IWUSR, show_temp_max,
drivers/hwmon/f75375s.c
633
static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
635
static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
638
static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
640
static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
643
static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
645
static SENSOR_DEVICE_ATTR(in2_min, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
648
static SENSOR_DEVICE_ATTR(in3_max, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
650
static SENSOR_DEVICE_ATTR(in3_min, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
653
static SENSOR_DEVICE_ATTR(temp1_max_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
655
static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
658
static SENSOR_DEVICE_ATTR(temp2_max_hyst, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
660
static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
664
static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
666
static SENSOR_DEVICE_ATTR(fan1_target, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
670
static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
672
static SENSOR_DEVICE_ATTR(fan2_target, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
674
static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
676
static SENSOR_DEVICE_ATTR(pwm1_enable, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
680
static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR,
drivers/hwmon/f75375s.c
682
static SENSOR_DEVICE_ATTR(pwm2_enable, S_IRUGO|S_IWUSR,
drivers/hwmon/f75375s.c
817
S_IRUGO | S_IWUSR);
drivers/hwmon/f75375s.c
822
S_IRUGO | S_IWUSR);
drivers/hwmon/it87.c
1031
static SENSOR_DEVICE_ATTR_2(in0_min, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1033
static SENSOR_DEVICE_ATTR_2(in0_max, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1037
static SENSOR_DEVICE_ATTR_2(in1_min, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1039
static SENSOR_DEVICE_ATTR_2(in1_max, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1043
static SENSOR_DEVICE_ATTR_2(in2_min, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1045
static SENSOR_DEVICE_ATTR_2(in2_max, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1049
static SENSOR_DEVICE_ATTR_2(in3_min, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1051
static SENSOR_DEVICE_ATTR_2(in3_max, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1055
static SENSOR_DEVICE_ATTR_2(in4_min, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1057
static SENSOR_DEVICE_ATTR_2(in4_max, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1061
static SENSOR_DEVICE_ATTR_2(in5_min, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1063
static SENSOR_DEVICE_ATTR_2(in5_max, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1067
static SENSOR_DEVICE_ATTR_2(in6_min, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1069
static SENSOR_DEVICE_ATTR_2(in6_max, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1073
static SENSOR_DEVICE_ATTR_2(in7_min, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1075
static SENSOR_DEVICE_ATTR_2(in7_max, S_IRUGO | S_IWUSR, show_in, set_in,
drivers/hwmon/it87.c
1143
static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1145
static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1147
static SENSOR_DEVICE_ATTR_2(temp1_offset, S_IRUGO | S_IWUSR, show_temp,
drivers/hwmon/it87.c
1150
static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1152
static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1154
static SENSOR_DEVICE_ATTR_2(temp2_offset, S_IRUGO | S_IWUSR, show_temp,
drivers/hwmon/it87.c
1157
static SENSOR_DEVICE_ATTR_2(temp3_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1159
static SENSOR_DEVICE_ATTR_2(temp3_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1161
static SENSOR_DEVICE_ATTR_2(temp3_offset, S_IRUGO | S_IWUSR, show_temp,
drivers/hwmon/it87.c
1285
static SENSOR_DEVICE_ATTR(temp1_type, S_IRUGO | S_IWUSR, show_temp_type,
drivers/hwmon/it87.c
1287
static SENSOR_DEVICE_ATTR(temp2_type, S_IRUGO | S_IWUSR, show_temp_type,
drivers/hwmon/it87.c
1289
static SENSOR_DEVICE_ATTR(temp3_type, S_IRUGO | S_IWUSR, show_temp_type,
drivers/hwmon/it87.c
1885
static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
drivers/hwmon/it87.c
1887
static SENSOR_DEVICE_ATTR(fan1_div, S_IRUGO | S_IWUSR, show_fan_div,
drivers/hwmon/it87.c
1891
static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
drivers/hwmon/it87.c
1893
static SENSOR_DEVICE_ATTR(fan2_div, S_IRUGO | S_IWUSR, show_fan_div,
drivers/hwmon/it87.c
1897
static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
drivers/hwmon/it87.c
1899
static SENSOR_DEVICE_ATTR(fan3_div, S_IRUGO | S_IWUSR, show_fan_div,
drivers/hwmon/it87.c
1903
static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
drivers/hwmon/it87.c
1907
static SENSOR_DEVICE_ATTR_2(fan5_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
drivers/hwmon/it87.c
1911
static SENSOR_DEVICE_ATTR_2(fan6_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
drivers/hwmon/it87.c
1914
static SENSOR_DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1916
static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
drivers/hwmon/it87.c
1917
static SENSOR_DEVICE_ATTR(pwm1_freq, S_IRUGO | S_IWUSR, show_pwm_freq,
drivers/hwmon/it87.c
1921
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1923
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1925
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point3_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1929
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1931
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_temp_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1933
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1935
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1937
static SENSOR_DEVICE_ATTR_2(pwm1_auto_point4_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1939
static SENSOR_DEVICE_ATTR_2(pwm1_auto_start, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1941
static SENSOR_DEVICE_ATTR(pwm1_auto_slope, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1944
static SENSOR_DEVICE_ATTR(pwm2_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1946
static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1);
drivers/hwmon/it87.c
1950
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1952
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point2_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1954
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point3_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1958
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1960
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_temp_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1962
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1964
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1966
static SENSOR_DEVICE_ATTR_2(pwm2_auto_point4_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1968
static SENSOR_DEVICE_ATTR_2(pwm2_auto_start, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1970
static SENSOR_DEVICE_ATTR(pwm2_auto_slope, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1973
static SENSOR_DEVICE_ATTR(pwm3_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1975
static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2);
drivers/hwmon/it87.c
1979
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1981
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point2_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1983
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point3_pwm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1987
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1989
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_temp_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1991
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1993
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1995
static SENSOR_DEVICE_ATTR_2(pwm3_auto_point4_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1997
static SENSOR_DEVICE_ATTR_2(pwm3_auto_start, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
1999
static SENSOR_DEVICE_ATTR(pwm3_auto_slope, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2002
static SENSOR_DEVICE_ATTR(pwm4_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2004
static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 3);
drivers/hwmon/it87.c
2008
static SENSOR_DEVICE_ATTR_2(pwm4_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2010
static SENSOR_DEVICE_ATTR_2(pwm4_auto_point1_temp_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2012
static SENSOR_DEVICE_ATTR_2(pwm4_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2014
static SENSOR_DEVICE_ATTR_2(pwm4_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2016
static SENSOR_DEVICE_ATTR_2(pwm4_auto_start, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2018
static SENSOR_DEVICE_ATTR(pwm4_auto_slope, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2021
static SENSOR_DEVICE_ATTR(pwm5_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2023
static SENSOR_DEVICE_ATTR(pwm5, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 4);
drivers/hwmon/it87.c
2027
static SENSOR_DEVICE_ATTR_2(pwm5_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2029
static SENSOR_DEVICE_ATTR_2(pwm5_auto_point1_temp_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2031
static SENSOR_DEVICE_ATTR_2(pwm5_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2033
static SENSOR_DEVICE_ATTR_2(pwm5_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2035
static SENSOR_DEVICE_ATTR_2(pwm5_auto_start, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2037
static SENSOR_DEVICE_ATTR(pwm5_auto_slope, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2040
static SENSOR_DEVICE_ATTR(pwm6_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2042
static SENSOR_DEVICE_ATTR(pwm6, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 5);
drivers/hwmon/it87.c
2046
static SENSOR_DEVICE_ATTR_2(pwm6_auto_point1_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2048
static SENSOR_DEVICE_ATTR_2(pwm6_auto_point1_temp_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2050
static SENSOR_DEVICE_ATTR_2(pwm6_auto_point2_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2052
static SENSOR_DEVICE_ATTR_2(pwm6_auto_point3_temp, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2054
static SENSOR_DEVICE_ATTR_2(pwm6_auto_start, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2056
static SENSOR_DEVICE_ATTR(pwm6_auto_slope, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2129
static SENSOR_DEVICE_ATTR(intrusion0_alarm, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2169
static SENSOR_DEVICE_ATTR(in0_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2185
static SENSOR_DEVICE_ATTR(temp1_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/it87.c
2463
return attr->mode | S_IWUSR;
drivers/hwmon/it87.c
2526
return attr->mode | S_IWUSR;
drivers/hwmon/it87.c
2530
return attr->mode | S_IWUSR;
drivers/hwmon/lm63.c
741
static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
drivers/hwmon/lm63.c
744
static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm1, set_pwm1, 0);
drivers/hwmon/lm63.c
746
static SENSOR_DEVICE_ATTR(pwm1_auto_point1_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
748
static SENSOR_DEVICE_ATTR(pwm1_auto_point1_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
752
static SENSOR_DEVICE_ATTR(pwm1_auto_point2_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
754
static SENSOR_DEVICE_ATTR(pwm1_auto_point2_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
758
static SENSOR_DEVICE_ATTR(pwm1_auto_point3_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
760
static SENSOR_DEVICE_ATTR(pwm1_auto_point3_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
764
static SENSOR_DEVICE_ATTR(pwm1_auto_point4_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
766
static SENSOR_DEVICE_ATTR(pwm1_auto_point4_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
770
static SENSOR_DEVICE_ATTR(pwm1_auto_point5_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
772
static SENSOR_DEVICE_ATTR(pwm1_auto_point5_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
776
static SENSOR_DEVICE_ATTR(pwm1_auto_point6_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
778
static SENSOR_DEVICE_ATTR(pwm1_auto_point6_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
782
static SENSOR_DEVICE_ATTR(pwm1_auto_point7_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
784
static SENSOR_DEVICE_ATTR(pwm1_auto_point7_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
788
static SENSOR_DEVICE_ATTR(pwm1_auto_point8_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
790
static SENSOR_DEVICE_ATTR(pwm1_auto_point8_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
794
static SENSOR_DEVICE_ATTR(pwm1_auto_point9_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
796
static SENSOR_DEVICE_ATTR(pwm1_auto_point9_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
800
static SENSOR_DEVICE_ATTR(pwm1_auto_point10_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
802
static SENSOR_DEVICE_ATTR(pwm1_auto_point10_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
806
static SENSOR_DEVICE_ATTR(pwm1_auto_point11_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
808
static SENSOR_DEVICE_ATTR(pwm1_auto_point11_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
812
static SENSOR_DEVICE_ATTR(pwm1_auto_point12_pwm, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
814
static SENSOR_DEVICE_ATTR(pwm1_auto_point12_temp, S_IWUSR | S_IRUGO,
drivers/hwmon/lm63.c
820
static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_local_temp8,
drivers/hwmon/lm63.c
824
static SENSOR_DEVICE_ATTR(temp2_min, S_IWUSR | S_IRUGO, show_temp11,
drivers/hwmon/lm63.c
826
static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp11,
drivers/hwmon/lm63.c
828
static SENSOR_DEVICE_ATTR(temp2_offset, S_IWUSR | S_IRUGO, show_temp11,
drivers/hwmon/lm63.c
940
return attr->mode | S_IWUSR;
drivers/hwmon/max197.c
218
static SENSOR_DEVICE_ATTR_2(in##chan##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/max197.c
222
static SENSOR_DEVICE_ATTR_2(in##chan##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/nct6683.c
963
return attr->mode | S_IWUSR;
drivers/hwmon/ultra45_env.c
150
static SENSOR_DEVICE_ATTR(fan##index##_speed, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
1020
SENSOR_ATTR_2(fan##ix##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
1022
SENSOR_ATTR_2(fan##ix##_div, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
1030
SENSOR_ATTR_2(pwm##ix##_enable, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
1032
SENSOR_ATTR_2(pwm##ix##_auto_channels_temp, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
1036
SENSOR_ATTR_2(pwm##ix##_freq, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
1044
SENSOR_ATTR_2(pwm##ix##_auto_point##ap##_temp, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
1054
SENSOR_ATTR_2(pwm##ix##_auto_point##ap##_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
1089
__ATTR(vrm, S_IRUGO | S_IWUSR, show_vrm, set_vrm),
drivers/hwmon/vt1211.c
925
SENSOR_ATTR_2(in##ix##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
927
SENSOR_ATTR_2(in##ix##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
971
SENSOR_ATTR_2(temp##ix##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/vt1211.c
973
SENSOR_ATTR_2(temp##ix##_max_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83781d.c
1045
S_IRUGO | S_IWUSR);
drivers/hwmon/w83781d.c
284
static SENSOR_DEVICE_ATTR(in##offset##_min, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83781d.c
286
static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83781d.c
337
static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
340
static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
343
static SENSOR_DEVICE_ATTR(fan3_min, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
396
static SENSOR_DEVICE_ATTR(temp##offset##_max, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83781d.c
398
static SENSOR_DEVICE_ATTR(temp##offset##_max_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83781d.c
586
static SENSOR_DEVICE_ATTR(in0_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
588
static SENSOR_DEVICE_ATTR(in1_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
590
static SENSOR_DEVICE_ATTR(in2_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
592
static SENSOR_DEVICE_ATTR(in3_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
594
static SENSOR_DEVICE_ATTR(in4_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
596
static SENSOR_DEVICE_ATTR(in5_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
598
static SENSOR_DEVICE_ATTR(in6_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
600
static SENSOR_DEVICE_ATTR(in7_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
602
static SENSOR_DEVICE_ATTR(in8_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
604
static SENSOR_DEVICE_ATTR(fan1_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
606
static SENSOR_DEVICE_ATTR(fan2_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
608
static SENSOR_DEVICE_ATTR(fan3_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
610
static SENSOR_DEVICE_ATTR(temp1_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
612
static SENSOR_DEVICE_ATTR(temp2_beep, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
616
static SENSOR_DEVICE_ATTR(beep_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
681
static SENSOR_DEVICE_ATTR(fan1_div, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
683
static SENSOR_DEVICE_ATTR(fan2_div, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
685
static SENSOR_DEVICE_ATTR(fan3_div, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
762
static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0);
drivers/hwmon/w83781d.c
763
static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1);
drivers/hwmon/w83781d.c
764
static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2);
drivers/hwmon/w83781d.c
765
static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
drivers/hwmon/w83781d.c
834
static SENSOR_DEVICE_ATTR(temp1_type, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
836
static SENSOR_DEVICE_ATTR(temp2_type, S_IRUGO | S_IWUSR,
drivers/hwmon/w83781d.c
838
static SENSOR_DEVICE_ATTR(temp3_type, S_IRUGO | S_IWUSR,
drivers/hwmon/w83791d.c
1000
SENSOR_ATTR_2(temp2_max, S_IRUGO | S_IWUSR,
drivers/hwmon/w83791d.c
1002
SENSOR_ATTR_2(temp3_max, S_IRUGO | S_IWUSR,
drivers/hwmon/w83791d.c
1007
SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/w83791d.c
1009
SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/w83791d.c
1011
SENSOR_ATTR_2(temp3_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/w83791d.c
1020
SENSOR_ATTR(temp1_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 4),
drivers/hwmon/w83791d.c
1021
SENSOR_ATTR(temp2_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 5),
drivers/hwmon/w83791d.c
1022
SENSOR_ATTR(temp3_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 1),
drivers/hwmon/w83791d.c
1131
SENSOR_ATTR(beep_enable, S_IRUGO | S_IWUSR,
drivers/hwmon/w83791d.c
1133
SENSOR_ATTR(beep_mask, S_IRUGO | S_IWUSR,
drivers/hwmon/w83791d.c
407
SENSOR_ATTR(in0_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 0),
drivers/hwmon/w83791d.c
408
SENSOR_ATTR(in1_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 1),
drivers/hwmon/w83791d.c
409
SENSOR_ATTR(in2_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 2),
drivers/hwmon/w83791d.c
410
SENSOR_ATTR(in3_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 3),
drivers/hwmon/w83791d.c
411
SENSOR_ATTR(in4_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 4),
drivers/hwmon/w83791d.c
412
SENSOR_ATTR(in5_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 5),
drivers/hwmon/w83791d.c
413
SENSOR_ATTR(in6_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 6),
drivers/hwmon/w83791d.c
414
SENSOR_ATTR(in7_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 7),
drivers/hwmon/w83791d.c
415
SENSOR_ATTR(in8_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 8),
drivers/hwmon/w83791d.c
416
SENSOR_ATTR(in9_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 9),
drivers/hwmon/w83791d.c
420
SENSOR_ATTR(in0_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 0),
drivers/hwmon/w83791d.c
421
SENSOR_ATTR(in1_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 1),
drivers/hwmon/w83791d.c
422
SENSOR_ATTR(in2_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 2),
drivers/hwmon/w83791d.c
423
SENSOR_ATTR(in3_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 3),
drivers/hwmon/w83791d.c
424
SENSOR_ATTR(in4_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 4),
drivers/hwmon/w83791d.c
425
SENSOR_ATTR(in5_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 5),
drivers/hwmon/w83791d.c
426
SENSOR_ATTR(in6_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 6),
drivers/hwmon/w83791d.c
427
SENSOR_ATTR(in7_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 7),
drivers/hwmon/w83791d.c
428
SENSOR_ATTR(in8_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 8),
drivers/hwmon/w83791d.c
429
SENSOR_ATTR(in9_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 9),
drivers/hwmon/w83791d.c
495
SENSOR_ATTR(in0_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 0),
drivers/hwmon/w83791d.c
496
SENSOR_ATTR(in1_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 13),
drivers/hwmon/w83791d.c
497
SENSOR_ATTR(in2_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 2),
drivers/hwmon/w83791d.c
498
SENSOR_ATTR(in3_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 3),
drivers/hwmon/w83791d.c
499
SENSOR_ATTR(in4_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 8),
drivers/hwmon/w83791d.c
500
SENSOR_ATTR(in5_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 9),
drivers/hwmon/w83791d.c
501
SENSOR_ATTR(in6_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 10),
drivers/hwmon/w83791d.c
502
SENSOR_ATTR(in7_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 16),
drivers/hwmon/w83791d.c
503
SENSOR_ATTR(in8_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 17),
drivers/hwmon/w83791d.c
504
SENSOR_ATTR(in9_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 14),
drivers/hwmon/w83791d.c
671
SENSOR_ATTR(fan1_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
673
SENSOR_ATTR(fan2_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
675
SENSOR_ATTR(fan3_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
677
SENSOR_ATTR(fan4_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
679
SENSOR_ATTR(fan5_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
684
SENSOR_ATTR(fan1_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
686
SENSOR_ATTR(fan2_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
688
SENSOR_ATTR(fan3_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
690
SENSOR_ATTR(fan4_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
692
SENSOR_ATTR(fan5_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
697
SENSOR_ATTR(fan1_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 6),
drivers/hwmon/w83791d.c
698
SENSOR_ATTR(fan2_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 7),
drivers/hwmon/w83791d.c
699
SENSOR_ATTR(fan3_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 11),
drivers/hwmon/w83791d.c
700
SENSOR_ATTR(fan4_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 21),
drivers/hwmon/w83791d.c
701
SENSOR_ATTR(fan5_beep, S_IWUSR | S_IRUGO, show_beep, store_beep, 22),
drivers/hwmon/w83791d.c
742
SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
744
SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
746
SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
748
SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
750
SENSOR_ATTR(pwm5, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
811
SENSOR_ATTR(pwm1_enable, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
813
SENSOR_ATTR(pwm2_enable, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
815
SENSOR_ATTR(pwm3_enable, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
853
SENSOR_ATTR(temp1_target, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
855
SENSOR_ATTR(temp2_target, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
857
SENSOR_ATTR(temp3_target, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
915
SENSOR_ATTR(temp1_tolerance, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
917
SENSOR_ATTR(temp2_tolerance, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
919
SENSOR_ATTR(temp3_tolerance, S_IWUSR | S_IRUGO,
drivers/hwmon/w83791d.c
998
SENSOR_ATTR_2(temp1_max, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1000
static SENSOR_DEVICE_ATTR(in6_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1002
static SENSOR_DEVICE_ATTR(in7_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1004
static SENSOR_DEVICE_ATTR(in8_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1009
static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1011
static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp23,
drivers/hwmon/w83792d.c
1013
static SENSOR_DEVICE_ATTR_2(temp3_max, S_IRUGO | S_IWUSR, show_temp23,
drivers/hwmon/w83792d.c
1015
static SENSOR_DEVICE_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1017
static SENSOR_DEVICE_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1019
static SENSOR_DEVICE_ATTR_2(temp3_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1042
static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
drivers/hwmon/w83792d.c
1043
static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
drivers/hwmon/w83792d.c
1044
static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
drivers/hwmon/w83792d.c
1045
static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3);
drivers/hwmon/w83792d.c
1046
static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4);
drivers/hwmon/w83792d.c
1047
static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5);
drivers/hwmon/w83792d.c
1048
static SENSOR_DEVICE_ATTR(pwm7, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 6);
drivers/hwmon/w83792d.c
1049
static SENSOR_DEVICE_ATTR(pwm1_enable, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1051
static SENSOR_DEVICE_ATTR(pwm2_enable, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1053
static SENSOR_DEVICE_ATTR(pwm3_enable, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1055
static SENSOR_DEVICE_ATTR(pwm1_mode, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1057
static SENSOR_DEVICE_ATTR(pwm2_mode, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1059
static SENSOR_DEVICE_ATTR(pwm3_mode, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1061
static SENSOR_DEVICE_ATTR(pwm4_mode, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1063
static SENSOR_DEVICE_ATTR(pwm5_mode, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1065
static SENSOR_DEVICE_ATTR(pwm6_mode, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1067
static SENSOR_DEVICE_ATTR(pwm7_mode, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1069
static SENSOR_DEVICE_ATTR(tolerance1, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1071
static SENSOR_DEVICE_ATTR(tolerance2, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1073
static SENSOR_DEVICE_ATTR(tolerance3, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1075
static SENSOR_DEVICE_ATTR(thermal_cruise1, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1077
static SENSOR_DEVICE_ATTR(thermal_cruise2, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1079
static SENSOR_DEVICE_ATTR(thermal_cruise3, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1081
static SENSOR_DEVICE_ATTR_2(sf2_point1_fan1, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1083
static SENSOR_DEVICE_ATTR_2(sf2_point2_fan1, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1085
static SENSOR_DEVICE_ATTR_2(sf2_point3_fan1, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1087
static SENSOR_DEVICE_ATTR_2(sf2_point4_fan1, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1089
static SENSOR_DEVICE_ATTR_2(sf2_point1_fan2, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1091
static SENSOR_DEVICE_ATTR_2(sf2_point2_fan2, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1093
static SENSOR_DEVICE_ATTR_2(sf2_point3_fan2, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1095
static SENSOR_DEVICE_ATTR_2(sf2_point4_fan2, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1097
static SENSOR_DEVICE_ATTR_2(sf2_point1_fan3, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1099
static SENSOR_DEVICE_ATTR_2(sf2_point2_fan3, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1101
static SENSOR_DEVICE_ATTR_2(sf2_point3_fan3, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1103
static SENSOR_DEVICE_ATTR_2(sf2_point4_fan3, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1105
static SENSOR_DEVICE_ATTR_2(sf2_level1_fan1, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1107
static SENSOR_DEVICE_ATTR_2(sf2_level2_fan1, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1109
static SENSOR_DEVICE_ATTR_2(sf2_level3_fan1, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1111
static SENSOR_DEVICE_ATTR_2(sf2_level1_fan2, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1113
static SENSOR_DEVICE_ATTR_2(sf2_level2_fan2, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1115
static SENSOR_DEVICE_ATTR_2(sf2_level3_fan2, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1117
static SENSOR_DEVICE_ATTR_2(sf2_level1_fan3, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1119
static SENSOR_DEVICE_ATTR_2(sf2_level2_fan3, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1121
static SENSOR_DEVICE_ATTR_2(sf2_level3_fan3, S_IRUGO | S_IWUSR,
drivers/hwmon/w83792d.c
1130
static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1132
static SENSOR_DEVICE_ATTR(fan2_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1134
static SENSOR_DEVICE_ATTR(fan3_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1136
static SENSOR_DEVICE_ATTR(fan4_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1138
static SENSOR_DEVICE_ATTR(fan5_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1140
static SENSOR_DEVICE_ATTR(fan6_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1142
static SENSOR_DEVICE_ATTR(fan7_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1144
static SENSOR_DEVICE_ATTR(fan1_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1146
static SENSOR_DEVICE_ATTR(fan2_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1148
static SENSOR_DEVICE_ATTR(fan3_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1150
static SENSOR_DEVICE_ATTR(fan4_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1152
static SENSOR_DEVICE_ATTR(fan5_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1154
static SENSOR_DEVICE_ATTR(fan6_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
1156
static SENSOR_DEVICE_ATTR(fan7_div, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
970
static SENSOR_DEVICE_ATTR(in0_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
972
static SENSOR_DEVICE_ATTR(in1_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
974
static SENSOR_DEVICE_ATTR(in2_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
976
static SENSOR_DEVICE_ATTR(in3_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
978
static SENSOR_DEVICE_ATTR(in4_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
980
static SENSOR_DEVICE_ATTR(in5_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
982
static SENSOR_DEVICE_ATTR(in6_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
984
static SENSOR_DEVICE_ATTR(in7_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
986
static SENSOR_DEVICE_ATTR(in8_min, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
988
static SENSOR_DEVICE_ATTR(in0_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
990
static SENSOR_DEVICE_ATTR(in1_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
992
static SENSOR_DEVICE_ATTR(in2_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
994
static SENSOR_DEVICE_ATTR(in3_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
996
static SENSOR_DEVICE_ATTR(in4_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83792d.c
998
static SENSOR_DEVICE_ATTR(in5_max, S_IWUSR | S_IRUGO,
drivers/hwmon/w83793.c
1017
SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
drivers/hwmon/w83793.c
1019
SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \
drivers/hwmon/w83793.c
1023
SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83793.c
1030
SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83793.c
1034
SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83793.c
1038
SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
drivers/hwmon/w83793.c
1040
SENSOR_ATTR_2(pwm##index##_nonstop, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83793.c
1042
SENSOR_ATTR_2(pwm##index##_start, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83793.c
1044
SENSOR_ATTR_2(pwm##index##_stop_time, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83793.c
1048
SENSOR_ATTR_2(temp##index##_type, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1052
SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
drivers/hwmon/w83793.c
1054
SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1056
SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \
drivers/hwmon/w83793.c
1058
SENSOR_ATTR_2(temp##index##_warn_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1062
SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83793.c
1065
S_IRUGO | S_IWUSR, show_sf_ctrl, store_sf_ctrl, \
drivers/hwmon/w83793.c
1067
SENSOR_ATTR_2(temp##index##_pwm_enable, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83793.c
1070
SENSOR_ATTR_2(thermal_cruise##index, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1072
SENSOR_ATTR_2(tolerance##index, S_IRUGO | S_IWUSR, show_sf_ctrl,\
drivers/hwmon/w83793.c
1074
SENSOR_ATTR_2(temp##index##_auto_point1_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1076
SENSOR_ATTR_2(temp##index##_auto_point2_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1078
SENSOR_ATTR_2(temp##index##_auto_point3_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1080
SENSOR_ATTR_2(temp##index##_auto_point4_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1082
SENSOR_ATTR_2(temp##index##_auto_point5_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1084
SENSOR_ATTR_2(temp##index##_auto_point6_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1086
SENSOR_ATTR_2(temp##index##_auto_point7_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83793.c
1088
SENSOR_ATTR_2(temp##index##_auto_point1_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83793.c
1090
SENSOR_ATTR_2(temp##index##_auto_point2_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83793.c
1092
SENSOR_ATTR_2(temp##index##_auto_point3_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83793.c
1094
SENSOR_ATTR_2(temp##index##_auto_point4_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83793.c
1096
SENSOR_ATTR_2(temp##index##_auto_point5_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83793.c
1098
SENSOR_ATTR_2(temp##index##_auto_point6_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83793.c
1100
SENSOR_ATTR_2(temp##index##_auto_point7_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83793.c
1160
SENSOR_ATTR_2(intrusion0_alarm, S_IWUSR | S_IRUGO, show_alarm_beep,
drivers/hwmon/w83793.c
1162
SENSOR_ATTR_2(beep_enable, S_IWUSR | S_IRUGO, show_beep_enable,
drivers/hwmon/w83793.c
1164
SENSOR_ATTR_2(pwm_default, S_IWUSR | S_IRUGO, show_sf_setup,
drivers/hwmon/w83793.c
1166
SENSOR_ATTR_2(pwm_uptime, S_IWUSR | S_IRUGO, show_sf_setup,
drivers/hwmon/w83793.c
1168
SENSOR_ATTR_2(pwm_downtime, S_IWUSR | S_IRUGO, show_sf_setup,
drivers/hwmon/w83793.c
1170
SENSOR_ATTR_2(temp_critical, S_IWUSR | S_IRUGO, show_sf_setup,
drivers/hwmon/w83795.c
1612
SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
drivers/hwmon/w83795.c
1614
SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \
drivers/hwmon/w83795.c
1618
SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1629
SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1633
SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1637
SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
drivers/hwmon/w83795.c
1639
SENSOR_ATTR_2(pwm##index##_enable, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1643
SENSOR_ATTR_2(pwm##index##_freq, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1645
SENSOR_ATTR_2(pwm##index##_nonstop, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1647
SENSOR_ATTR_2(pwm##index##_start, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1649
SENSOR_ATTR_2(pwm##index##_stop_time, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1651
SENSOR_ATTR_2(fan##index##_target, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1663
SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_dts_ext, \
drivers/hwmon/w83795.c
1665
SENSOR_ATTR_2(temp##index##_crit_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1667
SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_dts_ext, \
drivers/hwmon/w83795.c
1669
SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1673
SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1681
SENSOR_ATTR_2(temp##index##_type, S_IRUGO | (index < 5 ? S_IWUSR : 0), \
drivers/hwmon/w83795.c
1685
SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_temp, \
drivers/hwmon/w83795.c
1687
SENSOR_ATTR_2(temp##index##_crit_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1689
SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
drivers/hwmon/w83795.c
1691
SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1696
SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1699
SENSOR_ATTR_2(temp##index##_pwm_enable, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1702
SENSOR_ATTR_2(temp##index##_auto_channels_pwm, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1705
SENSOR_ATTR_2(thermal_cruise##index, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1707
SENSOR_ATTR_2(temp##index##_warn, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1709
SENSOR_ATTR_2(temp##index##_warn_hyst, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1711
SENSOR_ATTR_2(temp##index##_operation_hyst, S_IWUSR | S_IRUGO, \
drivers/hwmon/w83795.c
1713
SENSOR_ATTR_2(temp##index##_auto_point1_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1715
SENSOR_ATTR_2(temp##index##_auto_point2_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1717
SENSOR_ATTR_2(temp##index##_auto_point3_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1719
SENSOR_ATTR_2(temp##index##_auto_point4_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1721
SENSOR_ATTR_2(temp##index##_auto_point5_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1723
SENSOR_ATTR_2(temp##index##_auto_point6_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1725
SENSOR_ATTR_2(temp##index##_auto_point7_pwm, S_IRUGO | S_IWUSR, \
drivers/hwmon/w83795.c
1727
SENSOR_ATTR_2(temp##index##_auto_point1_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83795.c
1729
SENSOR_ATTR_2(temp##index##_auto_point2_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83795.c
1731
SENSOR_ATTR_2(temp##index##_auto_point3_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83795.c
1733
SENSOR_ATTR_2(temp##index##_auto_point4_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83795.c
1735
SENSOR_ATTR_2(temp##index##_auto_point5_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83795.c
1737
SENSOR_ATTR_2(temp##index##_auto_point6_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83795.c
1739
SENSOR_ATTR_2(temp##index##_auto_point7_temp, S_IRUGO | S_IWUSR,\
drivers/hwmon/w83795.c
1816
SENSOR_ATTR_2(temp1_source_sel, S_IWUSR | S_IRUGO,
drivers/hwmon/w83795.c
1818
SENSOR_ATTR_2(temp2_source_sel, S_IWUSR | S_IRUGO,
drivers/hwmon/w83795.c
1820
SENSOR_ATTR_2(temp3_source_sel, S_IWUSR | S_IRUGO,
drivers/hwmon/w83795.c
1822
SENSOR_ATTR_2(temp4_source_sel, S_IWUSR | S_IRUGO,
drivers/hwmon/w83795.c
1824
SENSOR_ATTR_2(temp5_source_sel, S_IWUSR | S_IRUGO,
drivers/hwmon/w83795.c
1826
SENSOR_ATTR_2(temp6_source_sel, S_IWUSR | S_IRUGO,
drivers/hwmon/w83795.c
1831
SENSOR_ATTR_2(intrusion0_alarm, S_IWUSR | S_IRUGO, show_alarm_beep,
drivers/hwmon/w83795.c
1834
SENSOR_ATTR_2(speed_cruise_tolerance, S_IWUSR | S_IRUGO, show_fanin,
drivers/hwmon/w83795.c
1836
SENSOR_ATTR_2(pwm_default, S_IWUSR | S_IRUGO, show_sf_setup,
drivers/hwmon/w83795.c
1838
SENSOR_ATTR_2(pwm_uptime, S_IWUSR | S_IRUGO, show_sf_setup,
drivers/hwmon/w83795.c
1840
SENSOR_ATTR_2(pwm_downtime, S_IWUSR | S_IRUGO, show_sf_setup,
drivers/hwmon/w83795.c
1846
SENSOR_ATTR_2(intrusion0_beep, S_IWUSR | S_IRUGO, show_alarm_beep,
drivers/hwmon/w83795.c
1848
SENSOR_ATTR_2(beep_enable, S_IWUSR | S_IRUGO, show_alarm_beep,
drivers/hwmon/w83l786ng.c
275
SENSOR_ATTR(in0_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 0),
drivers/hwmon/w83l786ng.c
276
SENSOR_ATTR(in1_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 1),
drivers/hwmon/w83l786ng.c
277
SENSOR_ATTR(in2_min, S_IWUSR | S_IRUGO, show_in_min, store_in_min, 2),
drivers/hwmon/w83l786ng.c
281
SENSOR_ATTR(in0_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 0),
drivers/hwmon/w83l786ng.c
282
SENSOR_ATTR(in1_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 1),
drivers/hwmon/w83l786ng.c
283
SENSOR_ATTR(in2_max, S_IWUSR | S_IRUGO, show_in_max, store_in_max, 2),
drivers/hwmon/w83l786ng.c
398
SENSOR_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan_min,
drivers/hwmon/w83l786ng.c
400
SENSOR_ATTR(fan2_min, S_IWUSR | S_IRUGO, show_fan_min,
drivers/hwmon/w83l786ng.c
405
SENSOR_ATTR(fan1_div, S_IWUSR | S_IRUGO, show_fan_div,
drivers/hwmon/w83l786ng.c
407
SENSOR_ATTR(fan2_div, S_IWUSR | S_IRUGO, show_fan_div,
drivers/hwmon/w83l786ng.c
457
SENSOR_ATTR_2(temp1_max, S_IRUGO | S_IWUSR,
drivers/hwmon/w83l786ng.c
459
SENSOR_ATTR_2(temp2_max, S_IRUGO | S_IWUSR,
drivers/hwmon/w83l786ng.c
464
SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/w83l786ng.c
466
SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR,
drivers/hwmon/w83l786ng.c
564
SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
drivers/hwmon/w83l786ng.c
565
SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
drivers/hwmon/w83l786ng.c
569
SENSOR_ATTR(pwm1_mode, S_IWUSR | S_IRUGO, show_pwm_mode,
drivers/hwmon/w83l786ng.c
571
SENSOR_ATTR(pwm2_mode, S_IWUSR | S_IRUGO, show_pwm_mode,
drivers/hwmon/w83l786ng.c
576
SENSOR_ATTR(pwm1_enable, S_IWUSR | S_IRUGO, show_pwm_enable,
drivers/hwmon/w83l786ng.c
578
SENSOR_ATTR(pwm2_enable, S_IWUSR | S_IRUGO, show_pwm_enable,
drivers/hwmon/w83l786ng.c
622
SENSOR_ATTR(pwm1_tolerance, S_IWUSR | S_IRUGO,
drivers/hwmon/w83l786ng.c
624
SENSOR_ATTR(pwm2_tolerance, S_IWUSR | S_IRUGO,
drivers/hwtracing/intel_th/gth.c
392
master_attrs[i].attr.attr.mode = S_IRUGO | S_IWUSR;
drivers/hwtracing/intel_th/gth.c
445
out_attrs[idx].attr.attr.mode |= S_IWUSR;
drivers/i2c/algos/i2c-algo-bit.c
41
module_param(i2c_debug, int, S_IRUGO | S_IWUSR);
drivers/i2c/busses/i2c-diolan-u2c.c
90
module_param(frequency, uint, S_IRUGO | S_IWUSR);
drivers/i2c/busses/i2c-eg20t.c
888
module_param(pch_i2c_speed, int, (S_IRUSR | S_IWUSR));
drivers/i2c/busses/i2c-eg20t.c
889
module_param(pch_clk, int, (S_IRUSR | S_IWUSR));
drivers/i2c/busses/i2c-i801.c
340
module_param(disable_features, uint, S_IRUGO | S_IWUSR);
drivers/i2c/i2c-core-base.c
1375
static DEVICE_ATTR_IGNORE_LOCKDEP(delete_device, S_IWUSR, NULL,
drivers/i2c/i2c-slave-eeprom.c
167
eeprom->bin.attr.mode = S_IRUSR | S_IWUSR;
drivers/i2c/i2c-stub.c
41
module_param(functionality, ulong, S_IRUGO | S_IWUSR);
drivers/iio/adc/ina2xx-adc.c
896
static IIO_DEVICE_ATTR(in_allow_async_readout, S_IRUGO | S_IWUSR,
drivers/iio/adc/ina2xx-adc.c
900
static IIO_DEVICE_ATTR(in_shunt_resistor, S_IRUGO | S_IWUSR,
drivers/iio/adc/max1363.c
719
static IIO_DEV_ATTR_SAMP_FREQ(S_IRUGO | S_IWUSR,
drivers/iio/dac/ad5360.c
300
S_IRUGO | S_IWUSR,
drivers/iio/dac/mcp4725.c
140
static IIO_DEVICE_ATTR(store_eeprom, S_IWUSR, NULL, mcp4725_store_eeprom, 0);
drivers/iio/dummy/iio_dummy_evgen.c
157
static IIO_DEVICE_ATTR(poke_ev0, S_IWUSR, NULL, &iio_evgen_poke, 0);
drivers/iio/dummy/iio_dummy_evgen.c
158
static IIO_DEVICE_ATTR(poke_ev1, S_IWUSR, NULL, &iio_evgen_poke, 1);
drivers/iio/dummy/iio_dummy_evgen.c
159
static IIO_DEVICE_ATTR(poke_ev2, S_IWUSR, NULL, &iio_evgen_poke, 2);
drivers/iio/dummy/iio_dummy_evgen.c
160
static IIO_DEVICE_ATTR(poke_ev3, S_IWUSR, NULL, &iio_evgen_poke, 3);
drivers/iio/dummy/iio_dummy_evgen.c
161
static IIO_DEVICE_ATTR(poke_ev4, S_IWUSR, NULL, &iio_evgen_poke, 4);
drivers/iio/dummy/iio_dummy_evgen.c
162
static IIO_DEVICE_ATTR(poke_ev5, S_IWUSR, NULL, &iio_evgen_poke, 5);
drivers/iio/dummy/iio_dummy_evgen.c
163
static IIO_DEVICE_ATTR(poke_ev6, S_IWUSR, NULL, &iio_evgen_poke, 6);
drivers/iio/dummy/iio_dummy_evgen.c
164
static IIO_DEVICE_ATTR(poke_ev7, S_IWUSR, NULL, &iio_evgen_poke, 7);
drivers/iio/dummy/iio_dummy_evgen.c
165
static IIO_DEVICE_ATTR(poke_ev8, S_IWUSR, NULL, &iio_evgen_poke, 8);
drivers/iio/dummy/iio_dummy_evgen.c
166
static IIO_DEVICE_ATTR(poke_ev9, S_IWUSR, NULL, &iio_evgen_poke, 9);
drivers/iio/frequency/ad9523.c
601
static IIO_DEVICE_ATTR(sync_dividers, S_IWUSR,
drivers/iio/frequency/ad9523.c
606
static IIO_DEVICE_ATTR(store_eeprom, S_IWUSR,
drivers/iio/gyro/adis16136.c
232
static IIO_DEV_ATTR_SAMP_FREQ(S_IWUSR | S_IRUGO,
drivers/iio/health/afe440x.h
147
.dev_attr = __ATTR(_name, (S_IRUGO | S_IWUSR), \
drivers/iio/humidity/htu21.c
160
static IIO_DEVICE_ATTR(heater_enable, S_IRUGO | S_IWUSR,
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
1692
static IIO_DEV_ATTR_SAMP_FREQ(S_IRUGO | S_IWUSR, inv_fifo_rate_show,
drivers/iio/light/lm3533-als.c
583
S_IRUGO | S_IWUSR, \
drivers/iio/light/lm3533-als.c
611
S_IRUGO | S_IWUSR, \
drivers/iio/light/lm3533-als.c
617
S_IRUGO | S_IWUSR, \
drivers/iio/light/lm3533-als.c
656
DEVICE_ATTR(in_illuminance0_##_name, S_IRUGO | S_IWUSR, \
drivers/iio/proximity/as3935.c
163
static IIO_DEVICE_ATTR(sensor_sensitivity, S_IRUGO | S_IWUSR,
drivers/iio/proximity/srf08.c
307
static IIO_DEVICE_ATTR(sensor_max_range, S_IRUGO | S_IWUSR,
drivers/iio/proximity/srf08.c
397
static IIO_DEVICE_ATTR(sensor_sensitivity, S_IRUGO | S_IWUSR,
drivers/iio/trigger/iio-trig-hrtimer.c
80
static DEVICE_ATTR(sampling_frequency, S_IRUGO | S_IWUSR,
drivers/iio/trigger/iio-trig-sysfs.c
111
static DEVICE_ATTR(trigger_now, S_IWUSR, NULL, iio_sysfs_trigger_poll);
drivers/iio/trigger/iio-trig-sysfs.c
43
static DEVICE_ATTR(add_trigger, S_IWUSR, NULL, &iio_sysfs_trig_add);
drivers/iio/trigger/iio-trig-sysfs.c
63
static DEVICE_ATTR(remove_trigger, S_IWUSR, NULL, &iio_sysfs_trig_remove);
drivers/infiniband/hw/cxgb4/device.c
730
debugfs_create_file_size("qps", S_IWUSR, devp->debugfs_root,
drivers/infiniband/hw/cxgb4/device.c
733
debugfs_create_file_size("stags", S_IWUSR, devp->debugfs_root,
drivers/infiniband/hw/cxgb4/device.c
736
debugfs_create_file_size("stats", S_IWUSR, devp->debugfs_root,
drivers/infiniband/hw/cxgb4/device.c
739
debugfs_create_file_size("eps", S_IWUSR, devp->debugfs_root,
drivers/infiniband/hw/cxgb4/device.c
743
debugfs_create_file_size("wr_log", S_IWUSR, devp->debugfs_root,
drivers/infiniband/hw/hfi1/debugfs.c
1199
S_IRUGO | S_IWUSR,
drivers/infiniband/hw/hfi1/driver.c
50
module_param_cb(cap_mask, &cap_ops, &hfi1_cap_mask, S_IWUSR | S_IRUGO);
drivers/infiniband/hw/hfi1/sdma.c
41
module_param_named(desct_intr, sdma_desct_intr, uint, S_IRUGO | S_IWUSR);
drivers/infiniband/hw/hfi1/sysfs.c
640
static SDE_ATTR(cpu_list, S_IWUSR | S_IRUGO,
drivers/infiniband/hw/hfi1/user_pages.c
14
module_param(cache_size, ulong, S_IRUGO | S_IWUSR);
drivers/infiniband/hw/mlx4/sysfs.c
187
vdentry->dentry.attr.mode |= S_IWUSR;
drivers/infiniband/hw/mlx4/sysfs.c
518
element->attr.attr.mode = S_IWUSR | S_IRUGO;
drivers/infiniband/hw/usnic/usnic_ib_main.c
717
module_param(usnic_log_lvl, uint, S_IRUGO | S_IWUSR);
drivers/infiniband/hw/usnic/usnic_ib_main.c
718
module_param(usnic_ib_share_vf, uint, S_IRUGO | S_IWUSR);
drivers/infiniband/ulp/iser/iscsi_iser.c
104
S_IRUGO | S_IWUSR);
drivers/infiniband/ulp/iser/iscsi_iser.c
89
module_param_named(debug_level, iser_debug_level, int, S_IRUGO | S_IWUSR);
drivers/infiniband/ulp/srp/ib_srp.c
104
S_IRUGO | S_IWUSR);
drivers/infiniband/ulp/srp/ib_srp.c
109
S_IRUGO | S_IWUSR);
drivers/infiniband/ulp/srp/ib_srp.c
117
S_IRUGO | S_IWUSR);
drivers/input/joystick/xpad.c
123
module_param(auto_poweroff, bool, S_IWUSR | S_IRUGO);
drivers/input/keyboard/atkbd.c
273
__ATTR(_name, S_IWUSR | S_IRUGO, atkbd_do_show_##_name, atkbd_do_set_##_name);
drivers/input/keyboard/gpio_keys.c
344
static DEVICE_ATTR(disabled_keys, S_IWUSR | S_IRUGO,
drivers/input/keyboard/gpio_keys.c
347
static DEVICE_ATTR(disabled_switches, S_IWUSR | S_IRUGO,
drivers/input/keyboard/omap-keypad.c
172
static DEVICE_ATTR(enable, S_IRUGO | S_IWUSR, omap_kp_enable_show, omap_kp_enable_store);
drivers/input/misc/ideapad_slidebar.c
182
static DEVICE_ATTR(slidebar_mode, S_IWUSR | S_IRUGO,
drivers/input/misc/ims-pcu.c
1107
IMS_PCU_ATTR(_field, S_IRUGO | S_IWUSR)
drivers/input/misc/ims-pcu.c
1147
static DEVICE_ATTR(reset_device, S_IWUSR, NULL, ims_pcu_reset_device);
drivers/input/misc/ims-pcu.c
1194
static DEVICE_ATTR(update_firmware, S_IWUSR,
drivers/input/misc/ims-pcu.c
1332
static DEVICE_ATTR(reg_data, S_IRUGO | S_IWUSR,
drivers/input/misc/ims-pcu.c
1367
static DEVICE_ATTR(reg_addr, S_IRUGO | S_IWUSR,
drivers/input/misc/ims-pcu.c
1435
.dattr = __ATTR(_field, S_IWUSR | S_IRUGO, \
drivers/input/misc/kxtj9.c
331
static DEVICE_ATTR(poll, S_IRUGO|S_IWUSR, kxtj9_get_poll, kxtj9_set_poll);
drivers/input/misc/yealink.c
733
#define _M664 S_IRUGO|S_IWUSR|S_IWGRP
drivers/input/misc/yealink.c
734
#define _M220 S_IWUSR|S_IWGRP
drivers/input/mouse/cyapa.c
1218
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, cyapa_update_fw_store);
drivers/input/mouse/cyapa.c
1220
static DEVICE_ATTR(calibrate, S_IWUSR, NULL, cyapa_calibrate_store);
drivers/input/mouse/cyapa.c
803
static DEVICE_ATTR(suspend_scanrate_ms, S_IRUGO|S_IWUSR,
drivers/input/mouse/cyapa.c
918
static DEVICE_ATTR(runtime_suspend_scanrate_ms, S_IRUGO|S_IWUSR,
drivers/input/mouse/elan_i2c_core.c
765
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, elan_sysfs_update_fw);
drivers/input/mouse/hgpk.c
803
__PSMOUSE_DEFINE_ATTR(powered, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/hgpk.c
862
PSMOUSE_DEFINE_ATTR(hgpk_mode, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/hgpk.c
894
__PSMOUSE_DEFINE_ATTR(recalibrate, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/logips2pp.c
176
PSMOUSE_DEFINE_ATTR(smartscroll, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/psmouse-base.c
81
PSMOUSE_DEFINE_ATTR(protocol, S_IWUSR | S_IRUGO,
drivers/input/mouse/psmouse-base.c
84
PSMOUSE_DEFINE_ATTR(rate, S_IWUSR | S_IRUGO,
drivers/input/mouse/psmouse-base.c
87
PSMOUSE_DEFINE_ATTR(resolution, S_IWUSR | S_IRUGO,
drivers/input/mouse/psmouse-base.c
90
PSMOUSE_DEFINE_ATTR(resetafter, S_IWUSR | S_IRUGO,
drivers/input/mouse/psmouse-base.c
93
PSMOUSE_DEFINE_ATTR(resync_time, S_IWUSR | S_IRUGO,
drivers/input/mouse/sentelic.c
447
PSMOUSE_DEFINE_WO_ATTR(setreg, S_IWUSR, NULL, fsp_attr_set_setreg);
drivers/input/mouse/sentelic.c
485
PSMOUSE_DEFINE_ATTR(getreg, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/sentelic.c
518
PSMOUSE_DEFINE_ATTR(page, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/sentelic.c
547
PSMOUSE_DEFINE_ATTR(vscroll, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/sentelic.c
576
PSMOUSE_DEFINE_ATTR(hscroll, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/sentelic.c
609
PSMOUSE_DEFINE_ATTR(flags, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/synaptics.c
1435
PSMOUSE_DEFINE_ATTR(disable_gesture, S_IWUSR | S_IRUGO, NULL,
drivers/input/mouse/trackpoint.c
142
PSMOUSE_DEFINE_ATTR(_name, S_IWUSR | S_IRUGO, \
drivers/input/mouse/trackpoint.c
181
PSMOUSE_DEFINE_ATTR(_name, S_IWUSR | S_IRUGO, \
drivers/input/serio/serio.c
434
static DEVICE_ATTR(bind_mode, S_IWUSR | S_IRUGO, serio_show_bind_mode, serio_set_bind_mode);
drivers/input/tablet/aiptek.c
1084
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1120
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1161
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1203
S_IRUGO | S_IWUSR, show_tabletXtilt, store_tabletXtilt);
drivers/input/tablet/aiptek.c
1244
S_IRUGO | S_IWUSR, show_tabletYtilt, store_tabletYtilt);
drivers/input/tablet/aiptek.c
1272
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1301
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1389
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1419
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1456
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1485
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1514
S_IRUGO | S_IWUSR,
drivers/input/tablet/aiptek.c
1547
S_IRUGO | S_IWUSR, show_tabletWheel, store_tabletWheel);
drivers/input/tablet/aiptek.c
1579
S_IRUGO | S_IWUSR, show_tabletExecute, store_tabletExecute);
drivers/input/touchscreen/atmel_mxt_ts.c
3063
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, mxt_update_fw_store);
drivers/input/touchscreen/edt-ft5x06.c
505
static EDT_ATTR(gain, S_IWUSR | S_IRUGO, WORK_REGISTER_GAIN,
drivers/input/touchscreen/edt-ft5x06.c
508
static EDT_ATTR(offset, S_IWUSR | S_IRUGO, WORK_REGISTER_OFFSET,
drivers/input/touchscreen/edt-ft5x06.c
511
static EDT_ATTR(offset_x, S_IWUSR | S_IRUGO, NO_REGISTER, NO_REGISTER,
drivers/input/touchscreen/edt-ft5x06.c
514
static EDT_ATTR(offset_y, S_IWUSR | S_IRUGO, NO_REGISTER, NO_REGISTER,
drivers/input/touchscreen/edt-ft5x06.c
517
static EDT_ATTR(threshold, S_IWUSR | S_IRUGO, WORK_REGISTER_THRESHOLD,
drivers/input/touchscreen/edt-ft5x06.c
520
static EDT_ATTR(report_rate, S_IWUSR | S_IRUGO, WORK_REGISTER_REPORT_RATE,
drivers/input/touchscreen/edt-ft5x06.c
824
debugfs_create_file("mode", S_IRUSR | S_IWUSR,
drivers/input/touchscreen/elants_i2c.c
1251
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, write_update_fw);
drivers/input/touchscreen/ili210x.c
596
static DEVICE_ATTR(calibrate, S_IWUSR, NULL, ili210x_calibrate);
drivers/input/touchscreen/mc13783_ts.c
25
module_param(sample_tolerance, uint, S_IRUGO | S_IWUSR);
drivers/input/touchscreen/melfas_mip4.c
1326
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, mip4_sysfs_fw_update);
drivers/input/touchscreen/raydium_i2c_ts.c
1004
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, raydium_i2c_update_fw_store);
drivers/input/touchscreen/raydium_i2c_ts.c
1005
static DEVICE_ATTR(calibrate, S_IWUSR, NULL, raydium_i2c_calibrate_store);
drivers/iommu/iommufd/device.c
15
module_param(allow_unsafe_interrupts, bool, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/avmfritz.c
165
module_param_call(debug, set_debug, param_get_uint, &debug, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
227
module_param(debug, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
228
module_param(poll, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
229
module_param(clock, int, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
230
module_param(timer, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
231
module_param(clockdelay_te, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
232
module_param(clockdelay_nt, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
233
module_param_array(type, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
234
module_param_array(pcm, int, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
235
module_param_array(dmask, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
236
module_param_array(bmask, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
237
module_param_array(iomode, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
238
module_param_array(port, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcmulti.c
239
module_param(hwid, uint, S_IRUGO | S_IWUSR); /* The hardware ID */
drivers/isdn/hardware/mISDN/hfcpci.c
54
module_param(debug, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcpci.c
55
module_param(poll, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/hfcsusb.c
36
module_param(debug, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/mISDNinfineon.c
251
module_param_call(debug, set_debug, param_get_uint, &debug, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/mISDNinfineon.c
253
module_param(irqloops, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/netjet.c
120
module_param_call(debug, set_debug, param_get_uint, &debug, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/speedfax.c
104
module_param_call(debug, set_debug, param_get_uint, &debug, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/speedfax.c
106
module_param(irqloops, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/w6692.c
107
module_param_call(debug, set_debug, param_get_uint, &debug, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/w6692.c
109
module_param(led, uint, S_IRUGO | S_IWUSR);
drivers/isdn/hardware/mISDN/w6692.c
111
module_param(pots, uint, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/core.c
19
module_param(debug, uint, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/dsp_core.c
171
module_param(debug, uint, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/dsp_core.c
172
module_param(options, uint, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/dsp_core.c
173
module_param(poll, uint, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/dsp_core.c
174
module_param(dtmfthreshold, uint, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
250
module_param_array(type, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
251
module_param_array(codec, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
252
module_param_array(ip, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
253
module_param_array(port, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
254
module_param_array(remoteport, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
255
module_param_array(ondemand, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
256
module_param_array(limit, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
257
module_param_array(id, uint, NULL, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
258
module_param(ulaw, uint, S_IRUGO | S_IWUSR);
drivers/isdn/mISDN/l1oip_core.c
259
module_param(debug, uint, S_IRUGO | S_IWUSR);
drivers/leds/leds-lp55xx-common.h
34
DEVICE_ATTR(name, S_IRUGO | S_IWUSR, show, store)
drivers/leds/leds-lp55xx-common.h
38
DEVICE_ATTR(name, S_IWUSR, NULL, store)
drivers/macintosh/ams/ams-input.c
138
static DEVICE_ATTR(joystick, S_IRUGO | S_IWUSR,
drivers/macintosh/ams/ams-input.c
23
module_param(invert, bool, S_IWUSR | S_IRUGO);
drivers/macintosh/therm_adt746x.c
405
static DEVICE_ATTR(specified_fan_speed, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH,
drivers/macintosh/therm_adt746x.c
413
static DEVICE_ATTR(limit_adjust, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH,
drivers/md/md-bitmap.c
2685
__ATTR(location, S_IRUGO|S_IWUSR, location_show, location_store);
drivers/md/md-bitmap.c
2723
__ATTR(space, S_IRUGO|S_IWUSR, space_show, space_store);
drivers/md/md-bitmap.c
2767
__ATTR(time_base, S_IRUGO|S_IWUSR, timeout_show, timeout_store);
drivers/md/md-bitmap.c
2827
__ATTR(backlog, S_IRUGO|S_IWUSR, backlog_show, backlog_store);
drivers/md/md-bitmap.c
2857
__ATTR(chunksize, S_IRUGO|S_IWUSR, chunksize_show, chunksize_store);
drivers/md/md-bitmap.c
2884
__ATTR(metadata, S_IRUGO|S_IWUSR, metadata_show, metadata_store);
drivers/md/md-bitmap.c
2925
__ATTR(can_clear, S_IRUGO|S_IWUSR, can_clear_show, can_clear_store);
drivers/md/md-bitmap.c
2955
__ATTR(max_backlog_used, S_IRUGO | S_IWUSR,
drivers/md/md.c
10860
module_param_call(start_ro, set_ro, get_ro, NULL, S_IRUSR|S_IWUSR);
drivers/md/md.c
10861
module_param(start_dirty_degraded, int, S_IRUGO|S_IWUSR);
drivers/md/md.c
10862
module_param_call(new_array, add_named_array, NULL, NULL, S_IWUSR);
drivers/md/md.c
10863
module_param(create_on_open, bool, S_IRUSR|S_IWUSR);
drivers/md/md.c
3235
__ATTR_PREALLOC(state, S_IRUGO|S_IWUSR, state_show, state_store);
drivers/md/md.c
3256
__ATTR(errors, S_IRUGO|S_IWUSR, errors_show, errors_store);
drivers/md/md.c
3355
__ATTR(slot, S_IRUGO|S_IWUSR, slot_show, slot_store);
drivers/md/md.c
3381
__ATTR(offset, S_IRUGO|S_IWUSR, offset_show, offset_store);
drivers/md/md.c
3438
__ATTR(new_offset, S_IRUGO|S_IWUSR, new_offset_show, new_offset_store);
drivers/md/md.c
3546
__ATTR(size, S_IRUGO|S_IWUSR, rdev_size_show, rdev_size_store);
drivers/md/md.c
3581
__ATTR(recovery_start, S_IRUGO|S_IWUSR, recovery_start_show, recovery_start_store);
drivers/md/md.c
3607
__ATTR(bad_blocks, S_IRUGO|S_IWUSR, bb_show, bb_store);
drivers/md/md.c
3618
__ATTR(unacknowledged_bad_blocks, S_IRUGO|S_IWUSR, ubb_show, ubb_store);
drivers/md/md.c
3657
__ATTR(ppl_sector, S_IRUGO|S_IWUSR, ppl_sector_show, ppl_sector_store);
drivers/md/md.c
3690
__ATTR(ppl_size, S_IRUGO|S_IWUSR, ppl_size_show, ppl_size_store);
drivers/md/md.c
4009
__ATTR(safe_mode_delay, S_IRUGO|S_IWUSR,safe_delay_show, safe_delay_store);
drivers/md/md.c
4227
__ATTR(level, S_IRUGO|S_IWUSR, level_show, level_store);
drivers/md/md.c
4381
__ATTR(layout, S_IRUGO|S_IWUSR, layout_show, layout_store);
drivers/md/md.c
4436
__ATTR(raid_disks, S_IRUGO|S_IWUSR, raid_disks_show, raid_disks_store);
drivers/md/md.c
4490
__ATTR(chunk_size, S_IRUGO|S_IWUSR, chunk_size_show, chunk_size_store);
drivers/md/md.c
4531
__ATTR_PREALLOC(resync_start, S_IRUGO|S_IWUSR,
drivers/md/md.c
4764
__ATTR_PREALLOC(array_state, S_IRUGO|S_IWUSR, array_state_show, array_state_store);
drivers/md/md.c
4788
__ATTR(max_read_errors, S_IRUGO|S_IWUSR, max_corrected_read_errors_show,
drivers/md/md.c
4859
__ATTR(new_dev, S_IWUSR, null_show, new_dev_store);
drivers/md/md.c
4902
__ATTR(bitmap_set_bits, S_IWUSR, null_show, bitmap_store);
drivers/md/md.c
4944
__ATTR(component_size, S_IRUGO|S_IWUSR, size_show, size_store);
drivers/md/md.c
5028
__ATTR_PREALLOC(metadata_version, S_IRUGO|S_IWUSR, metadata_show, metadata_store);
drivers/md/md.c
5339
__ATTR_PREALLOC(sync_action, S_IRUGO|S_IWUSR, action_show, action_store);
drivers/md/md.c
5387
__ATTR(sync_speed_min, S_IRUGO|S_IWUSR, sync_min_show, sync_min_store);
drivers/md/md.c
5416
__ATTR(sync_speed_max, S_IRUGO|S_IWUSR, sync_max_show, sync_max_store);
drivers/md/md.c
5481
__ATTR(sync_force_parallel, S_IRUGO|S_IWUSR,
drivers/md/md.c
5558
__ATTR(sync_min, S_IRUGO|S_IWUSR, min_sync_show, min_sync_store);
drivers/md/md.c
5610
__ATTR(sync_max, S_IRUGO|S_IWUSR, max_sync_show, max_sync_store);
drivers/md/md.c
5641
__ATTR(suspend_lo, S_IRUGO|S_IWUSR, suspend_lo_show, suspend_lo_store);
drivers/md/md.c
5672
__ATTR(suspend_hi, S_IRUGO|S_IWUSR, suspend_hi_show, suspend_hi_store);
drivers/md/md.c
5717
__ATTR(reshape_position, S_IRUGO|S_IWUSR, reshape_position_show,
drivers/md/md.c
5758
__ATTR(reshape_direction, S_IRUGO|S_IWUSR, reshape_direction_show,
drivers/md/md.c
5814
__ATTR(array_size, S_IRUGO|S_IWUSR, array_size_show,
drivers/md/md.c
5860
__ATTR(consistency_policy, S_IRUGO | S_IWUSR, consistency_policy_show,
drivers/md/md.c
5890
__ATTR(fail_last_dev, S_IRUGO | S_IWUSR, fail_last_dev_show,
drivers/md/md.c
5941
__ATTR(serialize_policy, S_IRUGO | S_IWUSR, serialize_policy_show,
drivers/md/raid5-ppl.c
1519
ppl_write_hint = __ATTR(ppl_write_hint, S_IRUGO | S_IWUSR,
drivers/md/raid5.c
6918
raid5_stripecache_size = __ATTR(stripe_cache_size, S_IRUGO | S_IWUSR,
drivers/md/raid5.c
6960
raid5_rmw_level = __ATTR(rmw_level, S_IRUGO | S_IWUSR,
drivers/md/raid5.c
7096
S_IRUGO | S_IWUSR,
drivers/md/raid5.c
7148
raid5_skip_copy = __ATTR(skip_copy, S_IRUGO | S_IWUSR,
drivers/md/raid5.c
7234
raid5_group_thread_cnt = __ATTR(group_thread_cnt, S_IRUGO | S_IWUSR,
drivers/media/common/siano/smsdvb-debugfs.c
368
debugfs_create_file("stats", S_IRUGO | S_IWUSR, client->debugfs,
drivers/media/i2c/tda7432.c
52
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/media/i2c/tda7432.c
56
module_param(maxvol, int, S_IRUGO | S_IWUSR);
drivers/media/pci/netup_unidvb/netup_unidvb_core.c
32
module_param(spi_enable, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
drivers/media/pci/tw686x/tw686x-core.c
90
&dma_mode, S_IRUGO|S_IWUSR);
drivers/media/platform/samsung/exynos4-is/fimc-isp.c
32
module_param_named(debug_isp, fimc_isp_debug, int, S_IRUGO | S_IWUSR);
drivers/media/radio/si4713/si4713.c
27
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/media/rc/ene_ir.c
1185
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/media/rc/fintek-cir.c
659
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/media/rc/imon.c
463
module_param(debug, bool, S_IRUGO | S_IWUSR);
drivers/media/rc/imon.c
472
module_param(pad_stabilize, int, S_IRUGO | S_IWUSR);
drivers/media/rc/imon.c
480
module_param(nomouse, bool, S_IRUGO | S_IWUSR);
drivers/media/rc/imon.c
485
module_param(pad_thresh, int, S_IRUGO | S_IWUSR);
drivers/media/rc/ite-cir.c
38
module_param(sample_period, long, S_IRUGO | S_IWUSR);
drivers/media/rc/ite-cir.c
43
module_param(model_number, int, S_IRUGO | S_IWUSR);
drivers/media/rc/nuvoton-cir.c
1111
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/media/rc/rc-main.c
1647
static RC_FILTER_ATTR(filter, S_IRUGO|S_IWUSR,
drivers/media/rc/rc-main.c
1649
static RC_FILTER_ATTR(filter_mask, S_IRUGO|S_IWUSR,
drivers/media/rc/rc-main.c
1651
static RC_FILTER_ATTR(wakeup_filter, S_IRUGO|S_IWUSR,
drivers/media/rc/rc-main.c
1653
static RC_FILTER_ATTR(wakeup_filter_mask, S_IRUGO|S_IWUSR,
drivers/media/usb/gspca/m5602/m5602_core.c
438
module_param(force_sensor, int, S_IRUGO | S_IWUSR);
drivers/media/usb/gspca/m5602/m5602_core.c
442
module_param(dump_bridge, bool, S_IRUGO | S_IWUSR);
drivers/media/usb/gspca/m5602/m5602_core.c
445
module_param(dump_sensor, bool, S_IRUGO | S_IWUSR);
drivers/media/usb/gspca/stv06xx/stv06xx.c
643
module_param(dump_bridge, bool, S_IRUGO | S_IWUSR);
drivers/media/usb/gspca/stv06xx/stv06xx.c
646
module_param(dump_sensor, bool, S_IRUGO | S_IWUSR);
drivers/media/usb/hdpvr/hdpvr-core.c
35
module_param(hdpvr_debug, int, S_IRUGO|S_IWUSR);
drivers/media/usb/hdpvr/hdpvr-core.c
39
module_param(default_video_input, uint, S_IRUGO|S_IWUSR);
drivers/media/usb/hdpvr/hdpvr-core.c
43
module_param(default_audio_input, uint, S_IRUGO|S_IWUSR);
drivers/media/usb/hdpvr/hdpvr-core.c
47
module_param(boost_audio, bool, S_IRUGO|S_IWUSR);
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
63
module_param(ctlchg, int, S_IRUGO|S_IWUSR);
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
65
module_param(init_pause_msec, int, S_IRUGO|S_IWUSR);
drivers/media/usb/pvrusb2/pvrusb2-hdw.c
67
module_param(procreload, int, S_IRUGO|S_IWUSR);
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c
26
module_param(i2c_scan, int, S_IRUGO|S_IWUSR);
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c
35
int, S_IRUGO|S_IWUSR);
drivers/media/usb/pvrusb2/pvrusb2-main.c
34
module_param_named(debug,pvrusb2_debug,int,S_IRUGO|S_IWUSR);
drivers/media/usb/pvrusb2/pvrusb2-sysfs.c
352
cip->attr_val.attr.mode |= S_IWUSR|S_IWGRP;
drivers/media/usb/pvrusb2/pvrusb2-sysfs.c
353
cip->attr_custom.attr.mode |= S_IWUSR|S_IWGRP;
drivers/media/usb/pvrusb2/pvrusb2-sysfs.c
418
dip->attr_debugcmd.attr.mode = S_IRUGO|S_IWUSR|S_IWGRP;
drivers/memstick/core/ms_block.c
2334
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/memstick/host/r592.c
889
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/message/fusion/mptscsih.c
3207
static DEVICE_ATTR(debug_level, S_IRUGO | S_IWUSR,
drivers/mfd/lm3533-core.c
321
LM3533_OUTPUT_ATTR(output_##_name, S_IRUGO | S_IWUSR, \
drivers/misc/ad525x_dpot.c
517
static DEVICE_ATTR(name, S_IWUSR | S_IRUGO, show_##name, set_##name)
drivers/misc/ad525x_dpot.c
521
static DEVICE_ATTR(name, S_IWUSR | S_IRUGO, show_##name, NULL)
drivers/misc/ad525x_dpot.c
618
static DEVICE_ATTR(_name, S_IWUSR | S_IRUGO, NULL, set_##_name)
drivers/misc/apds9802als.c
178
static DEVICE_ATTR(lux0_sensor_range, S_IRUGO | S_IWUSR,
drivers/misc/apds990x.c
1015
static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR,
drivers/misc/apds990x.c
695
static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, apds990x_lux_calib_show,
drivers/misc/apds990x.c
766
static DEVICE_ATTR(lux0_rate, S_IRUGO | S_IWUSR, apds990x_rate_show,
drivers/misc/apds990x.c
830
static DEVICE_ATTR(prox0_raw_en, S_IRUGO | S_IWUSR, apds990x_prox_enable_show,
drivers/misc/apds990x.c
859
static DEVICE_ATTR(prox0_reporting_mode, S_IRUGO | S_IWUSR,
drivers/misc/apds990x.c
869
static DEVICE_ATTR(prox0_reporting_mode_avail, S_IRUGO | S_IWUSR,
drivers/misc/apds990x.c
939
static DEVICE_ATTR(lux0_thresh_above_value, S_IRUGO | S_IWUSR,
drivers/misc/apds990x.c
943
static DEVICE_ATTR(lux0_thresh_below_value, S_IRUGO | S_IWUSR,
drivers/misc/apds990x.c
979
static DEVICE_ATTR(prox0_thresh_above_value, S_IRUGO | S_IWUSR,
drivers/misc/bh1770glc.c
1098
static DEVICE_ATTR(prox0_raw_en, S_IRUGO | S_IWUSR, bh1770_prox_enable_show,
drivers/misc/bh1770glc.c
1100
static DEVICE_ATTR(prox0_thresh_above1_value, S_IRUGO | S_IWUSR,
drivers/misc/bh1770glc.c
1103
static DEVICE_ATTR(prox0_thresh_above0_value, S_IRUGO | S_IWUSR,
drivers/misc/bh1770glc.c
1108
static DEVICE_ATTR(prox0_thresh_above_count, S_IRUGO | S_IWUSR,
drivers/misc/bh1770glc.c
1111
static DEVICE_ATTR(prox0_rate_above, S_IRUGO | S_IWUSR,
drivers/misc/bh1770glc.c
1114
static DEVICE_ATTR(prox0_rate_below, S_IRUGO | S_IWUSR,
drivers/misc/bh1770glc.c
1119
static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, bh1770_lux_calib_show,
drivers/misc/bh1770glc.c
1126
static DEVICE_ATTR(lux0_rate, S_IRUGO | S_IWUSR, bh1770_get_lux_rate,
drivers/misc/bh1770glc.c
1129
static DEVICE_ATTR(lux0_thresh_above_value, S_IRUGO | S_IWUSR,
drivers/misc/bh1770glc.c
1132
static DEVICE_ATTR(lux0_thresh_below_value, S_IRUGO | S_IWUSR,
drivers/misc/bh1770glc.c
1136
static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR, bh1770_power_state_show,
drivers/misc/cardreader/rtsx_pcr.c
32
module_param(msi_en, bool, S_IRUGO | S_IWUSR);
drivers/misc/cardreader/rtsx_usb.c
18
module_param(polling_pipe, int, S_IRUGO | S_IWUSR);
drivers/misc/ds1682.c
137
static SENSOR_DEVICE_ATTR_2(elapsed_time, S_IRUGO | S_IWUSR, ds1682_show,
drivers/misc/ds1682.c
139
static SENSOR_DEVICE_ATTR_2(alarm_time, S_IRUGO | S_IWUSR, ds1682_show,
drivers/misc/ds1682.c
141
static SENSOR_DEVICE_ATTR_2(event_count, S_IRUGO | S_IWUSR, ds1682_show,
drivers/misc/ds1682.c
194
.mode = S_IRUGO | S_IWUSR,
drivers/misc/enclosure.c
644
static DEVICE_ATTR(fault, S_IRUGO | S_IWUSR, get_component_fault,
drivers/misc/enclosure.c
646
static DEVICE_ATTR(status, S_IRUGO | S_IWUSR, get_component_status,
drivers/misc/enclosure.c
648
static DEVICE_ATTR(active, S_IRUGO | S_IWUSR, get_component_active,
drivers/misc/enclosure.c
650
static DEVICE_ATTR(locate, S_IRUGO | S_IWUSR, get_component_locate,
drivers/misc/enclosure.c
652
static DEVICE_ATTR(power_status, S_IRUGO | S_IWUSR, get_component_power_status,
drivers/misc/hmc6352.c
89
static DEVICE_ATTR(calibration, S_IWUSR, NULL, compass_calibration_store);
drivers/misc/hmc6352.c
90
static DEVICE_ATTR(power_state, S_IWUSR, NULL, compass_power_mode_store);
drivers/misc/ibmasm/ibmasmfs.c
585
ibmasmfs_create_file(dir, "command", &command_fops, sp, S_IRUSR|S_IWUSR);
drivers/misc/ibmasm/ibmasmfs.c
586
ibmasmfs_create_file(dir, "event", &event_fops, sp, S_IRUSR|S_IWUSR);
drivers/misc/ibmasm/ibmasmfs.c
587
ibmasmfs_create_file(dir, "reverse_heartbeat", &r_heartbeat_fops, sp, S_IRUSR|S_IWUSR);
drivers/misc/ibmasm/ibmasmfs.c
593
ibmasmfs_create_file(remote_dir, "width", &remote_settings_fops, (void *)display_width(sp), S_IRUSR|S_IWUSR);
drivers/misc/ibmasm/ibmasmfs.c
594
ibmasmfs_create_file(remote_dir, "height", &remote_settings_fops, (void *)display_height(sp), S_IRUSR|S_IWUSR);
drivers/misc/ibmasm/ibmasmfs.c
595
ibmasmfs_create_file(remote_dir, "depth", &remote_settings_fops, (void *)display_depth(sp), S_IRUSR|S_IWUSR);
drivers/misc/ibmasm/module.c
47
module_param(ibmasm_debug, int , S_IRUGO | S_IWUSR);
drivers/misc/isl29003.c
214
static DEVICE_ATTR(range, S_IWUSR | S_IRUGO,
drivers/misc/isl29003.c
250
static DEVICE_ATTR(resolution, S_IWUSR | S_IRUGO,
drivers/misc/isl29003.c
283
static DEVICE_ATTR(mode, S_IWUSR | S_IRUGO,
drivers/misc/isl29003.c
316
static DEVICE_ATTR(power_state, S_IWUSR | S_IRUGO,
drivers/misc/isl29020.c
127
static DEVICE_ATTR(lux0_sensor_range, S_IRUGO | S_IWUSR,
drivers/misc/lis3lv02d/lis3lv02d.c
852
static DEVICE_ATTR(rate, S_IRUGO | S_IWUSR, lis3lv02d_rate_show,
drivers/misc/mei/debugfs.c
192
debugfs_create_file("allow_fixed_address", S_IRUSR | S_IWUSR, dir,
drivers/misc/pch_phub.c
651
static DEVICE_ATTR(pch_mac, S_IRUGO | S_IWUSR, show_pch_mac, store_pch_mac);
drivers/misc/pch_phub.c
656
.mode = S_IRUGO | S_IWUSR,
drivers/misc/sram.c
87
part->battr.attr.mode = S_IRUSR | S_IWUSR;
drivers/misc/tsl2550.c
204
static DEVICE_ATTR(power_state, S_IWUSR | S_IRUGO,
drivers/misc/tsl2550.c
239
static DEVICE_ATTR(operating_mode, S_IWUSR | S_IRUGO,
drivers/mtd/devices/docg3.c
1547
__ATTR(f##id##_dps0_protection_key, S_IWUSR|S_IWGRP, NULL, dps0_insert_key), \
drivers/mtd/devices/docg3.c
1548
__ATTR(f##id##_dps1_protection_key, S_IWUSR|S_IWGRP, NULL, dps1_insert_key), \
drivers/mtd/nand/raw/r852.c
30
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/mtd/sm_ftl.c
30
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/mtd/ubi/debug.c
594
umode_t mode = S_IRUSR | S_IWUSR;
drivers/net/wireless/intel/iwlwifi/mei/main.c
1930
debugfs_create_file("send_start_message", S_IWUSR, mei->dbgfs_dir,
drivers/net/wireless/intel/iwlwifi/mei/main.c
1932
debugfs_create_file("req_ownership", S_IWUSR, mei->dbgfs_dir,
drivers/nvme/host/multipath.c
1070
SUBSYS_ATTR_RW(iopolicy, S_IRUGO | S_IWUSR,
drivers/nvme/host/sysfs.c
100
__ATTR(passthru_err_log_enabled, S_IRUGO | S_IWUSR, \
drivers/nvme/host/sysfs.c
25
static DEVICE_ATTR(reset_controller, S_IWUSR, NULL, nvme_sysfs_reset);
drivers/nvme/host/sysfs.c
36
static DEVICE_ATTR(rescan_controller, S_IWUSR, NULL, nvme_sysfs_rescan);
drivers/nvme/host/sysfs.c
404
static DEVICE_ATTR(delete_controller, S_IWUSR, NULL, nvme_sysfs_delete);
drivers/nvme/host/sysfs.c
510
static DEVICE_ATTR(ctrl_loss_tmo, S_IRUGO | S_IWUSR,
drivers/nvme/host/sysfs.c
537
static DEVICE_ATTR(reconnect_delay, S_IRUGO | S_IWUSR,
drivers/nvme/host/sysfs.c
567
static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR,
drivers/nvme/host/sysfs.c
682
static DEVICE_ATTR(dhchap_secret, S_IRUGO | S_IWUSR,
drivers/nvme/host/sysfs.c
740
static DEVICE_ATTR(dhchap_ctrl_secret, S_IRUGO | S_IWUSR,
drivers/nvme/host/sysfs.c
96
__ATTR(passthru_err_log_enabled, S_IRUGO | S_IWUSR, \
drivers/nvme/target/debugfs.c
177
debugfs_create_file("state", S_IRUSR | S_IWUSR, ctrl->debugfs_dir, ctrl,
drivers/pci/hotplug/cpcihp_generic.c
196
module_param(debug, bool, S_IRUGO | S_IWUSR);
drivers/pci/hotplug/ibmphp_core.c
40
module_param(debug, bool, S_IRUGO | S_IWUSR);
drivers/pci/hotplug/pci_hotplug_core.c
101
.attr = {.name = "power", .mode = S_IFREG | S_IRUGO | S_IWUSR},
drivers/pci/hotplug/pci_hotplug_core.c
140
.attr = {.name = "attention", .mode = S_IFREG | S_IRUGO | S_IWUSR},
drivers/pci/hotplug/pci_hotplug_core.c
200
.attr = {.name = "test", .mode = S_IFREG | S_IRUGO | S_IWUSR},
drivers/pci/proc.c
441
e = proc_create_data(name, S_IFREG | S_IRUGO | S_IWUSR, bus->procdir,
drivers/pcmcia/cistpl.c
1606
.attr = { .name = "cis", .mode = S_IRUGO | S_IWUSR },
drivers/perf/arm-ccn.c
483
__ATTR(_name, S_IRUGO | S_IWUSR, \
drivers/perf/arm-ccn.c
564
S_IRUGO | S_IWUSR);
drivers/platform/x86/asus-wmi.c
4987
debugfs_create_x32("method_id", S_IRUGO | S_IWUSR, asus->debug.root,
drivers/platform/x86/asus-wmi.c
4990
debugfs_create_x32("dev_id", S_IRUGO | S_IWUSR, asus->debug.root,
drivers/platform/x86/asus-wmi.c
4993
debugfs_create_x32("ctrl_param", S_IRUGO | S_IWUSR, asus->debug.root,
drivers/platform/x86/compal-laptop.c
687
static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, pwm_show, pwm_store);
drivers/platform/x86/compal-laptop.c
689
S_IRUGO | S_IWUSR, pwm_enable_show, pwm_enable_store);
drivers/platform/x86/dell/dell-laptop.c
1696
static DEVICE_ATTR(stop_timeout, S_IRUGO | S_IWUSR,
drivers/platform/x86/dell/dell-laptop.c
1837
static DEVICE_ATTR(start_triggers, S_IRUGO | S_IWUSR,
drivers/platform/x86/dell/dell-laptop.c
1915
static DEVICE_ATTR(als_enabled, S_IRUGO | S_IWUSR,
drivers/platform/x86/dell/dell-laptop.c
1964
static DEVICE_ATTR(als_setting, S_IRUGO | S_IWUSR,
drivers/platform/x86/hp/tc1100-wmi.c
147
static DEVICE_ATTR(value, S_IRUGO | S_IWUSR, \
drivers/platform/x86/lenovo/thinkpad_acpi.c
11618
mode |= S_IWUSR;
drivers/platform/x86/lenovo/thinkpad_acpi.c
4460
static DEVICE_ATTR(wwan_enable, S_IWUSR | S_IRUGO,
drivers/platform/x86/lenovo/thinkpad_acpi.c
8651
static DEVICE_ATTR(pwm1_enable, S_IWUSR | S_IRUGO,
drivers/platform/x86/lenovo/thinkpad_acpi.c
8712
static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, fan_pwm1_show, fan_pwm1_store);
drivers/platform/x86/msi-laptop.c
979
dev_attr_bluetooth.attr.mode |= S_IWUSR;
drivers/platform/x86/msi-laptop.c
980
dev_attr_wlan.attr.mode |= S_IWUSR;
drivers/platform/x86/msi-laptop.c
981
dev_attr_threeg.attr.mode |= S_IWUSR;
drivers/platform/x86/sony-laptop.c
1918
kbdbl_ctl->mode_attr.attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
1931
kbdbl_ctl->timeout_attr.attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2081
bcare_ctl->attrs[0].attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2249
th_handle->mode_attr.attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2382
lid_ctl->attrs[LID_RESUME_S5].attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2389
lid_ctl->attrs[LID_RESUME_S4].attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2395
lid_ctl->attrs[LID_RESUME_S3].attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2585
hsc_handle->attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2651
lowbatt_handle->attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2740
hsf_handle->attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2832
uc_handle->attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
2934
sc_handle->attr.mode = S_IWUSR;
drivers/platform/x86/sony-laptop.c
3010
tp_ctl->attr.attr.mode = S_IRUGO | S_IWUSR;
drivers/platform/x86/sony-laptop.c
3233
item->devattr.attr.mode |= S_IWUSR;
drivers/platform/x86/toshiba_acpi.c
1782
proc_create_data("lcd", S_IRUGO | S_IWUSR, toshiba_proc_dir,
drivers/platform/x86/toshiba_acpi.c
1785
proc_create_data("video", S_IRUGO | S_IWUSR, toshiba_proc_dir,
drivers/platform/x86/toshiba_acpi.c
1788
proc_create_data("fan", S_IRUGO | S_IWUSR, toshiba_proc_dir,
drivers/platform/x86/toshiba_acpi.c
1791
proc_create_data("keys", S_IRUGO | S_IWUSR, toshiba_proc_dir,
drivers/power/reset/vexpress-poweroff.c
71
static DEVICE_ATTR(active, S_IRUGO | S_IWUSR, vexpress_reset_active_show,
drivers/power/supply/ab8500_fg.c
2915
__ATTR(powercut_flagtime, (S_IRUGO | S_IWUSR | S_IWGRP),
drivers/power/supply/ab8500_fg.c
2917
__ATTR(powercut_maxtime, (S_IRUGO | S_IWUSR | S_IWGRP),
drivers/power/supply/ab8500_fg.c
2919
__ATTR(powercut_restart_max, (S_IRUGO | S_IWUSR | S_IWGRP),
drivers/power/supply/ab8500_fg.c
2924
__ATTR(powercut_enable, (S_IRUGO | S_IWUSR | S_IWGRP),
drivers/power/supply/ab8500_fg.c
2927
__ATTR(powercut_debounce_time, (S_IRUGO | S_IWUSR | S_IWGRP),
drivers/power/supply/bq2415x_charger.c
1427
static DEVICE_ATTR(current_limit, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1429
static DEVICE_ATTR(weak_battery_voltage, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1431
static DEVICE_ATTR(battery_regulation_voltage, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1433
static DEVICE_ATTR(charge_current, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1435
static DEVICE_ATTR(termination_current, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1438
static DEVICE_ATTR(charge_termination_enable, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1440
static DEVICE_ATTR(high_impedance_enable, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1442
static DEVICE_ATTR(otg_pin_enable, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1444
static DEVICE_ATTR(stat_pin_enable, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1449
static DEVICE_ATTR(mode, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1451
static DEVICE_ATTR(timer, S_IWUSR | S_IRUGO,
drivers/power/supply/bq2415x_charger.c
1454
static DEVICE_ATTR(registers, S_IWUSR | S_IRUGO,
drivers/power/supply/bq24190_charger.c
387
BQ24190_SYSFS_FIELD(_name, r, f, S_IWUSR | S_IRUGO, \
drivers/power/supply/bq24257_charger.c
827
static DEVICE_ATTR(high_impedance_enable, S_IWUSR | S_IRUGO,
drivers/power/supply/bq24257_charger.c
829
static DEVICE_ATTR(sysoff_enable, S_IWUSR | S_IRUGO,
drivers/power/supply/ds2780_battery.c
660
.mode = S_IRUGO | S_IWUSR,
drivers/power/supply/ds2780_battery.c
705
.mode = S_IRUGO | S_IWUSR,
drivers/power/supply/ds2780_battery.c
712
static DEVICE_ATTR(pmod_enabled, S_IRUGO | S_IWUSR, ds2780_get_pmod_enabled,
drivers/power/supply/ds2780_battery.c
714
static DEVICE_ATTR(sense_resistor_value, S_IRUGO | S_IWUSR,
drivers/power/supply/ds2780_battery.c
716
static DEVICE_ATTR(rsgain_setting, S_IRUGO | S_IWUSR, ds2780_get_rsgain_setting,
drivers/power/supply/ds2780_battery.c
718
static DEVICE_ATTR(pio_pin, S_IRUGO | S_IWUSR, ds2780_get_pio_pin,
drivers/power/supply/ds2781_battery.c
662
.mode = S_IRUGO | S_IWUSR,
drivers/power/supply/ds2781_battery.c
708
.mode = S_IRUGO | S_IWUSR,
drivers/power/supply/ds2781_battery.c
715
static DEVICE_ATTR(pmod_enabled, S_IRUGO | S_IWUSR, ds2781_get_pmod_enabled,
drivers/power/supply/ds2781_battery.c
717
static DEVICE_ATTR(sense_resistor_value, S_IRUGO | S_IWUSR,
drivers/power/supply/ds2781_battery.c
719
static DEVICE_ATTR(rsgain_setting, S_IRUGO | S_IWUSR, ds2781_get_rsgain_setting,
drivers/power/supply/ds2781_battery.c
721
static DEVICE_ATTR(pio_pin, S_IRUGO | S_IWUSR, ds2781_get_pio_pin,
drivers/power/supply/max14577_charger.c
556
static DEVICE_ATTR(fast_charge_timer, S_IRUGO | S_IWUSR,
drivers/power/supply/power_supply_sysfs.c
476
mode |= S_IWUSR;
drivers/powercap/powercap_sys.c
226
S_IWUSR | S_IRUGO,
drivers/powercap/powercap_sys.c
233
S_IWUSR | S_IRUGO,
drivers/powercap/powercap_sys.c
369
dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUSR;
drivers/rapidio/devices/rio_mport_cdev.c
96
module_param(dbg_level, uint, S_IWUSR | S_IWGRP | S_IRUGO);
drivers/rapidio/devices/tsi721.c
28
module_param_named(dbg_level, tsi_dbg_level, uint, S_IWUSR | S_IRUGO);
drivers/rapidio/rio-sysfs.c
247
.mode = S_IRUGO | S_IWUSR,
drivers/rapidio/rio_cm.c
80
module_param(dbg_level, uint, S_IWUSR | S_IRUGO);
drivers/ras/cec.c
497
decay = debugfs_create_file("decay_interval", S_IRUSR | S_IWUSR, d,
drivers/ras/cec.c
504
count = debugfs_create_file("action_threshold", S_IRUSR | S_IWUSR, d,
drivers/ras/cec.c
514
pfn = debugfs_create_file("pfn", S_IRUSR | S_IWUSR, d, &dfs_pfn, &pfn_ops);
drivers/rtc/rtc-ab8500.c
294
static DEVICE_ATTR(rtc_calibration, S_IRUGO | S_IWUSR,
drivers/rtc/rtc-ds1343.c
123
static DEVICE_ATTR(glitch_filter, S_IRUGO | S_IWUSR, ds1343_show_glitchfilter,
drivers/rtc/rtc-isl1208.c
765
static DEVICE_ATTR(usr, S_IRUGO | S_IWUSR, isl1208_sysfs_show_usr,
drivers/rtc/rtc-rv3029c2.c
665
static SENSOR_DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO,
drivers/rtc/rtc-rx8025.c
510
static DEVICE_ATTR(clock_adjust_ppb, S_IRUGO | S_IWUSR,
drivers/s390/block/dasd_eer.c
78
module_param(eer_pages, int, S_IRUGO|S_IWUSR);
drivers/s390/block/dasd_proc.c
342
S_IFREG | S_IRUGO | S_IWUSR,
drivers/s390/block/dcssblk.c
431
static DEVICE_ATTR(shared, S_IWUSR | S_IRUSR, dcssblk_shared_show,
drivers/s390/block/dcssblk.c
499
static DEVICE_ATTR(save, S_IWUSR | S_IRUSR, dcssblk_save_show,
drivers/s390/block/dcssblk.c
98
static DEVICE_ATTR(add, S_IWUSR, NULL, dcssblk_add_store);
drivers/s390/block/dcssblk.c
99
static DEVICE_ATTR(remove, S_IWUSR, NULL, dcssblk_remove_store);
drivers/s390/char/sclp_config.c
142
.mode = S_IWUSR,
drivers/s390/char/zcore.c
358
zcore_hsa_file = debugfs_create_file("hsa", S_IRUSR|S_IWUSR, zcore_dir,
drivers/s390/cio/blacklist.c
420
entry = proc_create("cio_ignore", S_IFREG | S_IRUGO | S_IWUSR, NULL,
drivers/s390/cio/css.c
1339
entry = proc_create("cio_settle", S_IWUSR, NULL, &cio_settle_proc_ops);
drivers/s390/cio/qdio_debug.c
300
debugfs_create_file("statistics", S_IFREG | S_IRUGO | S_IWUSR,
drivers/s390/scsi/zfcp_sysfs.c
118
static ZFCP_DEV_ATTR(port, failed, S_IWUSR | S_IRUGO,
drivers/s390/scsi/zfcp_sysfs.c
162
static ZFCP_DEV_ATTR(unit, failed, S_IWUSR | S_IRUGO,
drivers/s390/scsi/zfcp_sysfs.c
208
static ZFCP_DEV_ATTR(adapter, failed, S_IWUSR | S_IRUGO,
drivers/s390/scsi/zfcp_sysfs.c
245
static ZFCP_DEV_ATTR(adapter, port_rescan, S_IWUSR, NULL,
drivers/s390/scsi/zfcp_sysfs.c
337
static ZFCP_DEV_ATTR(adapter, port_remove, S_IWUSR, NULL,
drivers/s390/scsi/zfcp_sysfs.c
459
static DEVICE_ATTR(unit_add, S_IWUSR, NULL, zfcp_sysfs_unit_add_store);
drivers/s390/scsi/zfcp_sysfs.c
476
static DEVICE_ATTR(unit_remove, S_IWUSR, NULL, zfcp_sysfs_unit_remove_store);
drivers/s390/scsi/zfcp_sysfs.c
597
static DEVICE_ATTR(_name##_latency, S_IWUSR | S_IRUGO, \
drivers/s390/scsi/zfcp_sysfs.c
664
static DEVICE_ATTR(zfcp_failed, S_IWUSR | S_IRUGO,
drivers/scsi/aacraid/aachba.c
247
module_param(aac_sync_mode, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
250
module_param(aac_convert_sgl, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
253
module_param(nondasd, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
256
module_param_named(cache, aac_cache, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
261
module_param(dacmode, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
264
module_param_named(commit, aac_commit, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
269
module_param_named(msi, aac_msi, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
272
module_param(startup_timeout, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
277
module_param(aif_timeout, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
288
module_param(numacb, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
294
module_param(acbsize, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
300
module_param(update_interval, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
305
module_param(check_interval, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
310
module_param_named(check_reset, aac_check_reset, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
316
module_param(expose_physicals, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
321
module_param_named(reset_devices, aac_reset_devices, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/aachba.c
325
module_param_named(wwn, aac_wwn, int, S_IRUGO|S_IWUSR);
drivers/scsi/aacraid/linit.c
1442
.mode = S_IWUSR|S_IRUGO,
drivers/scsi/aic94xx/aic94xx_init.c
446
static DEVICE_ATTR(update_bios, S_IRUGO|S_IWUSR,
drivers/scsi/arcmsr/arcmsr_attr.c
203
.mode = S_IWUSR,
drivers/scsi/arcmsr/arcmsr_attr.c
212
.mode = S_IWUSR,
drivers/scsi/arm/eesox.c
473
static DEVICE_ATTR(bus_term, S_IRUGO | S_IWUSR,
drivers/scsi/arm/powertec.c
279
static DEVICE_ATTR(bus_term, S_IRUGO | S_IWUSR,
drivers/scsi/be2iscsi/be_main.c
142
static DEVICE_ATTR(beiscsi_##_name, S_IRUGO | S_IWUSR,\
drivers/scsi/bfa/bfad.c
100
module_param(reqq_size, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
103
module_param(rspq_size, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
106
module_param(num_sgpgs, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
108
module_param(rport_del_timeout, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
111
module_param(bfa_lun_queue_depth, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
113
module_param(bfa_io_max_sge, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
115
module_param(bfa_log_level, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
118
module_param(ioc_auto_recover, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
121
module_param(bfa_linkup_delay, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
125
module_param(msix_disable_cb, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
127
module_param(msix_disable_ct, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
129
module_param(fdmi_enable, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
132
module_param(pcie_max_read_reqsz, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
135
module_param(bfa_debugfs_enable, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
138
module_param(max_xfer_size, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
141
module_param(max_rport_logins, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
82
module_param(os_name, charp, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
84
module_param(os_patch, charp, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
86
module_param(host_name, charp, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
88
module_param(num_rports, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
91
module_param(num_ios, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
93
module_param(num_tms, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
95
module_param(num_fcxps, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad.c
97
module_param(num_ufbufs, int, S_IRUGO | S_IWUSR);
drivers/scsi/bfa/bfad_debugfs.c
432
{ "regrd", S_IFREG|S_IRUGO|S_IWUSR, &bfad_debugfs_op_regrd, },
drivers/scsi/bfa/bfad_debugfs.c
433
{ "regwr", S_IFREG|S_IWUSR, &bfad_debugfs_op_regwr, },
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
102
module_param_named(debug_logging, bnx2fc_debug_level, int, S_IRUGO|S_IWUSR);
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
129
module_param_named(log_fka, bnx2fc_log_fka, uint, S_IRUGO|S_IWUSR);
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
2929
static DEVICE_ATTR(tm_timeout, S_IRUGO|S_IWUSR, bnx2fc_tm_timeout_show,
drivers/scsi/bnx2i/bnx2i_sysfs.c
140
static DEVICE_ATTR(sq_size, S_IRUGO | S_IWUSR,
drivers/scsi/bnx2i/bnx2i_sysfs.c
142
static DEVICE_ATTR(num_ccell, S_IRUGO | S_IWUSR,
drivers/scsi/csiostor/csio_scsi.c
1458
static DEVICE_ATTR(device_reset, S_IWUSR, NULL, csio_device_reset);
drivers/scsi/csiostor/csio_scsi.c
1459
static DEVICE_ATTR(disable_port, S_IWUSR, NULL, csio_disable_port);
drivers/scsi/csiostor/csio_scsi.c
1460
static DEVICE_ATTR(dbg_level, S_IRUGO | S_IWUSR, csio_show_dbg_level,
drivers/scsi/device_handler/scsi_dh_alua.c
54
module_param(optimize_stpg, uint, S_IRUGO|S_IWUSR);
drivers/scsi/device_handler/scsi_dh_rdac.c
245
module_param(rdac_logging, int, S_IRUGO|S_IWUSR);
drivers/scsi/esas2r/esas2r_main.c
215
{ .name = __stringify(_name), .mode = S_IRUSR | S_IWUSR }, \
drivers/scsi/fcoe/fcoe.c
46
module_param_named(ddp_min, fcoe_ddp_min, uint, S_IRUGO | S_IWUSR);
drivers/scsi/fcoe/fcoe.c
51
module_param_named(debug_logging, fcoe_debug_logging, int, S_IRUGO|S_IWUSR);
drivers/scsi/fcoe/fcoe.c
55
module_param_named(e_d_tov, fcoe_e_d_tov, int, S_IRUGO|S_IWUSR);
drivers/scsi/fcoe/fcoe.c
59
module_param_named(r_a_tov, fcoe_r_a_tov, int, S_IRUGO|S_IWUSR);
drivers/scsi/fcoe/fcoe_sysfs.c
298
static FCOE_DEVICE_ATTR(ctlr, mode, S_IRUGO | S_IWUSR,
drivers/scsi/fcoe/fcoe_sysfs.c
35
uint, S_IRUGO|S_IWUSR);
drivers/scsi/fcoe/fcoe_sysfs.c
360
static FCOE_DEVICE_ATTR(ctlr, enabled, S_IRUGO | S_IWUSR,
drivers/scsi/fcoe/fcoe_sysfs.c
398
static FCOE_DEVICE_ATTR(ctlr, fip_vlan_responder, S_IRUGO | S_IWUSR,
drivers/scsi/fcoe/fcoe_sysfs.c
441
static FCOE_DEVICE_ATTR(ctlr, r_a_tov, S_IRUGO | S_IWUSR,
drivers/scsi/fcoe/fcoe_sysfs.c
468
static FCOE_DEVICE_ATTR(ctlr, e_d_tov, S_IRUGO | S_IWUSR,
drivers/scsi/fcoe/fcoe_sysfs.c
493
static FCOE_DEVICE_ATTR(ctlr, fcf_dev_loss_tmo, S_IRUGO | S_IWUSR,
drivers/scsi/fcoe/fcoe_sysfs.c
533
static FCOE_DEVICE_ATTR(fcf, dev_loss_tmo, S_IRUGO | S_IWUSR,
drivers/scsi/fcoe/fcoe_transport.c
40
module_param_named(debug_logging, libfcoe_debug_logging, int, S_IRUGO|S_IWUSR);
drivers/scsi/fcoe/fcoe_transport.c
48
(void *)FIP_MODE_FABRIC, S_IWUSR);
drivers/scsi/fcoe/fcoe_transport.c
53
(void *)FIP_MODE_VN2VN, S_IWUSR);
drivers/scsi/fcoe/fcoe_transport.c
58
module_param_call(destroy, fcoe_transport_destroy, NULL, NULL, S_IWUSR);
drivers/scsi/fcoe/fcoe_transport.c
62
module_param_call(enable, fcoe_transport_enable, NULL, NULL, S_IWUSR);
drivers/scsi/fcoe/fcoe_transport.c
66
module_param_call(disable, fcoe_transport_disable, NULL, NULL, S_IWUSR);
drivers/scsi/fnic/fnic_debugfs.c
330
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/fnic/fnic_debugfs.c
336
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/fnic/fnic_debugfs.c
373
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/fnic/fnic_debugfs.c
379
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/fnic/fnic_debugfs.c
386
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/fnic/fnic_debugfs.c
393
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/fnic/fnic_debugfs.c
689
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/fnic/fnic_debugfs.c
694
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/fnic/fnic_main.c
65
module_param(fnic_log_level, int, S_IRUGO|S_IWUSR);
drivers/scsi/fnic/fnic_main.c
78
module_param(io_completions, int, S_IRUGO|S_IWUSR);
drivers/scsi/fnic/fnic_main.c
82
module_param(fnic_trace_max_pages, uint, S_IRUGO|S_IWUSR);
drivers/scsi/fnic/fnic_main.c
87
module_param(fnic_fc_trace_max_pages, uint, S_IRUGO|S_IWUSR);
drivers/scsi/fnic/fnic_main.c
92
module_param(fnic_max_qdepth, uint, S_IRUGO|S_IWUSR);
drivers/scsi/hosts.c
49
module_param_named(eh_deadline, shost_eh_deadline, int, S_IRUGO|S_IWUSR);
drivers/scsi/hpsa.c
88
module_param(hpsa_simple_mode, int, S_IRUGO|S_IWUSR);
drivers/scsi/hpsa.c
908
static DEVICE_ATTR(rescan, S_IWUSR, NULL, host_store_rescan);
drivers/scsi/hpsa.c
913
static DEVICE_ATTR(hp_ssd_smart_path_status, S_IWUSR|S_IRUGO|S_IROTH,
drivers/scsi/hpsa.c
916
static DEVICE_ATTR(raid_offload_debug, S_IWUSR, NULL,
drivers/scsi/ibmvscsi/ibmvfc.c
102
module_param_named(debug, ibmvfc_debug, uint, S_IRUGO | S_IWUSR);
drivers/scsi/ibmvscsi/ibmvfc.c
3626
static DEVICE_ATTR(log_level, S_IRUGO | S_IWUSR,
drivers/scsi/ibmvscsi/ibmvfc.c
3628
static DEVICE_ATTR(nr_scsi_channels, S_IRUGO | S_IWUSR,
drivers/scsi/ibmvscsi/ibmvfc.c
77
module_param_named(init_timeout, init_timeout, uint, S_IRUGO | S_IWUSR);
drivers/scsi/ibmvscsi/ibmvfc.c
80
module_param_named(default_timeout, default_timeout, uint, S_IRUGO | S_IWUSR);
drivers/scsi/ibmvscsi/ibmvscsi.c
100
module_param_named(init_timeout, init_timeout, int, S_IRUGO | S_IWUSR);
drivers/scsi/ibmvscsi/ibmvscsi.c
104
module_param_named(fast_fail, fast_fail, int, S_IRUGO | S_IWUSR);
drivers/scsi/ibmvscsi/ibmvscsi.c
96
module_param_named(max_id, max_id, int, S_IRUGO | S_IWUSR);
drivers/scsi/ibmvscsi/ibmvscsi.c
98
module_param_named(max_channel, max_channel, int, S_IRUGO | S_IWUSR);
drivers/scsi/ipr.c
195
module_param_named(fastfail, ipr_fastfail, int, S_IRUGO | S_IWUSR);
drivers/scsi/ipr.c
199
module_param_named(debug, ipr_debug, int, S_IRUGO | S_IWUSR);
drivers/scsi/ipr.c
208
module_param_named(fast_reboot, ipr_fast_reboot, int, S_IRUGO | S_IWUSR);
drivers/scsi/ipr.c
3481
.mode = S_IRUGO | S_IWUSR,
drivers/scsi/ipr.c
3544
.mode = S_IWUSR,
drivers/scsi/ipr.c
3621
.mode = S_IRUGO | S_IWUSR,
drivers/scsi/ipr.c
3663
.mode = S_IWUSR,
drivers/scsi/ipr.c
3751
.mode = S_IRUGO | S_IWUSR,
drivers/scsi/ipr.c
4053
.mode = S_IWUSR,
drivers/scsi/ipr.c
4140
.mode = S_IRUGO | S_IWUSR,
drivers/scsi/ipr.c
4391
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/ipr.c
4628
.mode = S_IRUGO | S_IWUSR,
drivers/scsi/iscsi_tcp.c
61
S_IRUGO | S_IWUSR);
drivers/scsi/libfc/fc_libfc.c
24
module_param_named(debug_logging, fc_debug_logging, int, S_IRUGO|S_IWUSR);
drivers/scsi/libiscsi.c
34
S_IRUGO | S_IWUSR);
drivers/scsi/libiscsi.c
41
S_IRUGO | S_IWUSR);
drivers/scsi/libiscsi.c
48
S_IRUGO | S_IWUSR);
drivers/scsi/libiscsi_tcp.c
47
S_IRUGO | S_IWUSR);
drivers/scsi/libsas/sas_ata.c
1015
__ATTR(ncq_prio_enable, S_IRUGO | S_IWUSR,
drivers/scsi/libsas/sas_init.c
616
S_IRUGO|S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
3120
static DEVICE_ATTR(link_state, S_IRUGO | S_IWUSR, lpfc_link_state_show,
drivers/scsi/lpfc/lpfc_attr.c
3129
static DEVICE_ATTR(board_mode, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
3132
static DEVICE_ATTR(issue_reset, S_IWUSR, NULL, lpfc_issue_reset);
drivers/scsi/lpfc/lpfc_attr.c
3258
static DEVICE_ATTR(lpfc_xlane_tgt, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
3321
static DEVICE_ATTR(lpfc_xlane_priority, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
3391
static DEVICE_ATTR(lpfc_xlane_vpt, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
3452
static DEVICE_ATTR(lpfc_xlane_lun_state, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
3697
static DEVICE_ATTR(lpfc_xlane_lun, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
4677
static DEVICE_ATTR(lpfc_aer_state_cleanup, S_IWUSR, NULL,
drivers/scsi/lpfc/lpfc_attr.c
4822
module_param(lpfc_req_fw_upgrade, int, S_IRUGO|S_IWUSR);
drivers/scsi/lpfc/lpfc_attr.c
4847
static DEVICE_ATTR(lpfc_req_fw_upgrade, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
4987
module_param(lpfc_fcp_imax, int, S_IRUGO|S_IWUSR);
drivers/scsi/lpfc/lpfc_attr.c
5281
module_param(lpfc_fcp_cpu_map, int, S_IRUGO|S_IWUSR);
drivers/scsi/lpfc/lpfc_attr.c
6420
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
6478
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.h
108
static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
drivers/scsi/lpfc/lpfc_attr.h
127
static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
drivers/scsi/lpfc/lpfc_attr.h
46
static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
drivers/scsi/lpfc/lpfc_attr.h
75
static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
drivers/scsi/pcmcia/sym53c500_cs.c
655
.mode = (S_IRUGO | S_IWUSR),
drivers/scsi/pm8001/pm8001_ctl.c
353
static DEVICE_ATTR(logging_level, S_IRUGO | S_IWUSR,
drivers/scsi/pm8001/pm8001_ctl.c
889
static DEVICE_ATTR(update_fw, S_IRUGO|S_IWUSR|S_IWGRP,
drivers/scsi/pmcraid.c
3584
.mode = S_IRUGO | S_IWUSR,
drivers/scsi/pmcraid.c
77
module_param_named(log_level, pmcraid_log_level, uint, (S_IRUGO | S_IWUSR));
drivers/scsi/pmcraid.c
83
module_param_named(debug, pmcraid_debug_log, uint, (S_IRUGO | S_IWUSR));
drivers/scsi/pmcraid.c
88
module_param_named(disable_aen, pmcraid_disable_aen, uint, (S_IRUGO | S_IWUSR));
drivers/scsi/qedf/qedf_attr.c
166
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/qedf/qedf_main.c
111
bool, S_IRUGO | S_IWUSR);
drivers/scsi/qedf/qedf_main.c
45
module_param_named(debug, qedf_debug, uint, S_IRUGO|S_IWUSR);
drivers/scsi/qedf/qedf_main.c
65
module_param_named(dump_frames, qedf_dump_frames, int, S_IRUGO | S_IWUSR);
drivers/scsi/qedf/qedf_main.c
75
module_param_named(io_tracing, qedf_io_tracing, int, S_IRUGO | S_IWUSR);
drivers/scsi/qedf/qedf_main.c
90
module_param_named(retry_delay, qedf_retry_delay, bool, S_IRUGO | S_IWUSR);
drivers/scsi/qedf/qedf_main.c
95
module_param_named(dcbx_no_wait, qedf_dcbx_no_wait, bool, S_IRUGO | S_IWUSR);
drivers/scsi/qla2xxx/qla_attr.c
174
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
1922
static DEVICE_ATTR(mpi_pause, S_IWUSR, NULL, qla2x00_mpi_pause_store);
drivers/scsi/qla2xxx/qla_attr.c
2417
static DEVICE_ATTR(zio, S_IRUGO | S_IWUSR, qla2x00_zio_show, qla2x00_zio_store);
drivers/scsi/qla2xxx/qla_attr.c
2418
static DEVICE_ATTR(zio_timer, S_IRUGO | S_IWUSR, qla2x00_zio_timer_show,
drivers/scsi/qla2xxx/qla_attr.c
2420
static DEVICE_ATTR(beacon, S_IRUGO | S_IWUSR, qla2x00_beacon_show,
drivers/scsi/qla2xxx/qla_attr.c
2452
static DEVICE_ATTR(allow_cna_fw_dump, S_IRUGO | S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
288
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
350
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
535
.mode = S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
648
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
685
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
829
.mode = S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
872
.mode = S_IWUSR,
drivers/scsi/qla2xxx/qla_os.c
106
module_param(ql2xextended_error_logging, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
107
module_param_named(logging, ql2xextended_error_logging, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
127
module_param(ql2xextended_error_logging_ktrace, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
138
module_param(ql2xfdmienable, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
139
module_param_named(fdmi, ql2xfdmienable, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
147
module_param(ql2xmaxqdepth, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
172
module_param(ql2xenablehba_err_chk, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
188
module_param(ql2xfwloadbin, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
189
module_param_named(fwload, ql2xfwloadbin, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
198
module_param(ql2xdbwr, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
217
module_param(ql2xdontresethba, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
243
module_param(ql2xexlogins, uint, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
266
module_param(ql2xmvasynctoatio, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
44
module_param(ql2xfulldump_on_mpifail, int, S_IRUGO | S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
49
module_param(ql2xenforce_iocb_limit, int, S_IRUGO | S_IWUSR);
drivers/scsi/qla2xxx/qla_os.c
87
module_param(ql2xplogiabsentdevice, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla2xxx/qla_target.c
35
module_param(ql2xtgt_tape_enable, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla4xxx/ql4_attr.c
110
.mode = S_IRUSR | S_IWUSR,
drivers/scsi/qla4xxx/ql4_os.c
36
module_param(ql4xdisablesysfsboot, int, S_IRUGO | S_IWUSR);
drivers/scsi/qla4xxx/ql4_os.c
43
module_param(ql4xdontresethba, int, S_IRUGO | S_IWUSR);
drivers/scsi/qla4xxx/ql4_os.c
50
module_param(ql4xextended_error_logging, int, S_IRUGO | S_IWUSR);
drivers/scsi/qla4xxx/ql4_os.c
57
module_param(ql4xenablemsix, int, S_IRUGO|S_IWUSR);
drivers/scsi/qla4xxx/ql4_os.c
66
module_param(ql4xmaxqdepth, int, S_IRUGO | S_IWUSR);
drivers/scsi/qla4xxx/ql4_os.c
72
module_param(ql4xqfulltracking, int, S_IRUGO | S_IWUSR);
drivers/scsi/qla4xxx/ql4_os.c
93
module_param(ql4xenablemd, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi.c
1023
module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR);
drivers/scsi/scsi_debug.c
7340
module_param_named(add_host, sdebug_add_host, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7343
module_param_named(clustering, sdebug_clustering, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7344
module_param_named(delay, sdebug_jdelay, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7348
module_param_named(dsense, sdebug_dsense, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7349
module_param_named(every_nth, sdebug_every_nth, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7350
module_param_named(fake_rw, sdebug_fake_rw, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7352
module_param_named(host_lock, sdebug_host_lock, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7355
sizeof(sdebug_inq_product_id), S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7357
sizeof(sdebug_inq_product_rev), S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7359
sizeof(sdebug_inq_vendor_id), S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7366
module_param_named(lun_format, sdebug_lun_am_i, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7367
module_param_named(max_luns, sdebug_max_luns, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7368
module_param_named(max_queue, sdebug_max_queue, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7370
S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7372
S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7373
module_param_named(ndelay, sdebug_ndelay, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7374
module_param_named(no_lun_0, sdebug_no_lun_0, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7375
module_param_named(no_rwlock, sdebug_no_rwlock, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7378
module_param_named(num_tgts, sdebug_num_tgts, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7381
module_param_named(opts, sdebug_opts, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7383
S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7385
module_param_named(ptype, sdebug_ptype, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7386
module_param_named(random, sdebug_random, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7387
module_param_named(removable, sdebug_removable, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7390
module_param_named(statistics, sdebug_statistics, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7391
module_param_named(strict, sdebug_strict, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7405
module_param_named(virtual_gb, sdebug_virtual_gb, int, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7407
S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7408
module_param_named(wp, sdebug_wp, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7410
S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7416
module_param_named(allow_restart, sdebug_allow_restart, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_proc.c
233
p = proc_create_data(name, S_IRUGO | S_IWUSR, e->proc_dir,
drivers/scsi/scsi_scan.c
103
S_IRUGO|S_IWUSR);
drivers/scsi/scsi_scan.c
110
module_param_named(inq_timeout, scsi_inq_timeout, uint, S_IRUGO|S_IWUSR);
drivers/scsi/scsi_scan.c
90
module_param_named(max_luns, max_scsi_luns, ullong, S_IRUGO|S_IWUSR);
drivers/scsi/scsi_sysfs.c
1035
static DEVICE_ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
drivers/scsi/scsi_sysfs.c
1140
static DEVICE_ATTR(dh_state, S_IRUGO | S_IWUSR, sdev_show_dh_state,
drivers/scsi/scsi_sysfs.c
1207
static DEVICE_ATTR(queue_ramp_up_period, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_sysfs.c
1235
static DEVICE_ATTR(cdl_enable, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_sysfs.c
196
static DEVICE_ATTR(scan, S_IWUSR, NULL, store_scan);
drivers/scsi/scsi_sysfs.c
236
__ATTR(state, S_IRUGO | S_IWUSR, show_shost_state, store_shost_state);
drivers/scsi/scsi_sysfs.c
318
static DEVICE_ATTR(host_reset, S_IWUSR, NULL, store_host_reset);
drivers/scsi/scsi_sysfs.c
370
static DEVICE_ATTR(eh_deadline, S_IRUGO | S_IWUSR, show_shost_eh_deadline, store_shost_eh_deadline);
drivers/scsi/scsi_sysfs.c
700
static DEVICE_ATTR(timeout, S_IRUGO | S_IWUSR, sdev_show_timeout, sdev_store_timeout);
drivers/scsi/scsi_sysfs.c
729
static DEVICE_ATTR(eh_timeout, S_IRUGO | S_IWUSR, sdev_show_eh_timeout, sdev_store_eh_timeout);
drivers/scsi/scsi_sysfs.c
738
static DEVICE_ATTR(rescan, S_IWUSR, NULL, store_rescan_field);
drivers/scsi/scsi_sysfs.c
773
static DEVICE_ATTR(delete, S_IWUSR, NULL, sdev_store_delete);
drivers/scsi/scsi_sysfs.c
846
static DEVICE_ATTR(state, S_IRUGO | S_IWUSR, show_state_field, store_state_field);
drivers/scsi/scsi_sysfs.c
875
static DEVICE_ATTR(queue_type, S_IRUGO | S_IWUSR, show_queue_type_field,
drivers/scsi/scsi_transport_fc.c
1027
static FC_DEVICE_ATTR(rport, field, S_IRUGO | S_IWUSR, \
drivers/scsi/scsi_transport_fc.c
1186
static FC_DEVICE_ATTR(rport, dev_loss_tmo, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_transport_fc.c
1329
static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_transport_fc.c
1567
static FC_DEVICE_ATTR(vport, field, S_IRUGO | S_IWUSR, \
drivers/scsi/scsi_transport_fc.c
1612
static FC_DEVICE_ATTR(vport, field, S_IRUGO | S_IWUSR, \
drivers/scsi/scsi_transport_fc.c
1705
static FC_DEVICE_ATTR(vport, symbolic_name, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_transport_fc.c
1727
static FC_DEVICE_ATTR(vport, vport_delete, S_IWUSR,
drivers/scsi/scsi_transport_fc.c
1760
static FC_DEVICE_ATTR(vport, vport_disable, S_IWUSR,
drivers/scsi/scsi_transport_fc.c
1831
static FC_DEVICE_ATTR(host, field, S_IRUGO | S_IWUSR, \
drivers/scsi/scsi_transport_fc.c
2014
static FC_DEVICE_ATTR(host, system_hostname, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_transport_fc.c
2065
static FC_DEVICE_ATTR(host, tgtid_bind_type, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_transport_fc.c
2086
static FC_DEVICE_ATTR(host, issue_lip, S_IWUSR, NULL,
drivers/scsi/scsi_transport_fc.c
2113
static FC_DEVICE_ATTR(host, dev_loss_tmo, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_transport_fc.c
2238
static FC_DEVICE_ATTR(host, reset_statistics, S_IWUSR, NULL,
drivers/scsi/scsi_transport_fc.c
2377
static FC_DEVICE_ATTR(host, vport_create, S_IWUSR, NULL,
drivers/scsi/scsi_transport_fc.c
2436
static FC_DEVICE_ATTR(host, vport_delete, S_IWUSR, NULL,
drivers/scsi/scsi_transport_fc.c
55
module_param_named(dev_loss_tmo, fc_dev_loss_tmo, uint, S_IRUGO|S_IWUSR);
drivers/scsi/scsi_transport_iscsi.c
43
S_IRUGO | S_IWUSR);
drivers/scsi/scsi_transport_iscsi.c
4481
static ISCSI_CLASS_ATTR(priv_sess, field, S_IRUGO | S_IWUSR, \
drivers/scsi/scsi_transport_iscsi.c
4625
return S_IRUGO | S_IWUSR;
drivers/scsi/scsi_transport_iscsi.c
51
S_IRUGO | S_IWUSR);
drivers/scsi/scsi_transport_sas.c
1783
SETUP_TEMPLATE_RW(phy_attrs, field, S_IRUGO | S_IWUSR, 1, \
drivers/scsi/scsi_transport_sas.c
1787
SETUP_TEMPLATE_RW(phy_attrs, field, S_IRUGO | S_IWUSR, 1, \
drivers/scsi/scsi_transport_sas.c
1797
SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, 1)
drivers/scsi/scsi_transport_sas.c
1800
SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, i->f->func)
drivers/scsi/scsi_transport_sas.c
600
static DEVICE_ATTR(enable, S_IRUGO | S_IWUSR, show_sas_phy_enable,
drivers/scsi/scsi_transport_sas.c
624
static DEVICE_ATTR(link_reset, S_IWUSR, NULL, store_sas_link_reset);
drivers/scsi/scsi_transport_sas.c
632
static DEVICE_ATTR(hard_reset, S_IWUSR, NULL, store_sas_hard_reset);
drivers/scsi/scsi_transport_spi.c
1458
rc = sysfs_chmod_file(kobj, attr, attr->mode | S_IWUSR);
drivers/scsi/scsi_transport_spi.c
1468
(si->f->set_##name ? S_IWUSR : 0)
drivers/scsi/scsi_transport_spi.c
1527
return S_IWUSR;
drivers/scsi/scsi_transport_spi.c
409
static DEVICE_ATTR(revalidate, S_IWUSR, NULL, store_spi_revalidate);
drivers/scsi/scsi_transport_srp.c
172
static DEVICE_ATTR(delete, S_IWUSR, NULL, store_srp_rport_delete);
drivers/scsi/scsi_transport_srp.c
249
static DEVICE_ATTR(reconnect_delay, S_IRUGO | S_IWUSR, show_reconnect_delay,
drivers/scsi/scsi_transport_srp.c
293
static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR,
drivers/scsi/scsi_transport_srp.c
328
static DEVICE_ATTR(dev_loss_tmo, S_IRUGO | S_IWUSR,
drivers/scsi/sg.c
1625
module_param_named(scatter_elem_sz, scatter_elem_sz, int, S_IRUGO | S_IWUSR);
drivers/scsi/sg.c
1627
S_IRUGO | S_IWUSR);
drivers/scsi/sg.c
1628
module_param_named(allow_dio, sg_allow_dio, int, S_IRUGO | S_IWUSR);
drivers/scsi/sg.c
2376
proc_create("allow_dio", S_IRUGO | S_IWUSR, p, &adio_proc_ops);
drivers/scsi/sg.c
2378
proc_create("def_reserved_size", S_IRUGO | S_IWUSR, p, &dressz_proc_ops);
drivers/scsi/snic/snic_debugfs.c
353
S_IFREG|S_IRUGO|S_IWUSR,
drivers/scsi/snic/snic_debugfs.c
425
debugfs_create_bool(TRC_ENABLE_FILE, S_IFREG | S_IRUGO | S_IWUSR,
drivers/scsi/snic/snic_debugfs.c
428
debugfs_create_file(TRC_FILE, S_IFREG | S_IRUGO | S_IWUSR,
drivers/scsi/snic/snic_main.c
30
module_param(snic_log_level, int, S_IRUGO|S_IWUSR);
drivers/scsi/snic/snic_main.c
35
module_param(snic_trace_max_pages, uint, S_IRUGO|S_IWUSR);
drivers/scsi/snic/snic_main.c
41
module_param(snic_max_qdepth, uint, S_IRUGO | S_IWUSR);
drivers/scsi/sr_ioctl.c
34
module_param(xa_test, int, S_IRUGO | S_IWUSR);
drivers/scsi/storvsc_drv.c
159
module_param(logging_level, int, S_IRUGO|S_IWUSR);
drivers/scsi/vmw_pvscsi.c
111
#define PVSCSI_RW (S_IRUSR | S_IWUSR)
drivers/sh/intc/userimask.c
61
static DEVICE_ATTR(userimask, S_IRUSR | S_IWUSR,
drivers/soc/ti/smartreflex.c
893
debugfs_create_file("autocomp", S_IRUGO | S_IWUSR, sr_info->dbg_dir,
drivers/soc/ti/smartreflex.c
915
debugfs_create_x32(name, S_IRUGO | S_IWUSR, nvalue_dir,
drivers/soc/ti/smartreflex.c
919
debugfs_create_x32(name, S_IRUGO | S_IWUSR, nvalue_dir,
drivers/spi/spi-tle62x0.c
175
static DEVICE_ATTR(gpio1, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
177
static DEVICE_ATTR(gpio2, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
179
static DEVICE_ATTR(gpio3, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
181
static DEVICE_ATTR(gpio4, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
183
static DEVICE_ATTR(gpio5, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
185
static DEVICE_ATTR(gpio6, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
187
static DEVICE_ATTR(gpio7, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
189
static DEVICE_ATTR(gpio8, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
191
static DEVICE_ATTR(gpio9, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
193
static DEVICE_ATTR(gpio10, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
195
static DEVICE_ATTR(gpio11, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
197
static DEVICE_ATTR(gpio12, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
199
static DEVICE_ATTR(gpio13, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
201
static DEVICE_ATTR(gpio14, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
203
static DEVICE_ATTR(gpio15, S_IWUSR|S_IRUGO,
drivers/spi/spi-tle62x0.c
205
static DEVICE_ATTR(gpio16, S_IWUSR|S_IRUGO,
drivers/target/target_core_user.c
264
S_IWUSR | S_IRUGO);
drivers/target/target_core_user.c
300
module_param_cb(block_netlink, &tcmu_block_netlink_op, NULL, S_IWUSR | S_IRUGO);
drivers/target/target_core_user.c
352
module_param_cb(reset_netlink, &tcmu_reset_netlink_op, NULL, S_IWUSR);
drivers/target/tcm_fc/tfc_conf.c
41
module_param_named(debug_logging, ft_debug_logging, int, S_IRUGO|S_IWUSR);
drivers/thermal/thermal_core.c
886
dev->weight_attr.attr.mode = S_IWUSR | S_IRUGO;
drivers/thermal/thermal_sysfs.c
422
trip_attrs->temp.attr.attr.mode |= S_IWUSR;
drivers/thermal/thermal_sysfs.c
435
trip_attrs->hyst.attr.attr.mode |= S_IWUSR;
drivers/tty/hvc/hvcs.c
367
S_IRUGO | S_IWUSR, hvcs_current_vty_show, hvcs_current_vty_store);
drivers/tty/hvc/hvcs.c
419
static DEVICE_ATTR(vterm_state, S_IRUGO | S_IWUSR,
drivers/tty/nozomi.c
53
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/tty/sysrq.c
1237
if (!proc_create("sysrq-trigger", S_IWUSR, NULL,
drivers/tty/vt/vt.c
1372
module_param_array(default_red, byte, NULL, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
1379
module_param_array(default_grn, byte, NULL, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
1386
module_param_array(default_blu, byte, NULL, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
161
module_param(default_utf8, int, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
163
module_param(global_cursor_default, int, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
167
module_param(cur_default, int, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
3737
module_param_named(color, default_color, int, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
3738
module_param_named(italic, default_italic_color, int, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
3739
module_param_named(underline, default_underline_color, int, S_IRUGO | S_IWUSR);
drivers/tty/vt/vt.c
4238
static DEVICE_ATTR(bind, S_IRUGO|S_IWUSR, show_bind, store_bind);
drivers/usb/atm/speedtch.c
102
module_param(ModemMode, byte, S_IRUGO | S_IWUSR);
drivers/usb/atm/speedtch.c
77
module_param(altsetting, uint, S_IRUGO | S_IWUSR);
drivers/usb/atm/speedtch.c
83
module_param(dl_512_first, bool, S_IRUGO | S_IWUSR);
drivers/usb/atm/speedtch.c
88
module_param(enable_isoc, bool, S_IRUGO | S_IWUSR);
drivers/usb/atm/speedtch.c
93
module_param(sw_buffering, bool, S_IRUGO | S_IWUSR);
drivers/usb/atm/speedtch.c
98
module_param(BMaxDSL, uint, S_IRUGO | S_IWUSR);
drivers/usb/chipidea/debug.c
296
debugfs_create_file("port_test", S_IRUGO | S_IWUSR, dir, ci, &ci_port_test_fops);
drivers/usb/class/usblp.c
1485
module_param(proto_bias, int, S_IRUGO | S_IWUSR);
drivers/usb/core/devio.c
113
module_param(usbfs_snoop, bool, S_IRUGO | S_IWUSR);
drivers/usb/core/devio.c
117
module_param(usbfs_snoop_max, uint, S_IRUGO | S_IWUSR);
drivers/usb/core/hcd.c
357
module_param(authorized_default, int, S_IRUGO|S_IWUSR);
drivers/usb/core/hub.c
102
module_param(initial_descriptor_timeout, int, S_IRUGO|S_IWUSR);
drivers/usb/core/hub.c
122
module_param(old_scheme_first, bool, S_IRUGO | S_IWUSR);
drivers/usb/core/hub.c
127
module_param(use_both_schemes, bool, S_IRUGO | S_IWUSR);
drivers/usb/core/ledtrig-usbport.c
215
port->attr.attr.mode = S_IRUSR | S_IWUSR;
drivers/usb/core/sysfs.c
109
static DEVICE_ATTR_IGNORE_LOCKDEP(bConfigurationValue, S_IRUGO | S_IWUSR,
drivers/usb/core/sysfs.c
1243
__ATTR(authorized, S_IRUGO | S_IWUSR,
drivers/usb/core/sysfs.c
755
static DEVICE_ATTR_IGNORE_LOCKDEP(authorized, S_IRUGO | S_IWUSR,
drivers/usb/core/sysfs.c
777
static DEVICE_ATTR_IGNORE_LOCKDEP(remove, S_IWUSR, NULL, remove_store);
drivers/usb/gadget/function/f_mass_storage.c
2863
return lun->cdrom ? S_IRUGO : (S_IWUSR | S_IRUGO);
drivers/usb/gadget/function/f_mass_storage.c
2865
return lun->removable ? (S_IWUSR | S_IRUGO) : S_IRUGO;
drivers/usb/gadget/function/u_ether.h
28
module_param(qmult, uint, S_IRUGO|S_IWUSR); \
drivers/usb/gadget/legacy/inode.c
1957
static unsigned default_perm = S_IRUSR | S_IWUSR;
drivers/usb/gadget/legacy/printer.c
52
module_param(qlen, uint, S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/webcam.c
23
module_param(streaming_interval, uint, S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/webcam.c
27
module_param(streaming_maxpacket, uint, S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/webcam.c
31
module_param(streaming_maxburst, uint, S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
245
module_param_named(pattern, gzero_options.pattern, uint, S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
249
S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
253
S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
256
module_param_named(isoc_mult, gzero_options.isoc_mult, uint, S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
260
S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
263
module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
267
S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
271
S_IRUGO|S_IWUSR);
drivers/usb/gadget/legacy/zero.c
60
module_param(loopdefault, bool, S_IRUGO|S_IWUSR);
drivers/usb/host/uhci-hcd.c
593
debugfs_create_file(hcd->self.bus_name, S_IFREG|S_IRUGO|S_IWUSR,
drivers/usb/host/uhci-hcd.c
76
module_param(debug, int, S_IRUGO | S_IWUSR);
drivers/usb/host/xhci.c
37
module_param(link_quirk, int, S_IRUGO | S_IWUSR);
drivers/usb/misc/usbtest.c
339
module_param_named(pattern, mod_pattern, uint, S_IRUGO | S_IWUSR);
drivers/usb/musb/musb_debugfs.c
327
debugfs_create_file("testmode", S_IRUGO | S_IWUSR, root, musb,
drivers/usb/musb/musb_debugfs.c
329
debugfs_create_file("softconnect", S_IRUGO | S_IWUSR, root, musb,
drivers/usb/storage/option_ms.c
23
module_param(option_zero_cd, uint, S_IRUGO | S_IWUSR);
drivers/usb/storage/realtek_cr.c
41
module_param(auto_delink_en, int, S_IRUGO | S_IWUSR);
drivers/usb/storage/realtek_cr.c
46
module_param(ss_en, int, S_IRUGO | S_IWUSR);
drivers/usb/storage/realtek_cr.c
50
module_param(ss_delay, int, S_IRUGO | S_IWUSR);
drivers/usb/storage/sierra_ms.c
27
module_param(swi_tru_install, uint, S_IRUGO | S_IWUSR);
drivers/usb/storage/usb.c
169
module_param_string(quirks, quirks, sizeof(quirks), S_IRUGO | S_IWUSR);
drivers/usb/usbip/usbip_common.c
29
module_param(usbip_debug_flag, ulong, S_IRUGO|S_IWUSR);
drivers/vfio/pci/vfio_pci.c
38
module_param_named(nointxmask, nointxmask, bool, S_IRUGO | S_IWUSR);
drivers/vfio/pci/vfio_pci.c
49
module_param(disable_idle_d3, bool, S_IRUGO | S_IWUSR);
drivers/vfio/vfio_iommu_type1.c
50
allow_unsafe_interrupts, bool, S_IRUGO | S_IWUSR);
drivers/vfio/vfio_iommu_type1.c
56
disable_hugepages, bool, S_IRUGO | S_IWUSR);
drivers/vfio/vfio_main.c
61
vfio_noiommu, bool, S_IRUGO | S_IWUSR);
drivers/video/backlight/lm3639_bl.c
216
static DEVICE_ATTR(bled_mode, S_IWUSR, NULL, lm3639_bled_mode_store);
drivers/video/backlight/sky81452-backlight.c
164
static DEVICE_ATTR(enable, S_IWGRP | S_IWUSR, NULL, sky81452_bl_store_enable);
drivers/video/fbdev/broadsheetfb.c
777
static DEVICE_ATTR(loadstore_waveform, S_IWUSR, NULL,
drivers/video/fbdev/fsl-diu-fb.c
1803
data->dev_attr.attr.mode = S_IRUGO|S_IWUSR;
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
530
static DEVICE_ATTR(ulps, S_IRUGO | S_IWUSR,
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
532
static DEVICE_ATTR(ulps_timeout, S_IRUGO | S_IWUSR,
drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c
485
static DEVICE_ATTR(cabc_mode, S_IRUGO | S_IWUSR,
drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c
261
static DEVICE_ATTR(vmirror, S_IRUGO | S_IWUSR,
drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c
263
static DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c
265
static DEVICE_ATTR(gamma, S_IRUGO | S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
245
static DISPLAY_ATTR(enabled, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
247
static DISPLAY_ATTR(tear_elim, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
249
static DISPLAY_ATTR(timings, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
251
static DISPLAY_ATTR(rotate, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
253
static DISPLAY_ATTR(mirror, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c
255
static DISPLAY_ATTR(wss, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
427
static MANAGER_ATTR(display, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
429
static MANAGER_ATTR(default_color, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
431
static MANAGER_ATTR(trans_key_type, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
433
static MANAGER_ATTR(trans_key_value, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
435
static MANAGER_ATTR(trans_key_enabled, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
438
static MANAGER_ATTR(alpha_blending_enabled, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
441
static MANAGER_ATTR(cpr_enable, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c
444
static MANAGER_ATTR(cpr_coef, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
363
static OVERLAY_ATTR(manager, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
367
static OVERLAY_ATTR(position, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
369
static OVERLAY_ATTR(output_size, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
371
static OVERLAY_ATTR(enabled, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
373
static OVERLAY_ATTR(global_alpha, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
375
static OVERLAY_ATTR(pre_mult_alpha, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c
378
static OVERLAY_ATTR(zorder, S_IRUGO|S_IWUSR,
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
542
__ATTR(rotate_type, S_IRUGO | S_IWUSR, show_rotate_type,
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
544
__ATTR(mirror, S_IRUGO | S_IWUSR, show_mirror, store_mirror),
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
545
__ATTR(size, S_IRUGO | S_IWUSR, show_size, store_size),
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
546
__ATTR(overlays, S_IRUGO | S_IWUSR, show_overlays, store_overlays),
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
547
__ATTR(overlays_rotate, S_IRUGO | S_IWUSR, show_overlays_rotate,
drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c
551
__ATTR(update_mode, S_IRUGO | S_IWUSR, show_upd_mode, store_upd_mode),
drivers/video/fbdev/smscufx.c
1945
module_param(console, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
drivers/video/fbdev/smscufx.c
1948
module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
drivers/video/fbdev/sstfb.c
742
__ATTR(vgapass, S_IRUGO|S_IWUSR, show_vgapass, store_vgapass)
drivers/video/fbdev/udlfb.c
1494
__ATTR(metrics_reset, S_IWUSR, NULL, metrics_reset_store),
drivers/video/fbdev/udlfb.c
1941
module_param(console, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
drivers/video/fbdev/udlfb.c
1944
module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
drivers/video/fbdev/udlfb.c
1947
module_param(shadow, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
drivers/video/fbdev/udlfb.c
1950
module_param(pixel_limit, int, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
drivers/video/fbdev/uvesafb.c
1654
static DEVICE_ATTR(nocrtc, S_IRUGO | S_IWUSR, uvesafb_show_nocrtc,
drivers/w1/w1.c
530
static W1_MASTER_ATTR_RW(max_slave_count, S_IRUGO | S_IWUSR | S_IWGRP);
drivers/w1/w1.c
535
static W1_MASTER_ATTR_RW(search, S_IRUGO | S_IWUSR | S_IWGRP);
drivers/w1/w1.c
536
static W1_MASTER_ATTR_RW(pullup, S_IRUGO | S_IWUSR | S_IWGRP);
drivers/w1/w1.c
537
static W1_MASTER_ATTR_RW(add, S_IRUGO | S_IWUSR | S_IWGRP);
drivers/w1/w1.c
538
static W1_MASTER_ATTR_RW(remove, S_IRUGO | S_IWUSR | S_IWGRP);
drivers/watchdog/ziirave_wdt.c
558
static DEVICE_ATTR(update_firmware, S_IWUSR, NULL,
drivers/xen/xenfs/super.c
50
[2] = { "xenbus", &xen_xenbus_fops, S_IRUSR|S_IWUSR },
drivers/xen/xenfs/super.c
52
{ "privcmd", &xen_privcmd_fops, S_IRUSR|S_IWUSR },
drivers/xen/xenfs/super.c
57
[2] = { "xenbus", &xen_xenbus_fops, S_IRUSR|S_IWUSR },
drivers/xen/xenfs/super.c
59
{ "privcmd", &xen_privcmd_fops, S_IRUSR|S_IWUSR },
drivers/xen/xenfs/super.c
60
{ "xsd_kva", &xsd_kva_file_ops, S_IRUSR|S_IWUSR},
drivers/xen/xenfs/super.c
61
{ "xsd_port", &xsd_port_file_ops, S_IRUSR|S_IWUSR},
fs/affs/inode.c
108
inode->i_mode = S_IRUGO | S_IXUGO | S_IWUSR | S_IFDIR;
fs/afs/main.c
23
module_param_named(debug, afs_debug, uint, S_IWUSR | S_IRUGO);
fs/afs/security.c
496
if (!(inode->i_mode & S_IWUSR))
fs/binfmt_misc.c
933
[2] = {"status", &bm_status_operations, S_IWUSR|S_IRUGO},
fs/binfmt_misc.c
934
[3] = {"register", &bm_register_operations, S_IWUSR},
fs/btrfs/inode.c
6034
vfs_inode->i_mode = S_IFDIR | S_IRUGO | S_IWUSR | S_IXUGO;
fs/btrfs/sysfs.c
273
mode |= S_IWUSR;
fs/cachefiles/main.c
27
module_param_named(debug, cachefiles_debug, uint, S_IWUSR | S_IRUGO);
fs/devpts/inode.c
379
inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO | S_IWUSR;
fs/dlm/lockspace.c
119
.attr = {.name = "control", .mode = S_IWUSR},
fs/dlm/lockspace.c
124
.attr = {.name = "event_done", .mode = S_IWUSR},
fs/dlm/lockspace.c
129
.attr = {.name = "id", .mode = S_IRUGO | S_IWUSR},
fs/dlm/lockspace.c
135
.attr = {.name = "nodir", .mode = S_IRUGO | S_IWUSR},
fs/hfs/catalog.c
53
if (!(inode->i_mode & S_IWUSR))
fs/hfs/inode.c
245
if (mode & S_IWUSR)
fs/hfs/inode.c
528
if (inode->i_mode & S_IWUSR)
fs/hfs/inode.c
668
if (attr->ia_mode & S_IWUSR)
fs/jffs2/readinode.c
1210
latest_node->mode = cpu_to_jemode(S_IFDIR|S_IRUGO|S_IWUSR|S_IXUGO);
fs/libfs.c
1693
inode->i_mode = S_IRUSR | S_IWUSR;
fs/libfs.c
701
root->i_mode = S_IFDIR | S_IRUSR | S_IWUSR;
fs/lockd/procfs.c
78
entry = proc_create("nlm_end_grace", S_IRUGO|S_IWUSR, entry,
fs/netfs/main.c
24
module_param_named(debug, netfs_debug, uint, S_IWUSR | S_IRUGO);
fs/nfsd/debugfs.c
135
debugfs_create_file("disable-splice-read", S_IWUSR | S_IRUGO,
fs/nfsd/nfs4recover.c
1540
S_IRUGO|S_IWUSR);
fs/nfsd/nfs4recover.c
1544
module_param(cltrack_legacy_disable, bool, S_IRUGO|S_IWUSR);
fs/nfsd/nfs4state.c
3189
[2] = {"ctl", &client_ctl_fops, S_IWUSR},
fs/nfsd/nfsctl.c
1300
&transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1302
&transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1303
[NFSD_Fh] = {"filehandle", &transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1304
[NFSD_Threads] = {"threads", &transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1305
[NFSD_Pool_Threads] = {"pool_threads", &transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1309
[NFSD_Versions] = {"versions", &transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1310
[NFSD_Ports] = {"portlist", &transaction_ops, S_IWUSR|S_IRUGO},
fs/nfsd/nfsctl.c
1311
[NFSD_MaxBlkSize] = {"max_block_size", &transaction_ops, S_IWUSR|S_IRUGO},
fs/nfsd/nfsctl.c
1314
[NFSD_Leasetime] = {"nfsv4leasetime", &transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1315
[NFSD_Gracetime] = {"nfsv4gracetime", &transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1317
[NFSD_RecoveryDir] = {"nfsv4recoverydir", &transaction_ops, S_IWUSR|S_IRUSR},
fs/nfsd/nfsctl.c
1319
[NFSD_V4EndGrace] = {"v4_end_grace", &transaction_ops, S_IWUSR|S_IRUGO},
fs/ocfs2/cluster/masklog.c
95
.mode = S_IRUGO | S_IWUSR, \
fs/ocfs2/filecheck.c
80
__ATTR(check, S_IRUSR | S_IWUSR,
fs/ocfs2/filecheck.c
84
__ATTR(fix, S_IRUSR | S_IWUSR,
fs/ocfs2/filecheck.c
88
__ATTR(set, S_IRUSR | S_IWUSR,
fs/ocfs2/stackglue.c
588
__ATTR(cluster_stack, S_IRUGO | S_IWUSR,
fs/openpromfs/inode.c
255
inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR;
fs/orangefs/orangefs-utils.c
123
perm_mode |= S_IWUSR;
fs/orangefs/orangefs-utils.c
544
S_IXUSR, S_IWUSR, S_IRUSR,
fs/pipe.c
912
inode->i_mode = S_IFIFO | S_IRUSR | S_IWUSR;
fs/proc/base.c
2335
((mode & FMODE_WRITE) ? S_IWUSR : 0));
fs/proc/base.c
3326
REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations),
fs/proc/base.c
3328
REG("autogroup", S_IRUGO|S_IWUSR, proc_pid_sched_autogroup_operations),
fs/proc/base.c
3331
REG("timens_offsets", S_IRUGO|S_IWUSR, proc_timens_offsets_operations),
fs/proc/base.c
3333
REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations),
fs/proc/base.c
3344
REG("mem", S_IRUSR|S_IWUSR, proc_mem_operations),
fs/proc/base.c
3352
REG("clear_refs", S_IWUSR, proc_clear_refs_operations),
fs/proc/base.c
3382
REG("oom_adj", S_IRUGO|S_IWUSR, proc_oom_adj_operations),
fs/proc/base.c
3383
REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations),
fs/proc/base.c
3385
REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations),
fs/proc/base.c
3389
REG("make-it-fail", S_IRUGO|S_IWUSR, proc_fault_inject_operations),
fs/proc/base.c
3393
REG("coredump_filter", S_IRUGO|S_IWUSR, proc_coredump_filter_operations),
fs/proc/base.c
3399
REG("uid_map", S_IRUGO|S_IWUSR, proc_uid_map_operations),
fs/proc/base.c
3400
REG("gid_map", S_IRUGO|S_IWUSR, proc_gid_map_operations),
fs/proc/base.c
3401
REG("projid_map", S_IRUGO|S_IWUSR, proc_projid_map_operations),
fs/proc/base.c
3402
REG("setgroups", S_IRUGO|S_IWUSR, proc_setgroups_operations),
fs/proc/base.c
3672
REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations),
fs/proc/base.c
3673
NOD("comm", S_IFREG|S_IRUGO|S_IWUSR,
fs/proc/base.c
3689
REG("mem", S_IRUSR|S_IWUSR, proc_mem_operations),
fs/proc/base.c
3696
REG("clear_refs", S_IWUSR, proc_clear_refs_operations),
fs/proc/base.c
3726
REG("oom_adj", S_IRUGO|S_IWUSR, proc_oom_adj_operations),
fs/proc/base.c
3727
REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations),
fs/proc/base.c
3729
REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations),
fs/proc/base.c
3733
REG("make-it-fail", S_IRUGO|S_IWUSR, proc_fault_inject_operations),
fs/proc/base.c
3740
REG("uid_map", S_IRUGO|S_IWUSR, proc_uid_map_operations),
fs/proc/base.c
3741
REG("gid_map", S_IRUGO|S_IWUSR, proc_gid_map_operations),
fs/proc/base.c
3742
REG("projid_map", S_IRUGO|S_IWUSR, proc_projid_map_operations),
fs/proc/base.c
3743
REG("setgroups", S_IRUGO|S_IWUSR, proc_setgroups_operations),
fs/proc/fd.c
137
i_mode |= S_IWUSR | S_IXUSR;
fs/smb/client/fs_context.c
1971
ctx->dir_mode = ctx->file_mode = S_IRUGO | S_IXUGO | S_IWUSR;
fs/smb/client/inode.c
785
mode |= (wire & POSIX_W_USR) ? S_IWUSR : 0;
fs/ubifs/debug.c
2843
d->dfs_dump_lprops = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, c,
fs/ubifs/debug.c
2847
d->dfs_dump_budg = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, c,
fs/ubifs/debug.c
2851
d->dfs_dump_tnc = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, c,
fs/ubifs/debug.c
2855
d->dfs_chk_gen = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2859
d->dfs_chk_index = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2863
d->dfs_chk_orph = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2867
d->dfs_chk_lprops = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2871
d->dfs_chk_fs = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2875
d->dfs_tst_rcvry = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2879
d->dfs_ro_error = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2974
dfs_chk_gen = debugfs_create_file(fname, S_IRUSR | S_IWUSR, dfs_rootdir,
fs/ubifs/debug.c
2978
dfs_chk_index = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2982
dfs_chk_orph = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2986
dfs_chk_lprops = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/debug.c
2990
dfs_chk_fs = debugfs_create_file(fname, S_IRUSR | S_IWUSR, dfs_rootdir,
fs/ubifs/debug.c
2994
dfs_tst_rcvry = debugfs_create_file(fname, S_IRUSR | S_IWUSR,
fs/ubifs/sb.c
305
ino->mode = cpu_to_le32(S_IFDIR | S_IRUGO | S_IWUSR | S_IXUGO);
fs/xfs/xfs_error.c
94
.mode = VERIFY_OCTAL_PERMISSIONS(S_IWUSR | S_IRUGO) }, \
include/linux/configfs.h
133
_pfx, _name, S_IRUGO | S_IWUSR \
include/linux/configfs.h
147
.ca_mode = S_IWUSR, \
include/linux/configfs.h
167
.ca_mode = S_IRUGO | S_IWUSR, \
include/linux/configfs.h
192
.ca_mode = S_IWUSR, \
include/linux/mfd/lm3533.h
16
DEVICE_ATTR(_name, S_IRUGO | S_IWUSR , show_##_name, store_##_name)
include/linux/stat.h
12
#define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH)
init/noinitramfs.c
27
err = init_mknod("/dev/console", S_IFCHR | S_IRUSR | S_IWUSR,
kernel/bpf/inode.c
450
mode = S_IFREG | ((S_IRUSR | S_IWUSR) & ~current_umask());
kernel/bpf/token.c
160
mode = S_IFREG | ((S_IRUSR | S_IWUSR) & ~current_umask());
kernel/cgroup/cgroup.c
1618
mode |= S_IWUSR;
kernel/futex/core.c
107
umode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
kernel/irq/proc.c
360
umode |= S_IWUSR;
kernel/locking/lockdep_proc.c
725
proc_create("lock_stat", S_IRUSR | S_IWUSR, NULL, &lock_stat_proc_ops);
kernel/params.c
668
if ((kp->perm & (S_IWUSR | S_IWGRP | S_IWOTH)) != 0)
kernel/printk/printk.c
1283
module_param(ignore_loglevel, bool, S_IRUGO | S_IWUSR);
kernel/printk/printk.c
1348
module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR);
kernel/printk/printk.c
2764
bool, S_IRUGO | S_IWUSR);
kernel/printk/printk.c
4824
module_param_named(always_kmsg_dump, always_kmsg_dump, bool, S_IRUGO | S_IWUSR);
kernel/profile.c
223
entry = proc_create("profile", S_IWUSR | S_IRUGO,
kernel/trace/blktrace.c
1939
DEVICE_ATTR(_name, S_IRUGO | S_IWUSR, \
lib/842/842_debugfs.h
18
umode_t m = S_IRUGO | S_IWUSR;
lib/fault-inject.c
235
umode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
lib/notifier-error-inject.c
54
umode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
samples/vfs/test-statx.c
134
stx->stx_mode & S_IWUSR ? 'w' : '-',
security/apparmor/lsm.c
1827
&aa_g_profile_mode, S_IRUSR | S_IWUSR);
security/apparmor/lsm.c
1832
module_param_named(hash_policy, aa_g_hash_policy, aabool, S_IRUSR | S_IWUSR);
security/apparmor/lsm.c
1854
&aa_g_audit, S_IRUSR | S_IWUSR);
security/apparmor/lsm.c
1861
S_IRUSR | S_IWUSR);
security/apparmor/lsm.c
1869
S_IRUSR | S_IWUSR);
security/apparmor/lsm.c
1873
module_param_named(logsyscall, aa_g_logsyscall, aabool, S_IRUSR | S_IWUSR);
security/integrity/ima/ima.h
579
#define POLICY_FILE_FLAGS (S_IWUSR | S_IRUSR)
security/integrity/ima/ima.h
581
#define POLICY_FILE_FLAGS S_IWUSR
security/integrity/ima/ima_fs.c
484
inode->i_mode &= ~S_IWUSR;
security/selinux/selinuxfs.c
1404
inode = sel_make_inode(bool_dir->d_sb, S_IFREG | S_IRUGO | S_IWUSR);
security/selinux/selinuxfs.c
1612
&sel_avc_cache_threshold_ops, S_IRUGO|S_IWUSR },
security/selinux/selinuxfs.c
1969
[SEL_LOAD] = {"load", &sel_load_ops, S_IRUSR|S_IWUSR},
security/selinux/selinuxfs.c
1970
[SEL_ENFORCE] = {"enforce", &sel_enforce_ops, S_IRUGO|S_IWUSR},
security/selinux/selinuxfs.c
1977
[SEL_COMMIT_BOOLS] = {"commit_pending_bools", &sel_commit_bools_ops, S_IWUSR},
security/selinux/selinuxfs.c
1979
[SEL_DISABLE] = {"disable", &sel_disable_ops, S_IWUSR},
security/selinux/selinuxfs.c
1981
[SEL_CHECKREQPROT] = {"checkreqprot", &sel_checkreqprot_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2885
"load", &smk_load_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2887
"cipso", &smk_cipso_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2889
"doi", &smk_doi_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2891
"direct", &smk_direct_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2893
"ambient", &smk_ambient_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2895
"netlabel", &smk_net4addr_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2897
"onlycap", &smk_onlycap_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2900
"logging", &smk_logging_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2907
"mapped", &smk_mapped_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2909
"load2", &smk_load2_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2915
"cipso2", &smk_cipso2_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2918
S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2920
"change-rule", &smk_change_rule_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2922
"syslog", &smk_syslog_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2924
"ptrace", &smk_ptrace_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2927
"unconfined", &smk_unconfined_ops, S_IRUGO|S_IWUSR},
security/smack/smackfs.c
2931
"ipv6host", &smk_net6addr_ops, S_IRUGO|S_IWUSR},
tools/accounting/getdelays.c
562
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
tools/perf/trace/beauty/mode_t.c
17
#define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH)
tools/perf/util/data.c
284
int fd = open(data->file.path, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC, S_IRUSR|S_IWUSR);
tools/perf/util/data.c
60
ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR);
tools/testing/selftests/cgroup/test_memcontrol.c
1068
if ((ss.st_mode & S_IWUSR) == 0) {
tools/testing/selftests/cgroup/test_memcontrol.c
298
if ((ss.st_mode & S_IWUSR) == 0) {
tools/testing/selftests/futex/functional/futex_wait.c
111
fd = open(SHM_PATH, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
tools/testing/selftests/memfd/memfd_test.c
617
S_IRUSR | S_IWUSR);
tools/testing/selftests/memfd/memfd_test.c
635
S_IRUSR | S_IWUSR);