/linux-6.1.9/drivers/message/fusion/ |
D | mptscsih.h | 126 extern int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 127 extern int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 128 extern int mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 129 extern int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); 130 extern int mptscsih_ioc_reset(MPT_ADAPTER *ioc, int post_reset); 132 extern u8 mptscsih_raid_id_to_num(MPT_ADAPTER *ioc, u8 channel, u8 id); 133 extern int mptscsih_is_phys_disk(MPT_ADAPTER *ioc, u8 channel, u8 id); 135 extern struct scsi_cmnd *mptscsih_get_scsi_lookup(MPT_ADAPTER *ioc, int i); 136 extern void mptscsih_taskmgmt_response_code(MPT_ADAPTER *ioc, u8 response_code);
|
D | mptbase.h | 790 } MPT_ADAPTER; typedef 797 typedef int (*MPT_CALLBACK)(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply); 798 typedef int (*MPT_EVHANDLER)(MPT_ADAPTER *ioc, EventNotificationReply_t *evReply); 799 typedef int (*MPT_RESETHANDLER)(MPT_ADAPTER *ioc, int reset_phase); 925 extern MPT_FRAME_HDR *mpt_get_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc); 926 extern void mpt_free_msg_frame(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf); 927 extern void mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf); 928 extern void mpt_put_msg_frame_hi_pri(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf); 930 extern int mpt_send_handshake_request(u8 cb_idx, MPT_ADAPTER *ioc, int reqBytes, u32 *req, int sle… 931 extern int mpt_verify_adapter(int iocid, MPT_ADAPTER **iocpp); [all …]
|
D | mptscsih.c | 84 struct scsi_cmnd *mptscsih_get_scsi_lookup(MPT_ADAPTER *ioc, int i); 85 static struct scsi_cmnd * mptscsih_getclear_scsi_lookup(MPT_ADAPTER *ioc, int i); 86 static void mptscsih_set_scsi_lookup(MPT_ADAPTER *ioc, int i, struct scsi_cmnd *scmd); 87 static int SCPNT_TO_LOOKUP_IDX(MPT_ADAPTER *ioc, struct scsi_cmnd *scmd); 88 int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 90 int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 92 static int mptscsih_AddSGE(MPT_ADAPTER *ioc, struct scsi_cmnd *SCpnt, 94 static void mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx); 100 int mptscsih_ioc_reset(MPT_ADAPTER *ioc, int post_reset); 101 int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); [all …]
|
D | mptdebug.h | 150 DBG_DUMP_FW_DOWNLOAD(MPT_ADAPTER *ioc, u32 *mfp, int numfrags) in DBG_DUMP_FW_DOWNLOAD() 163 DBG_DUMP_PUT_MSG_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_PUT_MSG_FRAME() 183 DBG_DUMP_FW_REQUEST_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_FW_REQUEST_FRAME() 197 DBG_DUMP_REQUEST_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_REQUEST_FRAME() 213 DBG_DUMP_REPLY_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_REPLY_FRAME() 227 DBG_DUMP_REQUEST_FRAME_HDR(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_REQUEST_FRAME_HDR() 241 DBG_DUMP_TM_REQUEST_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_TM_REQUEST_FRAME() 258 DBG_DUMP_TM_REPLY_FRAME(MPT_ADAPTER *ioc, u32 *mfp) in DBG_DUMP_TM_REPLY_FRAME()
|
D | mptbase.c | 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); [all …]
|
D | mptctl.c | 103 static int mptctl_fw_download(MPT_ADAPTER *iocp, unsigned long arg); 104 static int mptctl_getiocinfo(MPT_ADAPTER *iocp, unsigned long arg, unsigned int cmd); 105 static int mptctl_gettargetinfo(MPT_ADAPTER *iocp, unsigned long arg); 106 static int mptctl_readtest(MPT_ADAPTER *iocp, unsigned long arg); 107 static int mptctl_mpt_command(MPT_ADAPTER *iocp, unsigned long arg); 108 static int mptctl_eventquery(MPT_ADAPTER *iocp, unsigned long arg); 109 static int mptctl_eventenable(MPT_ADAPTER *iocp, unsigned long arg); 110 static int mptctl_eventreport(MPT_ADAPTER *iocp, unsigned long arg); 111 static int mptctl_replace_fw(MPT_ADAPTER *iocp, unsigned long arg); 113 static int mptctl_do_reset(MPT_ADAPTER *iocp, unsigned long arg); [all …]
|
D | mptsas.c | 112 static inline void mptsas_set_rphy(MPT_ADAPTER *ioc, 115 (MPT_ADAPTER *ioc, u64 sas_address); 116 static int mptsas_sas_device_pg0(MPT_ADAPTER *ioc, 118 static int mptsas_sas_enclosure_pg0(MPT_ADAPTER *ioc, 120 static int mptsas_add_end_device(MPT_ADAPTER *ioc, 122 static void mptsas_del_end_device(MPT_ADAPTER *ioc, 126 (MPT_ADAPTER *ioc, u64 sas_address); 127 static void mptsas_expander_delete(MPT_ADAPTER *ioc, 130 static void mptsas_not_responding_devices(MPT_ADAPTER *ioc); 131 static void mptsas_scan_sas_topology(MPT_ADAPTER *ioc); [all …]
|
D | mptfc.c | 196 MPT_ADAPTER *ioc; in mptfc_block_error_handler() 283 mptfc_GetFcDevPage0(MPT_ADAPTER *ioc, int ioc_port, in mptfc_GetFcDevPage0() 284 void(*func)(MPT_ADAPTER *ioc,int channel, FCDevicePage0_t *arg)) in mptfc_GetFcDevPage0() 422 mptfc_register_dev(MPT_ADAPTER *ioc, int channel, FCDevicePage0_t *pg0) in mptfc_register_dev() 568 mptfc_dump_lun_info(MPT_ADAPTER *ioc, struct fc_rport *rport, struct scsi_device *sdev, in mptfc_dump_lun_info() 604 MPT_ADAPTER *ioc; in mptfc_slave_alloc() 682 mptfc_display_port_link_speed(MPT_ADAPTER *ioc, int portnum, FCPortPage0_t *pp0dest) in mptfc_display_port_link_speed() 731 mptfc_GetFcPortPage0(MPT_ADAPTER *ioc, int portnum) in mptfc_GetFcPortPage0() 829 mptfc_WriteFcPortPage1(MPT_ADAPTER *ioc, int portnum) in mptfc_WriteFcPortPage1() 872 mptfc_GetFcPortPage1(MPT_ADAPTER *ioc, int portnum) in mptfc_GetFcPortPage1() [all …]
|
D | mptlan.c | 86 MPT_ADAPTER *mpt_dev; 126 static int lan_reply (MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, 140 static int mpt_lan_ioc_reset(MPT_ADAPTER *ioc, int reset_phase); 141 static int mpt_lan_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); 165 lan_reply (MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *reply) in lan_reply() 297 mpt_lan_ioc_reset(MPT_ADAPTER *ioc, int reset_phase) in mpt_lan_ioc_reset() 342 mpt_lan_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply) in mpt_lan_event_process() 381 MPT_ADAPTER *mpt_dev = priv->mpt_dev; in mpt_lan_open() 495 MPT_ADAPTER *mpt_dev = priv->mpt_dev; in mpt_lan_close() 555 MPT_ADAPTER *mpt_dev = priv->mpt_dev; in mpt_lan_tx_timeout() [all …]
|
D | mptsas.h | 95 MPT_ADAPTER *ioc; 111 MPT_ADAPTER *ioc; 119 MPT_ADAPTER *ioc;
|
D | mptspi.c | 111 MPT_ADAPTER *ioc = hd->ioc; in mptspi_setTargetNegoParms() 256 MPT_ADAPTER *ioc = hd->ioc; in mptspi_writeIOCPage4() 379 MPT_ADAPTER *ioc = hd->ioc; in mptspi_is_raid() 402 MPT_ADAPTER *ioc; in mptspi_target_alloc() 620 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_quiesce_raid() 687 MPT_ADAPTER *ioc = hd->ioc; in mptspi_dv_device() 722 MPT_ADAPTER *ioc = hd->ioc; in mptspi_slave_alloc() 781 MPT_ADAPTER *ioc = hd->ioc; in mptspi_qcmd() 1115 MPT_ADAPTER *ioc = hd->ioc; in mpt_work_wrapper() 1154 MPT_ADAPTER *ioc = hd->ioc; in mpt_dv_raid() [all …]
|