id
stringlengths
4
63
text
stringlengths
153
8.81M
mpi3mr_cablemgmt_evt_th(9)
NAME mpi3mr_cablemgmt_evt_th - Cable management event tophalf SYNOPSIS void mpi3mr_cablemgmt_evt_th (struct mpi3mr_ioc *mrioc , struct mpi3_event_notification_reply *event_reply ); ARGUMENTS mrioc Adapter instance reference event_reply event data DESCRIPTION Displays Cable manegemt event details. RETU...
mpi3mr_cancel_work(9)
NAME mpi3mr_cancel_work - cancel firmware event SYNOPSIS void mpi3mr_cancel_work (struct mpi3mr_fwevt *fwevt ); ARGUMENTS fwevt fwevt object which needs to be canceled RETURN Nothing. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_host_tag_for_scmd(9), mpi3mr_scmd_from_host_tag(9), mpi3mr_cl...
mpi3mr_cfg_get_dev_pg0(9)
NAME mpi3mr_cfg_get_dev_pg0 - Read current device page0 SYNOPSIS int mpi3mr_cfg_get_dev_pg0 (struct mpi3mr_ioc *mrioc , u16 *ioc_status , struct mpi3_device_page0 *dev_pg0 , u16 pg_sz , u32 form , u32 form_spec ); ARGUMENTS mrioc Adapter instance reference ioc_status Pointer to return ioc status ...
mpi3mr_cfg_get_driver_pg1(9)
NAME mpi3mr_cfg_get_driver_pg1 - Read current Driver page1 SYNOPSIS int mpi3mr_cfg_get_driver_pg1 (struct mpi3mr_ioc *mrioc , struct mpi3_driver_page1 *driver_pg1 , u16 pg_sz ); ARGUMENTS mrioc Adapter instance reference driver_pg1 Pointer to return Driver page 1 pg_sz Size of the memory ...
mpi3mr_cfg_get_driver_pg2(9)
NAME mpi3mr_cfg_get_driver_pg2 - Read current driver page2 SYNOPSIS int mpi3mr_cfg_get_driver_pg2 (struct mpi3mr_ioc *mrioc , struct mpi3_driver_page2 *driver_pg2 , u16 pg_sz , u8 page_action ); ARGUMENTS mrioc Adapter instance reference driver_pg2 Pointer to return driver page 2 pg_sz Si...
mpi3mr_cfg_get_enclosure_pg0(9)
NAME mpi3mr_cfg_get_enclosure_pg0 - Read current Enclosure page0 SYNOPSIS int mpi3mr_cfg_get_enclosure_pg0 (struct mpi3mr_ioc *mrioc , u16 *ioc_status , struct mpi3_enclosure_page0 *encl_pg0 , u16 pg_sz , u32 form , u32 form_spec ); ARGUMENTS mrioc Adapter instance reference ioc_status Pointer to retur...
mpi3mr_cfg_get_sas_exp_pg0(9)
NAME mpi3mr_cfg_get_sas_exp_pg0 - Read current SAS Expander page0 SYNOPSIS int mpi3mr_cfg_get_sas_exp_pg0 (struct mpi3mr_ioc *mrioc , u16 *ioc_status , struct mpi3_sas_expander_page0 *exp_pg0 , u16 pg_sz , u32 form , u32 form_spec ); ARGUMENTS mrioc Adapter instance reference ioc_status Pointer to retu...
mpi3mr_cfg_get_sas_exp_pg1(9)
NAME mpi3mr_cfg_get_sas_exp_pg1 - Read current SAS Expander page1 SYNOPSIS int mpi3mr_cfg_get_sas_exp_pg1 (struct mpi3mr_ioc *mrioc , u16 *ioc_status , struct mpi3_sas_expander_page1 *exp_pg1 , u16 pg_sz , u32 form , u32 form_spec ); ARGUMENTS mrioc Adapter instance reference ioc_status Pointer to retu...
mpi3mr_cfg_get_sas_io_unit_pg0(9)
NAME mpi3mr_cfg_get_sas_io_unit_pg0 - Read current SASIOUnit page0 SYNOPSIS int mpi3mr_cfg_get_sas_io_unit_pg0 (struct mpi3mr_ioc *mrioc , struct mpi3_sas_io_unit_page0 *sas_io_unit_pg0 , u16 pg_sz ); ARGUMENTS mrioc Adapter instance reference sas_io_unit_pg0 Pointer to return SAS IO ...
mpi3mr_cfg_get_sas_io_unit_pg1(9)
NAME mpi3mr_cfg_get_sas_io_unit_pg1 - Read current SASIOUnit page1 SYNOPSIS int mpi3mr_cfg_get_sas_io_unit_pg1 (struct mpi3mr_ioc *mrioc , struct mpi3_sas_io_unit_page1 *sas_io_unit_pg1 , u16 pg_sz ); ARGUMENTS mrioc Adapter instance reference sas_io_unit_pg1 Pointer to return SAS IO ...
mpi3mr_cfg_get_sas_phy_pg0(9)
NAME mpi3mr_cfg_get_sas_phy_pg0 - Read current SAS Phy page0 SYNOPSIS int mpi3mr_cfg_get_sas_phy_pg0 (struct mpi3mr_ioc *mrioc , u16 *ioc_status , struct mpi3_sas_phy_page0 *phy_pg0 , u16 pg_sz , u32 form , u32 form_spec ); ARGUMENTS mrioc Adapter instance reference ioc_status Pointer to return ioc sta...
mpi3mr_cfg_get_sas_phy_pg1(9)
NAME mpi3mr_cfg_get_sas_phy_pg1 - Read current SAS Phy page1 SYNOPSIS int mpi3mr_cfg_get_sas_phy_pg1 (struct mpi3mr_ioc *mrioc , u16 *ioc_status , struct mpi3_sas_phy_page1 *phy_pg1 , u16 pg_sz , u32 form , u32 form_spec ); ARGUMENTS mrioc Adapter instance reference ioc_status Pointer to return ioc sta...
mpi3mr_cfg_set_sas_io_unit_pg1(9)
NAME mpi3mr_cfg_set_sas_io_unit_pg1 - Write SASIOUnit page1 SYNOPSIS int mpi3mr_cfg_set_sas_io_unit_pg1 (struct mpi3mr_ioc *mrioc , struct mpi3_sas_io_unit_page1 *sas_io_unit_pg1 , u16 pg_sz ); ARGUMENTS mrioc Adapter instance reference sas_io_unit_pg1 Pointer to the SAS IO Unit page ...
mpi3mr_change_queue_depth(9)
NAME mpi3mr_change_queue_depth - Change QD callback handler SYNOPSIS int mpi3mr_change_queue_depth (struct scsi_device *sdev , int q_depth ); ARGUMENTS sdev SCSI device reference q_depth Queue depth DESCRIPTION Validate and limit QD and call scsi_change_queue_depth. RETURN return value of scsi_ch...
mpi3mr_check_op_admin_proc(9)
NAME mpi3mr_check_op_admin_proc - SYNOPSIS int mpi3mr_check_op_admin_proc (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Check if any of the operation reply queues or the admin reply queue are currently in use. If any queue is in use, this function waits for a maximum of 1...
mpi3mr_check_reset_dma_mask(9)
NAME mpi3mr_check_reset_dma_mask - Process IOC facts data SYNOPSIS int mpi3mr_check_reset_dma_mask (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Check whether the new DMA mask requested through IOCFacts by firmware needs to be set, if so set it . RETURN 0 on success, non-...
mpi3mr_check_return_unmap(9)
NAME mpi3mr_check_return_unmap - Whether an unmap is allowed SYNOPSIS bool mpi3mr_check_return_unmap (struct mpi3mr_ioc *mrioc , struct scsi_cmnd *scmd ); ARGUMENTS mrioc Adapter instance reference scmd SCSI Command reference DESCRIPTION The controller hardware cannot handle certain unmap comman...
mpi3mr_check_rh_fault_ioc(9)
NAME mpi3mr_check_rh_fault_ioc - check reset history and fault controller SYNOPSIS void mpi3mr_check_rh_fault_ioc (struct mpi3mr_ioc *mrioc , u32 reason_code ); ARGUMENTS mrioc Adapter instance reference reason_code reason code for the fault. DESCRIPTION This routine will save snapdump and fault the ...
mpi3mr_cleanup_fwevt_list(9)
NAME mpi3mr_cleanup_fwevt_list - Cleanup firmware event list SYNOPSIS void mpi3mr_cleanup_fwevt_list (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Flush all pending firmware events from the firmware event list. RETURN Nothing. SEE ALSO Kernel file ./drivers/scsi/mpi3mr...
mpi3mr_cleanup_ioc(9)
NAME mpi3mr_cleanup_ioc - Cleanup controller SYNOPSIS void mpi3mr_cleanup_ioc (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION controller cleanup handler, Message unit reset or soft reset and shutdown notification is issued to the controller. RETURN Nothing. SEE ALSO Kernel...
mpi3mr_cleanup_resources(9)
NAME mpi3mr_cleanup_resources - Free PCI resources SYNOPSIS void mpi3mr_cleanup_resources (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Unmap PCI device memory and disable PCI device. RETURN 0 on success and non-zero on failure. SEE ALSO Kernel file ./drivers/scsi/mpi3...
mpi3mr_clear_reset_history(9)
NAME mpi3mr_clear_reset_history - clear reset history SYNOPSIS void mpi3mr_clear_reset_history (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Write the reset history bit in IOC status to clear the bit, if it is already set. RETURN Nothing. SEE ALSO Kernel file ./drivers...
mpi3mr_clear_scmd_priv(9)
NAME mpi3mr_clear_scmd_priv - Cleanup SCSI command private date SYNOPSIS void mpi3mr_clear_scmd_priv (struct mpi3mr_ioc *mrioc , struct scsi_cmnd *scmd ); ARGUMENTS mrioc Adapter instance reference scmd SCSI command reference DESCRIPTION Invalidate the SCSI command private data to mark the comma...
mpi3mr_complete_evt_ack(9)
NAME mpi3mr_complete_evt_ack - event ack request completion SYNOPSIS void mpi3mr_complete_evt_ack (struct mpi3mr_ioc *mrioc , struct mpi3mr_drv_cmd *drv_cmd ); ARGUMENTS mrioc Adapter instance reference drv_cmd Internal command tracker DESCRIPTION This is the completion handler for non blocking eve...
mpi3mr_convert_phy_link_rate(9)
NAME mpi3mr_convert_phy_link_rate - SYNOPSIS enum sas_linkrate mpi3mr_convert_phy_link_rate (u8 link_rate ); ARGUMENTS link_rate link rate as defined in the MPI header DESCRIPTION Convert link_rate from mpi format into sas_transport layer form. RETURN A valid SAS transport layer defined link rate SEE ALSO Kernel...
mpi3mr_count_dev_pending(9)
NAME mpi3mr_count_dev_pending - Count commands pending for a lun SYNOPSIS bool mpi3mr_count_dev_pending (struct request *rq , void *data ); ARGUMENTS rq Block request data SCSI device reference DESCRIPTION This is an iterator function called for each SCSI command in a host and if the command ...
mpi3mr_count_tgt_pending(9)
NAME mpi3mr_count_tgt_pending - Count commands pending for target SYNOPSIS bool mpi3mr_count_tgt_pending (struct request *rq , void *data ); ARGUMENTS rq Block request data SCSI target reference DESCRIPTION This is an iterator function called for each SCSI command in a host and if the command...
mpi3mr_create_op_queues(9)
NAME mpi3mr_create_op_queues - create operational queue pairs SYNOPSIS int mpi3mr_create_op_queues (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Allocate memory for operational queue meta data and call create request and reply queue functions. RETURN 0 on success, non-zer...
mpi3mr_create_op_reply_q(9)
NAME mpi3mr_create_op_reply_q - create operational reply queue SYNOPSIS int mpi3mr_create_op_reply_q (struct mpi3mr_ioc *mrioc , u16 qidx ); ARGUMENTS mrioc Adapter instance reference qidx operational reply queue index DESCRIPTION Create operatinal reply queue by issuing MPI request through admi...
mpi3mr_create_op_req_q(9)
NAME mpi3mr_create_op_req_q - create operational request queue SYNOPSIS int mpi3mr_create_op_req_q (struct mpi3mr_ioc *mrioc , u16 idx , u16 reply_qid ); ARGUMENTS mrioc Adapter instance reference idx operational request queue index reply_qid Reply queue ID DESCRIPTION Create operatin...
mpi3mr_create_tgtdev(9)
NAME mpi3mr_create_tgtdev - Create and add a target device SYNOPSIS int mpi3mr_create_tgtdev (struct mpi3mr_ioc *mrioc , struct mpi3_device_page0 *dev_pg0 ); ARGUMENTS mrioc Adapter instance reference dev_pg0 Device Page 0 data DESCRIPTION If the device specified by the device page 0 data is not ...
mpi3mr_debug_dump_devpg0(9)
NAME mpi3mr_debug_dump_devpg0 - Dump device page0 SYNOPSIS void mpi3mr_debug_dump_devpg0 (struct mpi3mr_ioc *mrioc , struct mpi3_device_page0 *dev_pg0 ); ARGUMENTS mrioc Adapter instance reference dev_pg0 Device page 0. DESCRIPTION Prints pertinent details of the device page 0. RETURN Nothing. SE...
mpi3mr_del_phy_from_an_existing_port(9)
NAME mpi3mr_del_phy_from_an_existing_port - del phy from a port SYNOPSIS void mpi3mr_del_phy_from_an_existing_port (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_node *mr_sas_node , struct mpi3mr_sas_phy *mr_sas_phy ); ARGUMENTS mrioc Adapter instance reference mr_sas_node Internal sas node object (expan...
mpi3mr_delete_op_reply_q(9)
NAME mpi3mr_delete_op_reply_q - delete operational reply queue SYNOPSIS int mpi3mr_delete_op_reply_q (struct mpi3mr_ioc *mrioc , u16 qidx ); ARGUMENTS mrioc Adapter instance reference qidx operational reply queue index DESCRIPTION Delete operatinal reply queue by issuing MPI request through admi...
mpi3mr_delete_sas_phy(9)
NAME mpi3mr_delete_sas_phy - Remove a single phy from port SYNOPSIS void mpi3mr_delete_sas_phy (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_port *mr_sas_port , struct mpi3mr_sas_phy *mr_sas_phy , u8 host_node ); ARGUMENTS mrioc Adapter instance reference mr_sas_port Internal Port object mr_sas_...
mpi3mr_delete_sas_port(9)
NAME mpi3mr_delete_sas_port - helper function to removing a port SYNOPSIS void mpi3mr_delete_sas_port (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_port *mr_sas_port ); ARGUMENTS mrioc Adapter instance reference mr_sas_port Internal Port object RETURN None. SEE ALSO Kernel file ./drivers/scsi/mp...
mpi3mr_dequeue_fwevt(9)
NAME mpi3mr_dequeue_fwevt - Dequeue firmware event from the list SYNOPSIS struct mpi3mr_fwevt * mpi3mr_dequeue_fwevt (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Dequeue a firmware event from the firmware event list. RETURN firmware event. SEE ALSO Kernel file ./drive...
mpi3mr_dev_rmhs_complete_iou(9)
NAME mpi3mr_dev_rmhs_complete_iou - Device removal IOUC completion SYNOPSIS void mpi3mr_dev_rmhs_complete_iou (struct mpi3mr_ioc *mrioc , struct mpi3mr_drv_cmd *drv_cmd ); ARGUMENTS mrioc Adapter instance reference drv_cmd Internal command tracker DESCRIPTION Issues a target reset TM to the firmwar...
mpi3mr_dev_rmhs_complete_tm(9)
NAME mpi3mr_dev_rmhs_complete_tm - Device removal TM completion SYNOPSIS void mpi3mr_dev_rmhs_complete_tm (struct mpi3mr_ioc *mrioc , struct mpi3mr_drv_cmd *drv_cmd ); ARGUMENTS mrioc Adapter instance reference drv_cmd Internal command tracker DESCRIPTION Issues a target reset TM to the firmware fr...
mpi3mr_dev_rmhs_send_tm(9)
NAME mpi3mr_dev_rmhs_send_tm - Issue TM for device removal SYNOPSIS void mpi3mr_dev_rmhs_send_tm (struct mpi3mr_ioc *mrioc , u16 handle , struct mpi3mr_drv_cmd *cmdparam , u8 iou_rc ); ARGUMENTS mrioc Adapter instance reference handle Device handle cmdparam Internal command tracker ...
mpi3mr_devinfochg_evt_bh(9)
NAME mpi3mr_devinfochg_evt_bh - DeviceInfoChange evt bottomhalf SYNOPSIS void mpi3mr_devinfochg_evt_bh (struct mpi3mr_ioc *mrioc , struct mpi3_device_page0 *dev_pg0 ); ARGUMENTS mrioc Adapter instance reference dev_pg0 New device page0 DESCRIPTION Process Device Info Change event and based on devic...
mpi3mr_devstatuschg_evt_bh(9)
NAME mpi3mr_devstatuschg_evt_bh - DevStatusChange evt bottomhalf SYNOPSIS void mpi3mr_devstatuschg_evt_bh (struct mpi3mr_ioc *mrioc , struct mpi3mr_fwevt *fwevt ); ARGUMENTS mrioc Adapter instance reference fwevt Firmware event information. DESCRIPTION Process Device status Change event and based...
mpi3mr_devstatuschg_evt_th(9)
NAME mpi3mr_devstatuschg_evt_th - DeviceStatusChange evt tophalf SYNOPSIS void mpi3mr_devstatuschg_evt_th (struct mpi3mr_ioc *mrioc , struct mpi3_event_notification_reply *event_reply ); ARGUMENTS mrioc Adapter instance reference event_reply event data DESCRIPTION Checks for the reason code and based o...
mpi3mr_diag_buffer_for_type(9)
NAME mpi3mr_diag_buffer_for_type - returns buffer desc for type SYNOPSIS struct diag_buffer_desc * mpi3mr_diag_buffer_for_type (struct mpi3mr_ioc *mrioc , u8 buf_type ); ARGUMENTS mrioc Adapter instance reference buf_type Diagnostic buffer type DESCRIPTION Identifies matching diag descriptor from mr...
mpi3mr_diagfault_success(9)
NAME mpi3mr_diagfault_success - Check diag fault is success or not SYNOPSIS bool mpi3mr_diagfault_success (struct mpi3mr_ioc *mrioc , u32 ioc_status ); ARGUMENTS mrioc Adapter reference ioc_status IOC status register value DESCRIPTION Check whether the controller hit diag reset fault code. RETURN Tru...
mpi3mr_drv_cmd_comp_reset(9)
NAME mpi3mr_drv_cmd_comp_reset - Flush a internal driver command SYNOPSIS void mpi3mr_drv_cmd_comp_reset (struct mpi3mr_ioc *mrioc , struct mpi3mr_drv_cmd *cmdptr ); ARGUMENTS mrioc Adapter instance reference cmdptr Internal command tracker DESCRIPTION Complete an internal driver commands with sta...
mpi3mr_eh_abort(9)
NAME mpi3mr_eh_abort - Callback function for abort error handling SYNOPSIS int mpi3mr_eh_abort (struct scsi_cmnd *scmd ); ARGUMENTS scmd SCSI command reference DESCRIPTION Issues Abort Task Management if the command is in LLD scope and verifies if it is aborted successfully, and return status accordingly. RE...
mpi3mr_eh_bus_reset(9)
NAME mpi3mr_eh_bus_reset - Bus reset error handling callback SYNOPSIS int mpi3mr_eh_bus_reset (struct scsi_cmnd *scmd ); ARGUMENTS scmd SCSI command reference DESCRIPTION Checks whether pending I/Os are present for the RAID volume; if not there's no need to reset the adapter. RETURN SUCCESS of successful res...
mpi3mr_eh_dev_reset(9)
NAME mpi3mr_eh_dev_reset - Device reset error handling callback SYNOPSIS int mpi3mr_eh_dev_reset (struct scsi_cmnd *scmd ); ARGUMENTS scmd SCSI command reference DESCRIPTION Issue lun reset Task Management and verify the scmd is terminated successfully and return status accordingly. RETURN SUCCESS of success...
mpi3mr_eh_host_reset(9)
NAME mpi3mr_eh_host_reset - Host reset error handling callback SYNOPSIS int mpi3mr_eh_host_reset (struct scsi_cmnd *scmd ); ARGUMENTS scmd SCSI command reference DESCRIPTION Issue controller reset RETURN SUCCESS of successful reset else FAILED SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr...
mpi3mr_eh_target_reset(9)
NAME mpi3mr_eh_target_reset - Target reset error handling callback SYNOPSIS int mpi3mr_eh_target_reset (struct scsi_cmnd *scmd ); ARGUMENTS scmd SCSI command reference DESCRIPTION Issue Target reset Task Management and verify the scmd is terminated successfully and return status accordingly. RETURN SUCCESS o...
mpi3mr_enable_events(9)
NAME mpi3mr_enable_events - Enable required events SYNOPSIS int mpi3mr_enable_events (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION This routine unmasks the events required by the driver by sennding appropriate event mask bitmapt through an event notification request. RETU...
mpi3mr_enable_logdata(9)
NAME mpi3mr_enable_logdata - Handler for log data enable SYNOPSIS long mpi3mr_enable_logdata (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job reference DESCRIPTION This function enables log data caching in the driver if not already enable...
mpi3mr_encldev_add_chg_evt_bh(9)
NAME mpi3mr_encldev_add_chg_evt_bh - Enclosure evt bottomhalf SYNOPSIS void mpi3mr_encldev_add_chg_evt_bh (struct mpi3mr_ioc *mrioc , struct mpi3mr_fwevt *fwevt ); ARGUMENTS mrioc Adapter instance reference fwevt Firmware event reference DESCRIPTION Prints information about the Enclosure device s...
mpi3mr_encldev_add_chg_evt_debug(9)
NAME mpi3mr_encldev_add_chg_evt_debug - debug for enclosure event SYNOPSIS void mpi3mr_encldev_add_chg_evt_debug (struct mpi3mr_ioc *mrioc , struct mpi3_enclosure_page0 *encl_pg0 , u8 is_added ); ARGUMENTS mrioc Adapter instance reference encl_pg0 Enclosure page 0. is_added Added event or ...
mpi3mr_enclosure_find_by_handle(9)
NAME mpi3mr_enclosure_find_by_handle - enclosure search by handle SYNOPSIS struct mpi3mr_enclosure_node * mpi3mr_enclosure_find_by_handle (struct mpi3mr_ioc *mrioc , u16 handle ); ARGUMENTS mrioc Adapter instance reference handle Firmware device handle of the enclosure DESCRIPTION This searches fo...
mpi3mr_energypackchg_evt_th(9)
NAME mpi3mr_energypackchg_evt_th - Energy pack change evt tophalf SYNOPSIS void mpi3mr_energypackchg_evt_th (struct mpi3mr_ioc *mrioc , struct mpi3_event_notification_reply *event_reply ); ARGUMENTS mrioc Adapter instance reference event_reply event data DESCRIPTION Identifies the new shutdown timeout ...
mpi3mr_event_trigger(9)
NAME mpi3mr_event_trigger - MPI event HDB trigger handler SYNOPSIS void mpi3mr_event_trigger (struct mpi3mr_ioc *mrioc , u8 event ); ARGUMENTS mrioc Adapter instance reference event MPI Event DESCRIPTION This function compares event trigger values with driver page 2 values and calls generic trigg...
mpi3mr_expander_add(9)
NAME mpi3mr_expander_add - Create expander object SYNOPSIS int mpi3mr_expander_add (struct mpi3mr_ioc *mrioc , u16 handle ); ARGUMENTS mrioc Adapter instance reference handle Expander firmware device handle DESCRIPTION This function creating expander object, stored in sas_expander_list and expose ...
mpi3mr_expander_find_by_sas_address(9)
NAME mpi3mr_expander_find_by_sas_address - sas expander search SYNOPSIS struct mpi3mr_sas_node * mpi3mr_expander_find_by_sas_address (struct mpi3mr_ioc *mrioc , u64 sas_address , struct mpi3mr_hba_port *hba_port ); ARGUMENTS mrioc Adapter instance reference sas_address SAS address of expander hb...
mpi3mr_expander_node_add(9)
NAME mpi3mr_expander_node_add - insert an expander to the list. SYNOPSIS void mpi3mr_expander_node_add (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_node *sas_expander ); ARGUMENTS mrioc Adapter instance reference sas_expander Expander sas node CONTEXT This function will acquire sas_...
mpi3mr_expander_node_remove(9)
NAME mpi3mr_expander_node_remove - recursive removal of expander. SYNOPSIS void mpi3mr_expander_node_remove (struct mpi3mr_ioc *mrioc , struct mpi3mr_sas_node *sas_expander ); ARGUMENTS mrioc Adapter instance reference sas_expander Expander device object DESCRIPTION Removes expander...
mpi3mr_expander_phy_control(9)
NAME mpi3mr_expander_phy_control - expander phy control SYNOPSIS int mpi3mr_expander_phy_control (struct mpi3mr_ioc *mrioc , struct sas_phy *phy , u8 phy_operation ); ARGUMENTS mrioc Adapter instance reference phy The SAS transport layer phy object phy_operation The ph...
mpi3mr_expander_remove(9)
NAME mpi3mr_expander_remove - Remove expander object SYNOPSIS void mpi3mr_expander_remove (struct mpi3mr_ioc *mrioc , u64 sas_address , struct mpi3mr_hba_port *hba_port ); ARGUMENTS mrioc Adapter instance reference sas_address Remove expander sas_address hba_port HBA port reference DESCRIPTI...
mpi3mr_fault_uevent_emit(9)
NAME mpi3mr_fault_uevent_emit - Emit uevent for any controller fault SYNOPSIS void mpi3mr_fault_uevent_emit (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Pointer to the mpi3mr_ioc structure for the controller instance DESCRIPTION This function is invoked when the controller undergoes any type of fault. SEE ALS...
mpi3mr_flush_cmds_for_unrecovered_controller(9)
NAME mpi3mr_flush_cmds_for_unrecovered_controller - Flush all pending cmds SYNOPSIS void mpi3mr_flush_cmds_for_unrecovered_controller (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION This function waits for currently running IO poll threads to exit and then flushes all host I...
mpi3mr_flush_delayed_cmd_lists(9)
NAME mpi3mr_flush_delayed_cmd_lists - Flush pending commands SYNOPSIS void mpi3mr_flush_delayed_cmd_lists (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Flush pending commands in the delayed lists due to a controller reset or driver removal as a cleanup. RETURN Nothing SE...
mpi3mr_flush_drv_cmds(9)
NAME mpi3mr_flush_drv_cmds - Flush internaldriver commands SYNOPSIS void mpi3mr_flush_drv_cmds (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Flush all internal driver commands post reset RETURN Nothing. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_fw.c mpi3mr_get...
mpi3mr_flush_host_io(9)
NAME mpi3mr_flush_host_io - Flush host I/Os SYNOPSIS void mpi3mr_flush_host_io (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Flush all of the pending I/Os by calling blk_mq_tagset_busy_iter for each possible tag. This is executed post controller reset RETURN Nothing. SEE...
mpi3mr_flush_scmd(9)
NAME mpi3mr_flush_scmd - Flush individual SCSI command SYNOPSIS bool mpi3mr_flush_scmd (struct request *rq , void *data ); ARGUMENTS rq Block request data Adapter instance reference DESCRIPTION Return the SCSI command to the upper layers if it is in LLD scope. RETURN true always. SEE ALSO K...
mpi3mr_free_enclosure_list(9)
NAME mpi3mr_free_enclosure_list - release enclosures SYNOPSIS void mpi3mr_free_enclosure_list (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Free memory allocated during encloure add. Return nothing. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_host_ta...
mpi3mr_free_ioctl_dma_memory(9)
NAME mpi3mr_free_ioctl_dma_memory - free memory for ioctl dma SYNOPSIS void mpi3mr_free_ioctl_dma_memory (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Free the DMA memory allocated for IOCTL handling purpose. RETURN None SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3m...
mpi3mr_free_mem(9)
NAME mpi3mr_free_mem - Free memory allocated for a controller SYNOPSIS void mpi3mr_free_mem (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Free all the memory allocated for a controller. RETURN Nothing. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_fw.c mpi3mr_get_...
mpi3mr_free_op_reply_q_segments(9)
NAME mpi3mr_free_op_reply_q_segments - free reply memory segments SYNOPSIS void mpi3mr_free_op_reply_q_segments (struct mpi3mr_ioc *mrioc , u16 q_idx ); ARGUMENTS mrioc Adapter instance reference q_idx operational reply queue index DESCRIPTION Free memory segments allocated for operational reply ...
mpi3mr_free_op_req_q_segments(9)
NAME mpi3mr_free_op_req_q_segments - free request memory segments SYNOPSIS void mpi3mr_free_op_req_q_segments (struct mpi3mr_ioc *mrioc , u16 q_idx ); ARGUMENTS mrioc Adapter instance reference q_idx operational request queue index DESCRIPTION Free memory segments allocated for operational reques...
mpi3mr_free_tgtdev(9)
NAME mpi3mr_free_tgtdev - target device memory dealloctor SYNOPSIS void mpi3mr_free_tgtdev (struct kref *r ); ARGUMENTS r k reference pointer of the target device DESCRIPTION Free target device memory when no reference. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr.h struct mpi3mr_nvme_pt_sge(9),...
mpi3mr_fwevt_add_to_list(9)
NAME mpi3mr_fwevt_add_to_list - Add firmware event to the list SYNOPSIS void mpi3mr_fwevt_add_to_list (struct mpi3mr_ioc *mrioc , struct mpi3mr_fwevt *fwevt ); ARGUMENTS mrioc Adapter instance reference fwevt Firmware event reference DESCRIPTION Add the given firmware event to the firmware event ...
mpi3mr_fwevt_bh(9)
NAME mpi3mr_fwevt_bh - Firmware event bottomhalf handler SYNOPSIS void mpi3mr_fwevt_bh (struct mpi3mr_ioc *mrioc , struct mpi3mr_fwevt *fwevt ); ARGUMENTS mrioc Adapter instance reference fwevt Firmware event reference DESCRIPTION Identifies the firmware event and calls corresponding bottomg half...
mpi3mr_fwevt_del_from_list(9)
NAME mpi3mr_fwevt_del_from_list - Delete firmware event from list SYNOPSIS void mpi3mr_fwevt_del_from_list (struct mpi3mr_ioc *mrioc , struct mpi3mr_fwevt *fwevt ); ARGUMENTS mrioc Adapter instance reference fwevt Firmware event reference DESCRIPTION Delete the given firmware event from the firmw...
mpi3mr_fwevt_free(9)
NAME mpi3mr_fwevt_free - firmware event memory dealloctor SYNOPSIS void mpi3mr_fwevt_free (struct kref *r ); ARGUMENTS r k reference pointer of the firmware event DESCRIPTION Free firmware event memory when no reference. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_host_tag_for_scmd...
mpi3mr_fwevt_get(9)
NAME mpi3mr_fwevt_get - k reference incrementor SYNOPSIS void mpi3mr_fwevt_get (struct mpi3mr_fwevt *fwevt ); ARGUMENTS fwevt Firmware event reference DESCRIPTION Increment firmware event reference count. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_host_tag_for_scmd(9), mpi3mr_scmd_f...
mpi3mr_fwevt_put(9)
NAME mpi3mr_fwevt_put - k reference decrementor SYNOPSIS void mpi3mr_fwevt_put (struct mpi3mr_fwevt *fwevt ); ARGUMENTS fwevt Firmware event reference DESCRIPTION decrement firmware event reference count. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_host_tag_for_scmd(9), mpi3mr_scmd_f...
mpi3mr_fwevt_worker(9)
NAME mpi3mr_fwevt_worker - Firmware event worker SYNOPSIS void mpi3mr_fwevt_worker (struct work_struct *work ); ARGUMENTS work Work struct containing firmware event DESCRIPTION Extracts the firmware event and calls mpi3mr_fwevt_bh. RETURN Nothing. SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c mp...
mpi3mr_get_all_tgt_info(9)
NAME mpi3mr_get_all_tgt_info - Get all target information SYNOPSIS long mpi3mr_get_all_tgt_info (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job reference DESCRIPTION This function copies the driver managed target devices device handle,...
mpi3mr_get_chain_idx(9)
NAME mpi3mr_get_chain_idx - get free chain buffer index SYNOPSIS int mpi3mr_get_chain_idx (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Try to get a free chain buffer index from the free pool. RETURN -1 on failure or the free chain buffer index SEE ALSO Kernel file ./d...
mpi3mr_get_change_count(9)
NAME mpi3mr_get_change_count - Get topology change count SYNOPSIS long mpi3mr_get_change_count (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job reference DESCRIPTION This function copies the toplogy change count provided by the driver in ...
mpi3mr_get_expander_phy_error_log(9)
NAME mpi3mr_get_expander_phy_error_log - return expander counters: SYNOPSIS int mpi3mr_get_expander_phy_error_log (struct mpi3mr_ioc *mrioc , struct sas_phy *phy ); ARGUMENTS mrioc Adapter instance reference phy The SAS transport layer phy object RETURN 0 for success, non-zero for failure. SEE...
mpi3mr_get_fw_pending_ios(9)
NAME mpi3mr_get_fw_pending_ios - Calculate pending I/O count SYNOPSIS int mpi3mr_get_fw_pending_ios (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Calculate the pending I/Os for the controller and return. RETURN Number of pending I/Os SEE ALSO Kernel file ./drivers/scsi...
mpi3mr_get_hba_port_by_id(9)
NAME mpi3mr_get_hba_port_by_id - find hba port by id SYNOPSIS struct mpi3mr_hba_port * mpi3mr_get_hba_port_by_id (struct mpi3mr_ioc *mrioc , u8 port_id ); ARGUMENTS mrioc Adapter instance reference port_id Port ID to search RETURN mpi3mr_hba_port reference for the matched port SEE ALSO Kernel f...
mpi3mr_get_iocstate(9)
NAME mpi3mr_get_iocstate - Get IOC State SYNOPSIS enum mpi3mr_iocstate mpi3mr_get_iocstate (struct mpi3mr_ioc *mrioc ); ARGUMENTS mrioc Adapter instance reference DESCRIPTION Return a proper IOC state enum based on the IOC status and IOC configuration and unrcoverable state of the controller. RETURN Current I...
mpi3mr_get_logdata(9)
NAME mpi3mr_get_logdata - Handler for get log data SYNOPSIS long mpi3mr_get_logdata (struct mpi3mr_ioc *mrioc , struct bsg_job *job ); ARGUMENTS mrioc Adapter instance reference job BSG job pointer This function copies the log data entries to the user buffer when log caching is enabled in the dr...
mpi3mr_get_num_trigger(9)
NAME mpi3mr_get_num_trigger - Gets number of HDB triggers SYNOPSIS int mpi3mr_get_num_trigger (struct mpi3mr_ioc *mrioc , u8 *num_triggers , u8 page_action ); ARGUMENTS mrioc Adapter instance reference num_triggers Number of triggers page_action Page action DESCRIPTION This f...
mpi3mr_get_nvme_data_fmt(9)
NAME mpi3mr_get_nvme_data_fmt - returns the NVMe data format SYNOPSIS unsigned int mpi3mr_get_nvme_data_fmt (struct mpi3_nvme_encapsulated_request *nvme_encap_request ); ARGUMENTS nvme_encap_request NVMe encapsulated MPI request DESCRIPTION This function returns the type of the data format specified in user provided...
mpi3mr_get_port_id_by_rphy(9)
NAME mpi3mr_get_port_id_by_rphy - Get Port number from SAS rphy SYNOPSIS u8 mpi3mr_get_port_id_by_rphy (struct mpi3mr_ioc *mrioc , struct sas_rphy *rphy ); ARGUMENTS mrioc Adapter instance reference rphy SAS transport layer remote phy object DESCRIPTION Retrieves HBA port number in which the dev...
mpi3mr_get_port_id_by_sas_phy(9)
NAME mpi3mr_get_port_id_by_sas_phy - Get port ID of the given phy SYNOPSIS u8 mpi3mr_get_port_id_by_sas_phy (struct sas_phy *phy ); ARGUMENTS phy SAS transport layer phy object RETURN Port number for valid ID else 0xFFFF SEE ALSO Kernel file ./drivers/scsi/mpi3mr/mpi3mr_transport.c mpi3mr_post_transp...
mpi3mr_get_reply_desc(9)
NAME mpi3mr_get_reply_desc - get reply descriptor frame corresponding to queue's consumer index from operational reply descriptor queue. SYNOPSIS struct mpi3_default_reply_descriptor * mpi3mr_get_reply_desc (struct op_reply_qinfo *op_reply_q , u32 reply_ci ); ARGUMENTS op_reply_q op_reply_qinfo object reply_...
mpi3mr_get_sas_address(9)
NAME mpi3mr_get_sas_address - retrieve sas_address for handle SYNOPSIS int mpi3mr_get_sas_address (struct mpi3mr_ioc *mrioc , u16 handle , u64 *sas_address ); ARGUMENTS mrioc Adapter instance reference handle Firmware device handle sas_address Address to hold sas address DESCRIPTION This f...
mpi3mr_get_sas_negotiated_logical_linkrate(9)
NAME mpi3mr_get_sas_negotiated_logical_linkrate - get linkrate SYNOPSIS u8 mpi3mr_get_sas_negotiated_logical_linkrate (struct mpi3mr_ioc *mrioc , struct mpi3mr_tgt_dev *tgtdev ); ARGUMENTS mrioc Adapter instance reference tgtdev Target device DESCRIPTION This function first tries to use the link r...
mpi3mr_get_tgtdev_by_addr(9)
NAME mpi3mr_get_tgtdev_by_addr - target device search SYNOPSIS struct mpi3mr_tgt_dev * mpi3mr_get_tgtdev_by_addr (struct mpi3mr_ioc *mrioc , u64 sas_address , struct mpi3mr_hba_port *hba_port ); ARGUMENTS mrioc Adapter instance reference sas_address SAS address of the device hba_port HBA port...
mpi3mr_get_tgtdev_by_handle(9)
NAME mpi3mr_get_tgtdev_by_handle - Get tgtdev from device handle SYNOPSIS struct mpi3mr_tgt_dev * mpi3mr_get_tgtdev_by_handle (struct mpi3mr_ioc *mrioc , u16 handle ); ARGUMENTS mrioc Adapter instance reference handle Device handle DESCRIPTION Accessor to retrieve target device from the device han...