/linux-6.3-rc2/drivers/staging/iio/meter/ |
A D | meter.h | 175 IIO_DEVICE_ATTR(ios, _mode, _show, _store, _addr) 178 IIO_DEVICE_ATTR(vos, _mode, _show, _store, _addr) 181 IIO_DEVICE_ATTR(phcal, _mode, _show, _store, _addr) 193 IIO_DEVICE_ATTR(apos, _mode, _show, _store, _addr) 196 IIO_DEVICE_ATTR(aapos, _mode, _show, _store, _addr) 199 IIO_DEVICE_ATTR(bapos, _mode, _show, _store, _addr) 202 IIO_DEVICE_ATTR(capos, _mode, _show, _store, _addr) 235 IIO_DEVICE_ATTR(wgain, _mode, _show, _store, _addr) 238 IIO_DEVICE_ATTR(wdiv, _mode, _show, _store, _addr) 256 IIO_DEVICE_ATTR(irms, _mode, _show, _store, _addr) [all …]
|
/linux-6.3-rc2/drivers/staging/iio/frequency/ |
A D | dds.h | 16 _mode, _show, _store, _addr) 31 _mode, _show, _store, _addr) 39 _mode, _show, _store, _addr) 54 _mode, _show, _store, _addr) 62 _mode, _show, _store, _addr) 70 _mode, _show, _store, _addr) 78 _mode, _show, _store, _addr) 86 _mode, _show, _store, _addr) 93 _mode, _show, _store, _addr) \ argument 95 _mode, _show, _store, _addr) [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | hwmon-sysfs.h | 20 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ argument 21 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 28 SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index) 31 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index) 33 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ argument 35 = SENSOR_ATTR(_name, _mode, _show, _store, _index) 44 SENSOR_DEVICE_ATTR(_name, 0200, NULL, _func##_store, _index) 55 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 66 SENSOR_ATTR_2(_name, 0200, NULL, _func##_store, _nr, _index) 70 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) [all …]
|
A D | sysfs.h | 101 #define __ATTR(_name, _mode, _show, _store) { \ argument 105 .store = _store, \ 108 #define __ATTR_PREALLOC(_name, _mode, _show, _store) { \ argument 112 .store = _store, \ 130 .store = _name##_store, \ 135 .store = _name##_store, \ 138 #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store) 143 #define __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) { \ argument 147 .store = _store, \
|
A D | device.h | 126 #define DEVICE_ATTR(_name, _mode, _show, _store) \ argument 127 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) 128 #define DEVICE_ATTR_PREALLOC(_name, _mode, _show, _store) \ argument 130 __ATTR_PREALLOC(_name, _mode, _show, _store) 150 #define DEVICE_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument 152 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
|
A D | configfs.h | 129 .store = _pfx##_name##_store, \ 145 .store = _pfx##_name##_store, \
|
/linux-6.3-rc2/include/linux/iio/ |
A D | sysfs.h | 54 #define IIO_ATTR(_name, _mode, _show, _store, _addr) \ argument 55 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 70 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ argument 72 = IIO_ATTR(_name, _mode, _show, _store, _addr) 86 #define IIO_DEVICE_ATTR_NAMED(_vname, _name, _mode, _show, _store, _addr) \ argument 88 = IIO_ATTR(_name, _mode, _show, _store, _addr) 119 #define IIO_DEV_ATTR_SAMP_FREQ(_mode, _show, _store) \ argument 120 IIO_DEVICE_ATTR(sampling_frequency, _mode, _show, _store, 0)
|
/linux-6.3-rc2/drivers/scsi/lpfc/ |
A D | lpfc_attr.h | 47 lpfc_##name##_show, lpfc_##name##_store) 57 lpfc_##name##_show, lpfc_##name##_store) 76 lpfc_##name##_show, lpfc_##name##_store) 109 lpfc_##name##_show, lpfc_##name##_store) 128 lpfc_##name##_show, lpfc_##name##_store)
|
/linux-6.3-rc2/drivers/md/bcache/ |
A D | sysfs.h | 10 .store = type ## _store \ 20 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\ 38 ret = __ ## fn ## _store(kobj, attr, buf, size); \
|
/linux-6.3-rc2/drivers/edac/ |
A D | edac_pci_sysfs.c | 127 #define INSTANCE_ATTR(_name, _mode, _show, _store) \ argument 131 .store = _store, \ 267 #define EDAC_PCI_ATTR(_name,_mode,_show,_store) \ argument 272 .store = _store, \ 275 #define EDAC_PCI_STRING_ATTR(_name,_data,_mode,_show,_store) \ argument 280 .store = _store, \
|
A D | edac_device_sysfs.c | 147 #define CTL_INFO_ATTR(_name,_mode,_show,_store) \ argument 151 .store = _store, \ 374 #define INSTANCE_ATTR(_name,_mode,_show,_store) \ argument 378 .store = _store, \ 478 #define BLOCK_ATTR(_name,_mode,_show,_store) \ argument 482 .store = _store, \
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/inc/ |
A D | amdgpu_pm.h | 63 #define __AMDGPU_DEVICE_ATTR(_name, _mode, _show, _store, _flags, ...) \ argument 64 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
|
/linux-6.3-rc2/Documentation/translations/zh_CN/filesystems/ |
A D | sysfs.txt | 116 #define DEVICE_ATTR(_name, _mode, _show, _store) \ 117 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) 318 DEVICE_ATTR(_name, _mode, _show, _store); 338 BUS_ATTR(_name, _mode, _show, _store) 360 DRIVER_ATTR(_name, _mode, _show, _store)
|
/linux-6.3-rc2/Documentation/translations/zh_TW/filesystems/ |
A D | sysfs.txt | 119 #define DEVICE_ATTR(_name, _mode, _show, _store) \ 120 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) 321 DEVICE_ATTR(_name, _mode, _show, _store); 341 BUS_ATTR(_name, _mode, _show, _store) 363 DRIVER_ATTR(_name, _mode, _show, _store)
|
/linux-6.3-rc2/drivers/platform/x86/dell/ |
A D | dcdbas.h | 51 DEVICE_ATTR(_name,0600,_name##_show,_name##_store); 57 DEVICE_ATTR(_name,0200,NULL,_name##_store);
|
/linux-6.3-rc2/drivers/dma/idxd/ |
A D | compat.c | 13 #define DRIVER_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument 15 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
|
/linux-6.3-rc2/net/bridge/ |
A D | br_sysfs_if.c | 31 #define BRPORT_ATTR_RAW(_name, _mode, _show, _store) \ argument 36 .store_raw = _store, \ 39 #define BRPORT_ATTR(_name, _mode, _show, _store) \ argument 44 .store = _store, \
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | nct6683.c | 369 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument 372 .store = _store, \ 375 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument 376 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ 380 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument 382 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ 387 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument 389 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \ 392 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument 395 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
|
/linux-6.3-rc2/drivers/target/iscsi/ |
A D | iscsi_target_configfs.c | 288 static ssize_t iscsi_nacl_attrib_##name##_store(struct config_item *item,\ 376 static ssize_t __iscsi_##prefix##_##name##_store( \ 410 static ssize_t iscsi_nacl_auth_##name##_store(struct config_item *item, \ 414 return __iscsi_nacl_auth_##name##_store(to_iscsi_nacl(nacl), \ 758 static ssize_t iscsi_tpg_attrib_##name##_store(struct config_item *item,\ 834 static ssize_t __iscsi_##prefix##_##name##_store(struct se_portal_group *se_tpg,\ 866 static ssize_t iscsi_tpg_auth_##name##_store(struct config_item *item, \ 869 return __iscsi_tpg_auth_##name##_store(auth_to_tpg(item), page, count); \ 940 static ssize_t iscsi_tpg_param_##name##_store(struct config_item *item, \ 1255 static ssize_t iscsi_disc_##name##_store(struct config_item *item, \ [all …]
|
/linux-6.3-rc2/include/scsi/ |
A D | scsi_transport_fc.h | 165 #define FC_VPORT_ATTR(_name,_mode,_show,_store) \ argument 167 __ATTR(_name,_mode,_show,_store) 321 #define FC_RPORT_ATTR(_name,_mode,_show,_store) \ argument 323 __ATTR(_name,_mode,_show,_store)
|
/linux-6.3-rc2/drivers/parisc/ |
A D | pdc_stable.c | 109 #define PDCS_ATTR(_name, _mode, _show, _store) \ argument 113 .store = _store, \ 116 #define PATHS_ATTR(_name, _mode, _show, _store) \ argument 120 .store = _store, \
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | intel_gt_sysfs_pm.c | 134 static ssize_t _name##_store(struct kobject *kobj, \ 402 #define INTEL_GT_RPS_SYSFS_ATTR(_name, _mode, _show, _store, _show_dev, _store_dev) \ argument 406 _show, _store) 412 INTEL_GT_RPS_SYSFS_ATTR(_name, 0644, _name##_show, _name##_store, \
|
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | display-sysfs.c | 239 #define DISPLAY_ATTR(_name, _mode, _show, _store) \ argument 241 __ATTR(_name, _mode, _show, _store)
|
/linux-6.3-rc2/fs/gfs2/ |
A D | sys.c | 589 #define GDLM_ATTR(_name,_mode,_show,_store) \ argument 590 static struct gfs2_attr gdlm_attr_##_name = __ATTR(_name,_mode,_show,_store) 679 static ssize_t name##_store(struct gfs2_sbd *sdp, const char *buf, size_t len)\ 683 TUNE_ATTR_2(name, name##_store)
|
/linux-6.3-rc2/drivers/iio/light/ |
A D | lm3533-als.c | 571 #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument 572 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 577 #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument 579 ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2)
|