Lines Matching refs:_group
4272 #define CM_COUNTER_ATTR(_name, _group, _index) \ argument
4275 .group = _group, .index = _index \
4278 #define CM_COUNTER_GROUP(_group, _name) \ argument
4279 static struct cm_counter_attribute cm_counter_attr_##_group[] = { \
4280 CM_COUNTER_ATTR(req, _group, CM_REQ_COUNTER), \
4281 CM_COUNTER_ATTR(mra, _group, CM_MRA_COUNTER), \
4282 CM_COUNTER_ATTR(rej, _group, CM_REJ_COUNTER), \
4283 CM_COUNTER_ATTR(rep, _group, CM_REP_COUNTER), \
4284 CM_COUNTER_ATTR(rtu, _group, CM_RTU_COUNTER), \
4285 CM_COUNTER_ATTR(dreq, _group, CM_DREQ_COUNTER), \
4286 CM_COUNTER_ATTR(drep, _group, CM_DREP_COUNTER), \
4287 CM_COUNTER_ATTR(sidr_req, _group, CM_SIDR_REQ_COUNTER), \
4288 CM_COUNTER_ATTR(sidr_rep, _group, CM_SIDR_REP_COUNTER), \
4289 CM_COUNTER_ATTR(lap, _group, CM_LAP_COUNTER), \
4290 CM_COUNTER_ATTR(apr, _group, CM_APR_COUNTER), \
4292 static struct attribute *cm_counter_attrs_##_group[] = { \
4293 &cm_counter_attr_##_group[0].attr.attr, \
4294 &cm_counter_attr_##_group[1].attr.attr, \
4295 &cm_counter_attr_##_group[2].attr.attr, \
4296 &cm_counter_attr_##_group[3].attr.attr, \
4297 &cm_counter_attr_##_group[4].attr.attr, \
4298 &cm_counter_attr_##_group[5].attr.attr, \
4299 &cm_counter_attr_##_group[6].attr.attr, \
4300 &cm_counter_attr_##_group[7].attr.attr, \
4301 &cm_counter_attr_##_group[8].attr.attr, \
4302 &cm_counter_attr_##_group[9].attr.attr, \
4303 &cm_counter_attr_##_group[10].attr.attr, \
4306 static const struct attribute_group cm_counter_group_##_group = { \
4308 .attrs = cm_counter_attrs_##_group, \