Lines Matching refs:eattr
679 struct arm_cmn_event_attr *eattr; in arm_cmn_event_show() local
681 eattr = container_of(attr, typeof(*eattr), attr); in arm_cmn_event_show()
683 if (eattr->type == CMN_TYPE_DTC) in arm_cmn_event_show()
684 return sysfs_emit(buf, "type=0x%x\n", eattr->type); in arm_cmn_event_show()
686 if (eattr->type == CMN_TYPE_WP) in arm_cmn_event_show()
689 eattr->type, eattr->eventid); in arm_cmn_event_show()
691 if (eattr->fsel > SEL_NONE) in arm_cmn_event_show()
693 eattr->type, eattr->eventid, eattr->occupid); in arm_cmn_event_show()
695 return sysfs_emit(buf, "type=0x%x,eventid=0x%x\n", eattr->type, in arm_cmn_event_show()
696 eattr->eventid); in arm_cmn_event_show()
705 struct arm_cmn_event_attr *eattr; in arm_cmn_event_attr_is_visible() local
709 eattr = container_of(attr, typeof(*eattr), attr.attr); in arm_cmn_event_attr_is_visible()
711 if (!(eattr->model & arm_cmn_model(cmn))) in arm_cmn_event_attr_is_visible()
714 type = eattr->type; in arm_cmn_event_attr_is_visible()
715 eventid = eattr->eventid; in arm_cmn_event_attr_is_visible()