Chapter 20. Message-based devices

Table of Contents

Fusion message devices
I2O message devices

Fusion message devices

mpt_register — Register protocol-specific main callback handler.
mpt_deregister — Deregister a protocol drivers resources.
mpt_event_register — Register protocol-specific event callback handler.
mpt_event_deregister — Deregister protocol-specific event callback handler
mpt_reset_register — Register protocol-specific IOC reset handler.
mpt_reset_deregister — Deregister protocol-specific IOC reset handler.
mpt_device_driver_register — Register device driver hooks
mpt_device_driver_deregister — DeRegister device driver hooks
mpt_get_msg_frame — Obtain an MPT request frame from the pool
mpt_put_msg_frame — Send a protocol-specific MPT request frame to an IOC
mpt_put_msg_frame_hi_pri — Send a hi-pri protocol-specific MPT request frame
mpt_free_msg_frame — Place MPT request frame back on FreeQ.
mpt_add_sge — Place a simple SGE at address pAddr.
mpt_send_handshake_request — Send MPT request via doorbell handshake method.
mpt_verify_adapter — Given IOC identifier, set pointer to its adapter structure.
mpt_attach — Install a PCI intelligent MPT adapter.
mpt_detach — Remove a PCI intelligent MPT adapter.
mpt_suspend — Fusion MPT base driver suspend routine.
mpt_resume — Fusion MPT base driver resume routine.
mpt_GetIocState — Get the current state of a MPT adapter.
mpt_alloc_fw_memory — allocate firmware memory
mpt_free_fw_memory — free firmware memory
mptbase_sas_persist_operation — Perform operation on SAS Persistent Table
mpt_raid_phys_disk_pg0 — returns phys disk page zero
mpt_findImVolumes — Identify IDs of hidden disks and RAID Volumes
mpt_config — Generic function to issue config message
mpt_print_ioc_summary — Write ASCII summary of IOC to a buffer.
mpt_HardResetHandler — Generic reset handler
mpt_get_cb_idx — obtain cb_idx for registered driver
mpt_interrupt — MPT adapter (IOC) specific interrupt handler.
mpt_base_reply — MPT base driver's callback routine
mpt_host_page_access_control — control the IOC's Host Page Buffer access
mpt_host_page_alloc — allocate system memory for the fw
mpt_get_product_name — returns product string
mpt_mapresources — map in memory mapped io
mpt_do_ioc_recovery — Initialize or recover MPT adapter.
mpt_detect_bound_ports — Search for matching PCI bus/dev_function
mpt_adapter_disable — Disable misbehaving MPT adapter.
mpt_adapter_dispose — Free all resources associated with an MPT adapter
MptDisplayIocCapabilities — Disply IOC's capabilities.
MakeIocReady — Get IOC to a READY state, using KickStart if needed.
GetIocFacts — Send IOCFacts request to MPT adapter.
GetPortFacts — Send PortFacts request to MPT adapter.
SendIocInit — Send IOCInit request to MPT adapter.
SendPortEnable — Send PortEnable request to MPT adapter port.
mpt_do_upload — Construct and Send FWUpload request to MPT adapter port.
mpt_downloadboot — DownloadBoot code
KickStart — Perform hard reset of MPT adapter.
mpt_diag_reset — Perform hard reset of the adapter.
SendIocReset — Send IOCReset request to MPT adapter.
initChainBuffers — Allocate memory for and initialize chain buffers
PrimeIocFifos — Initialize IOC request and reply FIFOs.
mpt_handshake_req_reply_wait — Send MPT request to and receive reply
WaitForDoorbellAck — Wait for IOC doorbell handshake acknowledge
WaitForDoorbellInt — Wait for IOC to set its doorbell interrupt bit
WaitForDoorbellReply — Wait for and capture an IOC handshake reply.
GetLanConfigPages — Fetch LANConfig pages.
GetIoUnitPage2 — Retrieve BIOS version and boot order information.
mpt_GetScsiPortSettings — read SCSI Port Page 0 and 2
mpt_readScsiDevicePageHeaders — save version and length of SDP1
mpt_inactive_raid_list_free — This clears this link list.
mpt_inactive_raid_volumes — sets up link list of phy_disk_nums for devices belonging in an inactive volume
SendEventNotification — Send EventNotification (on or off) request to adapter
SendEventAck — Send EventAck request to MPT adapter.
mpt_timer_expired — Callback for timer process.
mpt_ioc_reset — Base cleanup for hard reset
procmpt_create — Create MPT_PROCFS_MPTBASEDIR entries.
procmpt_destroy — Tear down MPT_PROCFS_MPTBASEDIR entries.
procmpt_summary_read — Handle read request of a summary file
procmpt_version_read — Handle read request from /proc/mpt/version.
procmpt_iocinfo_read — Handle read request from /proc/mpt/iocN/info.
ProcessEventNotification — Route EventNotificationReply to all event handlers
mpt_fc_log_info — Log information returned from Fibre Channel IOC.
mpt_spi_log_info — Log information returned from SCSI Parallel IOC.
mpt_sas_log_info — Log information returned from SAS IOC.
mpt_iocstatus_info_config — IOCSTATUS information for config pages
mpt_iocstatus_info — IOCSTATUS information returned from IOC.
fusion_init — Fusion MPT base driver initialization routine.
fusion_exit — Perform driver unload cleanup.
mptscsih_info — Return information about MPT adapter
mptscsih_proc_info — Return information about MPT adapter
mptscsih_qcmd — Primary Fusion MPT SCSI initiator IO start routine.
mptscsih_TMHandler — Generic handler for SCSI Task Management.
mptscsih_abort — Abort linux scsi_cmnd routine, new_eh variant
mptscsih_dev_reset — Perform a SCSI TARGET_RESET! new_eh variant
mptscsih_bus_reset — Perform a SCSI BUS_RESET! new_eh variant
mptscsih_host_reset — Perform a SCSI host adapter RESET (new_eh variant)
mptscsih_taskmgmt_complete — Registered with Fusion MPT base driver
mptscsih_add_sge — Place a simple SGE at address pAddr.
mptscsih_add_chain — Place a chain SGE at address pAddr.
mptscsih_info_scsiio — debug print info on reply frame
mptscsih_IssueTaskMgmt — Generic send Task Management function.
mptscsih_tm_pending_wait — wait for pending task management request to complete
mptscsih_tm_wait_for_completion — wait for completion of TM task
mptscsih_get_scsi_lookup
mptscsih_getclear_scsi_lookup
mptscsih_set_scsi_lookup
SCPNT_TO_LOOKUP_IDX — searches for a given scmd in the ScsiLookup[] array list
mptscsih_do_cmd — Do internal command.
mptscsih_synchronize_cache — Send SYNCHRONIZE_CACHE to all disks.
mptctl_syscall_down — Down the MPT adapter syscall semaphore.
mptspi_setTargetNegoParms — Update the target negotiation parameters
mptspi_writeIOCPage4 — write IOC Page 4
mptspi_initTarget — Target, LUN alloc/free functionality.
mptspi_is_raid — Determines whether target is belonging to volume
mptspi_print_write_nego — negotiation parameters debug info that is being sent
mptspi_print_read_nego — negotiation parameters debug info that is being read
mptspi_init — Register MPT adapter(s) as SCSI host(s) with SCSI mid-layer.
mptspi_exit — Unregisters MPT adapter(s)
mptfc_init — Register MPT adapter(s) as SCSI host(s) with SCSI mid-layer.
mptfc_remove — Remove fc infrastructure for devices
mptfc_exit — Unregisters MPT adapter(s)
lan_reply — Handle all data sent from the hardware.