Home
last modified time | relevance | path

Searched refs:_show (Results 1 – 25 of 60) sorted by relevance

123

/drivers/staging/iio/meter/
Dmeter.h5 #define IIO_DEV_ATTR_CURRENT_A_OFFSET(_mode, _show, _store, _addr) \ argument
6 IIO_DEVICE_ATTR(current_a_offset, _mode, _show, _store, _addr)
8 #define IIO_DEV_ATTR_CURRENT_B_OFFSET(_mode, _show, _store, _addr) \ argument
9 IIO_DEVICE_ATTR(current_b_offset, _mode, _show, _store, _addr)
11 #define IIO_DEV_ATTR_CURRENT_C_OFFSET(_mode, _show, _store, _addr) \ argument
12 IIO_DEVICE_ATTR(current_c_offset, _mode, _show, _store, _addr)
14 #define IIO_DEV_ATTR_VOLT_A_OFFSET(_mode, _show, _store, _addr) \ argument
15 IIO_DEVICE_ATTR(volt_a_offset, _mode, _show, _store, _addr)
17 #define IIO_DEV_ATTR_VOLT_B_OFFSET(_mode, _show, _store, _addr) \ argument
18 IIO_DEVICE_ATTR(volt_b_offset, _mode, _show, _store, _addr)
[all …]
/drivers/staging/iio/frequency/
Ddds.h13 #define IIO_DEV_ATTR_FREQ(_channel, _num, _mode, _show, _store, _addr) \ argument
15 _mode, _show, _store, _addr)
28 #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \ argument
30 _mode, _show, _store, _addr);
36 #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \ argument
38 _mode, _show, _store, _addr)
51 #define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr) \ argument
53 _mode, _show, _store, _addr);
59 #define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\ argument
61 _mode, _show, _store, _addr);
[all …]
/drivers/input/mouse/
Dpsmouse.h127 #define __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect) \ argument
138 .show = _show, \
143 #define __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, _protect) \ argument
144 static ssize_t _show(struct psmouse *, void *, char *); \
146 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect)
148 #define PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set) \ argument
149 __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, true)
151 #define PSMOUSE_DEFINE_RO_ATTR(_name, _mode, _data, _show) \ argument
152 static ssize_t _show(struct psmouse *, void *, char *); \
153 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, NULL, true)
/drivers/s390/scsi/
Dzfcp_sysfs.c15 #define ZFCP_DEV_ATTR(_feat, _name, _mode, _show, _store) \ argument
17 _show, _store)
19 static ssize_t zfcp_sysfs_##_feat##_##_name##_show(struct device *dev, \
28 zfcp_sysfs_##_feat##_##_name##_show, NULL);
31 static ssize_t zfcp_sysfs_adapter_##_name##_show(struct device *dev, \
47 zfcp_sysfs_adapter_##_name##_show, NULL);
427 static ssize_t zfcp_sysfs_scsi_##_name##_show(struct device *dev, \
437 static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_scsi_##_name##_show, NULL);
516 static ssize_t zfcp_sysfs_adapter_##_name##_show(struct device *dev, \
529 static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_adapter_##_name##_show, NULL);
/drivers/mmc/core/
Dbus.h15 static ssize_t mmc_##name##_show (struct device *dev, struct device_attribute *attr, char *buf) \
20 static DEVICE_ATTR(name, S_IRUGO, mmc_##name##_show, NULL)
/drivers/md/bcache/
Dsysfs.h8 .show = type ## _show, \
15 static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\
27 ret = __ ## fn ## _show(kobj, attr, buf); \
/drivers/edac/
Dedac_pci_sysfs.c130 #define INSTANCE_ATTR(_name, _mode, _show, _store) \ argument
133 .show = _show, \
269 #define EDAC_PCI_ATTR(_name,_mode,_show,_store) \ argument
273 .show = _show, \
277 #define EDAC_PCI_STRING_ATTR(_name,_data,_mode,_show,_store) \ argument
281 .show = _show, \
Dmce_amd_inj.c28 #define EDAC_MCE_ATTR(_name, _mode, _show, _store) \ argument
29 static struct edac_mce_attr mce_attr_##_name = __ATTR(_name, _mode, _show, _store)
60 static ssize_t edac_inject_##reg##_show(struct kobject *kobj, \
Dedac_device_sysfs.c147 #define CTL_INFO_ATTR(_name,_mode,_show,_store) \ argument
150 .show = _show, \
384 #define INSTANCE_ATTR(_name,_mode,_show,_store) \ argument
387 .show = _show, \
487 #define BLOCK_ATTR(_name,_mode,_show,_store) \ argument
490 .show = _show, \
Damd64_edac_dbg.c4 static ssize_t amd64_##reg##_show(struct device *dev, \
/drivers/firmware/
Ddcdbas.h58 DEVICE_ATTR(_name,0600,_name##_show,_name##_store);
61 DEVICE_ATTR(_name,0400,_name##_show,NULL);
Ddmi-id.c34 #define DMI_ATTR(_name, _mode, _show, _field) \ argument
35 { .dev_attr = __ATTR(_name, _mode, _show, NULL), \
/drivers/mfd/
Ducb1x00-assabet.c24 static ssize_t name##_show(struct device *dev, struct device_attribute *attr, \
34 static DEVICE_ATTR(name,0444,name##_show,NULL)
/drivers/staging/zcache/ramster/
Dramster.c700 static ssize_t ramster_##_name##_show(struct kobject *kobj, \
707 .show = ramster_##_name##_show, \
711 static ssize_t ramster_##_name##_show(struct kobject *kobj, \
729 .show = ramster_##_name##_show, \
734 static ssize_t ramster_##_name##_show(struct kobject *kobj, \
741 .show = ramster_##_name##_show, \
/drivers/usb/gadget/
Dudc-core.c476 ssize_t usb_udc_##param##_show(struct device *dev, \
483 static DEVICE_ATTR(name, S_IRUGO, usb_udc_##param##_show, NULL)
489 ssize_t usb_udc_##name##_show(struct device *dev, \
497 static DEVICE_ATTR(name, S_IRUGO, usb_udc_##name##_show, NULL)
Dconfigfs.c115 gadget_dev_desc_##name##_show, \
119 static ssize_t gadget_dev_desc_##__name##_show(struct gadget_info *gi, \
126 static ssize_t gadget_dev_desc_##__name##_show(struct gadget_info *gi, \
503 gadget_config_desc_##name##_show, \
/drivers/ptp/
Dptp_sysfs.c32 static ssize_t name##_show(struct device *dev, \
47 .show = _var##_show, \
/drivers/sh/superhyway/
Dsuperhyway-sysfs.c18 static ssize_t name##_show(struct device *dev, struct device_attribute *attr, char *buf) \
/drivers/parisc/
Dpdc_stable.c122 #define PDCS_ATTR(_name, _mode, _show, _store) \ argument
125 .show = _show, \
129 #define PATHS_ATTR(_name, _mode, _show, _store) \ argument
132 .show = _show, \
/drivers/iio/light/
Dlm3533-als.c575 #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument
576 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
581 #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument
583 ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2)
/drivers/macintosh/
Dmacio_sysfs.c8 field##_show (struct device *dev, struct device_attribute *attr, \
/drivers/hwmon/
Dacpi_power_meter.c463 #define RO_SENSOR_TEMPLATE(_label, _show, _index) \ argument
466 .show = _show, \
470 #define RW_SENSOR_TEMPLATE(_label, _show, _set, _index) \ argument
473 .show = _show, \
/drivers/md/
Ddm-sysfs.c19 __ATTR(_name, S_IRUGO, dm_attr_##_name##_show, NULL)
/drivers/video/omap2/dss/
Doverlay-sysfs.c368 #define OVERLAY_ATTR(_name, _mode, _show, _store) \ argument
370 __ATTR(_name, _mode, _show, _store)
Dmanager-sysfs.c421 #define MANAGER_ATTR(_name, _mode, _show, _store) \ argument
423 __ATTR(_name, _mode, _show, _store)

123