Lines Matching refs:MPT_ADAPTER
160 static int mptbase_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req,
162 static int mpt_handshake_req_reply_wait(MPT_ADAPTER *ioc, int reqBytes,
165 static int mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag);
166 static void mpt_detect_bound_ports(MPT_ADAPTER *ioc, struct pci_dev *pdev);
167 static void mpt_adapter_disable(MPT_ADAPTER *ioc);
168 static void mpt_adapter_dispose(MPT_ADAPTER *ioc);
170 static void MptDisplayIocCapabilities(MPT_ADAPTER *ioc);
171 static int MakeIocReady(MPT_ADAPTER *ioc, int force, int sleepFlag);
172 static int GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason);
173 static int GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag);
174 static int SendIocInit(MPT_ADAPTER *ioc, int sleepFlag);
175 static int SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag);
176 static int mpt_do_upload(MPT_ADAPTER *ioc, int sleepFlag);
177 static int mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag);
178 static int mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag);
179 static int KickStart(MPT_ADAPTER *ioc, int ignore, int sleepFlag);
180 static int SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag);
181 static int PrimeIocFifos(MPT_ADAPTER *ioc);
182 static int WaitForDoorbellAck(MPT_ADAPTER *ioc, int howlong, int sleepFlag);
183 static int WaitForDoorbellInt(MPT_ADAPTER *ioc, int howlong, int sleepFlag);
184 static int WaitForDoorbellReply(MPT_ADAPTER *ioc, int howlong, int sleepFlag);
185 static int GetLanConfigPages(MPT_ADAPTER *ioc);
186 static int GetIoUnitPage2(MPT_ADAPTER *ioc);
187 int mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode);
188 static int mpt_GetScsiPortSettings(MPT_ADAPTER *ioc, int portnum);
189 static int mpt_readScsiDevicePageHeaders(MPT_ADAPTER *ioc, int portnum);
190 static void mpt_read_ioc_pg_1(MPT_ADAPTER *ioc);
191 static void mpt_read_ioc_pg_4(MPT_ADAPTER *ioc);
192 static void mpt_get_manufacturing_pg_0(MPT_ADAPTER *ioc);
193 static int SendEventNotification(MPT_ADAPTER *ioc, u8 EvSwitch,
195 static int SendEventAck(MPT_ADAPTER *ioc, EventNotificationReply_t *evnp);
196 static int mpt_host_page_access_control(MPT_ADAPTER *ioc, u8 access_control_value, int sleepFlag);
197 static int mpt_host_page_alloc(MPT_ADAPTER *ioc, pIOCInit_t ioc_init);
204 static void mpt_get_fw_exp_ver(char *buf, MPT_ADAPTER *ioc);
206 static int ProcessEventNotification(MPT_ADAPTER *ioc,
208 static void mpt_iocstatus_info(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf);
209 static void mpt_fc_log_info(MPT_ADAPTER *ioc, u32 log_info);
210 static void mpt_spi_log_info(MPT_ADAPTER *ioc, u32 log_info);
211 static void mpt_sas_log_info(MPT_ADAPTER *ioc, u32 log_info , u8 cb_idx);
212 static int mpt_read_ioc_pg_3(MPT_ADAPTER *ioc);
213 static void mpt_inactive_raid_list_free(MPT_ADAPTER *ioc);
248 MPT_ADAPTER *ioc; in mpt_set_debug_level()
282 mpt_is_discovery_complete(MPT_ADAPTER *ioc) in mpt_is_discovery_complete()
335 MPT_ADAPTER *ioc = (MPT_ADAPTER *)arg; in mpt_remove_dead_ioc_func()
359 MPT_ADAPTER *ioc = in mpt_fault_reset_work()
360 container_of(work, MPT_ADAPTER, fault_reset_work.work); in mpt_fault_reset_work()
443 mpt_turbo_reply(MPT_ADAPTER *ioc, u32 pa) in mpt_turbo_reply()
503 mpt_reply(MPT_ADAPTER *ioc, u32 pa) in mpt_reply()
592 MPT_ADAPTER *ioc = bus_id; in mpt_interrupt()
627 mptbase_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) in mptbase_reply()
831 MPT_ADAPTER *ioc; in mpt_device_driver_register()
856 MPT_ADAPTER *ioc; in mpt_device_driver_deregister()
885 mpt_get_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc) in mpt_get_msg_frame()
954 mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) in mpt_put_msg_frame()
990 mpt_put_msg_frame_hi_pri(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) in mpt_put_msg_frame_hi_pri()
1021 mpt_free_msg_frame(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf) in mpt_free_msg_frame()
1180 mpt_send_handshake_request(u8 cb_idx, MPT_ADAPTER *ioc, int reqBytes, u32 *req, int sleepFlag) in mpt_send_handshake_request()
1275 mpt_host_page_access_control(MPT_ADAPTER *ioc, u8 access_control_value, int sleepFlag) in mpt_host_page_access_control()
1306 mpt_host_page_alloc(MPT_ADAPTER *ioc, pIOCInit_t ioc_init) in mpt_host_page_alloc()
1375 mpt_verify_adapter(int iocid, MPT_ADAPTER **iocpp) in mpt_verify_adapter()
1377 MPT_ADAPTER *ioc; in mpt_verify_adapter()
1636 mpt_mapresources(MPT_ADAPTER *ioc) in mpt_mapresources()
1765 MPT_ADAPTER *ioc; in mpt_attach()
1774 ioc = kzalloc(sizeof(MPT_ADAPTER), GFP_KERNEL); in mpt_attach()
1817 ioc->alloc_total = sizeof(MPT_ADAPTER); in mpt_attach()
2074 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); in mpt_detach()
2140 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); in mpt_suspend()
2179 MPT_ADAPTER *ioc = pci_get_drvdata(pdev); in mpt_resume()
2249 mpt_signal_reset(u8 index, MPT_ADAPTER *ioc, int reset_phase) in mpt_signal_reset()
2286 mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag) in mpt_do_ioc_recovery()
2635 mpt_detect_bound_ports(MPT_ADAPTER *ioc, struct pci_dev *pdev) in mpt_detect_bound_ports()
2640 MPT_ADAPTER *ioc_srch; in mpt_detect_bound_ports()
2686 mpt_adapter_disable(MPT_ADAPTER *ioc) in mpt_adapter_disable()
2810 mpt_adapter_dispose(MPT_ADAPTER *ioc) in mpt_adapter_dispose()
2855 MptDisplayIocCapabilities(MPT_ADAPTER *ioc) in MptDisplayIocCapabilities()
2908 MakeIocReady(MPT_ADAPTER *ioc, int force, int sleepFlag) in MakeIocReady()
3043 mpt_GetIocState(MPT_ADAPTER *ioc, int cooked) in mpt_GetIocState()
3067 GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason) in GetIocFacts()
3241 GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag) in GetPortFacts()
3324 SendIocInit(MPT_ADAPTER *ioc, int sleepFlag) in SendIocInit()
3448 SendPortEnable(MPT_ADAPTER *ioc, int portnum, int sleepFlag) in SendPortEnable()
3497 mpt_alloc_fw_memory(MPT_ADAPTER *ioc, int size) in mpt_alloc_fw_memory()
3535 mpt_free_fw_memory(MPT_ADAPTER *ioc) in mpt_free_fw_memory()
3566 mpt_do_upload(MPT_ADAPTER *ioc, int sleepFlag) in mpt_do_upload()
3667 mpt_downloadboot(MPT_ADAPTER *ioc, MpiFwHeader_t *pFwHeader, int sleepFlag) in mpt_downloadboot()
3888 KickStart(MPT_ADAPTER *ioc, int force, int sleepFlag) in KickStart()
3955 mpt_diag_reset(MPT_ADAPTER *ioc, int ignore, int sleepFlag) in mpt_diag_reset()
4257 SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag) in SendIocReset()
4313 initChainBuffers(MPT_ADAPTER *ioc) in initChainBuffers()
4424 PrimeIocFifos(MPT_ADAPTER *ioc) in PrimeIocFifos()
4646 mpt_handshake_req_reply_wait(MPT_ADAPTER *ioc, int reqBytes, u32 *req, in mpt_handshake_req_reply_wait()
4752 WaitForDoorbellAck(MPT_ADAPTER *ioc, int howlong, int sleepFlag) in WaitForDoorbellAck()
4802 WaitForDoorbellInt(MPT_ADAPTER *ioc, int howlong, int sleepFlag) in WaitForDoorbellInt()
4852 WaitForDoorbellReply(MPT_ADAPTER *ioc, int howlong, int sleepFlag) in WaitForDoorbellReply()
4936 GetLanConfigPages(MPT_ADAPTER *ioc) in GetLanConfigPages()
5058 mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode) in mptbase_sas_persist_operation()
5145 mptbase_raid_process_event_data(MPT_ADAPTER *ioc, in mptbase_raid_process_event_data()
5286 GetIoUnitPage2(MPT_ADAPTER *ioc) in GetIoUnitPage2()
5356 mpt_GetScsiPortSettings(MPT_ADAPTER *ioc, int portnum) in mpt_GetScsiPortSettings()
5576 mpt_readScsiDevicePageHeaders(MPT_ADAPTER *ioc, int portnum) in mpt_readScsiDevicePageHeaders()
5622 mpt_inactive_raid_list_free(MPT_ADAPTER *ioc) in mpt_inactive_raid_list_free()
5646 mpt_inactive_raid_volumes(MPT_ADAPTER *ioc, u8 channel, u8 id) in mpt_inactive_raid_volumes()
5734 mpt_raid_phys_disk_pg0(MPT_ADAPTER *ioc, u8 phys_disk_num, in mpt_raid_phys_disk_pg0()
5802 mpt_raid_phys_disk_get_num_paths(MPT_ADAPTER *ioc, u8 phys_disk_num) in mpt_raid_phys_disk_get_num_paths()
5870 mpt_raid_phys_disk_pg1(MPT_ADAPTER *ioc, u8 phys_disk_num, in mpt_raid_phys_disk_pg1()
5958 mpt_findImVolumes(MPT_ADAPTER *ioc) in mpt_findImVolumes()
6029 mpt_read_ioc_pg_3(MPT_ADAPTER *ioc) in mpt_read_ioc_pg_3()
6089 mpt_read_ioc_pg_4(MPT_ADAPTER *ioc) in mpt_read_ioc_pg_4()
6144 mpt_read_ioc_pg_1(MPT_ADAPTER *ioc) in mpt_read_ioc_pg_1()
6232 mpt_get_manufacturing_pg_0(MPT_ADAPTER *ioc) in mpt_get_manufacturing_pg_0()
6284 SendEventNotification(MPT_ADAPTER *ioc, u8 EvSwitch, int sleepFlag) in SendEventNotification()
6312 SendEventAck(MPT_ADAPTER *ioc, EventNotificationReply_t *evnp) in SendEventAck()
6351 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg) in mpt_config()
6558 mpt_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) in mpt_ioc_reset()
6637 static void seq_mpt_print_ioc_summary(MPT_ADAPTER *ioc, struct seq_file *m, int showlan);
6641 MPT_ADAPTER *ioc = m->private; in mpt_summary_proc_show()
6698 MPT_ADAPTER *ioc = m->private; in mpt_iocinfo_proc_show()
6779 mpt_get_fw_exp_ver(char *buf, MPT_ADAPTER *ioc) in mpt_get_fw_exp_ver()
6806 mpt_print_ioc_summary(MPT_ADAPTER *ioc, char *buffer, int *size, int len, int showlan) in mpt_print_ioc_summary()
6841 static void seq_mpt_print_ioc_summary(MPT_ADAPTER *ioc, struct seq_file *m, int showlan) in seq_mpt_print_ioc_summary()
6882 mpt_set_taskmgmt_in_progress_flag(MPT_ADAPTER *ioc) in mpt_set_taskmgmt_in_progress_flag()
6912 mpt_clear_taskmgmt_in_progress_flag(MPT_ADAPTER *ioc) in mpt_clear_taskmgmt_in_progress_flag()
6935 mpt_halt_firmware(MPT_ADAPTER *ioc) in mpt_halt_firmware()
6968 mpt_SoftResetHandler(MPT_ADAPTER *ioc, int sleepFlag) in mpt_SoftResetHandler()
7106 mpt_Soft_Hard_ResetHandler(MPT_ADAPTER *ioc, int sleepFlag) { in mpt_Soft_Hard_ResetHandler()
7139 mpt_HardResetHandler(MPT_ADAPTER *ioc, int sleepFlag) in mpt_HardResetHandler()
7236 mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply) in mpt_display_event_info()
7692 ProcessEventNotification(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply, int *evHandlers) in ProcessEventNotification()
7802 mpt_fc_log_info(MPT_ADAPTER *ioc, u32 log_info) in mpt_fc_log_info()
7846 mpt_spi_log_info(MPT_ADAPTER *ioc, u32 log_info) in mpt_spi_log_info()
8058 mpt_sas_log_info(MPT_ADAPTER *ioc, u32 log_info, u8 cb_idx) in mpt_sas_log_info()
8140 mpt_iocstatus_info_config(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf) in mpt_iocstatus_info_config()
8218 mpt_iocstatus_info(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf) in mpt_iocstatus_info()