Lines Matching refs:eattr
675 struct arm_cmn_event_attr *eattr; in arm_cmn_event_show() local
677 eattr = container_of(attr, typeof(*eattr), attr); in arm_cmn_event_show()
679 if (eattr->type == CMN_TYPE_DTC) in arm_cmn_event_show()
680 return sysfs_emit(buf, "type=0x%x\n", eattr->type); in arm_cmn_event_show()
682 if (eattr->type == CMN_TYPE_WP) in arm_cmn_event_show()
685 eattr->type, eattr->eventid); in arm_cmn_event_show()
687 if (eattr->fsel > SEL_NONE) in arm_cmn_event_show()
689 eattr->type, eattr->eventid, eattr->occupid); in arm_cmn_event_show()
691 return sysfs_emit(buf, "type=0x%x,eventid=0x%x\n", eattr->type, in arm_cmn_event_show()
692 eattr->eventid); in arm_cmn_event_show()
701 struct arm_cmn_event_attr *eattr; in arm_cmn_event_attr_is_visible() local
705 eattr = container_of(attr, typeof(*eattr), attr.attr); in arm_cmn_event_attr_is_visible()
707 if (!(eattr->model & arm_cmn_model(cmn))) in arm_cmn_event_attr_is_visible()
710 type = eattr->type; in arm_cmn_event_attr_is_visible()
711 eventid = eattr->eventid; in arm_cmn_event_attr_is_visible()