Searched refs:_prefix (Results 1 – 2 of 2) sorted by relevance
/arch/s390/kernel/ |
D | ipl.c | 172 #define IPL_ATTR_SHOW_FN(_prefix, _name, _format, args...) \ argument 173 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \ 180 #define IPL_ATTR_CCW_STORE_FN(_prefix, _name, _ipl_blk) \ argument 181 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \ 198 #define DEFINE_IPL_CCW_ATTR_RW(_prefix, _name, _ipl_blk) \ argument 199 IPL_ATTR_SHOW_FN(_prefix, _name, "0.%x.%04x\n", \ 201 IPL_ATTR_CCW_STORE_FN(_prefix, _name, _ipl_blk); \ 202 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \ 204 sys_##_prefix##_##_name##_show, \ 205 sys_##_prefix##_##_name##_store) \ [all …]
|
/arch/powerpc/platforms/cell/ |
D | cbe_thermal.c | 50 #define DEVICE_PREFIX_ATTR(_prefix,_name,_mode) \ argument 51 struct device_attribute attr_ ## _prefix ## _ ## _name = { \ 53 .show = _prefix ## _show_ ## _name, \ 54 .store = _prefix ## _store_ ## _name, \
|