id
stringlengths
4
63
text
stringlengths
153
8.81M
megaraid_mbox_fire_sync_cmd(9)
NAME megaraid_mbox_fire_sync_cmd - fire the sync cmd SYNOPSIS int megaraid_mbox_fire_sync_cmd (adapter_t *adapter ); ARGUMENTS adapter soft state for the controller DESCRIPTION Clears the pending cmds in FW and reinits its RAID structs. SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid...
megaraid_mbox_flush_cache(9)
NAME megaraid_mbox_flush_cache - flush adapter and disks cache SYNOPSIS void megaraid_mbox_flush_cache (adapter_t *adapter ); ARGUMENTS adapter soft state for the controller DESCRIPTION Flush adapter cache followed by disks cache. SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_init(...
megaraid_mbox_get_max_sg(9)
NAME megaraid_mbox_get_max_sg - maximum sg elements supported by the firmware SYNOPSIS int megaraid_mbox_get_max_sg (adapter_t *adapter ); ARGUMENTS adapter soft state for the controller DESCRIPTION Find out the maximum number of scatter-gather elements supported by the firmware. SEE ALSO Kernel file ./driv...
megaraid_mbox_ld_show(9)
NAME megaraid_mbox_ld_show - display the logical drive number for this device SYNOPSIS ssize_t megaraid_mbox_ld_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev device object representation for the scsi device attr device attribute to show buf ...
megaraid_mbox_mksgl(9)
NAME megaraid_mbox_mksgl - make the scatter-gather list SYNOPSIS int megaraid_mbox_mksgl (adapter_t *adapter , scb_t *scb ); ARGUMENTS adapter controller's soft state scb scsi control block DESCRIPTION Prepare the scatter-gather list. SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbo...
megaraid_mbox_mm_command(9)
NAME megaraid_mbox_mm_command - issues commands routed through CMM SYNOPSIS int megaraid_mbox_mm_command (adapter_t *adapter , uioc_t *kioc ); ARGUMENTS adapter HBA soft state kioc management command packet DESCRIPTION Issues commands, which are routed through the management module. SEE ALSO Kern...
megaraid_mbox_mm_done(9)
NAME megaraid_mbox_mm_done - callback for CMM commands SYNOPSIS void megaraid_mbox_mm_done (adapter_t *adapter , scb_t *scb ); ARGUMENTS adapter HBA soft state scb completed command DESCRIPTION Callback routine for internal commands originated from the management module. SEE ALSO Kernel file ...
megaraid_mbox_mm_handler(9)
NAME megaraid_mbox_mm_handler - interface for CMM to issue commands to LLD SYNOPSIS int megaraid_mbox_mm_handler (unsigned long drvr_data , uioc_t *kioc , uint32_t action ); ARGUMENTS drvr_data LLD specific data kioc CMM interface packet action command action DESCRIPTION This routine is...
megaraid_mbox_prepare_epthru(9)
NAME megaraid_mbox_prepare_epthru - prepare a command for physical devices SYNOPSIS void megaraid_mbox_prepare_epthru (adapter_t *adapter , scb_t *scb , struct scsi_cmnd *scp ); ARGUMENTS adapter pointer to controller's soft state scb scsi control block scp scsi command from the mi...
megaraid_mbox_prepare_pthru(9)
NAME megaraid_mbox_prepare_pthru - prepare a command for physical devices SYNOPSIS void megaraid_mbox_prepare_pthru (adapter_t *adapter , scb_t *scb , struct scsi_cmnd *scp ); ARGUMENTS adapter pointer to controller's soft state scb scsi control block scp scsi command from the mid-...
megaraid_mbox_product_info(9)
NAME megaraid_mbox_product_info - some static information about the controller SYNOPSIS int megaraid_mbox_product_info (adapter_t *adapter ); ARGUMENTS adapter our soft state DESCRIPTION Issue commands to the controller to grab some parameters required by our caller. SEE ALSO Kernel file ./drivers/scsi/mega...
megaraid_mbox_runpendq(9)
NAME megaraid_mbox_runpendq - execute commands queued in the pending queue SYNOPSIS void megaraid_mbox_runpendq (adapter_t *adapter , scb_t *scb_q ); ARGUMENTS adapter controller's soft state scb_q SCB to be queued in the pending list DESCRIPTION Scan the pending list for commands which are not yet...
megaraid_mbox_setup_device_map(9)
NAME megaraid_mbox_setup_device_map - manage device ids SYNOPSIS void megaraid_mbox_setup_device_map (adapter_t *adapter ); ARGUMENTS adapter Driver's soft state DESCRIPTION Manage the device ids to have an appropriate mapping between the kernel scsi addresses and megaraid scsi and logical drive addresses. We...
megaraid_mbox_setup_dma_pools(9)
NAME megaraid_mbox_setup_dma_pools - setup dma pool for command packets SYNOPSIS int megaraid_mbox_setup_dma_pools (adapter_t *adapter ); ARGUMENTS adapter HBA soft state DESCRIPTION Setup the dma pools for mailbox, passthru and extended passthru structures, and scatter-gather lists. SEE ALSO Kernel file ./...
megaraid_mbox_shutdown(9)
NAME megaraid_mbox_shutdown - PCI shutdown for megaraid HBA SYNOPSIS void megaraid_mbox_shutdown (struct pci_dev *pdev ); ARGUMENTS pdev generic driver model device DESCRIPTION Shutdown notification, perform flush cache. SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_init(9), megar...
megaraid_mbox_support_ha(9)
NAME megaraid_mbox_support_ha - Do we support clustering SYNOPSIS int megaraid_mbox_support_ha (adapter_t *adapter , uint16_t *init_id ); ARGUMENTS adapter soft state for the controller init_id ID of the initiator DESCRIPTION Determine if the firmware supports clustering and the ID of the initiator. ...
megaraid_mbox_support_random_del(9)
NAME megaraid_mbox_support_random_del - Do we support random deletion SYNOPSIS int megaraid_mbox_support_random_del (adapter_t *adapter ); ARGUMENTS adapter soft state for the controller DESCRIPTION Determine if the firmware supports random deletion. RETURN 1 is operation supported, 0 otherwise SEE ALSO Kernel...
megaraid_mbox_teardown_dma_pools(9)
NAME megaraid_mbox_teardown_dma_pools - teardown dma pools for command packets SYNOPSIS void megaraid_mbox_teardown_dma_pools (adapter_t *adapter ); ARGUMENTS adapter HBA soft state DESCRIPTION Teardown the dma pool for mailbox, passthru and extended passthru structures, and scatter-gather lists. SEE ALSO Kerne...
megaraid_probe_one(9)
NAME megaraid_probe_one - PCI hotplug entry point SYNOPSIS int megaraid_probe_one (struct pci_dev *pdev , const struct pci_device_id *id ); ARGUMENTS pdev handle to this controller's PCI configuration space id pci device id of the class of controllers DESCRIPTION This routine should be called...
megaraid_queue_command_lck(9)
NAME megaraid_queue_command_lck - generic queue entry point for all LLDs SYNOPSIS enum scsi_qc_status megaraid_queue_command_lck (struct scsi_cmnd *scp ); ARGUMENTS scp pointer to the scsi command to be executed DESCRIPTION Queue entry point for mailbox based controllers. SEE ALSO Kernel file ./drivers/...
megaraid_reset_handler(9)
NAME megaraid_reset_handler - device reset handler for mailbox based driver SYNOPSIS int megaraid_reset_handler (struct scsi_cmnd *scp ); ARGUMENTS scp reference command DESCRIPTION Reset handler for the mailbox based controller. First try to find out if the FW is still live, in which case the outstanding c...
megaraid_sysfs_alloc_resources(9)
NAME megaraid_sysfs_alloc_resources - allocate sysfs related resources SYNOPSIS int megaraid_sysfs_alloc_resources (adapter_t *adapter ); ARGUMENTS adapter controller's soft state DESCRIPTION Allocate packets required to issue FW calls whenever the sysfs attributes are read. These attributes would require up-...
megaraid_sysfs_free_resources(9)
NAME megaraid_sysfs_free_resources - free sysfs related resources SYNOPSIS void megaraid_sysfs_free_resources (adapter_t *adapter ); ARGUMENTS adapter controller's soft state DESCRIPTION Free packets allocated for sysfs FW commands SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megaraid_init...
megaraid_sysfs_get_ldmap(9)
NAME megaraid_sysfs_get_ldmap - get update logical drive map SYNOPSIS int megaraid_sysfs_get_ldmap (adapter_t *adapter ); ARGUMENTS adapter controller's soft state DESCRIPTION This routine will be called whenever user reads the logical drive attributes, go get the current logical drive mapping table from the fir...
megaraid_sysfs_get_ldmap_done(9)
NAME megaraid_sysfs_get_ldmap_done - callback for get ldmap SYNOPSIS void megaraid_sysfs_get_ldmap_done (uioc_t *uioc ); ARGUMENTS uioc completed packet DESCRIPTION Callback routine called in the ISR/tasklet context for get ldmap call SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_mbox.c megarai...
megaraid_sysfs_get_ldmap_timeout(9)
NAME megaraid_sysfs_get_ldmap_timeout - timeout handling for get ldmap SYNOPSIS void megaraid_sysfs_get_ldmap_timeout (struct timer_list *t ); ARGUMENTS t timed out timer DESCRIPTION Timeout routine to recover and return to application, in case the adapter has stopped responding. A timeout of 60 seconds fo...
megasas_add_remove_devices(9)
NAME megasas_add_remove_devices - Add/remove devices to SCSI mid-layer after an AEN event notification SYNOPSIS void megasas_add_remove_devices (struct megasas_instance *instance , int scan_type ); ARGUMENTS instance Adapter soft state scan_type Indicates type of devices (PD/LD) to add return ...
megasas_adp_reset_fusion(9)
NAME megasas_adp_reset_fusion - For controller reset SYNOPSIS int megasas_adp_reset_fusion (struct megasas_instance *instance , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Controller's soft instance regs MFI register set SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sa...
megasas_adp_reset_gen2(9)
NAME megasas_adp_reset_gen2 - For controller reset SYNOPSIS int megasas_adp_reset_gen2 (struct megasas_instance *instance , struct megasas_register_set __iomem *reg_set ); ARGUMENTS instance Adapter soft state reg_set MFI register set SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c ...
megasas_adp_reset_wait_for_ready(9)
NAME megasas_adp_reset_wait_for_ready - initiate chip reset and wait for controller to come to ready state SYNOPSIS int megasas_adp_reset_wait_for_ready (struct megasas_instance *instance , bool do_adp_reset , int ocr_context ); ARGUMENTS instance adapter's soft state do_adp_reset If tru...
megasas_adp_reset_xscale(9)
NAME megasas_adp_reset_xscale - For controller reset SYNOPSIS int megasas_adp_reset_xscale (struct megasas_instance *instance , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state regs MFI register set SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c...
megasas_alloc_cmds(9)
NAME megasas_alloc_cmds - Allocates the command packets SYNOPSIS int megasas_alloc_cmds (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state DESCRIPTION Each command that is issued to the FW, whether IO commands from the OS or internal commands like IOCTLs, are wrapped in local data structu...
megasas_alloc_cmds_fusion(9)
NAME megasas_alloc_cmds_fusion - Allocates the command packets SYNOPSIS int megasas_alloc_cmds_fusion (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state DESCRIPTION Each frame has a 32-bit field called context. This context is used to get back the megasas_cmd_fusion from the frame when...
megasas_alloc_ctrl_dma_buffers(9)
NAME megasas_alloc_ctrl_dma_buffers - Allocate consistent DMA buffers during driver load time SYNOPSIS int megasas_alloc_ctrl_dma_buffers (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft instance RETURN O for SUCCESS SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas...
megasas_alloc_ctrl_mem(9)
NAME megasas_alloc_ctrl_mem - Allocate per controller memory for core data structures which are not common across MFI adapters and fusion adapters. For MFI based adapters, allocate producer and consumer buffers. For fusion adapters, allocate memory for fusion context. SYNOPSIS int megasas_alloc_ctrl_mem (struct me...
megasas_alloc_host_crash_buffer(9)
NAME megasas_alloc_host_crash_buffer - Host buffers for Crash dump collection from Firmware SYNOPSIS void megasas_alloc_host_crash_buffer (struct megasas_instance *instance ); ARGUMENTS instance Controller's soft instance RETURN Number of allocated host crash buffers SEE ALSO Kernel file ./drivers/scsi/megarai...
megasas_alloc_irq_vectors(9)
NAME megasas_alloc_irq_vectors - Allocate IRQ vectors/enable MSI-x vectors SYNOPSIS void megasas_alloc_irq_vectors (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state RETURN void SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_...
megasas_allocate_raid_maps(9)
NAME megasas_allocate_raid_maps - Allocate memory for RAID maps SYNOPSIS int megasas_allocate_raid_maps (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state RETURN if success: return 0 failed: return -ENOMEM SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp...
megasas_bios_param(9)
NAME megasas_bios_param - Returns disk geometry for a disk SYNOPSIS int megasas_bios_param (struct scsi_device *sdev , struct gendisk *unused , sector_t capacity , int geom[] ); ARGUMENTS sdev device handle unused gendisk capacity drive capacity geom geometry parameters ...
megasas_build_and_issue_cmd_fusion(9)
NAME megasas_build_and_issue_cmd_fusion - Main routine for building and issuing non IOCTL cmd SYNOPSIS u32 megasas_build_and_issue_cmd_fusion (struct megasas_instance *instance , struct scsi_cmnd *scmd ); ARGUMENTS instance Adapter soft state scmd pointer to scsi cmd from OS SEE ALSO Kernel file ...
megasas_build_dcdb(9)
NAME megasas_build_dcdb - Prepares a direct cdb (DCDB) command SYNOPSIS int megasas_build_dcdb (struct megasas_instance *instance , struct scsi_cmnd *scp , struct megasas_cmd *cmd ); ARGUMENTS instance Adapter soft state scp SCSI command cmd Command to be prepared in DESCRIPTION Th...
megasas_build_io_fusion(9)
NAME megasas_build_io_fusion - Prepares IOs to devices SYNOPSIS int megasas_build_io_fusion (struct megasas_instance *instance , struct scsi_cmnd *scp , struct megasas_cmd_fusion *cmd ); ARGUMENTS instance Adapter soft state scp SCSI command cmd Command to be prepared DESCRIPTION I...
megasas_build_ld_nonrw_fusion(9)
NAME megasas_build_ld_nonrw_fusion - prepares non rw ios for virtual disk SYNOPSIS void megasas_build_ld_nonrw_fusion (struct megasas_instance *instance , struct scsi_cmnd *scmd , struct megasas_cmd_fusion *cmd ); ARGUMENTS instance Adapter soft state scmd SCSI command cmd Command to...
megasas_build_ldio(9)
NAME megasas_build_ldio - Prepares IOs to logical devices SYNOPSIS int megasas_build_ldio (struct megasas_instance *instance , struct scsi_cmnd *scp , struct megasas_cmd *cmd ); ARGUMENTS instance Adapter soft state scp SCSI command cmd Command to be prepared DESCRIPTION Frames (an...
megasas_build_ldio_fusion(9)
NAME megasas_build_ldio_fusion - Prepares IOs to devices SYNOPSIS void megasas_build_ldio_fusion (struct megasas_instance *instance , struct scsi_cmnd *scp , struct megasas_cmd_fusion *cmd ); ARGUMENTS instance Adapter soft state scp SCSI command cmd Command to be prepared DESCRIPT...
megasas_build_syspd_fusion(9)
NAME megasas_build_syspd_fusion - prepares rw/non-rw ios for syspd SYNOPSIS void megasas_build_syspd_fusion (struct megasas_instance *instance , struct scsi_cmnd *scmd , struct megasas_cmd_fusion *cmd , bool fp_possible ); ARGUMENTS instance Adapter soft state scmd SCSI command cmd C...
megasas_check_reset_fusion(9)
NAME megasas_check_reset_fusion - For controller reset check SYNOPSIS int megasas_check_reset_fusion (struct megasas_instance *instance , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Controller's soft instance regs MFI register set SEE ALSO Kernel file ./drivers/scsi/megaraid/m...
megasas_check_reset_gen2(9)
NAME megasas_check_reset_gen2 - For controller reset check SYNOPSIS int megasas_check_reset_gen2 (struct megasas_instance *instance , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state regs MFI register set SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_...
megasas_check_reset_ppc(9)
NAME megasas_check_reset_ppc - For controller reset check SYNOPSIS int megasas_check_reset_ppc (struct megasas_instance *instance , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state regs MFI register set SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_ba...
megasas_check_reset_skinny(9)
NAME megasas_check_reset_skinny - For controller reset check SYNOPSIS int megasas_check_reset_skinny (struct megasas_instance *instance , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state regs MFI register set SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_...
megasas_check_reset_xscale(9)
NAME megasas_check_reset_xscale - For controller reset check SYNOPSIS int megasas_check_reset_xscale (struct megasas_instance *instance , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state regs MFI register set SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_...
megasas_check_same_4gb_region(9)
NAME megasas_check_same_4gb_region - check if allocation crosses same 4GB boundary or not SYNOPSIS bool megasas_check_same_4gb_region (struct megasas_instance *instance , dma_addr_t start_addr , size_t size ); ARGUMENTS instance adapter's soft instance start_addr start address of DMA allocation si...
megasas_clear_intr_gen2(9)
NAME megasas_clear_intr_gen2 - Check & clear interrupt SYNOPSIS int megasas_clear_intr_gen2 (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), meg...
megasas_clear_intr_ppc(9)
NAME megasas_clear_intr_ppc - Check & clear interrupt SYNOPSIS int megasas_clear_intr_ppc (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), megas...
megasas_clear_intr_skinny(9)
NAME megasas_clear_intr_skinny - Check & clear interrupt SYNOPSIS int megasas_clear_intr_skinny (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), ...
megasas_clear_intr_xscale(9)
NAME megasas_clear_intr_xscale - Check & clear interrupt SYNOPSIS int megasas_clear_intr_xscale (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), ...
megasas_cmd_type(9)
NAME megasas_cmd_type - Checks if the cmd is for logical drive/sysPD and whether it's RW or non RW SYNOPSIS int megasas_cmd_type (struct scsi_cmnd *cmd ); ARGUMENTS cmd SCSI command SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_ret...
megasas_complete_abort(9)
NAME megasas_complete_abort - Completes aborting a command SYNOPSIS void megasas_complete_abort (struct megasas_instance *instance , struct megasas_cmd *cmd ); ARGUMENTS instance Adapter soft state cmd Cmd that was issued to abort another cmd DESCRIPTION The megasas_issue_blocked_abort_cmd functio...
megasas_complete_cmd(9)
NAME megasas_complete_cmd - Completes a command SYNOPSIS void megasas_complete_cmd (struct megasas_instance *instance , struct megasas_cmd *cmd , u8 alt_status ); ARGUMENTS instance Adapter soft state cmd Command to be completed alt_status If non-zero, use this value as status to SCSI mid-...
megasas_complete_cmd_dpc(9)
NAME megasas_complete_cmd_dpc - Returns FW's controller structure SYNOPSIS void megasas_complete_cmd_dpc (unsigned long instance_addr ); ARGUMENTS instance_addr Address of adapter soft state DESCRIPTION Tasklet to complete cmds SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_sett...
megasas_complete_cmd_dpc_fusion(9)
NAME megasas_complete_cmd_dpc_fusion - Completes command SYNOPSIS void megasas_complete_cmd_dpc_fusion (unsigned long instance_addr ); ARGUMENTS instance_addr Adapter soft state address DESCRIPTION Tasklet to complete cmds SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_...
megasas_complete_int_cmd(9)
NAME megasas_complete_int_cmd - Completes an internal command SYNOPSIS void megasas_complete_int_cmd (struct megasas_instance *instance , struct megasas_cmd *cmd ); ARGUMENTS instance Adapter soft state cmd Command to be completed DESCRIPTION The megasas_issue_blocked_cmd function waits for a comm...
megasas_complete_r1_command(9)
NAME megasas_complete_r1_command - completes R1 FP write commands which has valid peer smid SYNOPSIS void megasas_complete_r1_command (struct megasas_instance *instance , struct megasas_cmd_fusion *cmd ); ARGUMENTS instance Adapter soft state cmd MPT command frame SEE ALSO Kernel file ./drivers/...
megasas_configure_queue_sizes(9)
NAME megasas_configure_queue_sizes - Calculate size of request desc queue, reply desc queue, IO request frame queue, set can_queue. SYNOPSIS void megasas_configure_queue_sizes (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state RETURN void SEE ALSO Kernel file ./drivers/scsi/megaraid/me...
megasas_create_frame_pool(9)
NAME megasas_create_frame_pool - Creates DMA pool for cmd frames SYNOPSIS int megasas_create_frame_pool (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state DESCRIPTION Each command packet has an embedded DMA memory buffer that is used for filling MFI frame and the SG list that immediately...
megasas_create_sg_sense_fusion(9)
NAME megasas_create_sg_sense_fusion - Creates DMA pool for cmd frames SYNOPSIS int megasas_create_sg_sense_fusion (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_for_ready(9), megasas_check_sam...
megasas_decode_evt(9)
NAME megasas_decode_evt - Decode FW AEN event and print critical event for information. SYNOPSIS void megasas_decode_evt (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), meg...
megasas_deplete_reply_queue(9)
NAME megasas_deplete_reply_queue - Processes all completed commands SYNOPSIS int megasas_deplete_reply_queue (struct megasas_instance *instance , u8 alt_status ); ARGUMENTS instance Adapter soft state alt_status Alternate status to be returned to SCSI mid-layer instead of the status returned by the FW NO...
megasas_detach_one(9)
NAME megasas_detach_one - PCI hot"un"plug entry point SYNOPSIS void megasas_detach_one (struct pci_dev *pdev ); ARGUMENTS pdev PCI device structure SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), megasas_decode_evt(...
megasas_disable_intr_fusion(9)
NAME megasas_disable_intr_fusion - Disables interrupt SYNOPSIS void megasas_disable_intr_fusion (struct megasas_instance *instance ); ARGUMENTS instance adapter's soft instance SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_for_ready(9), megasas_check_same_4gb_region...
megasas_disable_intr_gen2(9)
NAME megasas_disable_intr_gen2 - Disables interrupt SYNOPSIS void megasas_disable_intr_gen2 (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), meg...
megasas_disable_intr_ppc(9)
NAME megasas_disable_intr_ppc - Disable interrupt SYNOPSIS void megasas_disable_intr_ppc (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), megasa...
megasas_disable_intr_skinny(9)
NAME megasas_disable_intr_skinny - Disables interrupt SYNOPSIS void megasas_disable_intr_skinny (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), ...
megasas_disable_intr_xscale(9)
NAME megasas_disable_intr_xscale - Disables interrupt SYNOPSIS void megasas_disable_intr_xscale (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), meg...
megasas_dump(9)
NAME megasas_dump - This function will print hexdump of provided buffer. SYNOPSIS void megasas_dump (void *buf , int sz , int format ); ARGUMENTS buf Buffer to be dumped sz Size in bytes format Different formats of dumping e.g. format=n will cause only 'n' 32 bit words to be dump...
megasas_dump_fusion_io(9)
NAME megasas_dump_fusion_io - This function will print key details of SCSI IO SYNOPSIS void megasas_dump_fusion_io (struct scsi_cmnd *scmd ); ARGUMENTS scmd SCSI command pointer of SCSI IO SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), me...
megasas_dump_reg_set(9)
NAME megasas_dump_reg_set - This function will print hexdump of register set SYNOPSIS void megasas_dump_reg_set (void __iomem *reg_set ); ARGUMENTS reg_set Register set to be dumped SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_retu...
megasas_enable_intr_fusion(9)
NAME megasas_enable_intr_fusion - Enables interrupts SYNOPSIS void megasas_enable_intr_fusion (struct megasas_instance *instance ); ARGUMENTS instance adapter's soft instance SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_for_ready(9), megasas_check_same_4gb_region(9...
megasas_enable_intr_gen2(9)
NAME megasas_enable_intr_gen2 - Enables interrupts SYNOPSIS void megasas_enable_intr_gen2 (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), megas...
megasas_enable_intr_ppc(9)
NAME megasas_enable_intr_ppc - Enables interrupts SYNOPSIS void megasas_enable_intr_ppc (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), megasas...
megasas_enable_intr_skinny(9)
NAME megasas_enable_intr_skinny - Enables interrupts SYNOPSIS void megasas_enable_intr_skinny (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), m...
megasas_enable_intr_xscale(9)
NAME megasas_enable_intr_xscale - Enables interrupts SYNOPSIS void megasas_enable_intr_xscale (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), megasa...
megasas_enable_irq_poll(9)
NAME megasas_enable_irq_poll - enable irqpoll SYNOPSIS void megasas_enable_irq_poll (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_for_ready(9), megasas_check_same_4gb_region(9), megasas_enabl...
megasas_exit(9)
NAME megasas_exit - Driver unload entry point SYNOPSIS void megasas_exit (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), megasas_decode_evt(9), megasas_enable_intr_xscale(9), m...
megasas_fault_detect_work(9)
NAME megasas_fault_detect_work - Worker function of FW fault handling workqueue. SYNOPSIS void megasas_fault_detect_work (struct work_struct *work ); ARGUMENTS work FW fault work struct SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_for_ready(9), megasas_check_sam...
megasas_fire_cmd_fusion(9)
NAME megasas_fire_cmd_fusion - Sends command to the FW SYNOPSIS void megasas_fire_cmd_fusion (struct megasas_instance *instance , union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc ); ARGUMENTS instance Adapter soft state req_desc 32bit or 64bit Request descriptor DESCRIPTION Perform PCI Write. AERO SERI...
megasas_fire_cmd_gen2(9)
NAME megasas_fire_cmd_gen2 - Sends command to the FW SYNOPSIS void megasas_fire_cmd_gen2 (struct megasas_instance *instance , dma_addr_t frame_phys_addr , u32 frame_count , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state frame_phys_addr Physical address...
megasas_fire_cmd_ppc(9)
NAME megasas_fire_cmd_ppc - Sends command to the FW SYNOPSIS void megasas_fire_cmd_ppc (struct megasas_instance *instance , dma_addr_t frame_phys_addr , u32 frame_count , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state frame_phys_addr Physical address o...
megasas_fire_cmd_skinny(9)
NAME megasas_fire_cmd_skinny - Sends command to the FW SYNOPSIS void megasas_fire_cmd_skinny (struct megasas_instance *instance , dma_addr_t frame_phys_addr , u32 frame_count , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state frame_phys_addr Physical add...
megasas_fire_cmd_xscale(9)
NAME megasas_fire_cmd_xscale - Sends command to the FW SYNOPSIS void megasas_fire_cmd_xscale (struct megasas_instance *instance , dma_addr_t frame_phys_addr , u32 frame_count , struct megasas_register_set __iomem *regs ); ARGUMENTS instance Adapter soft state frame_phys_addr Physical add...
megasas_flush_cache(9)
NAME megasas_flush_cache - Requests FW to flush all its caches SYNOPSIS void megasas_flush_cache (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9),...
megasas_free_cmds(9)
NAME megasas_free_cmds - Free all the cmds in the free cmd pool SYNOPSIS void megasas_free_cmds (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_settings(9), megasas_get_cmd(9), megasas_return_cmd(9), ...
megasas_free_cmds_fusion(9)
NAME megasas_free_cmds_fusion - Free all the cmds in the free cmd pool SYNOPSIS void megasas_free_cmds_fusion (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_for_ready(9), megasas_check_same_4g...
megasas_free_host_crash_buffer(9)
NAME megasas_free_host_crash_buffer - Host buffers for Crash dump collection from Firmware SYNOPSIS void megasas_free_host_crash_buffer (struct megasas_instance *instance ); ARGUMENTS instance Controller's soft instance SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_f...
megasas_free_ioc_init_cmd(9)
NAME megasas_free_ioc_init_cmd - Free IOC INIT command frame SYNOPSIS void megasas_free_ioc_init_cmd (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_adp_reset_wait_for_ready(9), megasas_check_same_4gb_region(...
megasas_fusion_update_can_queue(9)
NAME megasas_fusion_update_can_queue - Do all Adapter Queue depth related calculations here SYNOPSIS void megasas_fusion_update_can_queue (struct megasas_instance *instance , int fw_boot_context ); ARGUMENTS instance Adapter soft state fw_boot_context Whether this function called during ...
megasas_generic_reset(9)
NAME megasas_generic_reset - Generic reset routine SYNOPSIS int megasas_generic_reset (struct scsi_cmnd *scmd ); ARGUMENTS scmd Mid-layer SCSI command DESCRIPTION This routine implements a generic reset handler for device, bus and host reset requests. Device, bus and host specific reset handlers can use this ...
megasas_get_cmd(9)
NAME megasas_get_cmd - Get a command from the free pool SYNOPSIS struct megasas_cmd * megasas_get_cmd (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state DESCRIPTION Returns a free command from the pool SEE ALSO Kernel file ./drivers/scsi/megaraid/megaraid_sas_base.c megasas_set_dma_se...
megasas_get_cmd_fusion(9)
NAME megasas_get_cmd_fusion - Get a command from the free pool SYNOPSIS struct megasas_cmd_fusion * megasas_get_cmd_fusion (struct megasas_instance *instance , u32 blk_tag ); ARGUMENTS instance Adapter soft state blk_tag Command tag DESCRIPTION Returns a blk_tag indexed mpt frame SEE ALSO Kernel file...
megasas_get_ctrl_info(9)
NAME megasas_get_ctrl_info - Returns FW's controller structure SYNOPSIS int megasas_get_ctrl_info (struct megasas_instance *instance ); ARGUMENTS instance Adapter soft state DESCRIPTION Issues an internal command (DCMD) to get the FW's controller structure. This information is mainly used to find out the maximum...