Lines Matching refs:eattr
647 struct arm_cmn_event_attr *eattr; in arm_cmn_event_show() local
649 eattr = container_of(attr, typeof(*eattr), attr); in arm_cmn_event_show()
651 if (eattr->type == CMN_TYPE_DTC) in arm_cmn_event_show()
652 return sysfs_emit(buf, "type=0x%x\n", eattr->type); in arm_cmn_event_show()
654 if (eattr->type == CMN_TYPE_WP) in arm_cmn_event_show()
657 eattr->type, eattr->eventid); in arm_cmn_event_show()
659 if (eattr->fsel > SEL_NONE) in arm_cmn_event_show()
661 eattr->type, eattr->eventid, eattr->occupid); in arm_cmn_event_show()
663 return sysfs_emit(buf, "type=0x%x,eventid=0x%x\n", eattr->type, in arm_cmn_event_show()
664 eattr->eventid); in arm_cmn_event_show()
673 struct arm_cmn_event_attr *eattr; in arm_cmn_event_attr_is_visible() local
677 eattr = container_of(attr, typeof(*eattr), attr.attr); in arm_cmn_event_attr_is_visible()
679 if (!(eattr->model & arm_cmn_model(cmn))) in arm_cmn_event_attr_is_visible()
682 type = eattr->type; in arm_cmn_event_attr_is_visible()
683 eventid = eattr->eventid; in arm_cmn_event_attr_is_visible()