Lines Matching defs:ae
702 static void esas2r_lun_event(struct esas2r_adapter *a, union atto_vda_ae *ae,
712 esas2r_trace("ae->lu.dwevent: %x", ae->lu.dwevent);
713 esas2r_trace("ae->lu.bystate: %x", ae->lu.bystate);
719 if (ae->lu.dwevent & VDAAE_LU_LOST) {
722 switch (ae->lu.bystate) {
738 memcpy(&t->lu_event, &ae->lu, cplen);
750 union atto_vda_ae *ae =
770 last = ae;
773 while (ae < last) {
776 esas2r_trace("ae: %p", ae);
777 esas2r_trace("ae->hdr: %p", &(ae->hdr));
779 length = ae->hdr.bylength;
781 if (length > (u32)((u8 *)last - (u8 *)ae)
786 ae, length);
788 esas2r_hdebug("ae->hdr.length (0x%x) invalid", length);
794 esas2r_nuxi_ae_data(ae);
796 esas2r_queue_fw_event(a, fw_event_vda_ae, ae,
799 switch (ae->hdr.bytype) {
802 if (ae->raid.dwflags & (VDAAE_GROUP_STATE
808 ae->raid.acname,
809 ae->raid.byrebuild_state,
810 ae->raid.bygroup_state);
818 ae->lu.dwevent,
819 ae->lu.id.tgtlun.wtarget_id,
820 ae->lu.id.tgtlun.bylun,
821 ae->lu.bystate);
823 target = ae->lu.id.tgtlun.wtarget_id;
826 esas2r_lun_event(a, ae, target, length);
843 ae = (union atto_vda_ae *)((u8 *)ae + length);
854 struct atto_vda_ae_hdr ae;
857 ae.bytype = VDAAE_HDR_TYPE_PWRMGT;
859 ae.bytype = VDAAE_HDR_TYPE_RESET;
861 ae.byversion = VDAAE_HDR_VER_0;
862 ae.byflags = 0;
863 ae.bylength = (u8)sizeof(struct atto_vda_ae_hdr);
870 esas2r_queue_fw_event(a, fw_event_vda_ae, &ae,