Lines Matching refs:_prefix

204 #define IPL_ATTR_SHOW_FN(_prefix, _name, _format, args...)		\  argument
205 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \
212 #define IPL_ATTR_CCW_STORE_FN(_prefix, _name, _ipl_blk) \ argument
213 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
230 #define DEFINE_IPL_CCW_ATTR_RW(_prefix, _name, _ipl_blk) \ argument
231 IPL_ATTR_SHOW_FN(_prefix, _name, "0.%x.%04x\n", \
233 IPL_ATTR_CCW_STORE_FN(_prefix, _name, _ipl_blk); \
234 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
236 sys_##_prefix##_##_name##_show, \
237 sys_##_prefix##_##_name##_store) \
239 #define DEFINE_IPL_ATTR_RO(_prefix, _name, _format, _value) \ argument
240 IPL_ATTR_SHOW_FN(_prefix, _name, _format, _value) \
241 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
242 __ATTR(_name, 0444, sys_##_prefix##_##_name##_show, NULL)
244 #define DEFINE_IPL_ATTR_RW(_prefix, _name, _fmt_out, _fmt_in, _value) \ argument
245 IPL_ATTR_SHOW_FN(_prefix, _name, _fmt_out, (unsigned long long) _value) \
246 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
256 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
258 sys_##_prefix##_##_name##_show, \
259 sys_##_prefix##_##_name##_store)
261 #define DEFINE_IPL_ATTR_STR_RW(_prefix, _name, _fmt_out, _fmt_in, _value)\ argument
262 IPL_ATTR_SHOW_FN(_prefix, _name, _fmt_out, _value) \
263 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \
271 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \
273 sys_##_prefix##_##_name##_show, \
274 sys_##_prefix##_##_name##_store)