Searched refs:_feat (Results 1 – 1 of 1) sorted by relevance
/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 17 #define ZFCP_DEV_ATTR(_feat, _name, _mode, _show, _store) \ argument 18 struct device_attribute dev_attr_##_feat##_##_name = __ATTR(_name, _mode,\ 20 #define ZFCP_DEFINE_ATTR(_feat_def, _feat, _name, _format, _value) \ argument 21 static ssize_t zfcp_sysfs_##_feat##_##_name##_show(struct device *dev, \ 25 struct _feat_def *_feat = container_of(dev, struct _feat_def, dev); \ 29 static ZFCP_DEV_ATTR(_feat, _name, S_IRUGO, \ 30 zfcp_sysfs_##_feat##_##_name##_show, NULL); 32 #define ZFCP_DEFINE_ATTR_CONST(_feat, _name, _format, _value) \ argument 33 static ssize_t zfcp_sysfs_##_feat##_##_name##_show(struct device *dev, \ 39 static ZFCP_DEV_ATTR(_feat, _name, S_IRUGO, \ [all …]
|