arch/mips/kernel/vpe-mt.c
276
static DEVICE_ATTR(kill, S_IWUSR, NULL, store_kill);
arch/powerpc/kernel/eeh_sysfs.c
36
static DEVICE_ATTR(_name, 0444, eeh_show_##_name, NULL);
arch/powerpc/kernel/sysfs.c
1148
static DEVICE_ATTR(physical_id, 0444, show_physical_id, NULL);
arch/powerpc/kernel/sysfs.c
168
static DEVICE_ATTR(dscr, 0600, show_dscr, store_dscr);
arch/powerpc/kernel/sysfs.c
215
static DEVICE_ATTR(dscr_default, 0600,
arch/powerpc/kernel/sysfs.c
513
static DEVICE_ATTR(pw20_state, 0600, show_pw20_state, store_pw20_state);
arch/powerpc/kernel/sysfs.c
514
static DEVICE_ATTR(altivec_idle, 0600, show_altivec_idle, store_altivec_idle);
arch/powerpc/kernel/sysfs.c
527
static DEVICE_ATTR(pw20_wait_time, 0600,
arch/powerpc/kernel/sysfs.c
530
static DEVICE_ATTR(altivec_idle_wait_time, 0600,
arch/powerpc/kernel/sysfs.c
596
static DEVICE_ATTR(spurr, 0400, show_spurr, NULL);
arch/powerpc/kernel/sysfs.c
597
static DEVICE_ATTR(purr, 0400, show_purr, store_purr);
arch/powerpc/kernel/sysfs.c
598
static DEVICE_ATTR(pir, 0400, show_pir, NULL);
arch/powerpc/kernel/sysfs.c
599
static DEVICE_ATTR(tscr, 0600, show_tscr, store_tscr);
arch/powerpc/kernel/sysfs.c
624
static DEVICE_ATTR(mmcra, 0600, show_mmcra, store_mmcra);
arch/powerpc/kernel/sysfs.c
625
static DEVICE_ATTR(mmcr3, 0600, show_mmcr3, store_mmcr3);
arch/powerpc/kernel/sysfs.c
69
static DEVICE_ATTR(smt_snooze_delay, 0644, show_smt_snooze_delay,
arch/powerpc/kernel/sysfs.c
751
static DEVICE_ATTR(svm, 0444, show_svm, NULL);
arch/powerpc/kernel/sysfs.c
785
static DEVICE_ATTR(idle_purr, 0400, idle_purr_show, NULL);
arch/powerpc/kernel/sysfs.c
815
static DEVICE_ATTR(idle_spurr, 0400, idle_spurr_show, NULL);
arch/powerpc/perf/imc-pmu.c
123
static DEVICE_ATTR(cpumask, S_IRUGO, imc_pmu_cpumask_get_attr, NULL);
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c
82
static DEVICE_ATTR(status, 0444, show_status, NULL);
arch/powerpc/platforms/cell/spu_base.c
658
static DEVICE_ATTR(stat, 0444, spu_stat_show, NULL);
arch/powerpc/platforms/powernv/idle.c
221
static DEVICE_ATTR(fastsleep_workaround_applyonce, 0600,
arch/powerpc/platforms/powernv/subcore.c
415
static DEVICE_ATTR(subcores_per_core, 0644,
arch/powerpc/platforms/pseries/cmm.c
338
static DEVICE_ATTR(name, 0444, show_##name, NULL)
arch/powerpc/platforms/pseries/cmm.c
364
static DEVICE_ATTR(oom_freed_kb, 0644,
arch/powerpc/platforms/pseries/suspend.c
127
static DEVICE_ATTR(hibernate, 0644, show_hibernate, store_hibernate);
arch/s390/crypto/prng.c
683
static DEVICE_ATTR(chunksize, 0444, prng_chunksize_show, NULL);
arch/s390/crypto/prng.c
702
static DEVICE_ATTR(byte_counter, 0444, prng_counter_show, NULL);
arch/s390/crypto/prng.c
711
static DEVICE_ATTR(errorflag, 0444, prng_errorflag_show, NULL);
arch/s390/crypto/prng.c
723
static DEVICE_ATTR(mode, 0444, prng_mode_show, NULL);
arch/s390/crypto/prng.c
737
static DEVICE_ATTR(reseed, 0200, NULL, prng_reseed_store);
arch/s390/crypto/prng.c
767
static DEVICE_ATTR(reseed_limit, 0644,
arch/s390/crypto/prng.c
777
static DEVICE_ATTR(strength, 0444, prng_strength_show, NULL);
arch/s390/kernel/idle.c
62
DEVICE_ATTR(idle_count, 0444, show_idle_count, NULL);
arch/s390/kernel/idle.c
71
DEVICE_ATTR(idle_time_us, 0444, show_idle_time, NULL);
arch/s390/kernel/smp.c
1069
static DEVICE_ATTR(configure, 0644, cpu_configure_show, cpu_configure_store);
arch/s390/kernel/smp.c
1076
static DEVICE_ATTR(address, 0444, show_cpu_address, NULL);
arch/s390/kernel/topology.c
465
static DEVICE_ATTR(polarization, 0444, cpu_polarization_show, NULL);
arch/s390/kernel/topology.c
487
static DEVICE_ATTR(dedicated, 0444, cpu_dedicated_show, NULL);
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
122
static DEVICE_ATTR(field, S_IRUGO, dma_show_##field, NULL);
arch/sh/drivers/dma/dma-sysfs.c
44
static DEVICE_ATTR(devices, S_IRUGO, dma_show_devices, NULL);
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/sparc/kernel/pci.c
629
static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH, show_pciobppath_attr, NULL);
arch/sparc/kernel/sysfs.c
150
static DEVICE_ATTR(mmustat_enable, 0644, show_mmustat_enable, store_mmustat_enable);
arch/sparc/kernel/sysfs.c
26
static DEVICE_ATTR(NAME, 0444, show_##NAME, NULL)
arch/sparc/kernel/vio.c
198
static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH,
arch/x86/events/amd/iommu.c
142
static DEVICE_ATTR(cpumask, S_IRUGO, _iommu_cpumask_show, NULL);
arch/x86/events/amd/power.c
153
static DEVICE_ATTR(cpumask, S_IRUGO, get_attr_cpumask, NULL);
arch/x86/events/amd/uncore.c
326
static DEVICE_ATTR(cpumask, S_IRUGO, amd_uncore_attr_show_cpumask, NULL);
arch/x86/events/core.c
2686
static DEVICE_ATTR(rdpmc, S_IRUSR | S_IWUSR, get_attr_rdpmc, set_attr_rdpmc);
arch/x86/events/intel/core.c
6881
static DEVICE_ATTR(allow_tsx_force_abort, 0644,
arch/x86/events/intel/core.c
7284
static DEVICE_ATTR(cpus, S_IRUGO, intel_hybrid_get_attr_cpus, NULL);
arch/x86/events/intel/uncore.c
847
static DEVICE_ATTR(cpumask, S_IRUGO, uncore_get_attr_cpumask, NULL);
arch/x86/kernel/cpu/mce/dev-mcelog.c
117
DEVICE_ATTR(trigger, 0644, show_trigger, set_trigger);
arch/x86/platform/olpc/olpc-xo1-sci.c
155
static DEVICE_ATTR(lid_wake_mode, S_IWUSR | S_IRUGO, lid_wake_mode_show,
block/disk-events.c
390
DEVICE_ATTR(events, 0444, disk_events_show, NULL);
block/disk-events.c
391
DEVICE_ATTR(events_async, 0444, disk_events_async_show, NULL);
block/disk-events.c
392
DEVICE_ATTR(events_poll_msecs, 0644, disk_events_poll_msecs_show,
block/genhd.c
1162
static DEVICE_ATTR(range, 0444, disk_range_show, NULL);
block/genhd.c
1163
static DEVICE_ATTR(ext_range, 0444, disk_ext_range_show, NULL);
block/genhd.c
1164
static DEVICE_ATTR(removable, 0444, disk_removable_show, NULL);
block/genhd.c
1165
static DEVICE_ATTR(hidden, 0444, disk_hidden_show, NULL);
block/genhd.c
1166
static DEVICE_ATTR(ro, 0444, disk_ro_show, NULL);
block/genhd.c
1167
static DEVICE_ATTR(size, 0444, part_size_show, NULL);
block/genhd.c
1168
static DEVICE_ATTR(alignment_offset, 0444, disk_alignment_offset_show, NULL);
block/genhd.c
1169
static DEVICE_ATTR(discard_alignment, 0444, disk_discard_alignment_show, NULL);
block/genhd.c
1170
static DEVICE_ATTR(capability, 0444, disk_capability_show, NULL);
block/genhd.c
1171
static DEVICE_ATTR(stat, 0444, part_stat_show, NULL);
block/genhd.c
1172
static DEVICE_ATTR(inflight, 0444, part_inflight_show, NULL);
block/genhd.c
1173
static DEVICE_ATTR(badblocks, 0644, disk_badblocks_show, disk_badblocks_store);
block/genhd.c
1174
static DEVICE_ATTR(diskseq, 0444, diskseq_show, NULL);
block/genhd.c
1175
static DEVICE_ATTR(partscan, 0444, partscan_show, NULL);
block/partitions/core.c
207
static DEVICE_ATTR(partition, 0444, part_partition_show, NULL);
block/partitions/core.c
208
static DEVICE_ATTR(start, 0444, part_start_show, NULL);
block/partitions/core.c
209
static DEVICE_ATTR(size, 0444, part_size_show, NULL);
block/partitions/core.c
210
static DEVICE_ATTR(ro, 0444, part_ro_show, NULL);
block/partitions/core.c
211
static DEVICE_ATTR(alignment_offset, 0444, part_alignment_offset_show, NULL);
block/partitions/core.c
212
static DEVICE_ATTR(discard_alignment, 0444, part_discard_alignment_show, NULL);
block/partitions/core.c
213
static DEVICE_ATTR(stat, 0444, part_stat_show, NULL);
block/partitions/core.c
214
static DEVICE_ATTR(inflight, 0444, part_inflight_show, NULL);
block/partitions/core.c
288
static const DEVICE_ATTR(whole_disk, 0444, whole_disk_show, NULL);
drivers/acpi/x86/lpss.c
759
static DEVICE_ATTR(auto_ltr, S_IRUSR, lpss_ltr_show, NULL);
drivers/acpi/x86/lpss.c
760
static DEVICE_ATTR(sw_ltr, S_IRUSR, lpss_ltr_show, NULL);
drivers/acpi/x86/lpss.c
761
static DEVICE_ATTR(ltr_mode, S_IRUSR, lpss_ltr_mode_show, NULL);
drivers/ata/libahci.c
105
static DEVICE_ATTR(ahci_host_caps, S_IRUGO, ahci_show_host_caps, NULL);
drivers/ata/libahci.c
106
static DEVICE_ATTR(ahci_host_cap2, S_IRUGO, ahci_show_host_cap2, NULL);
drivers/ata/libahci.c
107
static DEVICE_ATTR(ahci_host_version, S_IRUGO, ahci_show_host_version, NULL);
drivers/ata/libahci.c
108
static DEVICE_ATTR(ahci_port_cmd, S_IRUGO, ahci_show_port_cmd, NULL);
drivers/ata/libahci.c
109
static DEVICE_ATTR(em_buffer, S_IWUSR | S_IRUGO,
drivers/ata/libahci.c
111
static DEVICE_ATTR(em_message_supported, S_IRUGO, ahci_show_em_supported, NULL);
drivers/ata/libata-sata.c
1042
DEVICE_ATTR(ncq_prio_supported, S_IRUGO, ata_ncq_prio_supported_show, NULL);
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
1224
DEVICE_ATTR(em_message_type, S_IRUGO,
drivers/ata/libata-sata.c
1266
DEVICE_ATTR(sw_activity, S_IWUSR | S_IRUGO, ata_scsi_activity_show,
drivers/ata/libata-sata.c
939
DEVICE_ATTR(link_power_management_supported, S_IRUGO,
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/libata-transport.c
210
static DEVICE_ATTR(name, S_IRUGO, show_ata_port_##name, NULL)
drivers/ata/libata-transport.c
377
static DEVICE_ATTR(field, S_IRUGO, show_ata_dev_##field, NULL)
drivers/ata/libata-transport.c
397
static DEVICE_ATTR(field, S_IRUGO, \
drivers/ata/libata-transport.c
434
static DEVICE_ATTR(ering, S_IRUGO, show_ata_dev_ering, NULL);
drivers/ata/libata-transport.c
453
static DEVICE_ATTR(id, S_IRUGO, show_ata_dev_id, NULL);
drivers/ata/libata-transport.c
474
static DEVICE_ATTR(gscr, S_IRUGO, show_ata_dev_gscr, NULL);
drivers/ata/libata-transport.c
497
static DEVICE_ATTR(trim, S_IRUGO, show_ata_dev_trim, NULL);
drivers/ata/libata-transport.c
623
static DEVICE_ATTR(field, 0444, show_ata_link_##field, NULL)
drivers/atm/adummy.c
68
static DEVICE_ATTR(signal, 0644, __show_signal, __set_signal);
drivers/atm/solos-pci.c
578
#define SOLOS_ATTR_RO(x) static DEVICE_ATTR(x, 0444, solos_param_show, NULL);
drivers/atm/solos-pci.c
579
#define SOLOS_ATTR_RW(x) static DEVICE_ATTR(x, 0644, solos_param_show, solos_param_store);
drivers/auxdisplay/line-display.c
320
static DEVICE_ATTR(map_seg7, 0644, map_seg_show, map_seg_store);
drivers/auxdisplay/line-display.c
323
static DEVICE_ATTR(map_seg14, 0644, map_seg_show, map_seg_store);
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/cpu.c
242
static DEVICE_ATTR(kernel_max, 0444, print_cpus_kernel_max, NULL);
drivers/base/cpu.c
275
static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL);
drivers/base/cpu.c
282
static DEVICE_ATTR(enabled, 0444, print_cpus_enabled, NULL);
drivers/base/cpu.c
301
static DEVICE_ATTR(isolated, 0444, print_cpus_isolated, NULL);
drivers/base/cpu.c
510
static DEVICE_ATTR(modalias, 0444, print_cpu_modalias, NULL);
drivers/base/cpu.c
626
static DEVICE_ATTR(meltdown, 0444, cpu_show_meltdown, NULL);
drivers/base/cpu.c
627
static DEVICE_ATTR(spectre_v1, 0444, cpu_show_spectre_v1, NULL);
drivers/base/cpu.c
628
static DEVICE_ATTR(spectre_v2, 0444, cpu_show_spectre_v2, NULL);
drivers/base/cpu.c
629
static DEVICE_ATTR(spec_store_bypass, 0444, cpu_show_spec_store_bypass, NULL);
drivers/base/cpu.c
630
static DEVICE_ATTR(l1tf, 0444, cpu_show_l1tf, NULL);
drivers/base/cpu.c
631
static DEVICE_ATTR(mds, 0444, cpu_show_mds, NULL);
drivers/base/cpu.c
632
static DEVICE_ATTR(tsx_async_abort, 0444, cpu_show_tsx_async_abort, NULL);
drivers/base/cpu.c
633
static DEVICE_ATTR(itlb_multihit, 0444, cpu_show_itlb_multihit, NULL);
drivers/base/cpu.c
634
static DEVICE_ATTR(srbds, 0444, cpu_show_srbds, NULL);
drivers/base/cpu.c
635
static DEVICE_ATTR(mmio_stale_data, 0444, cpu_show_mmio_stale_data, NULL);
drivers/base/cpu.c
636
static DEVICE_ATTR(retbleed, 0444, cpu_show_retbleed, NULL);
drivers/base/cpu.c
637
static DEVICE_ATTR(spec_rstack_overflow, 0444, cpu_show_spec_rstack_overflow, NULL);
drivers/base/cpu.c
638
static DEVICE_ATTR(gather_data_sampling, 0444, cpu_show_gds, NULL);
drivers/base/cpu.c
639
static DEVICE_ATTR(reg_file_data_sampling, 0444, cpu_show_reg_file_data_sampling, NULL);
drivers/base/cpu.c
640
static DEVICE_ATTR(ghostwrite, 0444, cpu_show_ghostwrite, NULL);
drivers/base/cpu.c
641
static DEVICE_ATTR(old_microcode, 0444, cpu_show_old_microcode, NULL);
drivers/base/cpu.c
642
static DEVICE_ATTR(indirect_target_selection, 0444, cpu_show_indirect_target_selection, NULL);
drivers/base/cpu.c
643
static DEVICE_ATTR(tsa, 0444, cpu_show_tsa, NULL);
drivers/base/cpu.c
644
static DEVICE_ATTR(vmscape, 0444, cpu_show_vmscape, NULL);
drivers/base/firmware_loader/sysfs.c
235
DEVICE_ATTR(loading, 0644, firmware_loading_show, firmware_loading_store);
drivers/base/node.c
565
static DEVICE_ATTR(meminfo, 0444, node_read_meminfo, NULL);
drivers/base/node.c
585
static DEVICE_ATTR(numastat, 0444, node_read_numastat, NULL);
drivers/base/node.c
619
static DEVICE_ATTR(vmstat, 0444, node_read_vmstat, NULL);
drivers/base/node.c
642
static DEVICE_ATTR(distance, 0444, node_read_distance, NULL);
drivers/base/soc.c
36
static DEVICE_ATTR(machine, 0444, soc_info_show, NULL);
drivers/base/soc.c
37
static DEVICE_ATTR(family, 0444, soc_info_show, NULL);
drivers/base/soc.c
38
static DEVICE_ATTR(serial_number, 0444, soc_info_show, NULL);
drivers/base/soc.c
39
static DEVICE_ATTR(soc_id, 0444, soc_info_show, NULL);
drivers/base/soc.c
40
static DEVICE_ATTR(revision, 0444, soc_info_show, NULL);
drivers/block/aoe/aoeblk.c
156
static DEVICE_ATTR(state, 0444, aoedisk_show_state, NULL);
drivers/block/aoe/aoeblk.c
157
static DEVICE_ATTR(mac, 0444, aoedisk_show_mac, NULL);
drivers/block/aoe/aoeblk.c
158
static DEVICE_ATTR(netif, 0444, aoedisk_show_netif, NULL);
drivers/block/aoe/aoeblk.c
163
static DEVICE_ATTR(payload, 0444, aoedisk_show_payload, NULL);
drivers/block/floppy.c
4457
static DEVICE_ATTR(cmos, 0444, floppy_cmos_show, NULL);
drivers/block/mtip32xx/mtip32xx.c
2154
static DEVICE_ATTR(status, 0444, mtip_hw_show_status, NULL);
drivers/block/rbd.c
5218
static DEVICE_ATTR(size, 0444, rbd_size_show, NULL);
drivers/block/rbd.c
5219
static DEVICE_ATTR(features, 0444, rbd_features_show, NULL);
drivers/block/rbd.c
5220
static DEVICE_ATTR(major, 0444, rbd_major_show, NULL);
drivers/block/rbd.c
5221
static DEVICE_ATTR(minor, 0444, rbd_minor_show, NULL);
drivers/block/rbd.c
5222
static DEVICE_ATTR(client_addr, 0444, rbd_client_addr_show, NULL);
drivers/block/rbd.c
5223
static DEVICE_ATTR(client_id, 0444, rbd_client_id_show, NULL);
drivers/block/rbd.c
5224
static DEVICE_ATTR(cluster_fsid, 0444, rbd_cluster_fsid_show, NULL);
drivers/block/rbd.c
5225
static DEVICE_ATTR(config_info, 0400, rbd_config_info_show, NULL);
drivers/block/rbd.c
5226
static DEVICE_ATTR(pool, 0444, rbd_pool_show, NULL);
drivers/block/rbd.c
5227
static DEVICE_ATTR(pool_id, 0444, rbd_pool_id_show, NULL);
drivers/block/rbd.c
5228
static DEVICE_ATTR(pool_ns, 0444, rbd_pool_ns_show, NULL);
drivers/block/rbd.c
5229
static DEVICE_ATTR(name, 0444, rbd_name_show, NULL);
drivers/block/rbd.c
5230
static DEVICE_ATTR(image_id, 0444, rbd_image_id_show, NULL);
drivers/block/rbd.c
5231
static DEVICE_ATTR(refresh, 0200, NULL, rbd_image_refresh);
drivers/block/rbd.c
5232
static DEVICE_ATTR(current_snap, 0444, rbd_snap_show, NULL);
drivers/block/rbd.c
5233
static DEVICE_ATTR(snap_id, 0444, rbd_snap_id_show, NULL);
drivers/block/rbd.c
5234
static DEVICE_ATTR(parent, 0444, rbd_parent_show, NULL);
drivers/block/xen-blkback/xenbus.c
400
static DEVICE_ATTR(name, 0444, show_##name, NULL)
drivers/block/xen-blkback/xenbus.c
436
static DEVICE_ATTR(name, 0444, show_##name, NULL)
drivers/bus/brcmstb_gisb.c
391
static DEVICE_ATTR(gisb_arb_timeout, S_IWUSR | S_IRUGO,
drivers/char/hw_random/s390-trng.c
121
static DEVICE_ATTR(byte_counter, 0444, trng_counter_show, NULL);
drivers/char/ipmi/ipmi_msghandler.c
2877
static DEVICE_ATTR(additional_device_support, S_IRUGO, add_dev_support_show,
drivers/char/ipmi/ipmi_msghandler.c
2930
static DEVICE_ATTR(aux_firmware_revision, S_IRUGO, aux_firmware_rev_show, NULL);
drivers/char/ipmi/ipmi_ssif.c
1211
static DEVICE_ATTR(name, S_IRUGO, ipmi_##name##_show, NULL)
drivers/char/ipmi/ipmi_ssif.c
1219
static DEVICE_ATTR(type, S_IRUGO, ipmi_type_show, NULL);
drivers/char/tlclk.c
293
static DEVICE_ATTR(current_ref, S_IRUGO, show_current_ref, NULL);
drivers/char/tlclk.c
309
static DEVICE_ATTR(telclock_version, S_IRUGO,
drivers/char/tlclk.c
325
static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL);
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
385
static DEVICE_ATTR(version, S_IRUGO, tpm_show_ppi_version, NULL);
drivers/char/tpm/tpm_ppi.c
386
static DEVICE_ATTR(request, S_IRUGO | S_IWUSR | S_IWGRP,
drivers/char/tpm/tpm_ppi.c
388
static DEVICE_ATTR(transition_action, S_IRUGO,
drivers/char/tpm/tpm_ppi.c
390
static DEVICE_ATTR(response, S_IRUGO, tpm_show_ppi_response, NULL);
drivers/char/tpm/tpm_ppi.c
391
static DEVICE_ATTR(tcg_operations, S_IRUGO, tpm_show_ppi_tcg_operations, NULL);
drivers/char/tpm/tpm_ppi.c
392
static DEVICE_ATTR(vs_operations, S_IRUGO, tpm_show_ppi_vs_operations, NULL);
drivers/char/virtio_console.c
1250
static DEVICE_ATTR(name, S_IRUGO, show_port_name, NULL);
drivers/cpuidle/sysfs.c
101
static DEVICE_ATTR(available_governors, 0444, show_available_governors, NULL);
drivers/cpuidle/sysfs.c
102
static DEVICE_ATTR(current_driver, 0444, show_current_driver, NULL);
drivers/cpuidle/sysfs.c
103
static DEVICE_ATTR(current_governor, 0644, show_current_governor,
drivers/cpuidle/sysfs.c
105
static DEVICE_ATTR(current_governor_ro, 0444, show_current_governor, NULL);
drivers/dax/bus.c
1302
static DEVICE_ATTR(resource, 0400, resource_show, NULL);
drivers/dax/bus.c
742
static DEVICE_ATTR(start, 0400, start_show, NULL);
drivers/dax/bus.c
758
static DEVICE_ATTR(end, 0400, end_show, NULL);
drivers/dax/bus.c
774
static DEVICE_ATTR(page_offset, 0400, pgoff_show, NULL);
drivers/dio/dio-sysfs.c
27
static DEVICE_ATTR(id, S_IRUGO, dio_show_id, NULL);
drivers/dio/dio-sysfs.c
36
static DEVICE_ATTR(ipl, S_IRUGO, dio_show_ipl, NULL);
drivers/dio/dio-sysfs.c
45
static DEVICE_ATTR(secid, S_IRUGO, dio_show_secid, NULL);
drivers/dio/dio-sysfs.c
54
static DEVICE_ATTR(name, S_IRUGO, dio_show_name, NULL);
drivers/dio/dio-sysfs.c
65
static DEVICE_ATTR(resource, S_IRUGO, dio_show_resource, NULL);
drivers/edac/amd64_edac.c
581
static DEVICE_ATTR(dhar, S_IRUGO, dhar_show, NULL);
drivers/edac/amd64_edac.c
582
static DEVICE_ATTR(dbam, S_IRUGO, dbam0_show, NULL);
drivers/edac/amd64_edac.c
583
static DEVICE_ATTR(topmem, S_IRUGO, top_mem_show, NULL);
drivers/edac/amd64_edac.c
584
static DEVICE_ATTR(topmem2, S_IRUGO, top_mem2_show, NULL);
drivers/edac/edac_mc_sysfs.c
224
static DEVICE_ATTR(dimm_label, S_IRUGO | S_IWUSR,
drivers/edac/edac_mc_sysfs.c
226
static DEVICE_ATTR(dimm_location, S_IRUGO, dimmdev_location_show, NULL);
drivers/edac/edac_mc_sysfs.c
227
static DEVICE_ATTR(size, S_IRUGO, dimmdev_size_show, NULL);
drivers/edac/edac_mc_sysfs.c
228
static DEVICE_ATTR(dimm_mem_type, S_IRUGO, dimmdev_mem_type_show, NULL);
drivers/edac/edac_mc_sysfs.c
229
static DEVICE_ATTR(dimm_dev_type, S_IRUGO, dimmdev_dev_type_show, NULL);
drivers/edac/edac_mc_sysfs.c
230
static DEVICE_ATTR(dimm_edac_mode, S_IRUGO, dimmdev_edac_mode_show, NULL);
drivers/edac/edac_mc_sysfs.c
231
static DEVICE_ATTR(dimm_ce_count, S_IRUGO, dimmdev_ce_count_show, NULL);
drivers/edac/edac_mc_sysfs.c
232
static DEVICE_ATTR(dimm_ue_count, S_IRUGO, dimmdev_ue_count_show, NULL);
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
496
static DEVICE_ATTR(mc_name, S_IRUGO, mci_ctl_name_show, NULL);
drivers/edac/edac_mc_sysfs.c
497
static DEVICE_ATTR(size_mb, S_IRUGO, mci_size_mb_show, NULL);
drivers/edac/edac_mc_sysfs.c
498
static DEVICE_ATTR(seconds_since_reset, S_IRUGO, mci_seconds_show, NULL);
drivers/edac/edac_mc_sysfs.c
499
static DEVICE_ATTR(ue_noinfo_count, S_IRUGO, mci_ue_noinfo_show, NULL);
drivers/edac/edac_mc_sysfs.c
500
static DEVICE_ATTR(ce_noinfo_count, S_IRUGO, mci_ce_noinfo_show, NULL);
drivers/edac/edac_mc_sysfs.c
501
static DEVICE_ATTR(ue_count, S_IRUGO, mci_ue_count_show, NULL);
drivers/edac/edac_mc_sysfs.c
502
static DEVICE_ATTR(ce_count, S_IRUGO, mci_ce_count_show, NULL);
drivers/edac/edac_mc_sysfs.c
503
static DEVICE_ATTR(max_location, S_IRUGO, mci_max_location_show, NULL);
drivers/edac/edac_mc_sysfs.c
506
static DEVICE_ATTR(sdram_scrub_rate, 0, mci_sdram_scrub_rate_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/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/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/firewire/sbp2.c
1580
static DEVICE_ATTR(ieee1394_id, S_IRUGO, sbp2_sysfs_ieee1394_id_show, NULL);
drivers/fsi/fsi-core.c
1334
static DEVICE_ATTR(rescan, 0200, NULL, master_rescan_store);
drivers/fsi/fsi-core.c
1346
static DEVICE_ATTR(break, 0200, NULL, master_break_store);
drivers/fsi/fsi-core.c
877
static DEVICE_ATTR(send_echo_delays, 0600,
drivers/fsi/fsi-master-aspeed.c
465
static DEVICE_ATTR(cfam_reset, 0200, NULL, cfam_reset_store);
drivers/fsi/fsi-master-ast-cf.c
1125
static DEVICE_ATTR(external_mode, 0664,
drivers/fsi/fsi-master-gpio.c
759
static DEVICE_ATTR(external_mode, 0664,
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
1829
static DEVICE_ATTR(vbios_version, 0444, amdgpu_atombios_get_vbios_version,
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
1831
static DEVICE_ATTR(vbios_build, 0444, amdgpu_atombios_get_vbios_build, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
237
static DEVICE_ATTR(pcie_replay_count, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
360
static DEVICE_ATTR(board_info, 0444, amdgpu_device_get_board_info, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
297
static DEVICE_ATTR(product_name, 0444, amdgpu_fru_product_name_show, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
319
static DEVICE_ATTR(product_number, 0444, amdgpu_fru_product_number_show, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
341
static DEVICE_ATTR(serial_number, 0444, amdgpu_fru_serial_number_show, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
362
static DEVICE_ATTR(fru_id, 0444, amdgpu_fru_id_show, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
383
static DEVICE_ATTR(manufacturer, 0444, amdgpu_fru_manufacturer_name_show, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1870
static DEVICE_ATTR(run_cleaner_shader, 0200,
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1873
static DEVICE_ATTR(enforce_isolation, 0644,
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1877
static DEVICE_ATTR(current_compute_partition, 0644,
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1881
static DEVICE_ATTR(available_compute_partition, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1883
static DEVICE_ATTR(gfx_reset_mask, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1886
static DEVICE_ATTR(compute_reset_mask, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
76
static DEVICE_ATTR(mem_info_gtt_total, S_IRUGO,
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
78
static DEVICE_ATTR(mem_info_gtt_used, S_IRUGO,
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
439
static DEVICE_ATTR(jpeg_reset_mask, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
4194
static DEVICE_ATTR(usbc_pd_fw, 0644,
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
4321
static DEVICE_ATTR(psp_vbflash_status, 0440, amdgpu_psp_vbflash_status, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
2289
static DEVICE_ATTR(features, S_IRUGO,
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
2291
static DEVICE_ATTR(version, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
2293
static DEVICE_ATTR(schema, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
2295
static DEVICE_ATTR(event_state, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
471
static DEVICE_ATTR(sdma_reset_mask, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
775
static DEVICE_ATTR(name, mode, show_##name, NULL)
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
1368
static DEVICE_ATTR(vcn_reset_mask, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
936
static DEVICE_ATTR(vpe_reset_mask, 0444,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
206
static DEVICE_ATTR(mem_info_vram_total, S_IRUGO,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
208
static DEVICE_ATTR(mem_info_vis_vram_total, S_IRUGO,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
210
static DEVICE_ATTR(mem_info_vram_used, S_IRUGO,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
212
static DEVICE_ATTR(mem_info_vis_vram_used, S_IRUGO,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
214
static DEVICE_ATTR(mem_info_vram_vendor, S_IRUGO,
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
564
static DEVICE_ATTR(xgmi_device_id, S_IRUGO, amdgpu_xgmi_show_device_id, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
565
static DEVICE_ATTR(xgmi_physical_id, 0444, amdgpu_xgmi_show_physical_id, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
566
static DEVICE_ATTR(xgmi_error, S_IRUGO, amdgpu_xgmi_show_error, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
567
static DEVICE_ATTR(xgmi_num_hops, S_IRUGO, amdgpu_xgmi_show_num_hops, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
568
static DEVICE_ATTR(xgmi_num_links, S_IRUGO, amdgpu_xgmi_show_num_links, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
569
static DEVICE_ATTR(xgmi_port_num, S_IRUGO, amdgpu_xgmi_show_connected_port_num, NULL);
drivers/gpu/drm/amd/amdgpu/df_v3_6.c
212
static DEVICE_ATTR(df_cntr_avail, S_IRUGO, df_v3_6_get_df_cntr_avail, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2339
static DEVICE_ATTR(baseboard_temp, 0444, amdgpu_get_baseboard_temp_metrics, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2340
static DEVICE_ATTR(gpuboard_temp, 0444, amdgpu_get_gpuboard_temp_metrics, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2341
static DEVICE_ATTR(cur_node_power_limit, 0444, amdgpu_show_cur_node_power_limit, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2342
static DEVICE_ATTR(node_power, 0444, amdgpu_show_node_power, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2343
static DEVICE_ATTR(global_ppt_resid, 0444, amdgpu_show_global_ppt_resid, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2344
static DEVICE_ATTR(max_node_power_limit, 0444, amdgpu_show_max_node_power_limit, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2345
static DEVICE_ATTR(npm_status, 0444, amdgpu_show_npm_status, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2346
static DEVICE_ATTR(baseboard_power, 0444, amdgpu_show_baseboard_power, NULL);
drivers/gpu/drm/amd/pm/amdgpu_pm.c
2347
static DEVICE_ATTR(baseboard_power_limit, 0444, amdgpu_show_baseboard_power_limit, NULL);
drivers/gpu/drm/exynos/exynos_drm_vidi.c
223
static DEVICE_ATTR(connection, 0644, vidi_show_connection,
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/hid/hid-corsair.c
405
static DEVICE_ATTR(macro_mode, 0644, k90_show_macro_mode, k90_store_macro_mode);
drivers/hid/hid-corsair.c
406
static DEVICE_ATTR(current_profile, 0644, k90_show_current_profile,
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
1085
static DEVICE_ATTR(real_id, S_IRUGO, lg4ff_real_id_show, lg4ff_real_id_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-logitech-hidpp.c
4299
static DEVICE_ATTR(builtin_power_supply, 0000, NULL, NULL);
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
178
static DEVICE_ATTR(sensor_physical_width, S_IRUGO, show_phys_width, NULL);
drivers/hid/hid-ntrig.c
190
static DEVICE_ATTR(sensor_physical_height, S_IRUGO, show_phys_height, NULL);
drivers/hid/hid-ntrig.c
202
static DEVICE_ATTR(sensor_logical_width, S_IRUGO, show_log_width, NULL);
drivers/hid/hid-ntrig.c
214
static DEVICE_ATTR(sensor_logical_height, S_IRUGO, show_log_height, NULL);
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_core.c
293
static DEVICE_ATTR(operation_mode, 0644, picolcd_operation_mode_show,
drivers/hid/hid-picolcd_core.c
321
static DEVICE_ATTR(operation_mode_delay, 0644, picolcd_operation_mode_delay_show,
drivers/hid/hid-picolcd_fb.c
458
static DEVICE_ATTR(fb_update_rate, 0664, picolcd_fb_update_rate_show,
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-arvo.c
123
static DEVICE_ATTR(key_mask, 0660,
drivers/hid/hid-roccat-arvo.c
181
static DEVICE_ATTR(actual_profile, 0660,
drivers/hid/hid-roccat-arvo.c
73
static DEVICE_ATTR(mode_key, 0660,
drivers/hid/hid-roccat-isku.c
107
static DEVICE_ATTR(actual_profile, 0660, isku_sysfs_show_actual_profile,
drivers/hid/hid-roccat-kone.c
405
static DEVICE_ATTR(actual_profile, 0440, kone_sysfs_show_actual_profile, NULL);
drivers/hid/hid-roccat-kone.c
414
static DEVICE_ATTR(actual_dpi, 0440, kone_sysfs_show_actual_dpi, NULL);
drivers/hid/hid-roccat-kone.c
437
static DEVICE_ATTR(weight, 0440, kone_sysfs_show_weight, NULL);
drivers/hid/hid-roccat-kone.c
446
static DEVICE_ATTR(firmware_version, 0440, kone_sysfs_show_firmware_version,
drivers/hid/hid-roccat-kone.c
549
static DEVICE_ATTR(tcu, 0660, kone_sysfs_show_tcu, kone_sysfs_set_tcu);
drivers/hid/hid-roccat-kone.c
596
static DEVICE_ATTR(startup_profile, 0660, kone_sysfs_show_startup_profile,
drivers/hid/hid-roccat-koneplus.c
289
static DEVICE_ATTR(actual_profile, 0660,
drivers/hid/hid-roccat-koneplus.c
292
static DEVICE_ATTR(startup_profile, 0660,
drivers/hid/hid-roccat-koneplus.c
314
static DEVICE_ATTR(firmware_version, 0440,
drivers/hid/hid-roccat-kovaplus.c
319
static DEVICE_ATTR(actual_profile, 0660,
drivers/hid/hid-roccat-kovaplus.c
330
static DEVICE_ATTR(actual_cpi, 0440, kovaplus_sysfs_show_actual_cpi, NULL);
drivers/hid/hid-roccat-kovaplus.c
339
static DEVICE_ATTR(actual_sensitivity_x, 0440,
drivers/hid/hid-roccat-kovaplus.c
349
static DEVICE_ATTR(actual_sensitivity_y, 0440,
drivers/hid/hid-roccat-kovaplus.c
370
static DEVICE_ATTR(firmware_version, 0440,
drivers/hid/hid-roccat-pyra.c
288
static DEVICE_ATTR(actual_cpi, 0440, pyra_sysfs_show_actual_cpi, NULL);
drivers/hid/hid-roccat-pyra.c
305
static DEVICE_ATTR(actual_profile, 0440, pyra_sysfs_show_actual_profile, NULL);
drivers/hid/hid-roccat-pyra.c
306
static DEVICE_ATTR(startup_profile, 0440, pyra_sysfs_show_actual_profile, NULL);
drivers/hid/hid-roccat-pyra.c
326
static DEVICE_ATTR(firmware_version, 0440, pyra_sysfs_show_firmware_version,
drivers/hid/hid-wiimote-core.c
1700
static DEVICE_ATTR(extension, S_IRUGO | S_IWUSR | S_IWGRP, wiimote_ext_show,
drivers/hid/hid-wiimote-core.c
1734
static DEVICE_ATTR(devtype, S_IRUGO, wiimote_dev_show, NULL);
drivers/hid/hid-wiimote-modules.c
1465
static DEVICE_ATTR(bboard_calib, S_IRUGO, wiimod_bboard_calib_show, NULL);
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
1082
static DEVICE_ATTR(status_led##SET_ID##_select, DEV_ATTR_RW_PERM, \
drivers/hid/wacom_sys.c
1136
static DEVICE_ATTR(name##_luminance, DEV_ATTR_RW_PERM, \
drivers/hid/wacom_sys.c
1179
static DEVICE_ATTR(button##BUTTON_ID##_rawimg, DEV_ATTR_WO_PERM, \
drivers/hid/wacom_sys.c
1881
static DEVICE_ATTR(speed, DEV_ATTR_RW_PERM,
drivers/hwmon/adm1026.c
1007
static DEVICE_ATTR(temp1_crit_enable, 0644, show_temp_crit_enable,
drivers/hwmon/adm1026.c
1009
static DEVICE_ATTR(temp2_crit_enable, 0644, show_temp_crit_enable,
drivers/hwmon/adm1026.c
1011
static DEVICE_ATTR(temp3_crit_enable, 0644, show_temp_crit_enable,
drivers/hwmon/adm1026.c
1385
static DEVICE_ATTR(pwm2, 0644, pwm1_show, pwm1_store);
drivers/hwmon/adm1026.c
1386
static DEVICE_ATTR(pwm3, 0644, pwm1_show, pwm1_store);
drivers/hwmon/adm1026.c
1388
static DEVICE_ATTR(pwm2_enable, 0644, pwm1_enable_show,
drivers/hwmon/adm1026.c
1390
static DEVICE_ATTR(pwm3_enable, 0644, pwm1_enable_show,
drivers/hwmon/adm1026.c
1393
static DEVICE_ATTR(temp2_auto_point1_pwm, 0644,
drivers/hwmon/adm1026.c
1395
static DEVICE_ATTR(temp3_auto_point1_pwm, 0644,
drivers/hwmon/adm1026.c
1399
static DEVICE_ATTR(temp2_auto_point2_pwm, 0444, temp1_auto_point2_pwm_show,
drivers/hwmon/adm1026.c
1401
static DEVICE_ATTR(temp3_auto_point2_pwm, 0444, temp1_auto_point2_pwm_show,
drivers/hwmon/gl518sm.c
419
static DEVICE_ATTR(temp1_input, 0444, show_temp_input1, NULL);
drivers/hwmon/gl518sm.c
420
static DEVICE_ATTR(temp1_max, 0644, show_temp_max1, set_temp_max1);
drivers/hwmon/gl518sm.c
421
static DEVICE_ATTR(temp1_max_hyst, 0644,
drivers/hwmon/gl518sm.c
423
static DEVICE_ATTR(fan1_auto, 0644, show_fan_auto1, set_fan_auto1);
drivers/hwmon/gl518sm.c
430
static DEVICE_ATTR(in0_input, 0444, show_in_input0, NULL);
drivers/hwmon/gl518sm.c
431
static DEVICE_ATTR(in1_input, 0444, show_in_input1, NULL);
drivers/hwmon/gl518sm.c
432
static DEVICE_ATTR(in2_input, 0444, show_in_input2, NULL);
drivers/hwmon/gl518sm.c
433
static DEVICE_ATTR(in3_input, 0444, show_in_input3, NULL);
drivers/hwmon/gl518sm.c
434
static DEVICE_ATTR(in0_min, 0644, show_in_min0, set_in_min0);
drivers/hwmon/gl518sm.c
435
static DEVICE_ATTR(in1_min, 0644, show_in_min1, set_in_min1);
drivers/hwmon/gl518sm.c
436
static DEVICE_ATTR(in2_min, 0644, show_in_min2, set_in_min2);
drivers/hwmon/gl518sm.c
437
static DEVICE_ATTR(in3_min, 0644, show_in_min3, set_in_min3);
drivers/hwmon/gl518sm.c
438
static DEVICE_ATTR(in0_max, 0644, show_in_max0, set_in_max0);
drivers/hwmon/gl518sm.c
439
static DEVICE_ATTR(in1_max, 0644, show_in_max1, set_in_max1);
drivers/hwmon/gl518sm.c
440
static DEVICE_ATTR(in2_max, 0644, show_in_max2, set_in_max2);
drivers/hwmon/gl518sm.c
441
static DEVICE_ATTR(in3_max, 0644, show_in_max3, set_in_max3);
drivers/hwmon/gl518sm.c
442
static DEVICE_ATTR(alarms, 0444, show_alarms, NULL);
drivers/hwmon/gl518sm.c
443
static DEVICE_ATTR(beep_enable, 0644,
drivers/hwmon/gl518sm.c
445
static DEVICE_ATTR(beep_mask, 0644,
drivers/hwmon/gpio-fan.c
320
static DEVICE_ATTR(fan1_target, 0644, fan1_input_show, set_rpm);
drivers/hwmon/lm87.c
466
static DEVICE_ATTR(temp3_crit, 0444, temp2_crit_show, NULL);
drivers/hwmon/pcf8591.c
86
static DEVICE_ATTR(in##channel##_input, S_IRUGO, \
drivers/hwmon/vexpress-hwmon.c
107
static DEVICE_ATTR(curr1_label, 0444, vexpress_hwmon_label_show, NULL);
drivers/hwmon/vexpress-hwmon.c
126
static DEVICE_ATTR(temp1_label, 0444, vexpress_hwmon_label_show, NULL);
drivers/hwmon/vexpress-hwmon.c
145
static DEVICE_ATTR(power1_label, 0444, vexpress_hwmon_label_show, NULL);
drivers/hwmon/vexpress-hwmon.c
164
static DEVICE_ATTR(energy1_label, 0444, vexpress_hwmon_label_show, NULL);
drivers/hwmon/vexpress-hwmon.c
87
static DEVICE_ATTR(in1_label, 0444, vexpress_hwmon_label_show, NULL);
drivers/iio/light/lm3533-als.c
654
DEVICE_ATTR(in_illuminance0_##_name, S_IRUGO, show_##_name, NULL)
drivers/iio/light/lm3533-als.c
656
DEVICE_ATTR(in_illuminance0_##_name, 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/input/gameport/gameport.c
465
static DEVICE_ATTR(description, S_IRUGO, gameport_description_show, NULL);
drivers/input/input-poller.c
179
static DEVICE_ATTR(poll, 0644,
drivers/input/input-poller.c
190
static DEVICE_ATTR(max, 0444, input_dev_get_poll_max, NULL);
drivers/input/input-poller.c
200
static DEVICE_ATTR(min, 0444, input_dev_get_poll_min, NULL);
drivers/input/input.c
1263
static DEVICE_ATTR(name, S_IRUGO, input_dev_show_##name, NULL)
drivers/input/input.c
1383
static DEVICE_ATTR(modalias, S_IRUGO, input_dev_show_modalias, NULL);
drivers/input/input.c
1397
static DEVICE_ATTR(properties, S_IRUGO, input_dev_show_properties, NULL);
drivers/input/input.c
1457
static DEVICE_ATTR(name, S_IRUGO, input_dev_show_id_##name, NULL)
drivers/input/input.c
1517
static DEVICE_ATTR(bm, S_IRUGO, input_dev_show_cap_##bm, NULL)
drivers/input/keyboard/gpio_keys.c
315
static DEVICE_ATTR(keys, S_IRUGO, gpio_keys_show_keys, NULL);
drivers/input/keyboard/gpio_keys.c
316
static DEVICE_ATTR(switches, S_IRUGO, gpio_keys_show_switches, NULL);
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/lm8323.c
543
static DEVICE_ATTR(time, 0644, lm8323_pwm_show_time, lm8323_pwm_store_time);
drivers/input/keyboard/lm8323.c
613
static DEVICE_ATTR(disable_kp, 0644, lm8323_show_disable, lm8323_set_disable);
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/adxl34x.c
481
static DEVICE_ATTR(disable, 0664, adxl34x_disable_show, adxl34x_disable_store);
drivers/input/misc/adxl34x.c
525
static DEVICE_ATTR(calibrate, 0664,
drivers/input/misc/adxl34x.c
558
static DEVICE_ATTR(rate, 0664, adxl34x_rate_show, adxl34x_rate_store);
drivers/input/misc/adxl34x.c
594
static DEVICE_ATTR(autosleep, 0664,
drivers/input/misc/adxl34x.c
608
static DEVICE_ATTR(position, S_IRUGO, adxl34x_position_show, NULL);
drivers/input/misc/adxl34x.c
632
static DEVICE_ATTR(write, 0664, NULL, adxl34x_write_store);
drivers/input/misc/ati_remote2.c
752
static DEVICE_ATTR(channel_mask, 0644, ati_remote2_show_channel_mask,
drivers/input/misc/ati_remote2.c
755
static DEVICE_ATTR(mode_mask, 0644, ati_remote2_show_mode_mask,
drivers/input/misc/axp20x-pek.c
186
static DEVICE_ATTR(startup, 0644, axp20x_show_attr_startup,
drivers/input/misc/axp20x-pek.c
188
static DEVICE_ATTR(shutdown, 0644, axp20x_show_attr_shutdown,
drivers/input/misc/ideapad_slidebar.c
182
static DEVICE_ATTR(slidebar_mode, S_IWUSR | S_IRUGO,
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
1208
static DEVICE_ATTR(update_firmware_status, S_IRUGO,
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/kxtj9.c
331
static DEVICE_ATTR(poll, S_IRUGO|S_IWUSR, kxtj9_get_poll, kxtj9_set_poll);
drivers/input/misc/yealink.c
736
static DEVICE_ATTR(map_seg7 , _M664, show_map , store_map );
drivers/input/misc/yealink.c
737
static DEVICE_ATTR(line1 , _M664, show_line1 , store_line1 );
drivers/input/misc/yealink.c
738
static DEVICE_ATTR(line2 , _M664, show_line2 , store_line2 );
drivers/input/misc/yealink.c
739
static DEVICE_ATTR(line3 , _M664, show_line3 , store_line3 );
drivers/input/misc/yealink.c
740
static DEVICE_ATTR(get_icons , _M444, get_icons , NULL );
drivers/input/misc/yealink.c
741
static DEVICE_ATTR(show_icon , _M220, NULL , show_icon );
drivers/input/misc/yealink.c
742
static DEVICE_ATTR(hide_icon , _M220, NULL , hide_icon );
drivers/input/misc/yealink.c
743
static DEVICE_ATTR(ringtone , _M220, NULL , store_ringtone);
drivers/input/mouse/cyapa.c
1216
static DEVICE_ATTR(firmware_version, S_IRUGO, cyapa_show_fm_ver, NULL);
drivers/input/mouse/cyapa.c
1217
static DEVICE_ATTR(product_id, S_IRUGO, cyapa_show_product_id, NULL);
drivers/input/mouse/cyapa.c
1218
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, cyapa_update_fw_store);
drivers/input/mouse/cyapa.c
1219
static DEVICE_ATTR(baseline, S_IRUGO, cyapa_show_baseline, NULL);
drivers/input/mouse/cyapa.c
1220
static DEVICE_ATTR(calibrate, S_IWUSR, NULL, cyapa_calibrate_store);
drivers/input/mouse/cyapa.c
1221
static DEVICE_ATTR(mode, S_IRUGO, cyapa_show_mode, NULL);
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
759
static DEVICE_ATTR(product_id, S_IRUGO, elan_sysfs_read_product_id, NULL);
drivers/input/mouse/elan_i2c_core.c
760
static DEVICE_ATTR(firmware_version, S_IRUGO, elan_sysfs_read_fw_ver, NULL);
drivers/input/mouse/elan_i2c_core.c
761
static DEVICE_ATTR(sample_version, S_IRUGO, elan_sysfs_read_sm_ver, NULL);
drivers/input/mouse/elan_i2c_core.c
762
static DEVICE_ATTR(iap_version, S_IRUGO, elan_sysfs_read_iap_ver, NULL);
drivers/input/mouse/elan_i2c_core.c
763
static DEVICE_ATTR(fw_checksum, S_IRUGO, elan_sysfs_read_fw_checksum, NULL);
drivers/input/mouse/elan_i2c_core.c
764
static DEVICE_ATTR(mode, S_IRUGO, elan_sysfs_read_mode, NULL);
drivers/input/mouse/elan_i2c_core.c
765
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, elan_sysfs_update_fw);
drivers/input/rmi4/rmi_f01.c
273
static DEVICE_ATTR(manufacturer_id, 0444,
drivers/input/rmi4/rmi_f01.c
285
static DEVICE_ATTR(date_of_manufacture, 0444, rmi_driver_dom_show, NULL);
drivers/input/rmi4/rmi_f01.c
297
static DEVICE_ATTR(product_id, 0444, rmi_driver_product_id_show, NULL);
drivers/input/rmi4/rmi_f01.c
309
static DEVICE_ATTR(firmware_id, 0444, rmi_driver_firmware_id_show, NULL);
drivers/input/rmi4/rmi_f01.c
324
static DEVICE_ATTR(package_id, 0444, rmi_driver_package_id_show, NULL);
drivers/input/rmi4/rmi_f34.c
319
static DEVICE_ATTR(bootloader_id, 0444, rmi_driver_bootloader_id_show, NULL);
drivers/input/rmi4/rmi_f34.c
341
static DEVICE_ATTR(configuration_id, 0444,
drivers/input/rmi4/rmi_f34.c
480
static DEVICE_ATTR(update_fw, 0200, NULL, rmi_driver_update_fw_store);
drivers/input/rmi4/rmi_f34.c
503
static DEVICE_ATTR(update_fw_status, 0444,
drivers/input/serio/serio.c
433
static DEVICE_ATTR(description, S_IRUGO, serio_show_description, NULL);
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
1049
static DEVICE_ATTR(size, S_IRUGO, show_tabletSize, NULL);
drivers/input/tablet/aiptek.c
1083
static DEVICE_ATTR(pointer_mode,
drivers/input/tablet/aiptek.c
1119
static DEVICE_ATTR(coordinate_mode,
drivers/input/tablet/aiptek.c
1160
static DEVICE_ATTR(tool_mode,
drivers/input/tablet/aiptek.c
1202
static DEVICE_ATTR(xtilt,
drivers/input/tablet/aiptek.c
1243
static DEVICE_ATTR(ytilt,
drivers/input/tablet/aiptek.c
1271
static DEVICE_ATTR(jitter,
drivers/input/tablet/aiptek.c
1300
static DEVICE_ATTR(delay,
drivers/input/tablet/aiptek.c
1315
static DEVICE_ATTR(event_count, S_IRUGO, show_tabletEventsReceived, NULL);
drivers/input/tablet/aiptek.c
1354
static DEVICE_ATTR(diagnostic, S_IRUGO, show_tabletDiagnosticMessage, NULL);
drivers/input/tablet/aiptek.c
1388
static DEVICE_ATTR(stylus_upper,
drivers/input/tablet/aiptek.c
1418
static DEVICE_ATTR(stylus_lower,
drivers/input/tablet/aiptek.c
1455
static DEVICE_ATTR(mouse_left,
drivers/input/tablet/aiptek.c
1484
static DEVICE_ATTR(mouse_middle,
drivers/input/tablet/aiptek.c
1513
static DEVICE_ATTR(mouse_right,
drivers/input/tablet/aiptek.c
1546
static DEVICE_ATTR(wheel,
drivers/input/tablet/aiptek.c
1578
static DEVICE_ATTR(execute,
drivers/input/tablet/aiptek.c
1592
static DEVICE_ATTR(odm_code, S_IRUGO, show_tabletODMCode, NULL);
drivers/input/tablet/aiptek.c
1605
static DEVICE_ATTR(model_code, S_IRUGO, show_tabletModelCode, NULL);
drivers/input/tablet/aiptek.c
1618
static DEVICE_ATTR(firmware_code, S_IRUGO, show_firmwareCode, NULL);
drivers/input/touchscreen/ad7877.c
452
static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL);
drivers/input/touchscreen/ad7877.c
490
static DEVICE_ATTR(disable, 0664, ad7877_disable_show, ad7877_disable_store);
drivers/input/touchscreen/ad7877.c
520
static DEVICE_ATTR(dac, 0664, ad7877_dac_show, ad7877_dac_store);
drivers/input/touchscreen/ad7877.c
551
static DEVICE_ATTR(gpio3, 0664, ad7877_gpio3_show, ad7877_gpio3_store);
drivers/input/touchscreen/ad7877.c
582
static DEVICE_ATTR(gpio4, 0664, ad7877_gpio4_show, ad7877_gpio4_store);
drivers/input/touchscreen/ad7879.c
384
static DEVICE_ATTR(disable, 0664, ad7879_disable_show, ad7879_disable_store);
drivers/input/touchscreen/ads7846.c
486
static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL);
drivers/input/touchscreen/ads7846.c
607
static DEVICE_ATTR(pen_down, S_IRUGO, ads7846_pen_down_show, NULL);
drivers/input/touchscreen/ads7846.c
637
static DEVICE_ATTR(disable, 0664, ads7846_disable_show, ads7846_disable_store);
drivers/input/touchscreen/atmel_mxt_ts.c
3060
static DEVICE_ATTR(fw_version, S_IRUGO, mxt_fw_version_show, NULL);
drivers/input/touchscreen/atmel_mxt_ts.c
3061
static DEVICE_ATTR(hw_version, S_IRUGO, mxt_hw_version_show, NULL);
drivers/input/touchscreen/atmel_mxt_ts.c
3062
static DEVICE_ATTR(object, S_IRUGO, mxt_object_show, NULL);
drivers/input/touchscreen/atmel_mxt_ts.c
3063
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, mxt_update_fw_store);
drivers/input/touchscreen/elants_i2c.c
1249
static DEVICE_ATTR(iap_mode, S_IRUGO, show_iap_mode, NULL);
drivers/input/touchscreen/elants_i2c.c
1250
static DEVICE_ATTR(calibration_count, S_IRUGO, show_calibration_count, NULL);
drivers/input/touchscreen/elants_i2c.c
1251
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, write_update_fw);
drivers/input/touchscreen/hideep.c
951
static DEVICE_ATTR(version, 0664, hideep_fw_version_show, NULL);
drivers/input/touchscreen/hideep.c
952
static DEVICE_ATTR(product_id, 0664, hideep_product_id_show, NULL);
drivers/input/touchscreen/hideep.c
953
static DEVICE_ATTR(update_fw, 0664, NULL, hideep_update_fw);
drivers/input/touchscreen/ili210x.c
526
static DEVICE_ATTR(firmware_version, 0444, ili251x_firmware_version_show, NULL);
drivers/input/touchscreen/ili210x.c
539
static DEVICE_ATTR(kernel_version, 0444, ili251x_kernel_version_show, NULL);
drivers/input/touchscreen/ili210x.c
551
static DEVICE_ATTR(protocol_version, 0444, ili251x_protocol_version_show, NULL);
drivers/input/touchscreen/ili210x.c
570
static DEVICE_ATTR(mode, 0444, ili251x_mode_show, NULL);
drivers/input/touchscreen/ili210x.c
596
static DEVICE_ATTR(calibrate, S_IWUSR, NULL, ili210x_calibrate);
drivers/input/touchscreen/ili210x.c
906
static DEVICE_ATTR(firmware_update, 0200, NULL, ili210x_firmware_update_store);
drivers/input/touchscreen/melfas_mip4.c
1326
static DEVICE_ATTR(update_fw, S_IWUSR, NULL, mip4_sysfs_fw_update);
drivers/input/touchscreen/melfas_mip4.c
1348
static DEVICE_ATTR(fw_version, S_IRUGO, mip4_sysfs_read_fw_version, NULL);
drivers/input/touchscreen/melfas_mip4.c
1373
static DEVICE_ATTR(hw_version, S_IRUGO, mip4_sysfs_read_hw_version, NULL);
drivers/input/touchscreen/melfas_mip4.c
1392
static DEVICE_ATTR(product_id, S_IRUGO, mip4_sysfs_read_product_id, NULL);
drivers/input/touchscreen/melfas_mip4.c
1412
static DEVICE_ATTR(ic_name, S_IRUGO, mip4_sysfs_read_ic_name, NULL);
drivers/input/touchscreen/raydium_i2c_ts.c
1001
static DEVICE_ATTR(fw_version, S_IRUGO, raydium_i2c_fw_ver_show, NULL);
drivers/input/touchscreen/raydium_i2c_ts.c
1002
static DEVICE_ATTR(hw_version, S_IRUGO, raydium_i2c_hw_ver_show, NULL);
drivers/input/touchscreen/raydium_i2c_ts.c
1003
static DEVICE_ATTR(boot_mode, S_IRUGO, raydium_i2c_boot_mode_show, NULL);
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/input/touchscreen/s6sy761.c
283
static DEVICE_ATTR(devid, 0444, s6sy761_sysfs_devid, NULL);
drivers/input/touchscreen/stmfts.c
501
static DEVICE_ATTR(chip_id, 0444, stmfts_sysfs_chip_id, NULL);
drivers/input/touchscreen/stmfts.c
502
static DEVICE_ATTR(chip_version, 0444, stmfts_sysfs_chip_version, NULL);
drivers/input/touchscreen/stmfts.c
503
static DEVICE_ATTR(fw_ver, 0444, stmfts_sysfs_fw_ver, NULL);
drivers/input/touchscreen/stmfts.c
504
static DEVICE_ATTR(config_id, 0444, stmfts_sysfs_config_id, NULL);
drivers/input/touchscreen/stmfts.c
505
static DEVICE_ATTR(config_version, 0444, stmfts_sysfs_config_version, NULL);
drivers/input/touchscreen/stmfts.c
506
static DEVICE_ATTR(status, 0444, stmfts_sysfs_read_status, NULL);
drivers/input/touchscreen/stmfts.c
507
static DEVICE_ATTR(hover_enable, 0644, stmfts_sysfs_hover_enable_read,
drivers/input/touchscreen/sun4i-ts.c
224
static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
drivers/input/touchscreen/sun4i-ts.c
225
static DEVICE_ATTR(temp1_label, S_IRUGO, show_temp_label, NULL);
drivers/input/touchscreen/tsc200x-core.c
325
static DEVICE_ATTR(selftest, S_IRUGO, tsc200x_selftest_show, NULL);
drivers/input/touchscreen/usbtouchscreen.c
461
static DEVICE_ATTR(firmware_rev, 0444, mtouch_firmware_rev_show, NULL);
drivers/iommu/amd/init.c
2093
static DEVICE_ATTR(cap, S_IRUGO, amd_iommu_show_cap, NULL);
drivers/iommu/amd/init.c
2101
static DEVICE_ATTR(features, S_IRUGO, amd_iommu_show_features, NULL);
drivers/leds/leds-lp55xx-common.h
34
DEVICE_ATTR(name, S_IRUGO | S_IWUSR, show, store)
drivers/leds/leds-lp55xx-common.h
36
DEVICE_ATTR(name, S_IRUGO, show, NULL)
drivers/leds/leds-lp55xx-common.h
38
DEVICE_ATTR(name, S_IWUSR, NULL, store)
drivers/leds/leds-ns2.c
167
static DEVICE_ATTR(sata, 0644, ns2_led_sata_show, ns2_led_sata_store);
drivers/leds/trigger/ledtrig-activity.c
179
static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);
drivers/leds/trigger/ledtrig-backlight.c
93
static DEVICE_ATTR(inverted, 0644, bl_trig_invert_show, bl_trig_invert_store);
drivers/leds/trigger/ledtrig-heartbeat.c
120
static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);
drivers/leds/trigger/ledtrig-oneshot.c
116
static DEVICE_ATTR(delay_on, 0644, led_delay_on_show, led_delay_on_store);
drivers/leds/trigger/ledtrig-oneshot.c
117
static DEVICE_ATTR(delay_off, 0644, led_delay_off_show, led_delay_off_store);
drivers/leds/trigger/ledtrig-oneshot.c
118
static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);
drivers/leds/trigger/ledtrig-oneshot.c
119
static DEVICE_ATTR(shot, 0200, NULL, led_shot);
drivers/leds/trigger/ledtrig-timer.c
68
static DEVICE_ATTR(delay_on, 0644, led_delay_on_show, led_delay_on_store);
drivers/leds/trigger/ledtrig-timer.c
69
static DEVICE_ATTR(delay_off, 0644, led_delay_off_show, led_delay_off_store);
drivers/leds/trigger/ledtrig-transient.c
149
static DEVICE_ATTR(activate, 0644, transient_activate_show,
drivers/leds/trigger/ledtrig-transient.c
151
static DEVICE_ATTR(duration, 0644, transient_duration_show,
drivers/leds/trigger/ledtrig-transient.c
153
static DEVICE_ATTR(state, 0644, transient_state_show, transient_state_store);
drivers/macintosh/ams/ams-core.c
56
static DEVICE_ATTR(current, S_IRUGO, ams_show_current, NULL);
drivers/macintosh/ams/ams-input.c
138
static DEVICE_ATTR(joystick, S_IRUGO | S_IWUSR,
drivers/macintosh/therm_adt746x.c
392
static DEVICE_ATTR(sensor1_temperature, S_IRUGO,
drivers/macintosh/therm_adt746x.c
394
static DEVICE_ATTR(sensor2_temperature, S_IRUGO,
drivers/macintosh/therm_adt746x.c
396
static DEVICE_ATTR(sensor1_limit, S_IRUGO,
drivers/macintosh/therm_adt746x.c
398
static DEVICE_ATTR(sensor2_limit, S_IRUGO,
drivers/macintosh/therm_adt746x.c
400
static DEVICE_ATTR(sensor1_location, S_IRUGO,
drivers/macintosh/therm_adt746x.c
402
static DEVICE_ATTR(sensor2_location, 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
408
static DEVICE_ATTR(sensor1_fan_speed, S_IRUGO,
drivers/macintosh/therm_adt746x.c
410
static DEVICE_ATTR(sensor2_fan_speed, S_IRUGO,
drivers/macintosh/therm_adt746x.c
413
static DEVICE_ATTR(limit_adjust, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH,
drivers/macintosh/therm_windtunnel.c
111
static DEVICE_ATTR(cpu_temperature, S_IRUGO, show_cpu_temperature, NULL );
drivers/macintosh/therm_windtunnel.c
112
static DEVICE_ATTR(case_temperature, S_IRUGO, show_case_temperature, NULL );
drivers/media/rc/rc-main.c
1645
static DEVICE_ATTR(wakeup_protocols, 0644, show_wakeup_protocols,
drivers/memory/brcmstb_dpfe.c
206
static DEVICE_ATTR(dpfe_info, 0444, show_info, NULL);
drivers/memory/brcmstb_dpfe.c
207
static DEVICE_ATTR(dpfe_refresh, 0644, show_refresh, store_refresh);
drivers/memory/brcmstb_dpfe.c
208
static DEVICE_ATTR(dpfe_vendor, 0444, show_vendor, NULL);
drivers/memory/brcmstb_dpfe.c
209
static DEVICE_ATTR(dpfe_dram, 0444, show_dram, NULL);
drivers/message/fusion/mptscsih.c
3044
static DEVICE_ATTR(version_fw, S_IRUGO, mptscsih_version_fw_show, NULL);
drivers/message/fusion/mptscsih.c
3060
static DEVICE_ATTR(version_bios, S_IRUGO, mptscsih_version_bios_show, NULL);
drivers/message/fusion/mptscsih.c
3072
static DEVICE_ATTR(version_mpi, S_IRUGO, mptscsih_version_mpi_show, NULL);
drivers/message/fusion/mptscsih.c
3085
static DEVICE_ATTR(version_product, S_IRUGO,
drivers/message/fusion/mptscsih.c
3100
static DEVICE_ATTR(version_nvdata_persistent, S_IRUGO,
drivers/message/fusion/mptscsih.c
3113
static DEVICE_ATTR(version_nvdata_default, S_IRUGO,
drivers/message/fusion/mptscsih.c
3126
static DEVICE_ATTR(board_name, S_IRUGO, mptscsih_board_name_show, NULL);
drivers/message/fusion/mptscsih.c
3138
static DEVICE_ATTR(board_assembly, S_IRUGO,
drivers/message/fusion/mptscsih.c
3151
static DEVICE_ATTR(board_tracer, S_IRUGO,
drivers/message/fusion/mptscsih.c
3164
static DEVICE_ATTR(io_delay, S_IRUGO,
drivers/message/fusion/mptscsih.c
3177
static DEVICE_ATTR(device_delay, S_IRUGO,
drivers/message/fusion/mptscsih.c
3207
static DEVICE_ATTR(debug_level, S_IRUGO | S_IWUSR,
drivers/mfd/tps65911-comparator.c
110
static DEVICE_ATTR(comp1_threshold, S_IRUGO, comp_threshold_show, NULL);
drivers/mfd/tps65911-comparator.c
111
static DEVICE_ATTR(comp2_threshold, S_IRUGO, comp_threshold_show, NULL);
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/apds9802als.c
180
static DEVICE_ATTR(lux0_input, S_IRUGO, als_lux0_input_data_show, NULL);
drivers/misc/apds990x.c
1015
static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR,
drivers/misc/apds990x.c
1027
static DEVICE_ATTR(chip_id, S_IRUGO, apds990x_chip_id_show, NULL);
drivers/misc/apds990x.c
651
static DEVICE_ATTR(lux0_input, S_IRUGO, apds990x_lux_show, NULL);
drivers/misc/apds990x.c
659
static DEVICE_ATTR(lux0_sensor_range, S_IRUGO, apds990x_lux_range_show, NULL);
drivers/misc/apds990x.c
667
static DEVICE_ATTR(lux0_calibscale_default, S_IRUGO,
drivers/misc/apds990x.c
695
static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, apds990x_lux_calib_show,
drivers/misc/apds990x.c
764
static DEVICE_ATTR(lux0_rate_avail, S_IRUGO, apds990x_rate_avail, NULL);
drivers/misc/apds990x.c
766
static DEVICE_ATTR(lux0_rate, S_IRUGO | S_IWUSR, apds990x_rate_show,
drivers/misc/apds990x.c
784
static DEVICE_ATTR(prox0_raw, S_IRUGO, apds990x_prox_show, NULL);
drivers/misc/apds990x.c
792
static DEVICE_ATTR(prox0_sensor_range, S_IRUGO, apds990x_prox_range_show, NULL);
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
1106
static DEVICE_ATTR(prox0_raw, S_IRUGO, bh1770_prox_result_show, NULL);
drivers/misc/bh1770glc.c
1107
static DEVICE_ATTR(prox0_sensor_range, S_IRUGO, bh1770_prox_range_show, NULL);
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
1117
static DEVICE_ATTR(prox0_rate_avail, S_IRUGO, bh1770_get_prox_rate_avail, NULL);
drivers/misc/bh1770glc.c
1119
static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, bh1770_lux_calib_show,
drivers/misc/bh1770glc.c
1121
static DEVICE_ATTR(lux0_calibscale_default, S_IRUGO,
drivers/misc/bh1770glc.c
1124
static DEVICE_ATTR(lux0_input, S_IRUGO, bh1770_lux_result_show, NULL);
drivers/misc/bh1770glc.c
1125
static DEVICE_ATTR(lux0_sensor_range, S_IRUGO, bh1770_lux_range_show, NULL);
drivers/misc/bh1770glc.c
1126
static DEVICE_ATTR(lux0_rate, S_IRUGO | S_IWUSR, bh1770_get_lux_rate,
drivers/misc/bh1770glc.c
1128
static DEVICE_ATTR(lux0_rate_avail, S_IRUGO, bh1770_get_lux_rate_avail, NULL);
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
1135
static DEVICE_ATTR(chip_id, S_IRUGO, bh1770_chip_id_show, NULL);
drivers/misc/bh1770glc.c
1136
static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR, bh1770_power_state_show,
drivers/misc/c2port/core.c
310
static DEVICE_ATTR(name, 0444, c2port_show_name, NULL);
drivers/misc/c2port/core.c
320
static DEVICE_ATTR(flash_blocks_num, 0444, c2port_show_flash_blocks_num, NULL);
drivers/misc/c2port/core.c
330
static DEVICE_ATTR(flash_block_size, 0444, c2port_show_flash_block_size, NULL);
drivers/misc/c2port/core.c
340
static DEVICE_ATTR(flash_size, 0444, c2port_show_flash_size, NULL);
drivers/misc/c2port/core.c
398
static DEVICE_ATTR(reset, 0200, NULL, c2port_store_reset);
drivers/misc/c2port/core.c
435
static DEVICE_ATTR(dev_id, 0444, c2port_show_dev_id, NULL);
drivers/misc/c2port/core.c
472
static DEVICE_ATTR(rev_id, 0444, c2port_show_rev_id, NULL);
drivers/misc/c2port/core.c
542
static DEVICE_ATTR(flash_access, 0644, c2port_show_flash_access,
drivers/misc/c2port/core.c
624
static DEVICE_ATTR(flash_erase, 0200, NULL, c2port_store_flash_erase);
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/enclosure.c
654
static DEVICE_ATTR(type, S_IRUGO, get_component_type, NULL);
drivers/misc/enclosure.c
655
static DEVICE_ATTR(slot, S_IRUGO, get_component_slot, NULL);
drivers/misc/hmc6352.c
88
static DEVICE_ATTR(heading0_input, S_IRUGO, compass_heading_data_show, NULL);
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/ics932s401.c
332
static DEVICE_ATTR(spread_enabled, S_IRUGO, show_spread_enabled, NULL);
drivers/misc/ics932s401.c
333
static DEVICE_ATTR(cpu_clock_selection, S_IRUGO, show_cpu_clock_sel, NULL);
drivers/misc/ics932s401.c
334
static DEVICE_ATTR(cpu_clock, S_IRUGO, show_cpu_clock, NULL);
drivers/misc/ics932s401.c
335
static DEVICE_ATTR(src_clock_selection, S_IRUGO, show_src_clock_sel, NULL);
drivers/misc/ics932s401.c
336
static DEVICE_ATTR(src_clock, S_IRUGO, show_src_clock, NULL);
drivers/misc/ics932s401.c
337
static DEVICE_ATTR(pci_clock_selection, S_IRUGO, show_pci_clock_sel, NULL);
drivers/misc/ics932s401.c
338
static DEVICE_ATTR(pci_clock, S_IRUGO, show_pci_clock, NULL);
drivers/misc/ics932s401.c
339
static DEVICE_ATTR(usb_clock, S_IRUGO, show_value, NULL);
drivers/misc/ics932s401.c
340
static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
drivers/misc/ics932s401.c
341
static DEVICE_ATTR(cpu_spread, S_IRUGO, show_spread, NULL);
drivers/misc/ics932s401.c
342
static DEVICE_ATTR(src_spread, S_IRUGO, show_spread, NULL);
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/isl29003.c
333
static DEVICE_ATTR(lux, S_IRUGO, isl29003_show_lux, NULL);
drivers/misc/isl29020.c
127
static DEVICE_ATTR(lux0_sensor_range, S_IRUGO | S_IWUSR,
drivers/misc/isl29020.c
129
static DEVICE_ATTR(lux0_input, S_IRUGO, als_lux_input_data_show, NULL);
drivers/misc/lis3lv02d/lis3lv02d.c
850
static DEVICE_ATTR(selftest, S_IRUSR, lis3lv02d_selftest_show, NULL);
drivers/misc/lis3lv02d/lis3lv02d.c
851
static DEVICE_ATTR(position, S_IRUGO, lis3lv02d_position_show, NULL);
drivers/misc/lis3lv02d/lis3lv02d.c
852
static DEVICE_ATTR(rate, S_IRUGO | S_IWUSR, lis3lv02d_rate_show,
drivers/misc/pch_phub.c
651
static DEVICE_ATTR(pch_mac, S_IRUGO | S_IWUSR, show_pch_mac, store_pch_mac);
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/misc/tsl2550.c
286
static DEVICE_ATTR(lux1_input, S_IRUGO,
drivers/mmc/core/block.c
299
static DEVICE_ATTR(ro_lock_until_next_power_on, 0,
drivers/mmc/core/block.c
334
static DEVICE_ATTR(force_ro, 0644, force_ro_show, force_ro_store);
drivers/mmc/core/bus.h
23
static DEVICE_ATTR(name, 0444, mmc_##name##_show, NULL)
drivers/mmc/core/mmc.c
834
static DEVICE_ATTR(fwrev, 0444, mmc_fwrev_show, NULL);
drivers/mmc/core/mmc.c
850
static DEVICE_ATTR(dsr, 0444, mmc_dsr_show, NULL);
drivers/mmc/core/sd.c
744
static DEVICE_ATTR(dsr, 0444, mmc_dsr_show, NULL);
drivers/mmc/host/omap.c
329
static DEVICE_ATTR(cover_switch, 0444, mmc_omap_show_cover_switch, NULL);
drivers/mmc/host/omap.c
341
static DEVICE_ATTR(slot_name, 0444, mmc_omap_show_slot_name, NULL);
drivers/mmc/host/omap_hsmmc.c
749
static DEVICE_ATTR(slot_name, 0444, omap_hsmmc_show_slot_name, NULL);
drivers/most/most_usb.c
883
static DEVICE_ATTR(ni_state, 0444, value_show, NULL);
drivers/most/most_usb.c
884
static DEVICE_ATTR(packet_bandwidth, 0444, value_show, NULL);
drivers/most/most_usb.c
885
static DEVICE_ATTR(node_address, 0444, value_show, NULL);
drivers/most/most_usb.c
886
static DEVICE_ATTR(node_position, 0444, value_show, NULL);
drivers/most/most_usb.c
887
static DEVICE_ATTR(sync_ep, 0200, NULL, value_store);
drivers/most/most_usb.c
888
static DEVICE_ATTR(mep_filter, 0644, value_show, value_store);
drivers/most/most_usb.c
889
static DEVICE_ATTR(mep_hash0, 0644, value_show, value_store);
drivers/most/most_usb.c
890
static DEVICE_ATTR(mep_hash1, 0644, value_show, value_store);
drivers/most/most_usb.c
891
static DEVICE_ATTR(mep_hash2, 0644, value_show, value_store);
drivers/most/most_usb.c
892
static DEVICE_ATTR(mep_hash3, 0644, value_show, value_store);
drivers/most/most_usb.c
893
static DEVICE_ATTR(mep_eui48_hi, 0644, value_show, value_store);
drivers/most/most_usb.c
894
static DEVICE_ATTR(mep_eui48_mi, 0644, value_show, value_store);
drivers/most/most_usb.c
895
static DEVICE_ATTR(mep_eui48_lo, 0644, value_show, value_store);
drivers/most/most_usb.c
896
static DEVICE_ATTR(arb_address, 0644, value_show, value_store);
drivers/most/most_usb.c
897
static DEVICE_ATTR(arb_value, 0644, value_show, value_store);
drivers/mtd/mtdcore.c
131
static DEVICE_ATTR(name, 0444, mtd_##name##_show, NULL)
drivers/mtd/mtdcore.c
134
static DEVICE_ATTR(name, 0644, mtd_##name##_show, mtd_##name##_store)
drivers/net/bonding/bond_sysfs.c
193
static DEVICE_ATTR(slaves, 0644, bonding_show_slaves,
drivers/net/bonding/bond_sysfs.c
207
static DEVICE_ATTR(mode, 0644, bonding_show_mode, bonding_sysfs_store_option);
drivers/net/bonding/bond_sysfs.c
221
static DEVICE_ATTR(xmit_hash_policy, 0644,
drivers/net/bonding/bond_sysfs.c
237
static DEVICE_ATTR(arp_validate, 0644, bonding_show_arp_validate,
drivers/net/bonding/bond_sysfs.c
253
static DEVICE_ATTR(arp_all_targets, 0644,
drivers/net/bonding/bond_sysfs.c
269
static DEVICE_ATTR(fail_over_mac, 0644,
drivers/net/bonding/bond_sysfs.c
281
static DEVICE_ATTR(arp_interval, 0644,
drivers/net/bonding/bond_sysfs.c
302
static DEVICE_ATTR(arp_ip_target, 0644,
drivers/net/bonding/bond_sysfs.c
314
static DEVICE_ATTR(arp_missed_max, 0644,
drivers/net/bonding/bond_sysfs.c
326
static DEVICE_ATTR(downdelay, 0644,
drivers/net/bonding/bond_sysfs.c
338
static DEVICE_ATTR(updelay, 0644,
drivers/net/bonding/bond_sysfs.c
350
static DEVICE_ATTR(peer_notif_delay, 0644,
drivers/net/bonding/bond_sysfs.c
365
static DEVICE_ATTR(lacp_active, 0644,
drivers/net/bonding/bond_sysfs.c
379
static DEVICE_ATTR(lacp_rate, 0644,
drivers/net/bonding/bond_sysfs.c
390
static DEVICE_ATTR(min_links, 0644,
drivers/net/bonding/bond_sysfs.c
404
static DEVICE_ATTR(ad_select, 0644,
drivers/net/bonding/bond_sysfs.c
416
static DEVICE_ATTR(num_grat_arp, 0644,
drivers/net/bonding/bond_sysfs.c
418
static DEVICE_ATTR(num_unsol_na, 0644,
drivers/net/bonding/bond_sysfs.c
430
static DEVICE_ATTR(miimon, 0644,
drivers/net/bonding/bond_sysfs.c
450
static DEVICE_ATTR(primary, 0644,
drivers/net/bonding/bond_sysfs.c
467
static DEVICE_ATTR(primary_reselect, 0644,
drivers/net/bonding/bond_sysfs.c
477
static DEVICE_ATTR(use_carrier, 0644,
drivers/net/bonding/bond_sysfs.c
498
static DEVICE_ATTR(active_slave, 0644,
drivers/net/bonding/bond_sysfs.c
511
static DEVICE_ATTR(mii_status, 0444, bonding_show_mii_status, NULL);
drivers/net/bonding/bond_sysfs.c
531
static DEVICE_ATTR(ad_aggregator, 0444, bonding_show_ad_aggregator, NULL);
drivers/net/bonding/bond_sysfs.c
552
static DEVICE_ATTR(ad_num_ports, 0444, bonding_show_ad_num_ports, NULL);
drivers/net/bonding/bond_sysfs.c
573
static DEVICE_ATTR(ad_actor_key, 0444, bonding_show_ad_actor_key, NULL);
drivers/net/bonding/bond_sysfs.c
594
static DEVICE_ATTR(ad_partner_key, 0444, bonding_show_ad_partner_key, NULL);
drivers/net/bonding/bond_sysfs.c
614
static DEVICE_ATTR(ad_partner_mac, 0444, bonding_show_ad_partner_mac, NULL);
drivers/net/bonding/bond_sysfs.c
647
static DEVICE_ATTR(queue_id, 0644, bonding_show_queue_id,
drivers/net/bonding/bond_sysfs.c
660
static DEVICE_ATTR(all_slaves_active, 0644,
drivers/net/bonding/bond_sysfs.c
672
static DEVICE_ATTR(resend_igmp, 0644,
drivers/net/bonding/bond_sysfs.c
684
static DEVICE_ATTR(lp_interval, 0644,
drivers/net/bonding/bond_sysfs.c
695
static DEVICE_ATTR(tlb_dynamic_lb, 0644,
drivers/net/bonding/bond_sysfs.c
707
static DEVICE_ATTR(packets_per_slave, 0644,
drivers/net/bonding/bond_sysfs.c
721
static DEVICE_ATTR(ad_actor_sys_prio, 0644,
drivers/net/bonding/bond_sysfs.c
736
static DEVICE_ATTR(ad_actor_system, 0644,
drivers/net/bonding/bond_sysfs.c
750
static DEVICE_ATTR(ad_user_port_key, 0644,
drivers/net/can/grcan.c
1497
static DEVICE_ATTR(name, 0644, \
drivers/net/can/softing/softing_main.c
595
static const DEVICE_ATTR(chip, 0444, show_chip, NULL);
drivers/net/can/softing/softing_main.c
596
static const DEVICE_ATTR(output, 0644, show_output, store_output);
drivers/net/can/softing/softing_main.c
695
static DEVICE_ATTR(name, 0444, show_##name, NULL)
drivers/net/can/softing/softing_main.c
704
static DEVICE_ATTR(name, 0444, show_##name, NULL)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
776
static DEVICE_ATTR(name, 0444, show_##name, NULL)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
780
static DEVICE_ATTR(name, 0644, show_##name, store_method)
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
859
static DEVICE_ATTR(name, 0644, show_##name, store_##name)
drivers/net/ethernet/natsemi/natsemi.c
659
static DEVICE_ATTR(_name, 0644, natsemi_show_##_name, natsemi_set_##_name)
drivers/net/ethernet/xilinx/ll_temac_main.c
1268
static DEVICE_ATTR(llink_regs, 0440, temac_show_llink_regs, NULL);
drivers/net/usb/cdc_ncm.c
367
static DEVICE_ATTR(name, 0444, cdc_ncm_show_##name, NULL)
drivers/net/wireless/ath/ath5k/sysfs.c
34
static DEVICE_ATTR(name, 0644, \
drivers/net/wireless/ath/ath5k/sysfs.c
46
static DEVICE_ATTR(name, 0444, ath5k_attr_show_##name, NULL)
drivers/net/wireless/ath/ath5k/sysfs.c
69
static DEVICE_ATTR(noise_immunity_level_max, 0444,
drivers/net/wireless/ath/ath5k/sysfs.c
78
static DEVICE_ATTR(firstep_level_max, 0444,
drivers/net/wireless/broadcom/b43/sysfs.c
119
static DEVICE_ATTR(interference, 0644,
drivers/net/wireless/broadcom/b43legacy/sysfs.c
139
static DEVICE_ATTR(interference, 0644,
drivers/net/wireless/broadcom/b43legacy/sysfs.c
190
static DEVICE_ATTR(shortpreamble, 0644,
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3050
static DEVICE_ATTR(debug_level, 0644, il3945_show_debug_level,
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3067
static DEVICE_ATTR(temperature, 0444, il3945_show_temperature, NULL);
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3093
static DEVICE_ATTR(tx_power, 0644, il3945_show_tx_power, il3945_store_tx_power);
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3126
static DEVICE_ATTR(flags, 0644, il3945_show_flags, il3945_store_flags);
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3161
static DEVICE_ATTR(filter_flags, 0644, il3945_show_filter_flags,
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3234
static DEVICE_ATTR(measurement, 0600, il3945_show_measurement,
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3258
static DEVICE_ATTR(retry_rate, 0600, il3945_show_retry_rate,
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3268
static DEVICE_ATTR(channels, 0400, il3945_show_channels, NULL);
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3305
static DEVICE_ATTR(antenna, 0644, il3945_show_antenna, il3945_store_antenna);
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3316
static DEVICE_ATTR(status, 0444, il3945_show_status, NULL);
drivers/net/wireless/intel/iwlegacy/3945-mac.c
3331
static DEVICE_ATTR(dump_errors, 0200, NULL, il3945_dump_error_log);
drivers/net/wireless/intel/iwlegacy/4965-mac.c
4567
static DEVICE_ATTR(debug_level, 0644, il4965_show_debug_level,
drivers/net/wireless/intel/iwlegacy/4965-mac.c
4584
static DEVICE_ATTR(temperature, 0444, il4965_show_temperature, NULL);
drivers/net/wireless/intel/iwlegacy/4965-mac.c
4620
static DEVICE_ATTR(tx_power, 0644, il4965_show_tx_power,
drivers/net/xen-netfront.c
2609
static DEVICE_ATTR(rxbuf_min, 0644, show_rxbuf, store_rxbuf);
drivers/net/xen-netfront.c
2610
static DEVICE_ATTR(rxbuf_max, 0644, show_rxbuf, store_rxbuf);
drivers/net/xen-netfront.c
2611
static DEVICE_ATTR(rxbuf_cur, 0444, show_rxbuf, NULL);
drivers/ntb/hw/idt/ntb_hw_idt.c
2052
static DEVICE_ATTR(temp1_reset_history, 0200, NULL, idt_sysfs_reset_hist);
drivers/nvdimm/namespace_devs.c
920
static DEVICE_ATTR(size, 0444, size_show, size_store);
drivers/nvdimm/region_devs.c
590
static DEVICE_ATTR(badblocks, 0444, region_badblocks_show, NULL);
drivers/nvme/host/fc.c
3800
static DEVICE_ATTR(nvme_discovery, 0200, NULL, nvme_fc_nvme_discovery_store);
drivers/nvme/host/fc.c
3858
static DEVICE_ATTR(appid_store, 0200, NULL, fc_appid_store);
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
370
static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL);
drivers/nvme/host/sysfs.c
383
static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL);
drivers/nvme/host/sysfs.c
404
static DEVICE_ATTR(delete_controller, S_IWUSR, NULL, nvme_sysfs_delete);
drivers/nvme/host/sysfs.c
414
static DEVICE_ATTR(transport, S_IRUGO, nvme_sysfs_show_transport, NULL);
drivers/nvme/host/sysfs.c
438
static DEVICE_ATTR(state, S_IRUGO, nvme_sysfs_show_state, NULL);
drivers/nvme/host/sysfs.c
448
static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL);
drivers/nvme/host/sysfs.c
458
static DEVICE_ATTR(hostnqn, S_IRUGO, nvme_sysfs_show_hostnqn, NULL);
drivers/nvme/host/sysfs.c
468
static DEVICE_ATTR(hostid, S_IRUGO, nvme_sysfs_show_hostid, NULL);
drivers/nvme/host/sysfs.c
478
static DEVICE_ATTR(address, S_IRUGO, nvme_sysfs_show_address, NULL);
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/target/fcloop.c
1667
static DEVICE_ATTR(add_local_port, 0200, NULL, fcloop_create_local_port);
drivers/nvme/target/fcloop.c
1668
static DEVICE_ATTR(del_local_port, 0200, NULL, fcloop_delete_local_port);
drivers/nvme/target/fcloop.c
1669
static DEVICE_ATTR(add_remote_port, 0200, NULL, fcloop_create_remote_port);
drivers/nvme/target/fcloop.c
1670
static DEVICE_ATTR(del_remote_port, 0200, NULL, fcloop_delete_remote_port);
drivers/nvme/target/fcloop.c
1671
static DEVICE_ATTR(add_target_port, 0200, NULL, fcloop_create_target_port);
drivers/nvme/target/fcloop.c
1672
static DEVICE_ATTR(del_target_port, 0200, NULL, fcloop_delete_target_port);
drivers/nvme/target/fcloop.c
1673
static DEVICE_ATTR(set_cmd_drop, 0200, NULL, fcloop_set_cmd_drop);
drivers/pci/hotplug/shpchp_sysfs.c
76
static DEVICE_ATTR(ctrl, S_IRUGO, show_ctrl, NULL);
drivers/pcmcia/rsrc_nonstatic.c
1128
static DEVICE_ATTR(available_resources_io, 0600, show_io_db, store_io_db);
drivers/pcmcia/rsrc_nonstatic.c
1194
static DEVICE_ATTR(available_resources_mem, 0600, show_mem_db, store_mem_db);
drivers/pcmcia/soc_common.c
728
static DEVICE_ATTR(status, S_IRUGO, show_status, NULL);
drivers/pcmcia/socket_sysfs.c
126
static DEVICE_ATTR(card_pm_state, 0644, pccard_show_card_pm_state, pccard_store_card_pm_state);
drivers/pcmcia/socket_sysfs.c
141
static DEVICE_ATTR(card_eject, 0200, NULL, pccard_store_eject);
drivers/pcmcia/socket_sysfs.c
174
static DEVICE_ATTR(card_irq_mask, 0600, pccard_show_irq_mask, pccard_store_irq_mask);
drivers/pcmcia/socket_sysfs.c
202
static DEVICE_ATTR(available_resources_setup_done, 0600, pccard_show_resource, pccard_store_resource);
drivers/pcmcia/socket_sysfs.c
45
static DEVICE_ATTR(card_type, 0444, pccard_show_type, NULL);
drivers/pcmcia/socket_sysfs.c
59
static DEVICE_ATTR(card_voltage, 0444, pccard_show_voltage, NULL);
drivers/pcmcia/socket_sysfs.c
69
static DEVICE_ATTR(card_vpp, 0444, pccard_show_vpp, NULL);
drivers/pcmcia/socket_sysfs.c
79
static DEVICE_ATTR(card_vcc, 0444, pccard_show_vcc, NULL);
drivers/pcmcia/socket_sysfs.c
94
static DEVICE_ATTR(card_insert, 0200, NULL, pccard_store_insert);
drivers/pcmcia/yenta_socket.c
207
static DEVICE_ATTR(yenta_registers, S_IRUSR, show_yenta_registers, NULL);
drivers/perf/hisilicon/hisi_uncore_pmu.c
52
static DEVICE_ATTR(cpumask, 0444, hisi_cpumask_sysfs_show, NULL);
drivers/perf/hisilicon/hisi_uncore_pmu.c
61
static DEVICE_ATTR(associated_cpus, 0444, hisi_associated_cpus_sysfs_show, NULL);
drivers/perf/marvell_cn10k_tad_pmu.c
264
static DEVICE_ATTR(cpumask, 0444, tad_pmu_cpumask_show, NULL);
drivers/platform/x86/asus-wmi.c
3273
static DEVICE_ATTR(temp1_input, S_IRUGO, asus_hwmon_temp1, NULL);
drivers/platform/x86/compal-laptop.c
674
static DEVICE_ATTR(fan1_input, S_IRUGO, fan_show, NULL);
drivers/platform/x86/compal-laptop.c
675
static DEVICE_ATTR(temp1_input, S_IRUGO, temp_cpu, NULL);
drivers/platform/x86/compal-laptop.c
676
static DEVICE_ATTR(temp2_input, S_IRUGO, temp_cpu_local, NULL);
drivers/platform/x86/compal-laptop.c
677
static DEVICE_ATTR(temp3_input, S_IRUGO, temp_cpu_DTS, NULL);
drivers/platform/x86/compal-laptop.c
678
static DEVICE_ATTR(temp4_input, S_IRUGO, temp_northbridge, NULL);
drivers/platform/x86/compal-laptop.c
679
static DEVICE_ATTR(temp5_input, S_IRUGO, temp_vga, NULL);
drivers/platform/x86/compal-laptop.c
680
static DEVICE_ATTR(temp6_input, S_IRUGO, temp_SKIN, NULL);
drivers/platform/x86/compal-laptop.c
681
static DEVICE_ATTR(temp1_label, S_IRUGO, label_cpu, NULL);
drivers/platform/x86/compal-laptop.c
682
static DEVICE_ATTR(temp2_label, S_IRUGO, label_cpu_local, NULL);
drivers/platform/x86/compal-laptop.c
683
static DEVICE_ATTR(temp3_label, S_IRUGO, label_cpu_DTS, NULL);
drivers/platform/x86/compal-laptop.c
684
static DEVICE_ATTR(temp4_label, S_IRUGO, label_northbridge, NULL);
drivers/platform/x86/compal-laptop.c
685
static DEVICE_ATTR(temp5_label, S_IRUGO, label_vga, NULL);
drivers/platform/x86/compal-laptop.c
686
static DEVICE_ATTR(temp6_label, S_IRUGO, label_SKIN, NULL);
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
688
static DEVICE_ATTR(pwm1_enable,
drivers/platform/x86/dell/dcdbas.h
51
DEVICE_ATTR(_name,0600,_name##_show,_name##_store);
drivers/platform/x86/dell/dcdbas.h
54
DEVICE_ATTR(_name,0400,_name##_show,NULL);
drivers/platform/x86/dell/dcdbas.h
57
DEVICE_ATTR(_name,0200,NULL,_name##_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/hdaps.c
444
static DEVICE_ATTR(position, 0444, hdaps_position_show, NULL);
drivers/platform/x86/hdaps.c
445
static DEVICE_ATTR(variance, 0444, hdaps_variance_show, NULL);
drivers/platform/x86/hdaps.c
446
static DEVICE_ATTR(temp1, 0444, hdaps_temp1_show, NULL);
drivers/platform/x86/hdaps.c
447
static DEVICE_ATTR(temp2, 0444, hdaps_temp2_show, NULL);
drivers/platform/x86/hdaps.c
448
static DEVICE_ATTR(keyboard_activity, 0444, hdaps_keyboard_activity_show, NULL);
drivers/platform/x86/hdaps.c
449
static DEVICE_ATTR(mouse_activity, 0444, hdaps_mouse_activity_show, NULL);
drivers/platform/x86/hdaps.c
450
static DEVICE_ATTR(calibrate, 0644, hdaps_calibrate_show,hdaps_calibrate_store);
drivers/platform/x86/hdaps.c
451
static DEVICE_ATTR(invert, 0644, hdaps_invert_show, hdaps_invert_store);
drivers/platform/x86/hp/tc1100-wmi.c
147
static DEVICE_ATTR(value, S_IRUGO | S_IWUSR, \
drivers/platform/x86/ibm_rtl.c
188
static DEVICE_ATTR(version, S_IRUGO, rtl_show_version, NULL);
drivers/platform/x86/ibm_rtl.c
189
static DEVICE_ATTR(state, 0600, rtl_show_state, rtl_set_state);
drivers/platform/x86/lenovo/thinkpad_acpi.c
2939
static DEVICE_ATTR(wakeup_reason, S_IRUGO, hotkey_wakeup_reason_show, NULL);
drivers/platform/x86/lenovo/thinkpad_acpi.c
2955
static DEVICE_ATTR(wakeup_hotunplug_complete, S_IRUGO,
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/lenovo/thinkpad_acpi.c
8733
static DEVICE_ATTR(fan1_input, S_IRUGO, fan_fan1_input_show, NULL);
drivers/platform/x86/lenovo/thinkpad_acpi.c
8754
static DEVICE_ATTR(fan2_input, S_IRUGO, fan_fan2_input_show, NULL);
drivers/platform/x86/msi-laptop.c
522
static DEVICE_ATTR(lcd_level, 0644, show_lcd_level, store_lcd_level);
drivers/platform/x86/msi-laptop.c
523
static DEVICE_ATTR(auto_brightness, 0644, show_auto_brightness,
drivers/platform/x86/msi-laptop.c
525
static DEVICE_ATTR(bluetooth, 0444, show_bluetooth, NULL);
drivers/platform/x86/msi-laptop.c
526
static DEVICE_ATTR(wlan, 0444, show_wlan, NULL);
drivers/platform/x86/msi-laptop.c
527
static DEVICE_ATTR(threeg, 0444, show_threeg, NULL);
drivers/platform/x86/msi-laptop.c
528
static DEVICE_ATTR(touchpad, 0444, show_touchpad, NULL);
drivers/platform/x86/msi-laptop.c
529
static DEVICE_ATTR(turbo_mode, 0444, show_turbo, NULL);
drivers/platform/x86/msi-laptop.c
530
static DEVICE_ATTR(eco_mode, 0444, show_eco, NULL);
drivers/platform/x86/msi-laptop.c
531
static DEVICE_ATTR(turbo_cooldown, 0444, show_turbo_cooldown, NULL);
drivers/platform/x86/msi-laptop.c
532
static DEVICE_ATTR(auto_fan, 0644, show_auto_fan, store_auto_fan);
drivers/platform/x86/samsung-laptop.c
701
static DEVICE_ATTR(performance_level, 0644,
drivers/platform/x86/samsung-laptop.c
779
static DEVICE_ATTR(battery_life_extender, 0644,
drivers/platform/x86/samsung-laptop.c
926
static DEVICE_ATTR(usb_charge, 0644,
drivers/platform/x86/samsung-laptop.c
991
static DEVICE_ATTR(lid_handling, 0644,
drivers/power/reset/vexpress-poweroff.c
71
static DEVICE_ATTR(active, S_IRUGO | S_IWUSR, vexpress_reset_active_show,
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
1447
static DEVICE_ATTR(reported_mode, 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/bq2415x_charger.c
1457
static DEVICE_ATTR(otg_status, S_IRUGO, bq2415x_sysfs_show_status, NULL);
drivers/power/supply/bq2415x_charger.c
1458
static DEVICE_ATTR(charge_status, S_IRUGO, bq2415x_sysfs_show_status, NULL);
drivers/power/supply/bq2415x_charger.c
1459
static DEVICE_ATTR(boost_status, S_IRUGO, bq2415x_sysfs_show_status, NULL);
drivers/power/supply/bq2415x_charger.c
1460
static DEVICE_ATTR(fault_status, S_IRUGO, bq2415x_sysfs_show_status, NULL);
drivers/power/supply/bq24257_charger.c
825
static DEVICE_ATTR(ovp_voltage, S_IRUGO, bq24257_show_ovp_voltage, NULL);
drivers/power/supply/bq24257_charger.c
826
static DEVICE_ATTR(in_dpm_voltage, S_IRUGO, bq24257_show_in_dpm_voltage, NULL);
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
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
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/lp8788-charger.c
641
static DEVICE_ATTR(charger_status, S_IRUSR, lp8788_show_charger_status, NULL);
drivers/power/supply/lp8788-charger.c
642
static DEVICE_ATTR(eoc_time, S_IRUSR, lp8788_show_eoc_time, NULL);
drivers/power/supply/lp8788-charger.c
643
static DEVICE_ATTR(eoc_level, S_IRUSR, lp8788_show_eoc_level, NULL);
drivers/power/supply/max14577_charger.c
556
static DEVICE_ATTR(fast_charge_timer, S_IRUGO | S_IWUSR,
drivers/power/supply/twl4030_charger.c
735
static DEVICE_ATTR(mode, 0644, twl4030_bci_mode_show,
drivers/ptp/ptp_sysfs.c
109
static DEVICE_ATTR(fifo, 0444, extts_fifo_show, NULL);
drivers/ptp/ptp_sysfs.c
137
static DEVICE_ATTR(period, 0220, NULL, period_store);
drivers/ptp/ptp_sysfs.c
164
static DEVICE_ATTR(pps_enable, 0220, NULL, pps_enable_store);
drivers/ptp/ptp_sysfs.c
38
static DEVICE_ATTR(name, 0444, var##_show, NULL);
drivers/ptp/ptp_sysfs.c
71
static DEVICE_ATTR(extts_enable, 0220, NULL, extts_enable_store);
drivers/rapidio/switches/idt_gen2.c
387
static DEVICE_ATTR(errlog, S_IRUGO, idtg2_show_errlog, NULL);
drivers/regulator/virtual.c
266
static DEVICE_ATTR(min_microvolts, 0664, show_min_uV, set_min_uV);
drivers/regulator/virtual.c
267
static DEVICE_ATTR(max_microvolts, 0664, show_max_uV, set_max_uV);
drivers/regulator/virtual.c
268
static DEVICE_ATTR(min_microamps, 0664, show_min_uA, set_min_uA);
drivers/regulator/virtual.c
269
static DEVICE_ATTR(max_microamps, 0664, show_max_uA, set_max_uA);
drivers/regulator/virtual.c
270
static DEVICE_ATTR(mode, 0664, show_mode, set_mode);
drivers/rtc/rtc-ab8500.c
294
static DEVICE_ATTR(rtc_calibration, S_IRUGO | S_IWUSR,
drivers/rtc/rtc-bq32k.c
239
static DEVICE_ATTR(trickle_charge_bypass, 0644,
drivers/rtc/rtc-ds1343.c
123
static DEVICE_ATTR(glitch_filter, S_IRUGO | S_IWUSR, ds1343_show_glitchfilter,
drivers/rtc/rtc-ds1343.c
186
static DEVICE_ATTR(trickle_charger, S_IRUGO, ds1343_show_tricklecharger, NULL);
drivers/rtc/rtc-ds1685.c
1017
static DEVICE_ATTR(auxbatt, S_IRUGO, ds1685_rtc_sysfs_auxbatt_show, NULL);
drivers/rtc/rtc-ds1685.c
1038
static DEVICE_ATTR(serial, S_IRUGO, ds1685_rtc_sysfs_serial_show, NULL);
drivers/rtc/rtc-ds1685.c
995
static DEVICE_ATTR(battery, S_IRUGO, ds1685_rtc_sysfs_battery_show, NULL);
drivers/rtc/rtc-isl1208.c
715
static DEVICE_ATTR(atrim, S_IRUGO, isl1208_sysfs_show_atrim, NULL);
drivers/rtc/rtc-isl1208.c
728
static DEVICE_ATTR(dtrim, S_IRUGO, isl1208_sysfs_show_dtrim, NULL);
drivers/rtc/rtc-isl1208.c
765
static DEVICE_ATTR(usr, S_IRUGO | S_IWUSR, isl1208_sysfs_show_usr,
drivers/rtc/rtc-rs5c372.c
689
static DEVICE_ATTR(trim, S_IRUGO, rs5c372_sysfs_show_trim, NULL);
drivers/rtc/rtc-rs5c372.c
702
static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL);
drivers/rtc/rtc-rx8025.c
510
static DEVICE_ATTR(clock_adjust_ppb, S_IRUGO | S_IWUSR,
drivers/rtc/rtc-x1205.c
580
static DEVICE_ATTR(atrim, S_IRUGO, x1205_sysfs_show_atrim, NULL);
drivers/rtc/rtc-x1205.c
593
static DEVICE_ATTR(dtrim, S_IRUGO, x1205_sysfs_show_dtrim, NULL);
drivers/s390/block/dasd_devmap.c
1065
static DEVICE_ATTR(readonly, 0644, dasd_ro_show, dasd_ro_store);
drivers/s390/block/dasd_devmap.c
1099
static DEVICE_ATTR(erplog, 0644, dasd_erplog_show, dasd_erplog_store);
drivers/s390/block/dasd_devmap.c
1148
static DEVICE_ATTR(use_diag, 0644, dasd_use_diag_show, dasd_use_diag_store);
drivers/s390/block/dasd_devmap.c
1197
static DEVICE_ATTR(raw_track_access, 0644, dasd_use_raw_show,
drivers/s390/block/dasd_devmap.c
1236
static DEVICE_ATTR(safe_offline, 0200, NULL, dasd_safe_offline_store);
drivers/s390/block/dasd_devmap.c
1264
static DEVICE_ATTR(host_access_count, 0444, dasd_access_show, NULL);
drivers/s390/block/dasd_devmap.c
1290
static DEVICE_ATTR(discipline, 0444, dasd_discipline_show, NULL);
drivers/s390/block/dasd_devmap.c
1330
static DEVICE_ATTR(status, 0444, dasd_device_status_show, NULL);
drivers/s390/block/dasd_devmap.c
1355
static DEVICE_ATTR(alias, 0444, dasd_alias_show, NULL);
drivers/s390/block/dasd_devmap.c
1378
static DEVICE_ATTR(vendor, 0444, dasd_vendor_show, NULL);
drivers/s390/block/dasd_devmap.c
1422
static DEVICE_ATTR(uid, 0444, dasd_uid_show, NULL);
drivers/s390/block/dasd_devmap.c
1466
static DEVICE_ATTR(eer_enabled, 0644, dasd_eer_show, dasd_eer_store);
drivers/s390/block/dasd_devmap.c
1507
static DEVICE_ATTR(aq_mask, 0644, dasd_aq_mask_show, dasd_aq_mask_store);
drivers/s390/block/dasd_devmap.c
1542
static DEVICE_ATTR(aq_requeue, 0644, dasd_aqr_show, dasd_aqr_store);
drivers/s390/block/dasd_devmap.c
1587
static DEVICE_ATTR(aq_timeouts, 0644, dasd_aq_timeouts_show,
drivers/s390/block/dasd_devmap.c
1631
static DEVICE_ATTR(expires, 0644, dasd_expires_show, dasd_expires_store);
drivers/s390/block/dasd_devmap.c
1671
static DEVICE_ATTR(retries, 0644, dasd_retries_show, dasd_retries_store);
drivers/s390/block/dasd_devmap.c
1716
static DEVICE_ATTR(timeout, 0644,
drivers/s390/block/dasd_devmap.c
1741
static DEVICE_ATTR(path_reset, 0200, NULL, dasd_path_reset_store);
drivers/s390/block/dasd_devmap.c
1761
static DEVICE_ATTR(hpf, 0444, dasd_hpf_show, NULL);
drivers/s390/block/dasd_devmap.c
1801
static DEVICE_ATTR(reservation_policy, 0644,
drivers/s390/block/dasd_devmap.c
1847
static DEVICE_ATTR(last_known_reservation_state, 0644,
drivers/s390/block/dasd_devmap.c
1872
static DEVICE_ATTR(path_masks, 0444, dasd_pm_show, NULL);
drivers/s390/block/dasd_devmap.c
1914
static DEVICE_ATTR(path_threshold, 0644, dasd_path_threshold_show,
drivers/s390/block/dasd_devmap.c
1954
static DEVICE_ATTR(path_autodisable, 0644,
drivers/s390/block/dasd_devmap.c
2002
static DEVICE_ATTR(path_interval, 0644, dasd_path_interval_show,
drivers/s390/block/dasd_devmap.c
2025
static DEVICE_ATTR(fc_security, 0444, dasd_device_fcs_show, NULL);
drivers/s390/block/dasd_devmap.c
2313
static DEVICE_ATTR(copy_pair, 0644, dasd_copy_pair_show,
drivers/s390/block/dasd_devmap.c
2350
static DEVICE_ATTR(copy_role, 0444, dasd_copy_role_show, NULL);
drivers/s390/block/dasd_devmap.c
2384
static DEVICE_ATTR(ping, 0200, NULL, dasd_device_ping);
drivers/s390/block/dasd_devmap.c
2403
static DEVICE_ATTR(_name, 0444, dasd_##_name##_show, NULL); \
drivers/s390/block/dasd_devmap.c
995
static DEVICE_ATTR(failfast, 0644, dasd_ff_show, dasd_ff_store);
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
521
static DEVICE_ATTR(seglist, S_IRUSR, dcssblk_seglist_show, NULL);
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/tape_core.c
102
DEVICE_ATTR(medium_state, 0444, tape_medium_state_show, NULL);
drivers/s390/char/tape_core.c
114
DEVICE_ATTR(first_minor, 0444, tape_first_minor_show, NULL);
drivers/s390/char/tape_core.c
127
DEVICE_ATTR(state, 0444, tape_state_show, NULL);
drivers/s390/char/tape_core.c
154
DEVICE_ATTR(operation, 0444, tape_operation_show, NULL);
drivers/s390/char/tape_core.c
167
DEVICE_ATTR(blocksize, 0444, tape_blocksize_show, NULL);
drivers/s390/char/vmlogrdr.c
538
static DEVICE_ATTR(autopurge, 0644, vmlogrdr_autopurge_show,
drivers/s390/char/vmlogrdr.c
579
static DEVICE_ATTR(purge, 0200, NULL, vmlogrdr_purge_store);
drivers/s390/char/vmlogrdr.c
612
static DEVICE_ATTR(autorecording, 0644, vmlogrdr_autorecording_show,
drivers/s390/char/vmlogrdr.c
641
static DEVICE_ATTR(recording, 0200, NULL, vmlogrdr_recording_store);
drivers/s390/char/vmur.c
352
static DEVICE_ATTR(reclen, 0444, ur_attr_reclen_show, NULL);
drivers/s390/cio/ccwgroup.c
196
static DEVICE_ATTR(ungroup, 0200, NULL, ccwgroup_ungroup_store);
drivers/s390/cio/ccwgroup.c
197
static DEVICE_ATTR(online, 0644, ccwgroup_online_show, ccwgroup_online_store);
drivers/s390/cio/chp.c
280
static DEVICE_ATTR(status, 0644, chp_status_show, chp_status_write);
drivers/s390/cio/chp.c
317
static DEVICE_ATTR(configure, 0644, chp_configure_show, chp_configure_write);
drivers/s390/cio/chp.c
331
static DEVICE_ATTR(type, 0444, chp_type_show, NULL);
drivers/s390/cio/chp.c
345
static DEVICE_ATTR(cmg, 0444, chp_cmg_show, NULL);
drivers/s390/cio/chp.c
359
static DEVICE_ATTR(shared, 0444, chp_shared_show, NULL);
drivers/s390/cio/chp.c
376
static DEVICE_ATTR(chid, 0444, chp_chid_show, NULL);
drivers/s390/cio/chp.c
393
static DEVICE_ATTR(chid_external, 0444, chp_chid_external_show, NULL);
drivers/s390/cio/chp.c
407
static DEVICE_ATTR(esc, 0444, chp_esc_show, NULL);
drivers/s390/cio/cmf.c
1015
static DEVICE_ATTR(name, 0444, show_##name, NULL);
drivers/s390/cio/cmf.c
1021
static DEVICE_ATTR(avg_##name, 0444, show_avg_##name, NULL);
drivers/s390/cio/cmf.c
1033
static DEVICE_ATTR(avg_sample_interval, 0444, cmb_show_avg_sample_interval,
drivers/s390/cio/cmf.c
1035
static DEVICE_ATTR(avg_utilization, 0444, cmb_show_avg_utilization, NULL);
drivers/s390/cio/device.c
594
static DEVICE_ATTR(availability, 0444, available_show, NULL);
drivers/s390/cio/device.c
595
static DEVICE_ATTR(logging, 0200, NULL, initiate_logging);
drivers/s390/cio/scm.c
100
static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL);
drivers/s390/net/ctcm_sysfs.c
190
static DEVICE_ATTR(buffer, 0644, ctcm_buffer_show, ctcm_buffer_write);
drivers/s390/net/ctcm_sysfs.c
191
static DEVICE_ATTR(protocol, 0644, ctcm_proto_show, ctcm_proto_store);
drivers/s390/net/ctcm_sysfs.c
192
static DEVICE_ATTR(type, 0444, ctcm_type_show, NULL);
drivers/s390/net/ctcm_sysfs.c
193
static DEVICE_ATTR(stats, 0644, stats_show, stats_write);
drivers/s390/net/qeth_core_sys.c
131
static DEVICE_ATTR(portno, 0644, qeth_dev_portno_show, qeth_dev_portno_store);
drivers/s390/net/qeth_core_sys.c
149
static DEVICE_ATTR(portname, 0644, qeth_dev_portname_show,
drivers/s390/net/qeth_core_sys.c
236
static DEVICE_ATTR(priority_queueing, 0644, qeth_dev_prioqing_show,
drivers/s390/net/qeth_core_sys.c
272
static DEVICE_ATTR(buffer_count, 0644, qeth_dev_bufcnt_show,
drivers/s390/net/qeth_core_sys.c
295
static DEVICE_ATTR(recover, 0200, NULL, qeth_dev_recover_store);
drivers/s390/net/qeth_core_sys.c
329
static DEVICE_ATTR(performance_stats, 0644, qeth_dev_performance_stats_show,
drivers/s390/net/qeth_core_sys.c
37
static DEVICE_ATTR(state, 0444, qeth_dev_state_show, NULL);
drivers/s390/net/qeth_core_sys.c
398
static DEVICE_ATTR(layer2, 0644, qeth_dev_layer2_show,
drivers/s390/net/qeth_core_sys.c
461
static DEVICE_ATTR(isolation, 0644, qeth_dev_isolation_show,
drivers/s390/net/qeth_core_sys.c
47
static DEVICE_ATTR(chpid, 0444, qeth_dev_chpid_show, NULL);
drivers/s390/net/qeth_core_sys.c
495
static DEVICE_ATTR(switch_attrs, 0444,
drivers/s390/net/qeth_core_sys.c
551
static DEVICE_ATTR(hw_trap, 0644, qeth_hw_trap_show,
drivers/s390/net/qeth_core_sys.c
57
static DEVICE_ATTR(if_name, 0444, qeth_dev_if_name_show, NULL);
drivers/s390/net/qeth_core_sys.c
593
static DEVICE_ATTR(total, 0644, qeth_dev_blkt_total_show,
drivers/s390/net/qeth_core_sys.c
613
static DEVICE_ATTR(inter, 0644, qeth_dev_blkt_inter_show,
drivers/s390/net/qeth_core_sys.c
633
static DEVICE_ATTR(inter_jumbo, 0644, qeth_dev_blkt_inter_jumbo_show,
drivers/s390/net/qeth_core_sys.c
67
static DEVICE_ATTR(card_type, 0444, qeth_dev_card_type_show, NULL);
drivers/s390/net/qeth_core_sys.c
91
static DEVICE_ATTR(inbuf_size, 0444, qeth_dev_inbuf_size_show, NULL);
drivers/s390/net/qeth_l2_sys.c
111
static DEVICE_ATTR(bridge_role, 0644, qeth_bridge_port_role_show,
drivers/s390/net/qeth_l2_sys.c
125
static DEVICE_ATTR(bridge_state, 0444, qeth_bridge_port_state_show,
drivers/s390/net/qeth_l2_sys.c
172
static DEVICE_ATTR(bridge_hostnotify, 0644,
drivers/s390/net/qeth_l2_sys.c
234
static DEVICE_ATTR(bridge_reflect_promisc, 0644,
drivers/s390/net/qeth_l2_sys.c
348
static DEVICE_ATTR(flooding, 0644, qeth_vnicc_char_show, qeth_vnicc_char_store);
drivers/s390/net/qeth_l2_sys.c
349
static DEVICE_ATTR(mcast_flooding, 0644, qeth_vnicc_char_show,
drivers/s390/net/qeth_l2_sys.c
351
static DEVICE_ATTR(learning, 0644, qeth_vnicc_char_show, qeth_vnicc_char_store);
drivers/s390/net/qeth_l2_sys.c
352
static DEVICE_ATTR(learning_timeout, 0644, qeth_vnicc_timeout_show,
drivers/s390/net/qeth_l2_sys.c
354
static DEVICE_ATTR(takeover_setvmac, 0644, qeth_vnicc_char_show,
drivers/s390/net/qeth_l2_sys.c
356
static DEVICE_ATTR(takeover_learning, 0644, qeth_vnicc_char_show,
drivers/s390/net/qeth_l2_sys.c
358
static DEVICE_ATTR(bridge_invisible, 0644, qeth_vnicc_char_show,
drivers/s390/net/qeth_l2_sys.c
360
static DEVICE_ATTR(rx_bcast, 0644, qeth_vnicc_char_show, qeth_vnicc_char_store);
drivers/s390/net/qeth_l3_sys.c
113
static DEVICE_ATTR(route4, 0644, qeth_l3_dev_route4_show,
drivers/s390/net/qeth_l3_sys.c
133
static DEVICE_ATTR(route6, 0644, qeth_l3_dev_route6_show,
drivers/s390/net/qeth_l3_sys.c
189
static DEVICE_ATTR(sniffer, 0644, qeth_l3_dev_sniffer_show,
drivers/s390/net/qeth_l3_sys.c
267
static DEVICE_ATTR(hsuid, 0644, qeth_l3_dev_hsuid_show,
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
615
static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_scsi_##_name##_show, NULL);
drivers/s390/scsi/zfcp_sysfs.c
630
static DEVICE_ATTR(fcp_lun, S_IRUGO, zfcp_sysfs_scsi_fcp_lun_show, NULL);
drivers/s390/scsi/zfcp_sysfs.c
664
static DEVICE_ATTR(zfcp_failed, S_IWUSR | S_IRUGO,
drivers/s390/scsi/zfcp_sysfs.c
722
static DEVICE_ATTR(utilization, S_IRUGO, zfcp_sysfs_adapter_util_show, NULL);
drivers/s390/scsi/zfcp_sysfs.c
762
static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_adapter_##_name##_show, NULL);
drivers/s390/scsi/zfcp_sysfs.c
792
static DEVICE_ATTR(queue_full, S_IRUGO, zfcp_sysfs_adapter_q_full_show, NULL);
drivers/scsi/aic94xx/aic94xx_init.c
256
static DEVICE_ATTR(aic_revision, S_IRUGO, asd_show_dev_rev, NULL);
drivers/scsi/aic94xx/aic94xx_init.c
264
static DEVICE_ATTR(bios_build, S_IRUGO, asd_show_dev_bios_build, NULL);
drivers/scsi/aic94xx/aic94xx_init.c
272
static DEVICE_ATTR(pcba_sn, S_IRUGO, asd_show_dev_pcba_sn, NULL);
drivers/scsi/aic94xx/aic94xx_init.c
446
static DEVICE_ATTR(update_bios, S_IRUGO|S_IWUSR,
drivers/scsi/arcmsr/arcmsr_attr.c
379
static DEVICE_ATTR(host_driver_version, S_IRUGO, arcmsr_attr_host_driver_version, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
380
static DEVICE_ATTR(host_driver_posted_cmd, S_IRUGO, arcmsr_attr_host_driver_posted_cmd, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
381
static DEVICE_ATTR(host_driver_reset, S_IRUGO, arcmsr_attr_host_driver_reset, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
382
static DEVICE_ATTR(host_driver_abort, S_IRUGO, arcmsr_attr_host_driver_abort, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
383
static DEVICE_ATTR(host_fw_model, S_IRUGO, arcmsr_attr_host_fw_model, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
384
static DEVICE_ATTR(host_fw_version, S_IRUGO, arcmsr_attr_host_fw_version, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
385
static DEVICE_ATTR(host_fw_request_len, S_IRUGO, arcmsr_attr_host_fw_request_len, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
386
static DEVICE_ATTR(host_fw_numbers_queue, S_IRUGO, arcmsr_attr_host_fw_numbers_queue, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
387
static DEVICE_ATTR(host_fw_sdram_size, S_IRUGO, arcmsr_attr_host_fw_sdram_size, NULL);
drivers/scsi/arcmsr/arcmsr_attr.c
388
static DEVICE_ATTR(host_fw_hd_channels, S_IRUGO, arcmsr_attr_host_fw_hd_channels, NULL);
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/be2iscsi/be_main.c
158
static DEVICE_ATTR(beiscsi_drvr_ver, S_IRUGO, beiscsi_drvr_ver_disp, NULL);
drivers/scsi/be2iscsi/be_main.c
159
static DEVICE_ATTR(beiscsi_adapter_family, S_IRUGO, beiscsi_adap_family_disp, NULL);
drivers/scsi/be2iscsi/be_main.c
160
static DEVICE_ATTR(beiscsi_fw_ver, S_IRUGO, beiscsi_fw_ver_disp, NULL);
drivers/scsi/be2iscsi/be_main.c
161
static DEVICE_ATTR(beiscsi_phys_port, S_IRUGO, beiscsi_phys_port_disp, NULL);
drivers/scsi/be2iscsi/be_main.c
162
static DEVICE_ATTR(beiscsi_active_session_count, S_IRUGO,
drivers/scsi/be2iscsi/be_main.c
164
static DEVICE_ATTR(beiscsi_free_session_count, S_IRUGO,
drivers/scsi/bfa/bfad_attr.c
922
static DEVICE_ATTR(serial_number, S_IRUGO,
drivers/scsi/bfa/bfad_attr.c
924
static DEVICE_ATTR(model, S_IRUGO, bfad_im_model_show, NULL);
drivers/scsi/bfa/bfad_attr.c
925
static DEVICE_ATTR(model_description, S_IRUGO,
drivers/scsi/bfa/bfad_attr.c
927
static DEVICE_ATTR(node_name, S_IRUGO, bfad_im_node_name_show, NULL);
drivers/scsi/bfa/bfad_attr.c
928
static DEVICE_ATTR(symbolic_name, S_IRUGO,
drivers/scsi/bfa/bfad_attr.c
930
static DEVICE_ATTR(hardware_version, S_IRUGO,
drivers/scsi/bfa/bfad_attr.c
934
static DEVICE_ATTR(option_rom_version, S_IRUGO,
drivers/scsi/bfa/bfad_attr.c
936
static DEVICE_ATTR(firmware_version, S_IRUGO,
drivers/scsi/bfa/bfad_attr.c
938
static DEVICE_ATTR(number_of_ports, S_IRUGO,
drivers/scsi/bfa/bfad_attr.c
941
static DEVICE_ATTR(number_of_discovered_ports, S_IRUGO,
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
1457
static DEVICE_ATTR(hw_state, S_IRUGO, csio_show_hw_state, NULL);
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/csiostor/csio_scsi.c
1482
static DEVICE_ATTR(num_reg_rnodes, S_IRUGO, csio_show_num_reg_rnodes, NULL);
drivers/scsi/fnic/fnic_attrs.c
38
static DEVICE_ATTR(fnic_state, S_IRUGO, fnic_show_state, NULL);
drivers/scsi/fnic/fnic_attrs.c
39
static DEVICE_ATTR(drv_version, S_IRUGO, fnic_show_drv_version, NULL);
drivers/scsi/fnic/fnic_attrs.c
40
static DEVICE_ATTR(link_state, S_IRUGO, fnic_show_link_state, NULL);
drivers/scsi/hpsa.c
908
static DEVICE_ATTR(rescan, S_IWUSR, NULL, host_store_rescan);
drivers/scsi/hpsa.c
910
static DEVICE_ATTR(hp_ssd_smart_path_enabled, S_IRUGO,
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/hpsa.c
918
static DEVICE_ATTR(firmware_revision, S_IRUGO,
drivers/scsi/hpsa.c
920
static DEVICE_ATTR(commands_outstanding, S_IRUGO,
drivers/scsi/hpsa.c
922
static DEVICE_ATTR(transport_mode, S_IRUGO,
drivers/scsi/hpsa.c
924
static DEVICE_ATTR(resettable, S_IRUGO,
drivers/scsi/hpsa.c
926
static DEVICE_ATTR(lockup_detected, S_IRUGO,
drivers/scsi/hpsa.c
928
static DEVICE_ATTR(ctlr_num, S_IRUGO,
drivers/scsi/hpsa.c
930
static DEVICE_ATTR(legacy_board, S_IRUGO,
drivers/scsi/ibmvscsi/ibmvfc.c
3620
static DEVICE_ATTR(partition_name, S_IRUGO, ibmvfc_show_host_partition_name, NULL);
drivers/scsi/ibmvscsi/ibmvfc.c
3621
static DEVICE_ATTR(device_name, S_IRUGO, ibmvfc_show_host_device_name, NULL);
drivers/scsi/ibmvscsi/ibmvfc.c
3622
static DEVICE_ATTR(port_loc_code, S_IRUGO, ibmvfc_show_host_loc_code, NULL);
drivers/scsi/ibmvscsi/ibmvfc.c
3623
static DEVICE_ATTR(drc_name, S_IRUGO, ibmvfc_show_host_drc_name, NULL);
drivers/scsi/ibmvscsi/ibmvfc.c
3624
static DEVICE_ATTR(npiv_version, S_IRUGO, ibmvfc_show_host_npiv_version, NULL);
drivers/scsi/ibmvscsi/ibmvfc.c
3625
static DEVICE_ATTR(capabilities, S_IRUGO, ibmvfc_show_host_capabilities, NULL);
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/isci/init.c
139
static DEVICE_ATTR(isci_id, S_IRUGO, isci_show_id, NULL);
drivers/scsi/libsas/sas_init.c
615
DEVICE_ATTR(phy_event_threshold,
drivers/scsi/lpfc/lpfc_attr.c
3106
static DEVICE_ATTR(nvme_info, 0444, lpfc_nvme_info_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3107
static DEVICE_ATTR(scsi_stat, 0444, lpfc_scsi_stat_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3108
static DEVICE_ATTR(bg_info, S_IRUGO, lpfc_bg_info_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3109
static DEVICE_ATTR(bg_guard_err, S_IRUGO, lpfc_bg_guard_err_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3110
static DEVICE_ATTR(bg_apptag_err, S_IRUGO, lpfc_bg_apptag_err_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3111
static DEVICE_ATTR(bg_reftag_err, S_IRUGO, lpfc_bg_reftag_err_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3112
static DEVICE_ATTR(info, S_IRUGO, lpfc_info_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3113
static DEVICE_ATTR(serialnum, S_IRUGO, lpfc_serialnum_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3114
static DEVICE_ATTR(modeldesc, S_IRUGO, lpfc_modeldesc_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3115
static DEVICE_ATTR(modelname, S_IRUGO, lpfc_modelname_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3116
static DEVICE_ATTR(programtype, S_IRUGO, lpfc_programtype_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3117
static DEVICE_ATTR(portnum, S_IRUGO, lpfc_vportnum_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3118
static DEVICE_ATTR(fwrev, S_IRUGO, lpfc_fwrev_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3119
static DEVICE_ATTR(hdw, S_IRUGO, lpfc_hdw_show, NULL);
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
3122
static DEVICE_ATTR(option_rom_version, S_IRUGO,
drivers/scsi/lpfc/lpfc_attr.c
3124
static DEVICE_ATTR(num_discovered_ports, S_IRUGO,
drivers/scsi/lpfc/lpfc_attr.c
3126
static DEVICE_ATTR(nport_evt_cnt, S_IRUGO, lpfc_nport_evt_cnt_show, NULL);
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
3133
static DEVICE_ATTR(max_vpi, S_IRUGO, lpfc_max_vpi_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3134
static DEVICE_ATTR(used_vpi, S_IRUGO, lpfc_used_vpi_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3135
static DEVICE_ATTR(max_rpi, S_IRUGO, lpfc_max_rpi_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3136
static DEVICE_ATTR(used_rpi, S_IRUGO, lpfc_used_rpi_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3137
static DEVICE_ATTR(max_xri, S_IRUGO, lpfc_max_xri_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3138
static DEVICE_ATTR(used_xri, S_IRUGO, lpfc_used_xri_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3139
static DEVICE_ATTR(npiv_info, S_IRUGO, lpfc_npiv_info_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3142
static DEVICE_ATTR(protocol, S_IRUGO, lpfc_sli4_protocol_show, NULL);
drivers/scsi/lpfc/lpfc_attr.c
3143
static DEVICE_ATTR(lpfc_xlane_supported, S_IRUGO, lpfc_oas_supported_show,
drivers/scsi/lpfc/lpfc_attr.c
3145
static DEVICE_ATTR(cmf_info, 0444, lpfc_cmf_info_show, NULL);
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
3478
static DEVICE_ATTR(lpfc_xlane_lun_status, S_IRUGO,
drivers/scsi/lpfc/lpfc_attr.c
3697
static DEVICE_ATTR(lpfc_xlane_lun, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.c
3769
static DEVICE_ATTR(pls, 0444,
drivers/scsi/lpfc/lpfc_attr.c
3782
static DEVICE_ATTR(pt, 0444,
drivers/scsi/lpfc/lpfc_attr.c
3802
static DEVICE_ATTR(iocb_hw, S_IRUGO,
drivers/scsi/lpfc/lpfc_attr.c
3815
static DEVICE_ATTR(txq_hw, S_IRUGO,
drivers/scsi/lpfc/lpfc_attr.c
3829
static DEVICE_ATTR(txcmplq_hw, S_IRUGO,
drivers/scsi/lpfc/lpfc_attr.c
4677
static DEVICE_ATTR(lpfc_aer_state_cleanup, S_IWUSR, NULL,
drivers/scsi/lpfc/lpfc_attr.c
4847
static DEVICE_ATTR(lpfc_req_fw_upgrade, S_IRUGO | S_IWUSR,
drivers/scsi/lpfc/lpfc_attr.h
108
static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
drivers/scsi/lpfc/lpfc_attr.h
117
static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL)
drivers/scsi/lpfc/lpfc_attr.h
127
static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
drivers/scsi/lpfc/lpfc_attr.h
36
static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL)
drivers/scsi/lpfc/lpfc_attr.h
46
static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
drivers/scsi/lpfc/lpfc_attr.h
56
static DEVICE_ATTR(lpfc_##name, 0444 | 0644,\
drivers/scsi/lpfc/lpfc_attr.h
65
static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL)
drivers/scsi/lpfc/lpfc_attr.h
75
static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
drivers/scsi/lpfc/lpfc_attr.h
90
static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL)
drivers/scsi/lpfc/lpfc_attr.h
98
static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL)
drivers/scsi/pm8001/pm8001_ctl.c
123
static DEVICE_ATTR(fw_version, S_IRUGO, pm8001_ctl_fw_version_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
149
static DEVICE_ATTR(ila_version, 0444, pm8001_ctl_ila_version_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
176
DEVICE_ATTR(inc_fw_ver, 0444, pm8001_ctl_inactive_fw_version_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
201
static DEVICE_ATTR(max_out_io, S_IRUGO, pm8001_ctl_max_out_io_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
225
static DEVICE_ATTR(max_devices, S_IRUGO, pm8001_ctl_max_devices_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
250
static DEVICE_ATTR(max_sg_list, S_IRUGO, pm8001_ctl_max_sg_list_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
295
static DEVICE_ATTR(sas_spec_support, S_IRUGO,
drivers/scsi/pm8001/pm8001_ctl.c
317
static DEVICE_ATTR(host_sas_address, S_IRUGO,
drivers/scsi/pm8001/pm8001_ctl.c
353
static DEVICE_ATTR(logging_level, S_IRUGO | S_IWUSR,
drivers/scsi/pm8001/pm8001_ctl.c
389
static DEVICE_ATTR(aap_log, S_IRUGO, pm8001_ctl_aap_log_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
425
static DEVICE_ATTR(ib_log, S_IRUGO, pm8001_ctl_ib_queue_log_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
461
static DEVICE_ATTR(ob_log, S_IRUGO, pm8001_ctl_ob_queue_log_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
500
static DEVICE_ATTR(bios_version, S_IRUGO, pm8001_ctl_bios_version_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
558
static DEVICE_ATTR(iop_log, S_IRUGO, pm8001_ctl_iop_log_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
578
static DEVICE_ATTR(fatal_log, S_IRUGO, pm8001_ctl_fatal_log_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
642
static DEVICE_ATTR(gsm_log, S_IRUGO, pm8001_ctl_gsm_log_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
72
DEVICE_ATTR(interface_rev, S_IRUGO, pm8001_ctl_mpi_interface_rev_show, NULL);
drivers/scsi/pm8001/pm8001_ctl.c
889
static DEVICE_ATTR(update_fw, S_IRUGO|S_IWUSR|S_IWGRP,
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
2405
static DEVICE_ATTR(dport_diagnostics, 0444,
drivers/scsi/qla2xxx/qla_attr.c
2409
static DEVICE_ATTR(fw_version, S_IRUGO, qla2x00_fw_version_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2410
static DEVICE_ATTR(serial_num, S_IRUGO, qla2x00_serial_num_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2411
static DEVICE_ATTR(isp_name, S_IRUGO, qla2x00_isp_name_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2412
static DEVICE_ATTR(isp_id, S_IRUGO, qla2x00_isp_id_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2413
static DEVICE_ATTR(model_name, S_IRUGO, qla2x00_model_name_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2414
static DEVICE_ATTR(model_desc, S_IRUGO, qla2x00_model_desc_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2415
static DEVICE_ATTR(pci_info, S_IRUGO, qla2x00_pci_info_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2416
static DEVICE_ATTR(link_state, S_IRUGO, qla2x00_link_state_show, NULL);
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
2422
static DEVICE_ATTR(beacon_config, 0644, qla2x00_beacon_config_show,
drivers/scsi/qla2xxx/qla_attr.c
2424
static DEVICE_ATTR(optrom_bios_version, S_IRUGO,
drivers/scsi/qla2xxx/qla_attr.c
2426
static DEVICE_ATTR(optrom_efi_version, S_IRUGO,
drivers/scsi/qla2xxx/qla_attr.c
2428
static DEVICE_ATTR(optrom_fcode_version, S_IRUGO,
drivers/scsi/qla2xxx/qla_attr.c
2430
static DEVICE_ATTR(optrom_fw_version, S_IRUGO, qla2x00_optrom_fw_version_show,
drivers/scsi/qla2xxx/qla_attr.c
2432
static DEVICE_ATTR(optrom_gold_fw_version, S_IRUGO,
drivers/scsi/qla2xxx/qla_attr.c
2434
static DEVICE_ATTR(84xx_fw_version, S_IRUGO, qla24xx_84xx_fw_version_show,
drivers/scsi/qla2xxx/qla_attr.c
2436
static DEVICE_ATTR(total_isp_aborts, S_IRUGO, qla2x00_total_isp_aborts_show,
drivers/scsi/qla2xxx/qla_attr.c
2438
static DEVICE_ATTR(serdes_version, 0444, qla2x00_serdes_version_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2439
static DEVICE_ATTR(mpi_version, S_IRUGO, qla2x00_mpi_version_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2440
static DEVICE_ATTR(phy_version, S_IRUGO, qla2x00_phy_version_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2441
static DEVICE_ATTR(flash_block_size, S_IRUGO, qla2x00_flash_block_size_show,
drivers/scsi/qla2xxx/qla_attr.c
2443
static DEVICE_ATTR(vlan_id, S_IRUGO, qla2x00_vlan_id_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2444
static DEVICE_ATTR(vn_port_mac_address, S_IRUGO,
drivers/scsi/qla2xxx/qla_attr.c
2446
static DEVICE_ATTR(fabric_param, S_IRUGO, qla2x00_fabric_param_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2447
static DEVICE_ATTR(fw_state, S_IRUGO, qla2x00_fw_state_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2448
static DEVICE_ATTR(thermal_temp, S_IRUGO, qla2x00_thermal_temp_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2449
static DEVICE_ATTR(diag_requests, S_IRUGO, qla2x00_diag_requests_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2450
static DEVICE_ATTR(diag_megabytes, S_IRUGO, qla2x00_diag_megabytes_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2451
static DEVICE_ATTR(fw_dump_size, S_IRUGO, qla2x00_fw_dump_size_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2452
static DEVICE_ATTR(allow_cna_fw_dump, S_IRUGO | S_IWUSR,
drivers/scsi/qla2xxx/qla_attr.c
2455
static DEVICE_ATTR(pep_version, S_IRUGO, qla2x00_pep_version_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2456
static DEVICE_ATTR(min_supported_speed, 0444,
drivers/scsi/qla2xxx/qla_attr.c
2458
static DEVICE_ATTR(max_supported_speed, 0444,
drivers/scsi/qla2xxx/qla_attr.c
2460
static DEVICE_ATTR(zio_threshold, 0644,
drivers/scsi/qla2xxx/qla_attr.c
2466
static DEVICE_ATTR(dif_bundle_statistics, 0444,
drivers/scsi/qla2xxx/qla_attr.c
2468
static DEVICE_ATTR(port_speed, 0644, qla2x00_port_speed_show,
drivers/scsi/qla2xxx/qla_attr.c
2470
static DEVICE_ATTR(port_no, 0444, qla2x00_port_no_show, NULL);
drivers/scsi/qla2xxx/qla_attr.c
2471
static DEVICE_ATTR(fw_attr, 0444, qla2x00_fw_attr_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
316
static DEVICE_ATTR(fw_version, S_IRUGO, qla4xxx_fw_version_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
317
static DEVICE_ATTR(serial_num, S_IRUGO, qla4xxx_serial_num_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
318
static DEVICE_ATTR(iscsi_version, S_IRUGO, qla4xxx_iscsi_version_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
319
static DEVICE_ATTR(optrom_version, S_IRUGO, qla4xxx_optrom_version_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
320
static DEVICE_ATTR(board_id, S_IRUGO, qla4xxx_board_id_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
321
static DEVICE_ATTR(fw_state, S_IRUGO, qla4xxx_fw_state_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
322
static DEVICE_ATTR(phy_port_cnt, S_IRUGO, qla4xxx_phy_port_cnt_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
323
static DEVICE_ATTR(phy_port_num, S_IRUGO, qla4xxx_phy_port_num_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
324
static DEVICE_ATTR(iscsi_func_cnt, S_IRUGO, qla4xxx_iscsi_func_cnt_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
325
static DEVICE_ATTR(hba_model, S_IRUGO, qla4xxx_hba_model_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
326
static DEVICE_ATTR(fw_timestamp, S_IRUGO, qla4xxx_fw_timestamp_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
327
static DEVICE_ATTR(fw_build_user, S_IRUGO, qla4xxx_fw_build_user_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
328
static DEVICE_ATTR(fw_ext_timestamp, S_IRUGO, qla4xxx_fw_ext_timestamp_show,
drivers/scsi/qla4xxx/ql4_attr.c
330
static DEVICE_ATTR(fw_load_src, S_IRUGO, qla4xxx_fw_load_src_show, NULL);
drivers/scsi/qla4xxx/ql4_attr.c
331
static DEVICE_ATTR(fw_uptime, S_IRUGO, qla4xxx_fw_uptime_show, NULL);
drivers/scsi/raid_class.c
190
static DEVICE_ATTR(attr, S_IRUGO, raid_show_##attr, NULL)
drivers/scsi/raid_class.c
195
static DEVICE_ATTR(attr, S_IRUGO, raid_show_##attr, NULL)
drivers/scsi/scsi_sysfs.c
1035
static DEVICE_ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
drivers/scsi/scsi_sysfs.c
1052
static DEVICE_ATTR(wwid, S_IRUGO, sdev_show_wwid, NULL);
drivers/scsi/scsi_sysfs.c
1088
static DEVICE_ATTR(blacklist, S_IRUGO, sdev_show_blacklist, NULL);
drivers/scsi/scsi_sysfs.c
1140
static DEVICE_ATTR(dh_state, S_IRUGO | S_IWUSR, sdev_show_dh_state,
drivers/scsi/scsi_sysfs.c
1161
static DEVICE_ATTR(access_state, S_IRUGO, sdev_show_access_state, NULL);
drivers/scsi/scsi_sysfs.c
1178
static DEVICE_ATTR(preferred_path, S_IRUGO, sdev_show_preferred_path, NULL);
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
175
static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL);
drivers/scsi/scsi_sysfs.c
196
static DEVICE_ATTR(scan, S_IWUSR, NULL, store_scan);
drivers/scsi/scsi_sysfs.c
268
static DEVICE_ATTR(supported_mode, S_IRUGO, show_shost_supported_mode, NULL);
drivers/scsi/scsi_sysfs.c
282
static DEVICE_ATTR(active_mode, S_IRUGO, show_shost_active_mode, NULL);
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
387
static DEVICE_ATTR(host_busy, S_IRUGO, show_host_busy, NULL);
drivers/scsi/scsi_sysfs.c
394
static DEVICE_ATTR(use_blk_mq, S_IRUGO, show_use_blk_mq, NULL);
drivers/scsi/scsi_sysfs.c
404
static DEVICE_ATTR(nr_hw_queues, S_IRUGO, show_nr_hw_queues, NULL);
drivers/scsi/scsi_sysfs.c
644
static DEVICE_ATTR(field, S_IRUGO, sdev_show_##field, NULL);
drivers/scsi/scsi_sysfs.c
663
static DEVICE_ATTR(device_busy, S_IRUGO, sdev_show_device_busy, NULL);
drivers/scsi/scsi_sysfs.c
672
static DEVICE_ATTR(device_blocked, S_IRUGO, sdev_show_device_blocked, NULL);
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_sysfs.c
942
static DEVICE_ATTR(iocounterbits, S_IRUGO, show_iostat_counterbits, NULL);
drivers/scsi/scsi_sysfs.c
953
static DEVICE_ATTR(field, S_IRUGO, show_iostat_##field, NULL)
drivers/scsi/scsi_sysfs.c
967
static DEVICE_ATTR(modalias, S_IRUGO, sdev_show_modalias, NULL);
drivers/scsi/scsi_sysfs.c
998
static DEVICE_ATTR(evt_##name, S_IRUGO, sdev_show_evt_##name, \
drivers/scsi/scsi_transport_iscsi.c
137
static DEVICE_ATTR(handle, S_IRUGO, show_transport_handle, NULL);
drivers/scsi/scsi_transport_iscsi.c
147
static DEVICE_ATTR(name, S_IRUGO, show_transport_##name, NULL);
drivers/scsi/scsi_transport_sas.c
460
static DEVICE_ATTR(name, S_IRUGO, show_sas_phy_##name, NULL)
drivers/scsi/scsi_transport_sas.c
476
static DEVICE_ATTR(name, S_IRUGO, show_sas_phy_##name, NULL)
drivers/scsi/scsi_transport_sas.c
514
static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, \
drivers/scsi/scsi_transport_sas.c
519
static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, NULL)
drivers/scsi/scsi_transport_sas.c
540
static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, NULL)
drivers/scsi/scsi_transport_sas.c
553
static DEVICE_ATTR(device_type, S_IRUGO, show_sas_device_type, NULL);
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_sas.c
831
static DEVICE_ATTR(name, S_IRUGO, show_sas_port_##name, NULL)
drivers/scsi/scsi_transport_spi.c
358
static DEVICE_ATTR(field, S_IRUGO, \
drivers/scsi/scsi_transport_spi.c
365
static DEVICE_ATTR(field, S_IRUGO, \
drivers/scsi/scsi_transport_spi.c
373
static DEVICE_ATTR(field, S_IRUGO, \
drivers/scsi/scsi_transport_spi.c
409
static DEVICE_ATTR(revalidate, S_IWUSR, NULL, store_spi_revalidate);
drivers/scsi/scsi_transport_spi.c
520
static DEVICE_ATTR(period, S_IRUGO,
drivers/scsi/scsi_transport_spi.c
554
static DEVICE_ATTR(min_period, S_IRUGO,
drivers/scsi/scsi_transport_spi.c
587
static DEVICE_ATTR(signalling, S_IRUGO,
drivers/scsi/scsi_transport_spi.c
599
static DEVICE_ATTR(host_width, S_IRUGO,
drivers/scsi/scsi_transport_spi.c
610
static DEVICE_ATTR(hba_id, S_IRUGO,
drivers/scsi/scsi_transport_srp.c
128
static DEVICE_ATTR(port_id, S_IRUGO, show_srp_rport_id, NULL);
drivers/scsi/scsi_transport_srp.c
154
static DEVICE_ATTR(roles, S_IRUGO, show_srp_rport_roles, NULL);
drivers/scsi/scsi_transport_srp.c
172
static DEVICE_ATTR(delete, S_IWUSR, NULL, store_srp_rport_delete);
drivers/scsi/scsi_transport_srp.c
192
static DEVICE_ATTR(state, S_IRUGO, show_srp_rport_state, NULL);
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
260
static DEVICE_ATTR(failed_reconnects, S_IRUGO, show_failed_reconnects, NULL);
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/smartpqi/smartpqi_init.c
7134
static DEVICE_ATTR(firmware_version, 0444, pqi_firmware_version_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7135
static DEVICE_ATTR(model, 0444, pqi_model_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7136
static DEVICE_ATTR(serial_number, 0444, pqi_serial_number_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7137
static DEVICE_ATTR(vendor, 0444, pqi_vendor_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7138
static DEVICE_ATTR(rescan, 0200, NULL, pqi_host_rescan_store);
drivers/scsi/smartpqi/smartpqi_init.c
7139
static DEVICE_ATTR(lockup_action, 0644, pqi_lockup_action_show,
drivers/scsi/smartpqi/smartpqi_init.c
7141
static DEVICE_ATTR(enable_stream_detection, 0644,
drivers/scsi/smartpqi/smartpqi_init.c
7144
static DEVICE_ATTR(enable_r5_writes, 0644,
drivers/scsi/smartpqi/smartpqi_init.c
7146
static DEVICE_ATTR(enable_r6_writes, 0644,
drivers/scsi/smartpqi/smartpqi_init.c
7569
static DEVICE_ATTR(lunid, 0444, pqi_lunid_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7570
static DEVICE_ATTR(unique_id, 0444, pqi_unique_id_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7571
static DEVICE_ATTR(path_info, 0444, pqi_path_info_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7572
static DEVICE_ATTR(sas_address, 0444, pqi_sas_address_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7573
static DEVICE_ATTR(ssd_smart_path_enabled, 0444, pqi_ssd_smart_path_enabled_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7574
static DEVICE_ATTR(raid_level, 0444, pqi_raid_level_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7575
static DEVICE_ATTR(raid_bypass_cnt, 0444, pqi_raid_bypass_cnt_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7576
static DEVICE_ATTR(sas_ncq_prio_enable, 0644,
drivers/scsi/smartpqi/smartpqi_init.c
7578
static DEVICE_ATTR(numa_node, 0444, pqi_numa_node_show, NULL);
drivers/scsi/smartpqi/smartpqi_init.c
7579
static DEVICE_ATTR(write_stream_cnt, 0444, pqi_write_stream_cnt_show, NULL);
drivers/scsi/snic/snic_attrs.c
51
static DEVICE_ATTR(snic_sym_name, S_IRUGO, snic_show_sym_name, NULL);
drivers/scsi/snic/snic_attrs.c
52
static DEVICE_ATTR(snic_state, S_IRUGO, snic_show_state, NULL);
drivers/scsi/snic/snic_attrs.c
53
static DEVICE_ATTR(drv_version, S_IRUGO, snic_show_drv_version, NULL);
drivers/scsi/snic/snic_attrs.c
54
static DEVICE_ATTR(link_state, S_IRUGO, snic_show_link_state, NULL);
drivers/sh/intc/core.c
474
static DEVICE_ATTR(name, S_IRUGO, show_intc_name, NULL);
drivers/sh/intc/userimask.c
61
static DEVICE_ATTR(userimask, S_IRUSR | S_IWUSR,
drivers/soc/qcom/rmtfs_mem.c
41
static DEVICE_ATTR(phys_addr, 0444, qcom_rmtfs_mem_show, NULL);
drivers/soc/qcom/rmtfs_mem.c
42
static DEVICE_ATTR(size, 0444, qcom_rmtfs_mem_show, NULL);
drivers/soc/qcom/rmtfs_mem.c
43
static DEVICE_ATTR(client_id, 0444, qcom_rmtfs_mem_show, NULL);
drivers/spi/spi-tle62x0.c
131
static DEVICE_ATTR(status_show, S_IRUGO, tle62x0_status_show, NULL);
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/thermal/intel/therm_throt.c
132
static DEVICE_ATTR(_name, 0444, \
drivers/thunderbolt/switch.c
1987
static DEVICE_ATTR(key, 0600, key_show, key_store);
drivers/thunderbolt/switch.c
2001
static DEVICE_ATTR(rx_speed, 0444, speed_show, NULL);
drivers/thunderbolt/switch.c
2002
static DEVICE_ATTR(tx_speed, 0444, speed_show, NULL);
drivers/thunderbolt/switch.c
2028
static DEVICE_ATTR(rx_lanes, 0444, rx_lanes_show, NULL);
drivers/thunderbolt/switch.c
2054
static DEVICE_ATTR(tx_lanes, 0444, tx_lanes_show, NULL);
drivers/thunderbolt/xdomain.c
1787
static DEVICE_ATTR(rx_speed, 0444, speed_show, NULL);
drivers/thunderbolt/xdomain.c
1788
static DEVICE_ATTR(tx_speed, 0444, speed_show, NULL);
drivers/thunderbolt/xdomain.c
1814
static DEVICE_ATTR(rx_lanes, 0444, rx_lanes_show, NULL);
drivers/thunderbolt/xdomain.c
1840
static DEVICE_ATTR(tx_lanes, 0444, tx_lanes_show, NULL);
drivers/tty/hvc/hvc_iucv.c
1021
static DEVICE_ATTR(termid, 0640, hvc_iucv_dev_termid_show, NULL);
drivers/tty/hvc/hvc_iucv.c
1022
static DEVICE_ATTR(state, 0640, hvc_iucv_dev_state_show, NULL);
drivers/tty/hvc/hvc_iucv.c
1023
static DEVICE_ATTR(peer, 0640, hvc_iucv_dev_peer_show, NULL);
drivers/tty/hvc/hvcs.c
326
static DEVICE_ATTR(partner_vtys, S_IRUGO, hvcs_partner_vtys_show, NULL);
drivers/tty/hvc/hvcs.c
340
static DEVICE_ATTR(partner_clcs, S_IRUGO, hvcs_partner_clcs_show, NULL);
drivers/tty/hvc/hvcs.c
366
static DEVICE_ATTR(current_vty,
drivers/tty/hvc/hvcs.c
419
static DEVICE_ATTR(vterm_state, S_IRUGO | S_IWUSR,
drivers/tty/hvc/hvcs.c
435
static DEVICE_ATTR(index, S_IRUGO, hvcs_index_show, NULL);
drivers/tty/tty_io.c
3586
static DEVICE_ATTR(active, S_IRUGO, show_cons_active, NULL);
drivers/tty/vt/vt.c
3864
static DEVICE_ATTR(active, S_IRUGO, show_tty_active, NULL);
drivers/tty/vt/vt.c
4238
static DEVICE_ATTR(bind, S_IRUGO|S_IWUSR, show_bind, store_bind);
drivers/tty/vt/vt.c
4239
static DEVICE_ATTR(name, S_IRUGO, show_name, NULL);
drivers/uio/uio_fsl_elbc_gpcm.c
71
static DEVICE_ATTR(reg_br, 0664, reg_show, reg_store);
drivers/uio/uio_fsl_elbc_gpcm.c
72
static DEVICE_ATTR(reg_or, 0664, reg_show, reg_store);
drivers/video/backlight/adp5520_bl.c
180
static DEVICE_ATTR(dark_max, 0664, adp5520_bl_dark_max_show,
drivers/video/backlight/adp5520_bl.c
195
static DEVICE_ATTR(office_max, 0664, adp5520_bl_office_max_show,
drivers/video/backlight/adp5520_bl.c
217
static DEVICE_ATTR(daylight_max, 0664, adp5520_bl_daylight_max_show,
drivers/video/backlight/adp5520_bl.c
232
static DEVICE_ATTR(dark_dim, 0664, adp5520_bl_dark_dim_show,
drivers/video/backlight/adp5520_bl.c
247
static DEVICE_ATTR(office_dim, 0664, adp5520_bl_office_dim_show,
drivers/video/backlight/adp5520_bl.c
262
static DEVICE_ATTR(daylight_dim, 0664, adp5520_bl_daylight_dim_show,
drivers/video/backlight/adp8860_bl.c
466
static DEVICE_ATTR(l3_dark_max, 0664, adp8860_bl_l3_dark_max_show,
drivers/video/backlight/adp8860_bl.c
480
static DEVICE_ATTR(l2_office_max, 0664, adp8860_bl_l2_office_max_show,
drivers/video/backlight/adp8860_bl.c
500
static DEVICE_ATTR(l1_daylight_max, 0664, adp8860_bl_l1_daylight_max_show,
drivers/video/backlight/adp8860_bl.c
515
static DEVICE_ATTR(l3_dark_dim, 0664, adp8860_bl_l3_dark_dim_show,
drivers/video/backlight/adp8860_bl.c
530
static DEVICE_ATTR(l2_office_dim, 0664, adp8860_bl_l2_office_dim_show,
drivers/video/backlight/adp8860_bl.c
545
static DEVICE_ATTR(l1_daylight_dim, 0664, adp8860_bl_l1_daylight_dim_show,
drivers/video/backlight/adp8860_bl.c
573
static DEVICE_ATTR(ambient_light_level, 0444,
drivers/video/backlight/adp8860_bl.c
627
static DEVICE_ATTR(ambient_light_zone, 0664,
drivers/video/backlight/adp8870_bl.c
586
static DEVICE_ATTR(l5_dark_max, 0664, adp8870_bl_l5_dark_max_show,
drivers/video/backlight/adp8870_bl.c
601
static DEVICE_ATTR(l4_indoor_max, 0664, adp8870_bl_l4_indoor_max_show,
drivers/video/backlight/adp8870_bl.c
617
static DEVICE_ATTR(l3_office_max, 0664, adp8870_bl_l3_office_max_show,
drivers/video/backlight/adp8870_bl.c
631
static DEVICE_ATTR(l2_bright_max, 0664, adp8870_bl_l2_bright_max_show,
drivers/video/backlight/adp8870_bl.c
651
static DEVICE_ATTR(l1_daylight_max, 0664, adp8870_bl_l1_daylight_max_show,
drivers/video/backlight/adp8870_bl.c
666
static DEVICE_ATTR(l5_dark_dim, 0664, adp8870_bl_l5_dark_dim_show,
drivers/video/backlight/adp8870_bl.c
681
static DEVICE_ATTR(l4_indoor_dim, 0664, adp8870_bl_l4_indoor_dim_show,
drivers/video/backlight/adp8870_bl.c
697
static DEVICE_ATTR(l3_office_dim, 0664, adp8870_bl_l3_office_dim_show,
drivers/video/backlight/adp8870_bl.c
712
static DEVICE_ATTR(l2_bright_dim, 0664, adp8870_bl_l2_bright_dim_show,
drivers/video/backlight/adp8870_bl.c
727
static DEVICE_ATTR(l1_daylight_dim, 0664, adp8870_bl_l1_daylight_dim_show,
drivers/video/backlight/adp8870_bl.c
757
static DEVICE_ATTR(ambient_light_level, 0444,
drivers/video/backlight/adp8870_bl.c
811
static DEVICE_ATTR(ambient_light_zone, 0664,
drivers/video/backlight/lm3639_bl.c
216
static DEVICE_ATTR(bled_mode, S_IWUSR, NULL, lm3639_bled_mode_store);
drivers/video/backlight/lp855x_bl.c
310
static DEVICE_ATTR(chip_id, S_IRUGO, lp855x_get_chip_id, NULL);
drivers/video/backlight/lp855x_bl.c
311
static DEVICE_ATTR(bl_ctl_mode, S_IRUGO, lp855x_get_bl_ctl_mode, NULL);
drivers/video/backlight/lp8788_bl.c
114
static DEVICE_ATTR(bl_ctl_mode, S_IRUGO, lp8788_get_bl_ctl_mode, NULL);
drivers/video/backlight/sky81452-backlight.c
164
static DEVICE_ATTR(enable, S_IWGRP | S_IWUSR, NULL, sky81452_bl_store_enable);
drivers/video/backlight/sky81452-backlight.c
165
static DEVICE_ATTR(open, S_IRUGO, sky81452_bl_show_open_short, NULL);
drivers/video/backlight/sky81452-backlight.c
166
static DEVICE_ATTR(short, S_IRUGO, sky81452_bl_show_open_short, NULL);
drivers/video/backlight/sky81452-backlight.c
167
static DEVICE_ATTR(fault, S_IRUGO, sky81452_bl_show_fault, NULL);
drivers/video/fbdev/broadsheetfb.c
777
static DEVICE_ATTR(loadstore_waveform, S_IWUSR, NULL,
drivers/video/fbdev/core/fbsysfs.c
417
static DEVICE_ATTR(bits_per_pixel, 0644, show_bpp, store_bpp);
drivers/video/fbdev/core/fbsysfs.c
418
static DEVICE_ATTR(blank, 0644, show_blank, store_blank);
drivers/video/fbdev/core/fbsysfs.c
419
static DEVICE_ATTR(console, 0644, show_console, store_console);
drivers/video/fbdev/core/fbsysfs.c
420
static DEVICE_ATTR(cursor, 0644, show_cursor, store_cursor);
drivers/video/fbdev/core/fbsysfs.c
421
static DEVICE_ATTR(mode, 0644, show_mode, store_mode);
drivers/video/fbdev/core/fbsysfs.c
422
static DEVICE_ATTR(modes, 0644, show_modes, store_modes);
drivers/video/fbdev/core/fbsysfs.c
423
static DEVICE_ATTR(pan, 0644, show_pan, store_pan);
drivers/video/fbdev/core/fbsysfs.c
424
static DEVICE_ATTR(virtual_size, 0644, show_virtual, store_virtual);
drivers/video/fbdev/core/fbsysfs.c
425
static DEVICE_ATTR(name, 0444, show_name, NULL);
drivers/video/fbdev/core/fbsysfs.c
426
static DEVICE_ATTR(stride, 0444, show_stride, NULL);
drivers/video/fbdev/core/fbsysfs.c
427
static DEVICE_ATTR(rotate, 0644, show_rotate, store_rotate);
drivers/video/fbdev/core/fbsysfs.c
428
static DEVICE_ATTR(state, 0644, show_fbstate, store_fbstate);
drivers/video/fbdev/core/fbsysfs.c
430
static DEVICE_ATTR(bl_curve, 0644, show_bl_curve, store_bl_curve);
drivers/video/fbdev/gbefb.c
1068
static DEVICE_ATTR(size, S_IRUGO, gbefb_show_memsize, NULL);
drivers/video/fbdev/gbefb.c
1075
static DEVICE_ATTR(revision, S_IRUGO, gbefb_show_rev, NULL);
drivers/video/fbdev/omap/omapfb_main.c
1294
static DEVICE_ATTR(caps_num, 0444, omapfb_show_caps_num, NULL);
drivers/video/fbdev/omap/omapfb_main.c
1295
static DEVICE_ATTR(caps_text, 0444, omapfb_show_caps_text, NULL);
drivers/video/fbdev/omap/omapfb_main.c
1357
static DEVICE_ATTR(backlight_level, 0664,
drivers/video/fbdev/omap/omapfb_main.c
1359
static DEVICE_ATTR(backlight_max, 0444, omapfb_show_bklight_max, NULL);
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
528
static DEVICE_ATTR(num_dsi_errors, S_IRUGO, dsicm_num_errors_show, NULL);
drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c
529
static DEVICE_ATTR(hw_revision, S_IRUGO, dsicm_hw_revision_show, NULL);
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-sony-acx565akm.c
487
static DEVICE_ATTR(cabc_available_modes, S_IRUGO,
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/sm501fb.c
1224
static DEVICE_ATTR(crt_src, 0664, sm501fb_crtsrc_show, sm501fb_crtsrc_store);
drivers/video/fbdev/sm501fb.c
1261
static DEVICE_ATTR(fbregs_crt, 0444, sm501fb_debug_show_crt, NULL);
drivers/video/fbdev/sm501fb.c
1280
static DEVICE_ATTR(fbregs_pnl, 0444, sm501fb_debug_show_pnl, NULL);
drivers/video/fbdev/uvesafb.c
1549
static DEVICE_ATTR(vbe_version, S_IRUGO, uvesafb_show_vbe_ver, NULL);
drivers/video/fbdev/uvesafb.c
1568
static DEVICE_ATTR(vbe_modes, S_IRUGO, uvesafb_show_vbe_modes, NULL);
drivers/video/fbdev/uvesafb.c
1583
static DEVICE_ATTR(oem_vendor, S_IRUGO, uvesafb_show_vendor, NULL);
drivers/video/fbdev/uvesafb.c
1598
static DEVICE_ATTR(oem_product_name, S_IRUGO, uvesafb_show_product_name, NULL);
drivers/video/fbdev/uvesafb.c
1613
static DEVICE_ATTR(oem_product_rev, S_IRUGO, uvesafb_show_product_rev, NULL);
drivers/video/fbdev/uvesafb.c
1628
static DEVICE_ATTR(oem_string, S_IRUGO, uvesafb_show_oem_string, NULL);
drivers/video/fbdev/uvesafb.c
1654
static DEVICE_ATTR(nocrtc, S_IRUGO | S_IWUSR, uvesafb_show_nocrtc,
drivers/watchdog/ziirave_wdt.c
457
static DEVICE_ATTR(firmware_version, S_IRUGO, ziirave_wdt_sysfs_show_firm,
drivers/watchdog/ziirave_wdt.c
481
static DEVICE_ATTR(bootloader_version, S_IRUGO, ziirave_wdt_sysfs_show_boot,
drivers/watchdog/ziirave_wdt.c
503
static DEVICE_ATTR(reset_reason, S_IRUGO, ziirave_wdt_sysfs_show_reason,
drivers/watchdog/ziirave_wdt.c
558
static DEVICE_ATTR(update_firmware, S_IWUSR, NULL,
fs/fuse/cuse.c
586
static DEVICE_ATTR(waiting, 0400, cuse_class_waiting_show, NULL);
fs/fuse/cuse.c
597
static DEVICE_ATTR(abort, 0200, NULL, cuse_class_abort_store);
include/linux/mfd/lm3533.h
14
DEVICE_ATTR(_name, S_IRUGO, show_##_name, NULL)
include/linux/mfd/lm3533.h
16
DEVICE_ATTR(_name, S_IRUGO | S_IWUSR , show_##_name, store_##_name)
kernel/trace/blktrace.c
1939
DEVICE_ATTR(_name, S_IRUGO | S_IWUSR, \
net/9p/trans_virtio.c
581
static DEVICE_ATTR(mount_tag, 0444, p9_mount_tag_show, NULL);
net/core/net-sysfs.c
622
static DEVICE_ATTR(netdev_group, 0644, group_show, group_store);