_show 225 arch/arm64/kernel/cpuinfo.c static ssize_t _name##_show(struct kobject *kobj, \ _show 589 arch/parisc/kernel/drivers.c static ssize_t name##_show(struct device *dev, struct device_attribute *attr, char *buf) \ _show 1007 arch/powerpc/perf/hv-24x7.c static ssize_t _name##_show(struct device *dev, \ _show 77 arch/powerpc/perf/hv-gpci.c static ssize_t _name##_show(struct device *dev, \ _show 933 arch/powerpc/platforms/pseries/vio.c static ssize_t cmo_##name##_show(struct device *dev, \ _show 1003 arch/powerpc/platforms/pseries/vio.c static ssize_t cmo_bus_##name##_show(struct bus_type *bt, char *buf) \ _show 1008 arch/powerpc/platforms/pseries/vio.c __ATTR(cmo_##name, S_IRUGO, cmo_bus_##name##_show, NULL) _show 1012 arch/powerpc/platforms/pseries/vio.c cmo_##name##_##var##_show(struct bus_type *bt, char *buf) \ _show 173 arch/s390/kernel/ipl.c static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \ _show 204 arch/s390/kernel/ipl.c sys_##_prefix##_##_name##_show, \ _show 210 arch/s390/kernel/ipl.c __ATTR(_name, S_IRUGO, sys_##_prefix##_##_name##_show, NULL) _show 226 arch/s390/kernel/ipl.c sys_##_prefix##_##_name##_show, \ _show 241 arch/s390/kernel/ipl.c sys_##_prefix##_##_name##_show, \ _show 21 arch/s390/pci/pci_sysfs.c static ssize_t name##_show(struct device *dev, \ _show 265 arch/x86/events/amd/uncore.c _dev##_show##_name(struct device *dev, \ _show 110 arch/x86/events/intel/cstate.c static ssize_t __cstate_##_var##_show(struct kobject *kobj, \ _show 118 arch/x86/events/intel/cstate.c __ATTR(_name, 0444, __cstate_##_var##_show, NULL) _show 95 arch/x86/events/intel/rapl.c static ssize_t __rapl_##_var##_show(struct kobject *kobj, \ _show 103 arch/x86/events/intel/rapl.c __ATTR(_name, 0444, __rapl_##_var##_show, NULL) _show 178 arch/x86/events/intel/uncore.h static ssize_t __uncore_##_var##_show(struct kobject *kobj, \ _show 186 arch/x86/events/intel/uncore.h __ATTR(_name, 0444, __uncore_##_var##_show, NULL) _show 364 arch/x86/kernel/cpu/cacheinfo.c cache_disable_##slot##_show(struct device *dev, \ _show 178 arch/x86/platform/ts5500/ts5500.c static ssize_t _field##_show(struct device *dev, \ _show 6765 block/bfq-iosched.c __ATTR(name, 0644, bfq_##name##_show, bfq_##name##_store) _show 644 block/mq-deadline.c __ATTR(name, 0644, deadline_##name##_show, deadline_##name##_store) _show 21 drivers/acpi/dptf/dptf_power.c static ssize_t name##_show(struct device *dev,\ _show 132 drivers/amba/bus.c static ssize_t name##_show(struct device *_dev, \ _show 92 drivers/ata/libata-transport.c #define ATA_DEVICE_ATTR(_prefix,_name,_mode,_show,_store) \ _show 94 drivers/ata/libata-transport.c __ATTR(_name,_mode,_show,_store) _show 511 drivers/atm/solos-pci.c #define SOLOS_GPIO_ATTR(_name, _mode, _show, _store, _offset) \ _show 513 drivers/atm/solos-pci.c .attr = __ATTR(_name, _mode, _show, _store), \ _show 34 drivers/base/bus.c #define DRIVER_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ _show 36 drivers/base/bus.c __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) _show 361 drivers/base/cacheinfo.c static ssize_t file_name##_show(struct device *dev, \ _show 157 drivers/base/node.c static ssize_t name##_show(struct device *dev, \ _show 224 drivers/base/node.c static ssize_t name##_show(struct device *dev, \ _show 24 drivers/base/power/wakeup_stats.c static ssize_t _name##_show(struct device *dev, \ _show 18 drivers/base/topology.c static ssize_t name##_show(struct device *dev, \ _show 25 drivers/base/topology.c static ssize_t name##_show(struct device *dev, \ _show 748 drivers/block/drbd/drbd_debugfs.c return drbd_single_open(file, device_ ## name ## _show, device, \ _show 764 drivers/block/loop.c static ssize_t loop_attr_##_name##_show(struct loop_device *, char *); \ _show 768 drivers/block/loop.c return loop_attr_show(d, b, loop_attr_##_name##_show); \ _show 268 drivers/block/null_blk_main.c nullb_device_##NAME##_show(struct config_item *item, char *page) \ _show 92 drivers/bus/mips_cdmm.c static ssize_t name##_show(struct device *_dev, \ _show 56 drivers/bus/moxtet.c module_##name##_show(struct device *dev, struct device_attribute *a, \ _show 1604 drivers/char/ipmi/ipmi_si_intf.c static ssize_t name##_show(struct device *dev, \ _show 1612 drivers/char/ipmi/ipmi_si_intf.c static DEVICE_ATTR(name, 0444, name##_show, NULL) _show 1233 drivers/char/ipmi/ipmi_ssif.c static ssize_t ipmi_##name##_show(struct device *dev, \ _show 1241 drivers/char/ipmi/ipmi_ssif.c static DEVICE_ATTR(name, S_IRUGO, ipmi_##name##_show, NULL) _show 396 drivers/cpufreq/powernv-cpufreq.c static ssize_t name##_show(struct cpufreq_policy *policy, char *buf) \ _show 851 drivers/crypto/nx/nx-842-pseries.c static ssize_t nx842_##_name##_show(struct device *dev, \ _show 869 drivers/crypto/nx/nx-842-pseries.c nx842_##_name##_show,\ _show 5 drivers/edac/amd64_edac_dbg.c static ssize_t amd64_##reg##_show(struct device *dev, \ _show 147 drivers/edac/edac_device_sysfs.c #define CTL_INFO_ATTR(_name,_mode,_show,_store) \ _show 150 drivers/edac/edac_device_sysfs.c .show = _show, \ _show 375 drivers/edac/edac_device_sysfs.c #define INSTANCE_ATTR(_name,_mode,_show,_store) \ _show 378 drivers/edac/edac_device_sysfs.c .show = _show, \ _show 478 drivers/edac/edac_device_sysfs.c #define BLOCK_ATTR(_name,_mode,_show,_store) \ _show 481 drivers/edac/edac_device_sysfs.c .show = _show, \ _show 129 drivers/edac/edac_mc_sysfs.c #define DEVICE_ATTR_LEGACY(_name, _mode, _show, _store) \ _show 130 drivers/edac/edac_mc_sysfs.c static struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store) _show 137 drivers/edac/edac_mc_sysfs.c #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ _show 139 drivers/edac/edac_mc_sysfs.c { __ATTR(_name, _mode, _show, _store), (_var) } _show 127 drivers/edac/edac_pci_sysfs.c #define INSTANCE_ATTR(_name, _mode, _show, _store) \ _show 130 drivers/edac/edac_pci_sysfs.c .show = _show, \ _show 266 drivers/edac/edac_pci_sysfs.c #define EDAC_PCI_ATTR(_name,_mode,_show,_store) \ _show 270 drivers/edac/edac_pci_sysfs.c .show = _show, \ _show 274 drivers/edac/edac_pci_sysfs.c #define EDAC_PCI_STRING_ATTR(_name,_data,_mode,_show,_store) \ _show 278 drivers/edac/edac_pci_sysfs.c .show = _show, \ _show 131 drivers/edac/octeon_edac-lmc.c static ssize_t octeon_mc_inject_##reg##_show(struct device *dev, \ _show 33 drivers/firmware/dmi-id.c #define DMI_ATTR(_name, _mode, _show, _field) \ _show 34 drivers/firmware/dmi-id.c { .dev_attr = __ATTR(_name, _mode, _show, NULL), \ _show 66 drivers/firmware/edd.c #define EDD_DEVICE_ATTR(_name,_mode,_show,_test) \ _show 69 drivers/firmware/edd.c .show = _show, \ _show 147 drivers/firmware/efi/efi.c static ssize_t name##_show(struct kobject *kobj, \ _show 50 drivers/firmware/efi/efivars.c #define EFIVAR_ATTR(_name, _mode, _show, _store) \ _show 53 drivers/firmware/efi/efivars.c .show = _show, \ _show 124 drivers/firmware/efi/esrt.c static ssize_t name##_show(struct esre_entry *entry, char *buf) \ _show 195 drivers/firmware/efi/esrt.c static ssize_t name##_show(struct kobject *kobj, \ _show 41 drivers/firmware/efi/runtime-map.c static ssize_t name##_show(struct efi_runtime_map_entry *entry, char *buf) \ _show 118 drivers/firmware/turris-mox-rwtm.c name##_show(struct kobject *kobj, struct kobj_attribute *a, \ _show 1273 drivers/gpu/drm/amd/amdgpu/amdgpu.h _name##_show(struct device *dev, \ _show 297 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c return single_open(file, __prefix ## _show, inode->i_private); \ _show 1196 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c return single_open(file, __prefix ## _show, inode->i_private); \ _show 110 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c return single_open(file, __prefix ## _show, inode->i_private); \ _show 441 drivers/greybus/interface.c static ssize_t field##_show(struct device *dev, \ _show 882 drivers/hid/hid-cp2112.c static ssize_t name##_show(struct device *kdev, \ _show 1531 drivers/hv/vmbus_drv.c #define VMBUS_CHAN_ATTR(_name, _mode, _show, _store) \ _show 1533 drivers/hv/vmbus_drv.c = __ATTR(_name, _mode, _show, _store) _show 453 drivers/hwmon/acpi_power_meter.c #define RO_SENSOR_TEMPLATE(_label, _show, _index) \ _show 456 drivers/hwmon/acpi_power_meter.c .show = _show, \ _show 460 drivers/hwmon/acpi_power_meter.c #define RW_SENSOR_TEMPLATE(_label, _show, _set, _index) \ _show 463 drivers/hwmon/acpi_power_meter.c .show = _show, \ _show 358 drivers/hwmon/nct6683.c #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ _show 360 drivers/hwmon/nct6683.c .show = _show, \ _show 364 drivers/hwmon/nct6683.c #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ _show 365 drivers/hwmon/nct6683.c { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ _show 369 drivers/hwmon/nct6683.c #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ _show 371 drivers/hwmon/nct6683.c { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ _show 376 drivers/hwmon/nct6683.c #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ _show 378 drivers/hwmon/nct6683.c = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \ _show 381 drivers/hwmon/nct6683.c #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ _show 384 drivers/hwmon/nct6683.c = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ _show 1245 drivers/hwmon/nct6775.c #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ _show 1247 drivers/hwmon/nct6775.c .show = _show, \ _show 1251 drivers/hwmon/nct6775.c #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ _show 1252 drivers/hwmon/nct6775.c { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ _show 1256 drivers/hwmon/nct6775.c #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ _show 1258 drivers/hwmon/nct6775.c { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ _show 1263 drivers/hwmon/nct6775.c #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ _show 1265 drivers/hwmon/nct6775.c = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \ _show 1268 drivers/hwmon/nct6775.c #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ _show 1271 drivers/hwmon/nct6775.c = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ _show 701 drivers/hwmon/occ/common.c #define ATTR_OCC(_name, _mode, _show, _store) { \ _show 706 drivers/hwmon/occ/common.c .show = _show, \ _show 710 drivers/hwmon/occ/common.c #define SENSOR_ATTR_OCC(_name, _mode, _show, _store, _nr, _index) { \ _show 711 drivers/hwmon/occ/common.c .dev_attr = ATTR_OCC(_name, _mode, _show, _store), \ _show 716 drivers/hwmon/occ/common.c #define OCC_INIT_ATTR(_name, _mode, _show, _store, _nr, _index) \ _show 718 drivers/hwmon/occ/common.c SENSOR_ATTR_OCC(_name, _mode, _show, _store, _nr, _index)) _show 44 drivers/hwtracing/coresight/coresight-priv.h static ssize_t name##_show(struct device *_dev, \ _show 118 drivers/iio/health/afe440x.h static ssize_t _name ## _show(struct device *dev, \ _show 571 drivers/iio/light/lm3533-als.c #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ _show 572 drivers/iio/light/lm3533-als.c { .dev_attr = __ATTR(_name, _mode, _show, _store), \ _show 577 drivers/iio/light/lm3533-als.c #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ _show 579 drivers/iio/light/lm3533-als.c ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) _show 75 drivers/infiniband/core/sysfs.c #define PORT_ATTR(_name, _mode, _show, _store) \ _show 76 drivers/infiniband/core/sysfs.c struct port_attribute port_attr_##_name = __ATTR(_name, _mode, _show, _store) _show 797 drivers/infiniband/hw/hfi1/sysfs.c #define SDE_ATTR(_name, _mode, _show, _store) \ _show 799 drivers/infiniband/hw/hfi1/sysfs.c __ATTR(_name, _mode, _show, _store) _show 162 drivers/input/mouse/psmouse.h #define __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect) \ _show 173 drivers/input/mouse/psmouse.h .show = _show, \ _show 178 drivers/input/mouse/psmouse.h #define __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, _protect) \ _show 179 drivers/input/mouse/psmouse.h static ssize_t _show(struct psmouse *, void *, char *); \ _show 181 drivers/input/mouse/psmouse.h __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect) _show 183 drivers/input/mouse/psmouse.h #define PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set) \ _show 184 drivers/input/mouse/psmouse.h __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, true) _show 186 drivers/input/mouse/psmouse.h #define PSMOUSE_DEFINE_RO_ATTR(_name, _mode, _data, _show) \ _show 187 drivers/input/mouse/psmouse.h static ssize_t _show(struct psmouse *, void *, char *); \ _show 188 drivers/input/mouse/psmouse.h __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, NULL, true) _show 441 drivers/input/touchscreen/ad7877.c name ## _show(struct device *dev, struct device_attribute *attr, char *buf) \ _show 450 drivers/input/touchscreen/ad7877.c static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL); _show 425 drivers/input/touchscreen/ads7846.c name ## _show(struct device *dev, struct device_attribute *attr, char *buf) \ _show 434 drivers/input/touchscreen/ads7846.c static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL); _show 81 drivers/iommu/iommu.c #define IOMMU_GROUP_ATTR(_name, _mode, _show, _store) \ _show 83 drivers/iommu/iommu.c __ATTR(_name, _mode, _show, _store) _show 104 drivers/ipack/ipack.c field##_show(struct device *dev, struct device_attribute *attr, \ _show 9 drivers/md/bcache/sysfs.h .show = type ## _show, \ _show 16 drivers/md/bcache/sysfs.h static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\ _show 28 drivers/md/bcache/sysfs.h ret = __ ## fn ## _show(kobj, attr, buf); \ _show 20 drivers/md/dm-sysfs.c __ATTR(_name, S_IRUGO, dm_attr_##_name##_show, NULL) _show 45 drivers/md/dm-sysfs.c __ATTR(_name, S_IRUGO | S_IWUSR, dm_attr_##_name##_show, dm_attr_##_name##_store) _show 2734 drivers/media/pci/ddbridge/ddbridge-core.c #define __ATTR_MRO(_name, _show) { \ _show 2736 drivers/media/pci/ddbridge/ddbridge-core.c .show = _show, \ _show 1047 drivers/media/rc/rc-main.c #define RC_FILTER_ATTR(_name, _mode, _show, _store, _type, _mask) \ _show 1049 drivers/media/rc/rc-main.c .attr = __ATTR(_name, _mode, _show, _store), \ _show 147 drivers/memstick/core/memstick.c static ssize_t name##_show(struct device *dev, struct device_attribute *attr, \ _show 149 drivers/mfd/ab3100-otp.c static ssize_t ab3100_otp_##name##_show(struct device *dev, \ _show 316 drivers/mfd/lm3533-core.c #define LM3533_OUTPUT_ATTR(_name, _mode, _show, _store, _type, _id) \ _show 318 drivers/mfd/lm3533-core.c { .dev_attr = __ATTR(_name, _mode, _show, _store), \ _show 21 drivers/mfd/ucb1x00-assabet.c static ssize_t name##_show(struct device *dev, struct device_attribute *attr, \ _show 31 drivers/mfd/ucb1x00-assabet.c static DEVICE_ATTR(name,0444,name##_show,NULL) _show 17 drivers/mmc/core/bus.h static ssize_t mmc_##name##_show (struct device *dev, struct device_attribute *attr, char *buf) \ _show 22 drivers/mmc/core/bus.h static DEVICE_ATTR(name, S_IRUGO, mmc_##name##_show, NULL) _show 33 drivers/mmc/core/sdio_bus.c field##_show(struct device *dev, struct device_attribute *attr, char *buf) \ _show 18 drivers/net/bonding/bond_sysfs_slave.c #define SLAVE_ATTR(_name, _mode, _show) \ _show 22 drivers/net/bonding/bond_sysfs_slave.c .show = _show, \ _show 25 drivers/net/bonding/bond_sysfs_slave.c SLAVE_ATTR(_name, 0444, _name##_show) _show 768 drivers/nvdimm/region_devs.c static ssize_t mapping##idx##_show(struct device *dev, \ _show 2543 drivers/nvme/host/core.c #define SUBSYS_ATTR_RO(_name, _mode, _show) \ _show 2545 drivers/nvme/host/core.c __ATTR(_name, _mode, _show, NULL) _show 2559 drivers/nvme/host/core.c static ssize_t subsys_##field##_show(struct device *dev, \ _show 2567 drivers/nvme/host/core.c static SUBSYS_ATTR_RO(field, S_IRUGO, subsys_##field##_show); _show 3160 drivers/nvme/host/core.c static ssize_t field##_show(struct device *dev, \ _show 3167 drivers/nvme/host/core.c static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL); _show 3174 drivers/nvme/host/core.c static ssize_t field##_show(struct device *dev, \ _show 3180 drivers/nvme/host/core.c static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL); _show 589 drivers/nvme/host/multipath.c #define SUBSYS_ATTR_RW(_name, _mode, _show, _store) \ _show 591 drivers/nvme/host/multipath.c __ATTR(_name, _mode, _show, _store) _show 109 drivers/parisc/pdc_stable.c #define PDCS_ATTR(_name, _mode, _show, _store) \ _show 112 drivers/parisc/pdc_stable.c .show = _show, \ _show 116 drivers/parisc/pdc_stable.c #define PATHS_ATTR(_name, _mode, _show, _store) \ _show 119 drivers/parisc/pdc_stable.c .show = _show, \ _show 211 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_##_name##_show(struct config_item *item, char *page) \ _show 37 drivers/pci/pci-sysfs.c field##_show(struct device *dev, struct device_attribute *attr, char *buf) \ _show 575 drivers/pci/pcie/aer.c name##_show(struct device *dev, struct device_attribute *attr, \ _show 609 drivers/pci/pcie/aer.c name##_show(struct device *dev, struct device_attribute *attr, \ _show 316 drivers/pci/switch/switchtec.c static ssize_t field ## _show(struct device *dev, \ _show 1003 drivers/pcmcia/ds.c static ssize_t field##_show (struct device *dev, struct device_attribute *attr, char *buf) \ _show 1011 drivers/pcmcia/ds.c static ssize_t name##_show (struct device *dev, struct device_attribute *attr, char *buf) \ _show 370 drivers/platform/x86/compal-laptop.c static ssize_t NAME##_show(struct device *dev, \ _show 51 drivers/platform/x86/dcdbas.h DEVICE_ATTR(_name,0600,_name##_show,_name##_store); _show 54 drivers/platform/x86/dcdbas.h DEVICE_ATTR(_name,0400,_name##_show,NULL); _show 293 drivers/platform/x86/eeepc-laptop.c static ssize_t _name##_show(struct device *dev, \ _show 1035 drivers/platform/x86/eeepc-laptop.c static ssize_t _name##_show(struct device *dev, \ _show 4009 drivers/platform/x86/sony-laptop.c _mode, sony_pic_## _name ##_show, \ _show 19 drivers/powercap/powercap_sys.c static ssize_t _attr##_show(struct device *dev, \ _show 21 drivers/ptp/ptp_sysfs.c static ssize_t var##_show(struct device *dev, \ _show 27 drivers/ptp/ptp_sysfs.c static DEVICE_ATTR(name, 0444, var##_show, NULL); _show 20 drivers/rapidio/rio-sysfs.c field##_show(struct device *dev, struct device_attribute *attr, char *buf) \ _show 320 drivers/rpmsg/rpmsg_core.c field##_show(struct device *dev, \ _show 357 drivers/rpmsg/rpmsg_core.c field##_show(struct device *dev, \ _show 1646 drivers/s390/block/dasd_devmap.c static ssize_t dasd_##_name##_show(struct device *dev, \ _show 1662 drivers/s390/block/dasd_devmap.c static DEVICE_ATTR(_name, 0444, dasd_##_name##_show, NULL); \ _show 16 drivers/s390/net/qeth_l3_sys.c #define QETH_DEVICE_ATTR(_id, _name, _mode, _show, _store) \ _show 17 drivers/s390/net/qeth_l3_sys.c struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store) _show 16 drivers/s390/scsi/zfcp_sysfs.c #define ZFCP_DEV_ATTR(_feat, _name, _mode, _show, _store) \ _show 18 drivers/s390/scsi/zfcp_sysfs.c _show, _store) _show 20 drivers/s390/scsi/zfcp_sysfs.c static ssize_t zfcp_sysfs_##_feat##_##_name##_show(struct device *dev, \ _show 29 drivers/s390/scsi/zfcp_sysfs.c zfcp_sysfs_##_feat##_##_name##_show, NULL); _show 32 drivers/s390/scsi/zfcp_sysfs.c static ssize_t zfcp_sysfs_##_feat##_##_name##_show(struct device *dev, \ _show 39 drivers/s390/scsi/zfcp_sysfs.c zfcp_sysfs_##_feat##_##_name##_show, NULL); _show 42 drivers/s390/scsi/zfcp_sysfs.c static ssize_t zfcp_sysfs_adapter_##_name##_show(struct device *dev, \ _show 58 drivers/s390/scsi/zfcp_sysfs.c zfcp_sysfs_adapter_##_name##_show, NULL); _show 479 drivers/s390/scsi/zfcp_sysfs.c static ssize_t zfcp_sysfs_scsi_##_name##_show(struct device *dev, \ _show 488 drivers/s390/scsi/zfcp_sysfs.c static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_scsi_##_name##_show, NULL); _show 614 drivers/s390/scsi/zfcp_sysfs.c static ssize_t zfcp_sysfs_adapter_##_name##_show(struct device *dev, \ _show 627 drivers/s390/scsi/zfcp_sysfs.c static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_adapter_##_name##_show, NULL); _show 132 drivers/scsi/fcoe/fcoe_sysfs.c #define FCOE_DEVICE_ATTR(_prefix, _name, _mode, _show, _store) \ _show 134 drivers/scsi/fcoe/fcoe_sysfs.c __ATTR(_name, _mode, _show, _store) _show 2368 drivers/scsi/lpfc/lpfc_attr.c lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \ _show 2394 drivers/scsi/lpfc/lpfc_attr.c lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \ _show 2533 drivers/scsi/lpfc/lpfc_attr.c lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \ _show 2558 drivers/scsi/lpfc/lpfc_attr.c lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \ _show 36 drivers/scsi/lpfc/lpfc_attr.h static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) _show 47 drivers/scsi/lpfc/lpfc_attr.h lpfc_##name##_show, lpfc_##name##_store) _show 57 drivers/scsi/lpfc/lpfc_attr.h lpfc_##name##_show, lpfc_##name##_store) _show 65 drivers/scsi/lpfc/lpfc_attr.h static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) _show 76 drivers/scsi/lpfc/lpfc_attr.h lpfc_##name##_show, lpfc_##name##_store) _show 90 drivers/scsi/lpfc/lpfc_attr.h static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) _show 98 drivers/scsi/lpfc/lpfc_attr.h static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) _show 109 drivers/scsi/lpfc/lpfc_attr.h lpfc_##name##_show, lpfc_##name##_store) _show 117 drivers/scsi/lpfc/lpfc_attr.h static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) _show 128 drivers/scsi/lpfc/lpfc_attr.h lpfc_##name##_show, lpfc_##name##_store) _show 823 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_tpg_attrib_##name##_show( \ _show 60 drivers/scsi/scsi_transport_fc.c #define FC_DEVICE_ATTR(_prefix,_name,_mode,_show,_store) \ _show 62 drivers/scsi/scsi_transport_fc.c __ATTR(_name,_mode,_show,_store) _show 159 drivers/scsi/scsi_transport_iscsi.c #define ISCSI_ATTR(_prefix,_name,_mode,_show,_store) \ _show 161 drivers/scsi/scsi_transport_iscsi.c __ATTR(_name,_mode,_show,_store) _show 298 drivers/scsi/scsi_transport_iscsi.c #define ISCSI_IFACE_ATTR(_prefix, _name, _mode, _show, _store) \ _show 300 drivers/scsi/scsi_transport_iscsi.c __ATTR(_name, _mode, _show, _store) _show 809 drivers/scsi/scsi_transport_iscsi.c #define ISCSI_FLASHNODE_ATTR(_prefix, _name, _mode, _show, _store) \ _show 811 drivers/scsi/scsi_transport_iscsi.c __ATTR(_name, _mode, _show, _store) _show 3750 drivers/scsi/scsi_transport_iscsi.c #define ISCSI_CLASS_ATTR(_prefix,_name,_mode,_show,_store) \ _show 3752 drivers/scsi/scsi_transport_iscsi.c __ATTR(_name,_mode,_show,_store) _show 58 drivers/scsi/scsi_transport_sas.c #define SAS_DEVICE_ATTR(_prefix,_name,_mode,_show,_store) \ _show 60 drivers/scsi/scsi_transport_sas.c __ATTR(_name,_mode,_show,_store) _show 259 drivers/scsi/ufs/ufs-sysfs.c static ssize_t _name##_show(struct device *dev, \ _show 453 drivers/scsi/ufs/ufs-sysfs.c static ssize_t _name##_index##_show(struct device *dev, \ _show 569 drivers/scsi/ufs/ufs-sysfs.c static ssize_t _name##_show(struct device *dev, \ _show 623 drivers/scsi/ufs/ufs-sysfs.c static ssize_t _name##_show(struct device *dev, \ _show 662 drivers/scsi/ufs/ufs-sysfs.c static ssize_t _name##_show(struct device *dev, \ _show 730 drivers/scsi/ufs/ufs-sysfs.c static ssize_t _pname##_show(struct device *dev, \ _show 18 drivers/sh/superhyway/superhyway-sysfs.c static ssize_t name##_show(struct device *dev, struct device_attribute *attr, char *buf) \ _show 119 drivers/spi/spi.c static ssize_t spi_controller_##field##_show(struct device *dev, \ _show 125 drivers/spi/spi.c return spi_statistics_##field##_show(&ctlr->statistics, buf); \ _show 129 drivers/spi/spi.c .show = spi_controller_##field##_show, \ _show 131 drivers/spi/spi.c static ssize_t spi_device_##field##_show(struct device *dev, \ _show 136 drivers/spi/spi.c return spi_statistics_##field##_show(&spi->statistics, buf); \ _show 140 drivers/spi/spi.c .show = spi_device_##field##_show, \ _show 144 drivers/spi/spi.c static ssize_t spi_statistics_##name##_show(struct spi_statistics *stat, \ _show 356 drivers/ssb/main.c attrib##_show(struct device *dev, struct device_attribute *attr, char *buf) \ _show 187 drivers/staging/greybus/light.c static ssize_t fade_##__dir##_show(struct device *dev, \ _show 123 drivers/staging/greybus/loopback.c static ssize_t field##_show(struct device *dev, \ _show 133 drivers/staging/greybus/loopback.c static ssize_t name##_##field##_show(struct device *dev, \ _show 171 drivers/staging/greybus/loopback.c static ssize_t field##_show(struct device *dev, \ _show 197 drivers/staging/greybus/loopback.c static ssize_t field##_show(struct device *dev, \ _show 207 drivers/staging/greybus/loopback.c static ssize_t field##_show(struct device *dev, \ _show 14 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_FREQ(_channel, _num, _mode, _show, _store, _addr) \ _show 16 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 29 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \ _show 31 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 37 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \ _show 39 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 52 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr) \ _show 54 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 60 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\ _show 62 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 68 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PINCONTROL_FREQ_EN(_channel, _mode, _show, _store, _addr)\ _show 70 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 76 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_PINCONTROL_PHASE_EN(_channel, _mode, _show, _store, _addr)\ _show 78 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 84 drivers/staging/iio/frequency/dds.h #define IIO_DEV_ATTR_OUT_ENABLE(_channel, _mode, _show, _store, _addr) \ _show 86 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 93 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) \ _show 95 drivers/staging/iio/frequency/dds.h _mode, _show, _store, _addr) _show 9 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_A_OFFSET(_mode, _show, _store, _addr) \ _show 10 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_a_offset, _mode, _show, _store, _addr) _show 12 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_B_OFFSET(_mode, _show, _store, _addr) \ _show 13 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_b_offset, _mode, _show, _store, _addr) _show 15 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_C_OFFSET(_mode, _show, _store, _addr) \ _show 16 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_c_offset, _mode, _show, _store, _addr) _show 18 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VOLT_A_OFFSET(_mode, _show, _store, _addr) \ _show 19 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(volt_a_offset, _mode, _show, _store, _addr) _show 21 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VOLT_B_OFFSET(_mode, _show, _store, _addr) \ _show 22 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(volt_b_offset, _mode, _show, _store, _addr) _show 24 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VOLT_C_OFFSET(_mode, _show, _store, _addr) \ _show 25 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(volt_c_offset, _mode, _show, _store, _addr) _show 27 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_REACTIVE_POWER_A_OFFSET(_mode, _show, _store, _addr) \ _show 28 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(reactive_power_a_offset, _mode, _show, _store, _addr) _show 30 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_REACTIVE_POWER_B_OFFSET(_mode, _show, _store, _addr) \ _show 31 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(reactive_power_b_offset, _mode, _show, _store, _addr) _show 33 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_REACTIVE_POWER_C_OFFSET(_mode, _show, _store, _addr) \ _show 34 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(reactive_power_c_offset, _mode, _show, _store, _addr) _show 36 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ACTIVE_POWER_A_OFFSET(_mode, _show, _store, _addr) \ _show 37 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(active_power_a_offset, _mode, _show, _store, _addr) _show 39 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ACTIVE_POWER_B_OFFSET(_mode, _show, _store, _addr) \ _show 40 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(active_power_b_offset, _mode, _show, _store, _addr) _show 42 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ACTIVE_POWER_C_OFFSET(_mode, _show, _store, _addr) \ _show 43 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(active_power_c_offset, _mode, _show, _store, _addr) _show 45 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_A_GAIN(_mode, _show, _store, _addr) \ _show 46 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_a_gain, _mode, _show, _store, _addr) _show 48 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_B_GAIN(_mode, _show, _store, _addr) \ _show 49 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_b_gain, _mode, _show, _store, _addr) _show 51 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_C_GAIN(_mode, _show, _store, _addr) \ _show 52 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_c_gain, _mode, _show, _store, _addr) _show 54 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_APPARENT_POWER_A_GAIN(_mode, _show, _store, _addr) \ _show 55 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(apparent_power_a_gain, _mode, _show, _store, _addr) _show 57 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_APPARENT_POWER_B_GAIN(_mode, _show, _store, _addr) \ _show 58 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(apparent_power_b_gain, _mode, _show, _store, _addr) _show 60 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_APPARENT_POWER_C_GAIN(_mode, _show, _store, _addr) \ _show 61 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(apparent_power_c_gain, _mode, _show, _store, _addr) _show 63 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ACTIVE_POWER_GAIN(_mode, _show, _store, _addr) \ _show 64 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(active_power_gain, _mode, _show, _store, _addr) _show 66 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ACTIVE_POWER_A_GAIN(_mode, _show, _store, _addr) \ _show 67 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(active_power_a_gain, _mode, _show, _store, _addr) _show 69 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ACTIVE_POWER_B_GAIN(_mode, _show, _store, _addr) \ _show 70 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(active_power_b_gain, _mode, _show, _store, _addr) _show 72 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ACTIVE_POWER_C_GAIN(_mode, _show, _store, _addr) \ _show 73 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(active_power_c_gain, _mode, _show, _store, _addr) _show 75 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_REACTIVE_POWER_A_GAIN(_mode, _show, _store, _addr) \ _show 76 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(reactive_power_a_gain, _mode, _show, _store, _addr) _show 78 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_REACTIVE_POWER_B_GAIN(_mode, _show, _store, _addr) \ _show 79 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(reactive_power_b_gain, _mode, _show, _store, _addr) _show 81 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_REACTIVE_POWER_C_GAIN(_mode, _show, _store, _addr) \ _show 82 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(reactive_power_c_gain, _mode, _show, _store, _addr) _show 84 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_A(_show, _addr) \ _show 85 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_a, 0444, _show, NULL, _addr) _show 87 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_B(_show, _addr) \ _show 88 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_b, 0444, _show, NULL, _addr) _show 90 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CURRENT_C(_show, _addr) \ _show 91 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(current_c, 0444, _show, NULL, _addr) _show 93 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VOLT_A(_show, _addr) \ _show 94 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(volt_a, 0444, _show, NULL, _addr) _show 96 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VOLT_B(_show, _addr) \ _show 97 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(volt_b, 0444, _show, NULL, _addr) _show 99 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VOLT_C(_show, _addr) \ _show 100 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(volt_c, 0444, _show, NULL, _addr) _show 102 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AENERGY(_show, _addr) \ _show 103 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(aenergy, 0444, _show, NULL, _addr) _show 105 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_LENERGY(_show, _addr) \ _show 106 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(lenergy, 0444, _show, NULL, _addr) _show 108 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_RAENERGY(_show, _addr) \ _show 109 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(raenergy, 0444, _show, NULL, _addr) _show 111 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_LAENERGY(_show, _addr) \ _show 112 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(laenergy, 0444, _show, NULL, _addr) _show 114 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VAENERGY(_show, _addr) \ _show 115 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vaenergy, 0444, _show, NULL, _addr) _show 117 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_LVAENERGY(_show, _addr) \ _show 118 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(lvaenergy, 0444, _show, NULL, _addr) _show 120 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_RVAENERGY(_show, _addr) \ _show 121 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(rvaenergy, 0444, _show, NULL, _addr) _show 123 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_LVARENERGY(_show, _addr) \ _show 124 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(lvarenergy, 0444, _show, NULL, _addr) _show 126 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CHKSUM(_show, _addr) \ _show 127 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(chksum, 0444, _show, NULL, _addr) _show 129 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ANGLE0(_show, _addr) \ _show 130 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(angle0, 0444, _show, NULL, _addr) _show 132 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ANGLE1(_show, _addr) \ _show 133 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(angle1, 0444, _show, NULL, _addr) _show 135 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_ANGLE2(_show, _addr) \ _show 136 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(angle2, 0444, _show, NULL, _addr) _show 138 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AWATTHR(_show, _addr) \ _show 139 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(awatthr, 0444, _show, NULL, _addr) _show 141 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BWATTHR(_show, _addr) \ _show 142 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bwatthr, 0444, _show, NULL, _addr) _show 144 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CWATTHR(_show, _addr) \ _show 145 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cwatthr, 0444, _show, NULL, _addr) _show 147 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AFWATTHR(_show, _addr) \ _show 148 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(afwatthr, 0444, _show, NULL, _addr) _show 150 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BFWATTHR(_show, _addr) \ _show 151 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bfwatthr, 0444, _show, NULL, _addr) _show 153 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CFWATTHR(_show, _addr) \ _show 154 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cfwatthr, 0444, _show, NULL, _addr) _show 156 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AVARHR(_show, _addr) \ _show 157 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(avarhr, 0444, _show, NULL, _addr) _show 159 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BVARHR(_show, _addr) \ _show 160 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bvarhr, 0444, _show, NULL, _addr) _show 162 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CVARHR(_show, _addr) \ _show 163 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cvarhr, 0444, _show, NULL, _addr) _show 165 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AVAHR(_show, _addr) \ _show 166 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(avahr, 0444, _show, NULL, _addr) _show 168 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BVAHR(_show, _addr) \ _show 169 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bvahr, 0444, _show, NULL, _addr) _show 171 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CVAHR(_show, _addr) \ _show 172 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cvahr, 0444, _show, NULL, _addr) _show 174 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_IOS(_mode, _show, _store, _addr) \ _show 175 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(ios, _mode, _show, _store, _addr) _show 177 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VOS(_mode, _show, _store, _addr) \ _show 178 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vos, _mode, _show, _store, _addr) _show 180 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_PHCAL(_mode, _show, _store, _addr) \ _show 181 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(phcal, _mode, _show, _store, _addr) _show 183 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_APHCAL(_mode, _show, _store, _addr) \ _show 184 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(aphcal, _mode, _show, _store, _addr) _show 186 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BPHCAL(_mode, _show, _store, _addr) \ _show 187 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bphcal, _mode, _show, _store, _addr) _show 189 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CPHCAL(_mode, _show, _store, _addr) \ _show 190 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cphcal, _mode, _show, _store, _addr) _show 192 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_APOS(_mode, _show, _store, _addr) \ _show 193 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(apos, _mode, _show, _store, _addr) _show 195 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AAPOS(_mode, _show, _store, _addr) \ _show 196 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(aapos, _mode, _show, _store, _addr) _show 198 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BAPOS(_mode, _show, _store, _addr) \ _show 199 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bapos, _mode, _show, _store, _addr) _show 201 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CAPOS(_mode, _show, _store, _addr) \ _show 202 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(capos, _mode, _show, _store, _addr) _show 204 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AVRMSGAIN(_mode, _show, _store, _addr) \ _show 205 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(avrmsgain, _mode, _show, _store, _addr) _show 207 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BVRMSGAIN(_mode, _show, _store, _addr) \ _show 208 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bvrmsgain, _mode, _show, _store, _addr) _show 210 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CVRMSGAIN(_mode, _show, _store, _addr) \ _show 211 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cvrmsgain, _mode, _show, _store, _addr) _show 213 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AIGAIN(_mode, _show, _store, _addr) \ _show 214 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(aigain, _mode, _show, _store, _addr) _show 216 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BIGAIN(_mode, _show, _store, _addr) \ _show 217 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bigain, _mode, _show, _store, _addr) _show 219 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CIGAIN(_mode, _show, _store, _addr) \ _show 220 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cigain, _mode, _show, _store, _addr) _show 222 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_NIGAIN(_mode, _show, _store, _addr) \ _show 223 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(nigain, _mode, _show, _store, _addr) _show 225 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AVGAIN(_mode, _show, _store, _addr) \ _show 226 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(avgain, _mode, _show, _store, _addr) _show 228 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BVGAIN(_mode, _show, _store, _addr) \ _show 229 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bvgain, _mode, _show, _store, _addr) _show 231 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CVGAIN(_mode, _show, _store, _addr) \ _show 232 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cvgain, _mode, _show, _store, _addr) _show 234 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_WGAIN(_mode, _show, _store, _addr) \ _show 235 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(wgain, _mode, _show, _store, _addr) _show 237 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_WDIV(_mode, _show, _store, _addr) \ _show 238 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(wdiv, _mode, _show, _store, _addr) _show 240 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CFNUM(_mode, _show, _store, _addr) \ _show 241 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cfnum, _mode, _show, _store, _addr) _show 243 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CFDEN(_mode, _show, _store, _addr) \ _show 244 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cfden, _mode, _show, _store, _addr) _show 246 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CF1DEN(_mode, _show, _store, _addr) \ _show 247 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cf1den, _mode, _show, _store, _addr) _show 249 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CF2DEN(_mode, _show, _store, _addr) \ _show 250 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cf2den, _mode, _show, _store, _addr) _show 252 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CF3DEN(_mode, _show, _store, _addr) \ _show 253 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cf3den, _mode, _show, _store, _addr) _show 255 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_IRMS(_mode, _show, _store, _addr) \ _show 256 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(irms, _mode, _show, _store, _addr) _show 258 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VRMS(_mode, _show, _store, _addr) \ _show 259 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vrms, _mode, _show, _store, _addr) _show 261 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AIRMS(_mode, _show, _store, _addr) \ _show 262 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(airms, _mode, _show, _store, _addr) _show 264 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BIRMS(_mode, _show, _store, _addr) \ _show 265 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(birms, _mode, _show, _store, _addr) _show 267 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CIRMS(_mode, _show, _store, _addr) \ _show 268 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cirms, _mode, _show, _store, _addr) _show 270 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_NIRMS(_mode, _show, _store, _addr) \ _show 271 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(nirms, _mode, _show, _store, _addr) _show 273 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AVRMS(_mode, _show, _store, _addr) \ _show 274 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(avrms, _mode, _show, _store, _addr) _show 276 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BVRMS(_mode, _show, _store, _addr) \ _show 277 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bvrms, _mode, _show, _store, _addr) _show 279 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CVRMS(_mode, _show, _store, _addr) \ _show 280 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cvrms, _mode, _show, _store, _addr) _show 282 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_IRMSOS(_mode, _show, _store, _addr) \ _show 283 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(irmsos, _mode, _show, _store, _addr) _show 285 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VRMSOS(_mode, _show, _store, _addr) \ _show 286 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vrmsos, _mode, _show, _store, _addr) _show 288 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AIRMSOS(_mode, _show, _store, _addr) \ _show 289 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(airmsos, _mode, _show, _store, _addr) _show 291 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BIRMSOS(_mode, _show, _store, _addr) \ _show 292 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(birmsos, _mode, _show, _store, _addr) _show 294 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CIRMSOS(_mode, _show, _store, _addr) \ _show 295 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cirmsos, _mode, _show, _store, _addr) _show 297 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_AVRMSOS(_mode, _show, _store, _addr) \ _show 298 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(avrmsos, _mode, _show, _store, _addr) _show 300 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_BVRMSOS(_mode, _show, _store, _addr) \ _show 301 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(bvrmsos, _mode, _show, _store, _addr) _show 303 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CVRMSOS(_mode, _show, _store, _addr) \ _show 304 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cvrmsos, _mode, _show, _store, _addr) _show 306 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VAGAIN(_mode, _show, _store, _addr) \ _show 307 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vagain, _mode, _show, _store, _addr) _show 309 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_PGA_GAIN(_mode, _show, _store, _addr) \ _show 310 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(pga_gain, _mode, _show, _store, _addr) _show 312 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VADIV(_mode, _show, _store, _addr) \ _show 313 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vadiv, _mode, _show, _store, _addr) _show 315 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_LINECYC(_mode, _show, _store, _addr) \ _show 316 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(linecyc, _mode, _show, _store, _addr) _show 318 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_SAGCYC(_mode, _show, _store, _addr) \ _show 319 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(sagcyc, _mode, _show, _store, _addr) _show 321 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_CFCYC(_mode, _show, _store, _addr) \ _show 322 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(cfcyc, _mode, _show, _store, _addr) _show 324 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_PEAKCYC(_mode, _show, _store, _addr) \ _show 325 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(peakcyc, _mode, _show, _store, _addr) _show 327 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_SAGLVL(_mode, _show, _store, _addr) \ _show 328 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(saglvl, _mode, _show, _store, _addr) _show 330 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_IPKLVL(_mode, _show, _store, _addr) \ _show 331 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(ipklvl, _mode, _show, _store, _addr) _show 333 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VPKLVL(_mode, _show, _store, _addr) \ _show 334 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vpklvl, _mode, _show, _store, _addr) _show 336 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_IPEAK(_mode, _show, _store, _addr) \ _show 337 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(ipeak, _mode, _show, _store, _addr) _show 339 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_RIPEAK(_mode, _show, _store, _addr) \ _show 340 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(ripeak, _mode, _show, _store, _addr) _show 342 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VPEAK(_mode, _show, _store, _addr) \ _show 343 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vpeak, _mode, _show, _store, _addr) _show 345 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_RVPEAK(_mode, _show, _store, _addr) \ _show 346 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(rvpeak, _mode, _show, _store, _addr) _show 348 drivers/staging/iio/meter/meter.h #define IIO_DEV_ATTR_VPERIOD(_mode, _show, _store, _addr) \ _show 349 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(vperiod, _mode, _show, _store, _addr) _show 352 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_AENERGY_HALF_FULL(_evlist, _show, _store, _mask) \ _show 353 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(aenergy_half_full, _evlist, _show, _store, _mask) _show 356 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_LINE_VOLT_SAG(_evlist, _show, _store, _mask) \ _show 357 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(line_volt_sag, _evlist, _show, _store, _mask) _show 363 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_CYCEND(_evlist, _show, _store, _mask) \ _show 364 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(cycend, _evlist, _show, _store, _mask) _show 367 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_ZERO_CROSS(_evlist, _show, _store, _mask) \ _show 368 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(zero_cross, _evlist, _show, _store, _mask) _show 371 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_AENERGY_OVERFLOW(_evlist, _show, _store, _mask) \ _show 372 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(aenergy_overflow, _evlist, _show, _store, _mask) _show 375 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_VAENERGY_OVERFLOW(_evlist, _show, _store, _mask) \ _show 376 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(vaenergy_overflow, _evlist, _show, _store, _mask) _show 379 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_VAENERGY_HALF_FULL(_evlist, _show, _store, _mask) \ _show 380 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(vaenergy_half_full, _evlist, _show, _store, _mask) _show 383 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_PPOS(_evlist, _show, _store, _mask) \ _show 384 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(ppos, _evlist, _show, _store, _mask) _show 387 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_PNEG(_evlist, _show, _store, _mask) \ _show 388 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(pneg, _evlist, _show, _store, _mask) _show 391 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_IPKLVL_EXC(_evlist, _show, _store, _mask) \ _show 392 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(ipklvl_exc, _evlist, _show, _store, _mask) _show 395 drivers/staging/iio/meter/meter.h #define IIO_EVENT_ATTR_VPKLVL_EXC(_evlist, _show, _store, _mask) \ _show 396 drivers/staging/iio/meter/meter.h IIO_EVENT_ATTR_SH(vpklvl_exc, _evlist, _show, _store, _mask) _show 281 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_attrib_##name##_show(struct config_item *item,\ _show 338 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t __iscsi_##prefix##_##name##_show( \ _show 377 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_auth_##name##_show(struct config_item *item, \ _show 381 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_nacl_auth_##name##_show(container_of(nacl, \ _show 403 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t __iscsi_##prefix##_##name##_show( \ _show 417 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_auth_##name##_show(struct config_item *item, \ _show 421 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_nacl_auth_##name##_show(container_of(nacl, \ _show 443 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_param_##name##_show(struct config_item *item, \ _show 720 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_attrib_##name##_show(struct config_item *item, \ _show 801 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \ _show 841 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_auth_##name##_show(struct config_item *item, \ _show 844 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_tpg_auth_##name##_show(auth_to_tpg(item), page); \ _show 862 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \ _show 877 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_auth_##name##_show(struct config_item *item, \ _show 880 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_tpg_auth_##name##_show(auth_to_tpg(item), page); \ _show 900 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_param_##name##_show(struct config_item *item, \ _show 1227 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_disc_##name##_show(struct config_item *item, char *page) \ _show 1229 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_disc_##name##_show(&iscsit_global->discovery_acl,\ _show 1248 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_disc_##name##_show(struct config_item *item, char *page) \ _show 1250 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_disc_##name##_show(&iscsit_global->discovery_acl, \ _show 513 drivers/target/target_core_configfs.c static ssize_t _name##_show(struct config_item *item, char *page) \ _show 1519 drivers/target/target_core_configfs.c static ssize_t target_wwn_##_name##_show(struct config_item *item, \ _show 2781 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_alua_support_##_name##_show( \ _show 85 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c static ssize_t power_limit_##index##_##suffix##_show(struct device *dev, \ _show 353 drivers/thermal/thermal_sysfs.c name##_show(struct device *dev, struct device_attribute *devattr, \ _show 208 drivers/usb/atm/cxacru.c static ssize_t _name##_show(struct device *dev, \ _show 2377 drivers/usb/atm/ueagle-atm.c static ssize_t stat_##name##_show(struct device *dev, \ _show 1824 drivers/usb/class/usbtmc.c static ssize_t name##_show(struct device *dev, \ _show 37 drivers/usb/core/endpoint.c static ssize_t field##_show(struct device *dev, \ _show 25 drivers/usb/core/sysfs.c static ssize_t field##_show(struct device *dev, \ _show 124 drivers/usb/core/sysfs.c static ssize_t name##_show(struct device *dev, \ _show 711 drivers/usb/core/sysfs.c field##_show(struct device *dev, struct device_attribute *attr, \ _show 728 drivers/usb/core/sysfs.c field##_show(struct device *dev, struct device_attribute *attr, \ _show 1080 drivers/usb/core/sysfs.c iad_##field##_show(struct device *dev, struct device_attribute *attr, \ _show 1099 drivers/usb/core/sysfs.c field##_show(struct device *dev, struct device_attribute *attr, \ _show 132 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \ _show 140 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \ _show 881 drivers/usb/gadget/function/f_hid.c static ssize_t f_hid_opts_##name##_show(struct config_item *item, char *page)\ _show 1086 drivers/usb/gadget/function/f_midi.c static ssize_t f_midi_opts_##name##_show(struct config_item *item, char *page) \ _show 649 drivers/usb/gadget/function/f_uac1.c static ssize_t f_uac1_opts_##name##_show( \ _show 820 drivers/usb/gadget/function/f_uac1_legacy.c static ssize_t f_uac1_opts_##name##_show(struct config_item *item, \ _show 865 drivers/usb/gadget/function/f_uac1_legacy.c static ssize_t f_uac1_opts_##name##_show(struct config_item *item, \ _show 991 drivers/usb/gadget/function/f_uac2.c static ssize_t f_uac2_opts_##name##_show(struct config_item *item, \ _show 154 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_##_n_##_show(struct config_item *item,\ _show 29 drivers/usb/gadget/function/uvc_configfs.c .show = prefix##cname##_show, \ _show 38 drivers/usb/gadget/function/uvc_configfs.c .show = prefix##cname##_show, \ _show 142 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_control_header_##cname##_show( \ _show 260 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_default_processing_##cname##_show( \ _show 363 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_default_camera_##cname##_show( \ _show 477 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_default_output_##cname##_show( \ _show 983 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_streaming_header_##cname##_show( \ _show 1093 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_frame_##cname##_show(struct config_item *item, char *page)\ _show 1500 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_uncompressed_##cname##_show( \ _show 1525 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_uncompressed_##cname##_show( \ _show 1695 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_mjpeg_##cname##_show(struct config_item *item, char *page)\ _show 1719 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_mjpeg_##cname##_show(struct config_item *item, char *page)\ _show 1864 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_default_color_matching_##cname##_show( \ _show 2383 drivers/usb/gadget/function/uvc_configfs.c static ssize_t f_uvc_opts_##cname##_show( \ _show 1522 drivers/usb/gadget/udc/core.c ssize_t name##_show(struct device *dev, \ _show 1535 drivers/usb/gadget/udc/core.c ssize_t name##_show(struct device *dev, \ _show 168 drivers/usb/misc/usbsevseg.c static ssize_t name##_show(struct device *dev, \ _show 310 drivers/video/fbdev/efifb.c static ssize_t name##_show(struct device *dev, \ _show 238 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c #define DISPLAY_ATTR(_name, _mode, _show, _store) \ _show 240 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c __ATTR(_name, _mode, _show, _store) _show 421 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c #define MANAGER_ATTR(_name, _mode, _show, _store) \ _show 423 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c __ATTR(_name, _mode, _show, _store) _show 357 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c #define OVERLAY_ATTR(_name, _mode, _show, _store) \ _show 359 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c __ATTR(_name, _mode, _show, _store) _show 29 drivers/xen/sys-hypervisor.c __ATTR(_name, 0644, _name##_show, _name##_store) _show 26 drivers/zorro/zorro-sysfs.c static ssize_t name##_show(struct device *dev, \ _show 33 fs/btrfs/sysfs.c #define __INIT_KOBJ_ATTR(_name, _mode, _show, _store) \ _show 36 fs/btrfs/sysfs.c .show = _show, \ _show 40 fs/btrfs/sysfs.c #define BTRFS_ATTR_RW(_prefix, _name, _show, _store) \ _show 42 fs/btrfs/sysfs.c __INIT_KOBJ_ATTR(_name, 0644, _show, _store) _show 44 fs/btrfs/sysfs.c #define BTRFS_ATTR(_prefix, _name, _show) \ _show 46 fs/btrfs/sysfs.c __INIT_KOBJ_ATTR(_name, 0444, _show, NULL) _show 155 fs/dlm/config.c static ssize_t cluster_##name##_show(struct config_item *item, char *buf) \ _show 414 fs/f2fs/sysfs.c #define F2FS_ATTR_OFFSET(_struct_type, _name, _mode, _show, _store, _offset) \ _show 417 fs/f2fs/sysfs.c .show = _show, \ _show 429 fs/f2fs/sysfs.c static struct f2fs_attr f2fs_attr_##name = __ATTR(name, 0444, name##_show, NULL) _show 517 fs/gfs2/sys.c #define GDLM_ATTR(_name,_mode,_show,_store) \ _show 518 fs/gfs2/sys.c static struct gfs2_attr gdlm_attr_##_name = __ATTR(_name,_mode,_show,_store) _show 600 fs/gfs2/sys.c static ssize_t name##_show(struct gfs2_sbd *sdp, char *buf) \ _show 604 fs/gfs2/sys.c TUNE_ATTR_3(name, name##_show, store) _show 98 fs/nilfs2/sysfs.h NILFS_ATTR(type, name, 0444, nilfs_##type##_##name##_show, NULL) _show 101 fs/nilfs2/sysfs.h nilfs_##type##_##name##_show, \ _show 130 include/linux/configfs.h .show = _pfx##_name##_show, \ _show 139 include/linux/configfs.h .show = _pfx##_name##_show, \ _show 831 include/linux/device.h #define DEVICE_ATTR(_name, _mode, _show, _store) \ _show 832 include/linux/device.h struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) _show 833 include/linux/device.h #define DEVICE_ATTR_PREALLOC(_name, _mode, _show, _store) \ _show 835 include/linux/device.h __ATTR_PREALLOC(_name, _mode, _show, _store) _show 851 include/linux/device.h #define DEVICE_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ _show 853 include/linux/device.h __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) _show 19 include/linux/hwmon-sysfs.h #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ _show 20 include/linux/hwmon-sysfs.h { .dev_attr = __ATTR(_name, _mode, _show, _store), \ _show 24 include/linux/hwmon-sysfs.h SENSOR_ATTR(_name, 0444, _func##_show, NULL, _index) _show 27 include/linux/hwmon-sysfs.h SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index) _show 32 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ _show 34 include/linux/hwmon-sysfs.h = SENSOR_ATTR(_name, _mode, _show, _store, _index) _show 37 include/linux/hwmon-sysfs.h SENSOR_DEVICE_ATTR(_name, 0444, _func##_show, NULL, _index) _show 40 include/linux/hwmon-sysfs.h SENSOR_DEVICE_ATTR(_name, 0644, _func##_show, _func##_store, _index) _show 53 include/linux/hwmon-sysfs.h #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ _show 54 include/linux/hwmon-sysfs.h { .dev_attr = __ATTR(_name, _mode, _show, _store), \ _show 59 include/linux/hwmon-sysfs.h SENSOR_ATTR_2(_name, 0444, _func##_show, NULL, _nr, _index) _show 62 include/linux/hwmon-sysfs.h SENSOR_ATTR_2(_name, 0644, _func##_show, _func##_store, _nr, _index) _show 67 include/linux/hwmon-sysfs.h #define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index) \ _show 69 include/linux/hwmon-sysfs.h = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) _show 72 include/linux/hwmon-sysfs.h SENSOR_DEVICE_ATTR_2(_name, 0444, _func##_show, NULL, \ _show 76 include/linux/hwmon-sysfs.h SENSOR_DEVICE_ATTR_2(_name, 0644, _func##_show, _func##_store, \ _show 51 include/linux/iio/sysfs.h #define IIO_ATTR(_name, _mode, _show, _store, _addr) \ _show 52 include/linux/iio/sysfs.h { .dev_attr = __ATTR(_name, _mode, _show, _store), \ _show 67 include/linux/iio/sysfs.h #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ _show 69 include/linux/iio/sysfs.h = IIO_ATTR(_name, _mode, _show, _store, _addr) _show 83 include/linux/iio/sysfs.h #define IIO_DEVICE_ATTR_NAMED(_vname, _name, _mode, _show, _store, _addr) \ _show 85 include/linux/iio/sysfs.h = IIO_ATTR(_name, _mode, _show, _store, _addr) _show 105 include/linux/iio/sysfs.h #define IIO_DEV_ATTR_SAMP_FREQ(_mode, _show, _store) \ _show 106 include/linux/iio/sysfs.h IIO_DEVICE_ATTR(sampling_frequency, _mode, _show, _store, 0) _show 114 include/linux/iio/sysfs.h #define IIO_DEV_ATTR_SAMP_FREQ_AVAIL(_show) \ _show 115 include/linux/iio/sysfs.h IIO_DEVICE_ATTR(sampling_frequency_available, S_IRUGO, _show, NULL, 0) _show 129 include/linux/iio/sysfs.h #define IIO_DEV_ATTR_INT_TIME_AVAIL(_show) \ _show 130 include/linux/iio/sysfs.h IIO_DEVICE_ATTR(integration_time_available, S_IRUGO, _show, NULL, 0) _show 140 include/linux/iio/sysfs.h #define IIO_DEV_ATTR_TEMP_RAW(_show) \ _show 141 include/linux/iio/sysfs.h IIO_DEVICE_ATTR(in_temp_raw, S_IRUGO, _show, NULL, 0) _show 105 include/linux/mdev.h #define MDEV_TYPE_ATTR(_name, _mode, _show, _store) \ _show 107 include/linux/mdev.h __ATTR(_name, _mode, _show, _store) _show 1449 include/linux/perf_event.h #define PMU_EVENT_ATTR(_name, _var, _id, _show) \ _show 1451 include/linux/perf_event.h .attr = __ATTR(_name, 0444, _show, NULL), \ _show 1464 include/linux/perf_event.h _name##_show(struct device *dev, \ _show 152 include/linux/seq_file.h return single_open(file, __name ## _show, inode->i_private); \ _show 101 include/linux/sysfs.h #define __ATTR(_name, _mode, _show, _store) { \ _show 104 include/linux/sysfs.h .show = _show, \ _show 108 include/linux/sysfs.h #define __ATTR_PREALLOC(_name, _mode, _show, _store) { \ _show 111 include/linux/sysfs.h .show = _show, \ _show 117 include/linux/sysfs.h .show = _name##_show, \ _show 123 include/linux/sysfs.h .show = _name##_show, \ _show 131 include/linux/sysfs.h #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store) _show 136 include/linux/sysfs.h #define __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) { \ _show 139 include/linux/sysfs.h .show = _show, \ _show 24 include/linux/usb/gadget_configfs.h static ssize_t __struct##_##__name##_show(struct config_item *item, char *page) \ _show 163 include/scsi/scsi_transport_fc.h #define FC_VPORT_ATTR(_name,_mode,_show,_store) \ _show 165 include/scsi/scsi_transport_fc.h __ATTR(_name,_mode,_show,_store) _show 289 include/scsi/scsi_transport_fc.h #define FC_RPORT_ATTR(_name,_mode,_show,_store) \ _show 291 include/scsi/scsi_transport_fc.h __ATTR(_name,_mode,_show,_store) _show 28 kernel/ksysfs.c __ATTR(_name, 0644, _name##_show, _name##_store) _show 279 kernel/power/main.c static ssize_t _name##_show(struct kobject *kobj, \ _show 84 kernel/power/power.h .show = _name##_show, \ _show 94 kernel/power/power.h .show = _name##_show, \ _show 155 mm/backing-dev.c static ssize_t name##_show(struct device *dev, \ _show 2557 mm/hugetlb.c __ATTR(_name, 0644, _name##_show, _name##_store) _show 2851 mm/ksm.c __ATTR(_name, 0644, _name##_show, _name##_store) _show 4937 mm/slub.c __ATTR(_name, 0400, _name##_show, NULL) _show 4941 mm/slub.c __ATTR(_name, 0600, _name##_show, _name##_store) _show 5399 mm/slub.c static ssize_t text##_show(struct kmem_cache *s, char *buf) \ _show 119 net/batman-adv/sysfs.c #define BATADV_ATTR_VLAN(_name, _mode, _show, _store) \ _show 123 net/batman-adv/sysfs.c .show = _show, \ _show 128 net/batman-adv/sysfs.c #define BATADV_ATTR(_name, _mode, _show, _store) \ _show 132 net/batman-adv/sysfs.c .show = _show, \ _show 76 net/bluetooth/hci_debugfs.c static int __name ## _show(struct seq_file *f, void *ptr) \ _show 27 net/bridge/br_sysfs_if.c #define BRPORT_ATTR_RAW(_name, _mode, _show, _store) \ _show 31 net/bridge/br_sysfs_if.c .show = _show, \ _show 35 net/bridge/br_sysfs_if.c #define BRPORT_ATTR(_name, _mode, _show, _store) \ _show 39 net/bridge/br_sysfs_if.c .show = _show, \ _show 61 net/core/net-sysfs.c static ssize_t field##_show(struct device *dev, \ _show 569 net/core/net-sysfs.c static ssize_t name##_show(struct device *d, \ _show 27 net/ieee802154/sysfs.c static ssize_t name ## _show(struct device *dev, \ _show 27 net/wireless/sysfs.c static ssize_t name ## _show(struct device *dev, \ _show 1033 security/apparmor/apparmorfs.c return seq_profile_open(inode, file, seq_profile_ ##NAME ##_show); \ _show 1135 security/apparmor/apparmorfs.c return single_open(file, seq_ns_ ##NAME ##_show, inode->i_private); \ _show 1211 security/apparmor/apparmorfs.c return seq_rawdata_open(inode, file, seq_rawdata_ ##NAME ##_show); \ _show 20 sound/hda/hdac_sysfs.c static ssize_t type##_show(struct device *dev, \ _show 30 sound/hda/hdac_sysfs.c static ssize_t type##_show(struct device *dev, \ _show 53 sound/pci/hda/hda_sysfs.c static ssize_t type##_show(struct device *dev, \ _show 62 sound/pci/hda/hda_sysfs.c static ssize_t type##_show(struct device *dev, \ _show 519 sound/soc/ti/omap-mcbsp.c static ssize_t prop##_show(struct device *dev, \ _show 546 sound/soc/ti/omap-mcbsp.c static DEVICE_ATTR(prop, 0644, prop##_show, prop##_store)