• Home
  • Raw
  • Download

Lines Matching refs:event_data

200 	char			event_data[0] __aligned(4);  member
2709 struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) in mpt3sas_send_trigger_data_event() argument
2716 sz = sizeof(*event_data); in mpt3sas_send_trigger_data_event()
2722 memcpy(fw_event->event_data, event_data, sizeof(*event_data)); in mpt3sas_send_trigger_data_event()
3073 Mpi2EventDataSasTopologyChangeList_t *event_data) in _scsih_block_io_to_children_attached_directly() argument
3079 for (i = 0; i < event_data->NumEntries; i++) { in _scsih_block_io_to_children_attached_directly()
3080 handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); in _scsih_block_io_to_children_attached_directly()
3083 reason_code = event_data->PHY[i].PhyStatus & in _scsih_block_io_to_children_attached_directly()
3632 Mpi2EventDataSasTopologyChangeList_t *event_data) in _scsih_check_topo_delete_events() argument
3642 for (i = 0 ; i < event_data->NumEntries; i++) { in _scsih_check_topo_delete_events()
3643 handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); in _scsih_check_topo_delete_events()
3646 reason_code = event_data->PHY[i].PhyStatus & in _scsih_check_topo_delete_events()
3652 expander_handle = le16_to_cpu(event_data->ExpanderDevHandle); in _scsih_check_topo_delete_events()
3654 _scsih_block_io_to_children_attached_directly(ioc, event_data); in _scsih_check_topo_delete_events()
3657 if (event_data->ExpStatus == in _scsih_check_topo_delete_events()
3671 } else if (event_data->ExpStatus == MPI2_EVENT_SAS_TOPO_ES_RESPONDING) in _scsih_check_topo_delete_events()
3672 _scsih_block_io_to_children_attached_directly(ioc, event_data); in _scsih_check_topo_delete_events()
3674 if (event_data->ExpStatus != MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING) in _scsih_check_topo_delete_events()
3684 fw_event->event_data; in _scsih_check_topo_delete_events()
3766 Mpi2EventDataIrConfigChangeList_t *event_data) in _scsih_check_ir_config_unhide_events() argument
3780 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; in _scsih_check_ir_config_unhide_events()
3781 for (i = 0; i < event_data->NumElements; i++, element++) { in _scsih_check_ir_config_unhide_events()
3782 if (le32_to_cpu(event_data->Flags) & in _scsih_check_ir_config_unhide_events()
3796 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; in _scsih_check_ir_config_unhide_events()
3797 for (i = 0; i < event_data->NumElements; i++, element++) { in _scsih_check_ir_config_unhide_events()
3798 if (le32_to_cpu(event_data->Flags) & in _scsih_check_ir_config_unhide_events()
3813 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; in _scsih_check_ir_config_unhide_events()
3814 for (i = 0; i < event_data->NumElements; i++, element++) { in _scsih_check_ir_config_unhide_events()
3851 Mpi2EventDataIrVolume_t *event_data) in _scsih_check_volume_delete_events() argument
3855 if (event_data->ReasonCode != MPI2_EVENT_IR_VOLUME_RC_STATE_CHANGED) in _scsih_check_volume_delete_events()
3857 state = le32_to_cpu(event_data->NewValue); in _scsih_check_volume_delete_events()
3861 le16_to_cpu(event_data->VolDevHandle)); in _scsih_check_volume_delete_events()
3874 Mpi2EventDataTemperature_t *event_data) in _scsih_temp_threshold_events() argument
3876 if (ioc->temp_sensors_count >= event_data->SensorNum) { in _scsih_temp_threshold_events()
3879 ((le16_to_cpu(event_data->Status) & 0x1) == 1) ? "0 " : " ", in _scsih_temp_threshold_events()
3880 ((le16_to_cpu(event_data->Status) & 0x2) == 2) ? "1 " : " ", in _scsih_temp_threshold_events()
3881 ((le16_to_cpu(event_data->Status) & 0x4) == 4) ? "2 " : " ", in _scsih_temp_threshold_events()
3882 ((le16_to_cpu(event_data->Status) & 0x8) == 8) ? "3 " : " ", in _scsih_temp_threshold_events()
3883 event_data->SensorNum); in _scsih_temp_threshold_events()
3885 ioc->name, event_data->CurrentTemperature); in _scsih_temp_threshold_events()
4546 Mpi2EventDataSasDeviceStatusChange_t *event_data; in _scsih_smart_predicted_fault() local
4595 event_data = (Mpi2EventDataSasDeviceStatusChange_t *) in _scsih_smart_predicted_fault()
4597 event_data->ReasonCode = MPI2_EVENT_SAS_DEV_STAT_RC_SMART_DATA; in _scsih_smart_predicted_fault()
4598 event_data->ASC = 0x5D; in _scsih_smart_predicted_fault()
4599 event_data->DevHandle = cpu_to_le16(handle); in _scsih_smart_predicted_fault()
4600 event_data->SASAddress = cpu_to_le64(sas_target_priv_data->sas_address); in _scsih_smart_predicted_fault()
5671 Mpi2EventDataSasTopologyChangeList_t *event_data) in _scsih_sas_topology_change_event_debug() argument
5680 switch (event_data->ExpStatus) { in _scsih_sas_topology_change_event_debug()
5702 le16_to_cpu(event_data->ExpanderDevHandle), in _scsih_sas_topology_change_event_debug()
5703 le16_to_cpu(event_data->EnclosureHandle), in _scsih_sas_topology_change_event_debug()
5704 event_data->StartPhyNum, event_data->NumEntries); in _scsih_sas_topology_change_event_debug()
5705 for (i = 0; i < event_data->NumEntries; i++) { in _scsih_sas_topology_change_event_debug()
5706 handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); in _scsih_sas_topology_change_event_debug()
5709 phy_number = event_data->StartPhyNum + i; in _scsih_sas_topology_change_event_debug()
5710 reason_code = event_data->PHY[i].PhyStatus & in _scsih_sas_topology_change_event_debug()
5732 link_rate = event_data->PHY[i].LinkRate >> 4; in _scsih_sas_topology_change_event_debug()
5733 prev_link_rate = event_data->PHY[i].LinkRate & 0xF; in _scsih_sas_topology_change_event_debug()
5760 Mpi2EventDataSasTopologyChangeList_t *event_data = in _scsih_sas_topology_change_event() local
5762 fw_event->event_data; in _scsih_sas_topology_change_event()
5765 _scsih_sas_topology_change_event_debug(ioc, event_data); in _scsih_sas_topology_change_event()
5781 parent_handle = le16_to_cpu(event_data->ExpanderDevHandle); in _scsih_sas_topology_change_event()
5784 if (event_data->ExpStatus == MPI2_EVENT_SAS_TOPO_ES_ADDED) in _scsih_sas_topology_change_event()
5804 for (i = 0; i < event_data->NumEntries; i++) { in _scsih_sas_topology_change_event()
5812 phy_number = event_data->StartPhyNum + i; in _scsih_sas_topology_change_event()
5815 reason_code = event_data->PHY[i].PhyStatus & in _scsih_sas_topology_change_event()
5817 if ((event_data->PHY[i].PhyStatus & in _scsih_sas_topology_change_event()
5821 handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); in _scsih_sas_topology_change_event()
5824 link_rate = event_data->PHY[i].LinkRate >> 4; in _scsih_sas_topology_change_event()
5825 prev_link_rate = event_data->PHY[i].LinkRate & 0xF; in _scsih_sas_topology_change_event()
5864 if (event_data->ExpStatus == MPI2_EVENT_SAS_TOPO_ES_NOT_RESPONDING && in _scsih_sas_topology_change_event()
5880 Mpi2EventDataSasDeviceStatusChange_t *event_data) in _scsih_sas_device_status_change_event_debug() argument
5884 switch (event_data->ReasonCode) { in _scsih_sas_device_status_change_event_debug()
5930 ioc->name, reason_str, le16_to_cpu(event_data->DevHandle), in _scsih_sas_device_status_change_event_debug()
5931 (unsigned long long)le64_to_cpu(event_data->SASAddress), in _scsih_sas_device_status_change_event_debug()
5932 le16_to_cpu(event_data->TaskTag)); in _scsih_sas_device_status_change_event_debug()
5933 if (event_data->ReasonCode == MPI2_EVENT_SAS_DEV_STAT_RC_SMART_DATA) in _scsih_sas_device_status_change_event_debug()
5935 event_data->ASC, event_data->ASCQ); in _scsih_sas_device_status_change_event_debug()
5955 Mpi2EventDataSasDeviceStatusChange_t *event_data = in _scsih_sas_device_status_change_event() local
5957 fw_event->event_data; in _scsih_sas_device_status_change_event()
5961 event_data); in _scsih_sas_device_status_change_event()
5969 if (event_data->ReasonCode != in _scsih_sas_device_status_change_event()
5971 event_data->ReasonCode != in _scsih_sas_device_status_change_event()
5976 sas_address = le64_to_cpu(event_data->SASAddress); in _scsih_sas_device_status_change_event()
5987 if (event_data->ReasonCode == in _scsih_sas_device_status_change_event()
6012 Mpi2EventDataSasEnclDevStatusChange_t *event_data) in _scsih_sas_enclosure_dev_status_change_event_debug() argument
6016 switch (event_data->ReasonCode) { in _scsih_sas_enclosure_dev_status_change_event_debug()
6031 le16_to_cpu(event_data->EnclosureHandle), in _scsih_sas_enclosure_dev_status_change_event_debug()
6032 (unsigned long long)le64_to_cpu(event_data->EnclosureLogicalID), in _scsih_sas_enclosure_dev_status_change_event_debug()
6033 le16_to_cpu(event_data->StartSlot)); in _scsih_sas_enclosure_dev_status_change_event_debug()
6051 fw_event->event_data); in _scsih_sas_enclosure_dev_status_change_event()
6074 Mpi2EventDataSasBroadcastPrimitive_t *event_data = in _scsih_sas_broadcast_primitive_event() local
6076 fw_event->event_data; in _scsih_sas_broadcast_primitive_event()
6086 ioc->name, __func__, event_data->PhyNum, in _scsih_sas_broadcast_primitive_event()
6087 event_data->PortWidth); in _scsih_sas_broadcast_primitive_event()
6227 Mpi2EventDataSasDiscovery_t *event_data = in _scsih_sas_discovery_event() local
6228 (Mpi2EventDataSasDiscovery_t *) fw_event->event_data; in _scsih_sas_discovery_event()
6232 (event_data->ReasonCode == MPI2_EVENT_SAS_DISC_RC_STARTED) ? in _scsih_sas_discovery_event()
6234 if (event_data->DiscoveryStatus) in _scsih_sas_discovery_event()
6236 le32_to_cpu(event_data->DiscoveryStatus)); in _scsih_sas_discovery_event()
6240 if (event_data->ReasonCode == MPI2_EVENT_SAS_DISC_RC_STARTED && in _scsih_sas_discovery_event()
6628 Mpi2EventDataIrConfigChangeList_t *event_data) in _scsih_sas_ir_config_change_event_debug() argument
6635 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; in _scsih_sas_ir_config_change_event_debug()
6638 ioc->name, (le32_to_cpu(event_data->Flags) & in _scsih_sas_ir_config_change_event_debug()
6640 "foreign" : "native", event_data->NumElements); in _scsih_sas_ir_config_change_event_debug()
6641 for (i = 0; i < event_data->NumElements; i++, element++) { in _scsih_sas_ir_config_change_event_debug()
6713 Mpi2EventDataIrConfigChangeList_t *event_data = in _scsih_sas_ir_config_change_event() local
6715 fw_event->event_data; in _scsih_sas_ir_config_change_event()
6719 _scsih_sas_ir_config_change_event_debug(ioc, event_data); in _scsih_sas_ir_config_change_event()
6721 foreign_config = (le32_to_cpu(event_data->Flags) & in _scsih_sas_ir_config_change_event()
6724 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; in _scsih_sas_ir_config_change_event()
6727 for (i = 0; i < event_data->NumElements; i++, element++) { in _scsih_sas_ir_config_change_event()
6736 for (i = 0; i < event_data->NumElements; i++, element++) { in _scsih_sas_ir_config_change_event()
6788 Mpi2EventDataIrVolume_t *event_data = in _scsih_sas_ir_volume_event() local
6789 (Mpi2EventDataIrVolume_t *) fw_event->event_data; in _scsih_sas_ir_volume_event()
6794 if (event_data->ReasonCode != MPI2_EVENT_IR_VOLUME_RC_STATE_CHANGED) in _scsih_sas_ir_volume_event()
6797 handle = le16_to_cpu(event_data->VolDevHandle); in _scsih_sas_ir_volume_event()
6798 state = le32_to_cpu(event_data->NewValue); in _scsih_sas_ir_volume_event()
6803 le32_to_cpu(event_data->PreviousValue), state)); in _scsih_sas_ir_volume_event()
6872 Mpi2EventDataIrPhysicalDisk_t *event_data = in _scsih_sas_ir_physical_disk_event() local
6873 (Mpi2EventDataIrPhysicalDisk_t *) fw_event->event_data; in _scsih_sas_ir_physical_disk_event()
6879 if (event_data->ReasonCode != MPI2_EVENT_IR_PHYSDISK_RC_STATE_CHANGED) in _scsih_sas_ir_physical_disk_event()
6882 handle = le16_to_cpu(event_data->PhysDiskDevHandle); in _scsih_sas_ir_physical_disk_event()
6883 state = le32_to_cpu(event_data->NewValue); in _scsih_sas_ir_physical_disk_event()
6889 le32_to_cpu(event_data->PreviousValue), state)); in _scsih_sas_ir_physical_disk_event()
6950 Mpi2EventDataIrOperationStatus_t *event_data) in _scsih_sas_ir_operation_status_event_debug() argument
6954 switch (event_data->RAIDOperation) { in _scsih_sas_ir_operation_status_event_debug()
6978 le16_to_cpu(event_data->VolDevHandle), in _scsih_sas_ir_operation_status_event_debug()
6979 event_data->PercentComplete); in _scsih_sas_ir_operation_status_event_debug()
6994 Mpi2EventDataIrOperationStatus_t *event_data = in _scsih_sas_ir_operation_status_event() local
6996 fw_event->event_data; in _scsih_sas_ir_operation_status_event()
7004 event_data); in _scsih_sas_ir_operation_status_event()
7007 if (event_data->RAIDOperation == MPI2_EVENT_IR_RAIDOP_RESYNC) { in _scsih_sas_ir_operation_status_event()
7010 handle = le16_to_cpu(event_data->VolDevHandle); in _scsih_sas_ir_operation_status_event()
7014 event_data->PercentComplete; in _scsih_sas_ir_operation_status_event()
7802 fw_event->event_data); in _mpt3sas_fw_work()
8043 memcpy(fw_event->event_data, mpi_reply->EventData, sz); in mpt3sas_scsih_event_callback()