Chapter 4. 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_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_adapter_dispose - Free all resources associated with an MPT adapter
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_raid_phys_disk_get_num_paths - returns number paths associated to this phys_num
mpt_raid_phys_disk_pg1 - returns phys disk page 1
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_set_taskmgmt_in_progress_flag - set flags associated with task managment
mpt_clear_taskmgmt_in_progress_flag - clear flags associated with task managment
mpt_halt_firmware - Halts the firmware if it is operational and panic the kernel
mpt_SoftResetHandler - Issues a less expensive reset
mpt_HardResetHandler - Generic reset handler
mpt_set_debug_level - global setting of the mpt_debug_level found via /sys/module/mptbase/parameters/mpt_debug_level
mpt_get_cb_idx - obtain cb_idx for registered driver
mpt_is_discovery_complete - determine if discovery has completed
mpt_remove_dead_ioc_func - kthread context to remove dead ioc
mpt_fault_reset_work - work performed on workq after ioc fault
mpt_interrupt - MPT adapter (IOC) specific interrupt handler.
mptbase_reply - MPT base driver's callback routine
mpt_add_sge - Place a simple 32 bit SGE at address pAddr.
mpt_add_sge_64bit - Place a simple 64 bit SGE at address pAddr.
mpt_add_sge_64bit_1078 - Place a simple 64 bit SGE at address pAddr (1078 workaround).
mpt_add_chain - Place a 32 bit chain SGE at address pAddr.
mpt_add_chain_64bit - Place a 64 bit chain SGE at address pAddr.
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
convert_to_kb - 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.
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 from IOC via doorbell handshake method.
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
mpt_sort_ioc_pg2 - compare function for sorting volumes in ascending order
SendEventNotification - Send EventNotification (on or off) request to adapter
SendEventAck - Send EventAck request to MPT adapter.
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_IssueTaskMgmt - Generic send Task Management function.
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_is_phys_disk -
mptscsih_get_scsi_lookup - retrieves scmd entry from ScsiLookup[] array list
mptscsih_do_cmd - Do internal command.
mptscsih_info_scsiio - debug print info on reply frame
_scsih_setup_eedp - setup MPI request for EEDP transfer
_scsih_read_capacity_16 - send READ_CAPACITY_16 to target
mptscsih_getclear_scsi_lookup - retrieves and clears scmd entry from ScsiLookup[] array list
mptscsih_set_scsi_lookup -
SCPNT_TO_LOOKUP_IDX - searches for a given scmd in the ScsiLookup[] array list
mptscsih_get_completion_code -
mptscsih_synchronize_cache - Send SYNCHRONIZE_CACHE to all disks.
mptscsih_device_sas_address_show - sas address cdev - pointer to embedded class device buf - the buffer returned
mptscsih_device_handle_show - device handle cdev - pointer to embedded class device buf - the buffer returned
mptscsih_device_fw_id_show - device handle cdev - pointer to embedded class device buf - the buffer returned
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_dv_renegotiate_work -
mptspi_ioc_reset -
mptspi_resume -
mptspi_probe - Installs scsi devices per bus.
mptspi_init - Register MPT adapter(s) as SCSI host(s) with SCSI mid-layer.
mptspi_exit - Unregisters MPT adapter(s)
mptfc_set_sdev_queue_depth - global setting of the mpt_sdev_queue_depth found via /sys/module/mptfc/parameters/mpt_sdev_queue_depth
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.