Lines Matching refs:event_data
256 struct trigger_event_data *event_data) in mpi3mr_hdb_trigger_data_event() argument
259 u16 sz = sizeof(*event_data); in mpi3mr_hdb_trigger_data_event()
273 memcpy(fwevt->event_data, event_data, sz); in mpi3mr_hdb_trigger_data_event()
432 *(struct mpi3mr_throttle_group_info **)fwevt->event_data = tg; in mpi3mr_queue_qd_reduction_event()
1344 (struct mpi3_event_data_device_status_change *)fwevt->event_data; in mpi3mr_devstatuschg_evt_bh()
1484 struct trigger_event_data *event_data) in mpi3mr_process_trigger_data_event_bh() argument
1486 struct diag_buffer_desc *trace_hdb = event_data->trace_hdb; in mpi3mr_process_trigger_data_event_bh()
1487 struct diag_buffer_desc *fw_hdb = event_data->fw_hdb; in mpi3mr_process_trigger_data_event_bh()
1490 u8 trigger_type = event_data->trigger_type; in mpi3mr_process_trigger_data_event_bh()
1492 &event_data->trigger_specific_data; in mpi3mr_process_trigger_data_event_bh()
1494 if (event_data->snapdump) { in mpi3mr_process_trigger_data_event_bh()
1581 encl_pg0 = (struct mpi3_enclosure_page0 *) fwevt->event_data; in mpi3mr_encldev_add_chg_evt_bh()
1624 struct mpi3_event_data_sas_topology_change_list *event_data) in mpi3mr_sastopochg_evt_debug() argument
1632 switch (event_data->exp_status) { in mpi3mr_sastopochg_evt_debug()
1653 __func__, le16_to_cpu(event_data->expander_dev_handle), in mpi3mr_sastopochg_evt_debug()
1654 event_data->io_unit_port, in mpi3mr_sastopochg_evt_debug()
1655 le16_to_cpu(event_data->enclosure_handle), in mpi3mr_sastopochg_evt_debug()
1656 event_data->start_phy_num, event_data->num_entries); in mpi3mr_sastopochg_evt_debug()
1657 for (i = 0; i < event_data->num_entries; i++) { in mpi3mr_sastopochg_evt_debug()
1658 handle = le16_to_cpu(event_data->phy_entry[i].attached_dev_handle); in mpi3mr_sastopochg_evt_debug()
1661 phy_number = event_data->start_phy_num + i; in mpi3mr_sastopochg_evt_debug()
1662 reason_code = event_data->phy_entry[i].status & in mpi3mr_sastopochg_evt_debug()
1684 link_rate = event_data->phy_entry[i].link_rate >> 4; in mpi3mr_sastopochg_evt_debug()
1685 prev_link_rate = event_data->phy_entry[i].link_rate & 0xF; in mpi3mr_sastopochg_evt_debug()
1707 struct mpi3_event_data_sas_topology_change_list *event_data = in mpi3mr_sastopochg_evt_bh() local
1708 (struct mpi3_event_data_sas_topology_change_list *)fwevt->event_data; in mpi3mr_sastopochg_evt_bh()
1719 mpi3mr_sastopochg_evt_debug(mrioc, event_data); in mpi3mr_sastopochg_evt_bh()
1722 event_data->io_unit_port); in mpi3mr_sastopochg_evt_bh()
1723 if (le16_to_cpu(event_data->expander_dev_handle)) { in mpi3mr_sastopochg_evt_bh()
1726 le16_to_cpu(event_data->expander_dev_handle)); in mpi3mr_sastopochg_evt_bh()
1737 for (i = 0; i < event_data->num_entries; i++) { in mpi3mr_sastopochg_evt_bh()
1740 handle = le16_to_cpu(event_data->phy_entry[i].attached_dev_handle); in mpi3mr_sastopochg_evt_bh()
1747 reason_code = event_data->phy_entry[i].status & in mpi3mr_sastopochg_evt_bh()
1764 link_rate = event_data->phy_entry[i].link_rate >> 4; in mpi3mr_sastopochg_evt_bh()
1765 prev_link_rate = event_data->phy_entry[i].link_rate & 0xF; in mpi3mr_sastopochg_evt_bh()
1770 parent_phy_number = event_data->start_phy_num + i; in mpi3mr_sastopochg_evt_bh()
1782 if (mrioc->sas_transport_enabled && (event_data->exp_status == in mpi3mr_sastopochg_evt_bh()
1801 struct mpi3_event_data_pcie_topology_change_list *event_data) in mpi3mr_pcietopochg_evt_debug() argument
1810 switch (event_data->switch_status) { in mpi3mr_pcietopochg_evt_debug()
1831 __func__, le16_to_cpu(event_data->switch_dev_handle), in mpi3mr_pcietopochg_evt_debug()
1832 le16_to_cpu(event_data->enclosure_handle), in mpi3mr_pcietopochg_evt_debug()
1833 event_data->start_port_num, event_data->num_entries); in mpi3mr_pcietopochg_evt_debug()
1834 for (i = 0; i < event_data->num_entries; i++) { in mpi3mr_pcietopochg_evt_debug()
1836 le16_to_cpu(event_data->port_entry[i].attached_dev_handle); in mpi3mr_pcietopochg_evt_debug()
1839 port_number = event_data->start_port_num + i; in mpi3mr_pcietopochg_evt_debug()
1840 reason_code = event_data->port_entry[i].port_status; in mpi3mr_pcietopochg_evt_debug()
1861 link_rate = event_data->port_entry[i].current_port_info & in mpi3mr_pcietopochg_evt_debug()
1863 prev_link_rate = event_data->port_entry[i].previous_port_info & in mpi3mr_pcietopochg_evt_debug()
1886 struct mpi3_event_data_pcie_topology_change_list *event_data = in mpi3mr_pcietopochg_evt_bh() local
1887 (struct mpi3_event_data_pcie_topology_change_list *)fwevt->event_data; in mpi3mr_pcietopochg_evt_bh()
1893 mpi3mr_pcietopochg_evt_debug(mrioc, event_data); in mpi3mr_pcietopochg_evt_bh()
1895 for (i = 0; i < event_data->num_entries; i++) { in mpi3mr_pcietopochg_evt_bh()
1899 le16_to_cpu(event_data->port_entry[i].attached_dev_handle); in mpi3mr_pcietopochg_evt_bh()
1906 reason_code = event_data->port_entry[i].port_status; in mpi3mr_pcietopochg_evt_bh()
1936 mpi3mr_app_save_logdata(mrioc, fwevt->event_data, in mpi3mr_logdata_evt_bh()
2031 dev_pg0 = (struct mpi3_device_page0 *)fwevt->event_data; in mpi3mr_fwevt_bh()
2052 dev_pg0 = (struct mpi3_device_page0 *)fwevt->event_data; in mpi3mr_fwevt_bh()
2089 tg = *(struct mpi3mr_throttle_group_info **)fwevt->event_data; in mpi3mr_fwevt_bh()
2128 (struct trigger_event_data *)fwevt->event_data); in mpi3mr_fwevt_bh()
2623 (struct mpi3_event_data_pcie_topology_change_list *)event_reply->event_data; in mpi3mr_pcietopochg_evt_th()
2689 (struct mpi3_event_data_sas_topology_change_list *)event_reply->event_data; in mpi3mr_sastopochg_evt_th()
2760 (struct mpi3_event_data_device_status_change *)event_reply->event_data; in mpi3mr_devstatuschg_evt_th()
2828 (struct mpi3_event_data_prepare_for_reset *)event_reply->event_data; in mpi3mr_preparereset_evt_th()
2862 (struct mpi3_event_data_energy_pack_change *)event_reply->event_data; in mpi3mr_energypackchg_evt_th()
2891 (struct mpi3_event_data_cable_management *)event_reply->event_data; in mpi3mr_cablemgmt_evt_th()
2975 (struct mpi3_device_page0 *)event_reply->event_data; in mpi3mr_os_handle_events()
3050 memcpy(fwevt->event_data, event_reply->event_data, sz); in mpi3mr_os_handle_events()