Lines Matching refs:megasas_instance
63 extern void megasas_free_cmds(struct megasas_instance *instance);
64 extern struct megasas_cmd *megasas_get_cmd(struct megasas_instance
67 megasas_complete_cmd(struct megasas_instance *instance,
70 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd,
74 megasas_return_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd);
75 int megasas_alloc_cmds(struct megasas_instance *instance);
79 megasas_issue_polled(struct megasas_instance *instance,
82 megasas_check_and_restore_queue_depth(struct megasas_instance *instance);
84 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
85 void megaraid_sas_kill_hba(struct megasas_instance *instance);
88 int megasas_sriov_start_heartbeat(struct megasas_instance *instance,
90 void megasas_start_timer(struct megasas_instance *instance);
94 static void megasas_free_rdpq_fusion(struct megasas_instance *instance);
95 static void megasas_free_reply_fusion(struct megasas_instance *instance);
97 void megasas_configure_queue_sizes(struct megasas_instance *instance);
111 (struct megasas_instance *instance, dma_addr_t start_addr, size_t size) in megasas_check_same_4gb_region()
133 megasas_enable_intr_fusion(struct megasas_instance *instance) in megasas_enable_intr_fusion()
154 megasas_disable_intr_fusion(struct megasas_instance *instance) in megasas_disable_intr_fusion()
193 inline struct megasas_cmd_fusion *megasas_get_cmd_fusion(struct megasas_instance in megasas_get_cmd_fusion()
207 inline void megasas_return_cmd_fusion(struct megasas_instance *instance, in megasas_return_cmd_fusion()
225 megasas_fire_cmd_fusion(struct megasas_instance *instance, in megasas_fire_cmd_fusion()
257 megasas_fusion_update_can_queue(struct megasas_instance *instance, int fw_boot_context) in megasas_fusion_update_can_queue()
309 megasas_free_cmds_fusion(struct megasas_instance *instance) in megasas_free_cmds_fusion()
370 static int megasas_create_sg_sense_fusion(struct megasas_instance *instance) in megasas_create_sg_sense_fusion()
475 megasas_alloc_cmdlist_fusion(struct megasas_instance *instance) in megasas_alloc_cmdlist_fusion()
514 megasas_alloc_request_fusion(struct megasas_instance *instance) in megasas_alloc_request_fusion()
595 megasas_alloc_reply_fusion(struct megasas_instance *instance) in megasas_alloc_reply_fusion()
672 megasas_alloc_rdpq_fusion(struct megasas_instance *instance) in megasas_alloc_rdpq_fusion()
795 megasas_free_rdpq_fusion(struct megasas_instance *instance) { in megasas_free_rdpq_fusion()
822 megasas_free_reply_fusion(struct megasas_instance *instance) { in megasas_free_reply_fusion()
856 megasas_alloc_cmds_fusion(struct megasas_instance *instance) in megasas_alloc_cmds_fusion()
931 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd, in wait_and_poll()
964 megasas_ioc_init_fusion(struct megasas_instance *instance) in megasas_ioc_init_fusion()
1146 megasas_sync_pd_seq_num(struct megasas_instance *instance, bool pend) { in megasas_sync_pd_seq_num()
1237 megasas_get_ld_map_info(struct megasas_instance *instance) in megasas_get_ld_map_info()
1302 megasas_get_map_info(struct megasas_instance *instance) in megasas_get_map_info()
1325 megasas_sync_map_info(struct megasas_instance *instance) in megasas_sync_map_info()
1407 megasas_display_intel_branding(struct megasas_instance *instance) in megasas_display_intel_branding()
1479 static inline int megasas_allocate_raid_maps(struct megasas_instance *instance) in megasas_allocate_raid_maps()
1554 void megasas_configure_queue_sizes(struct megasas_instance *instance) in megasas_configure_queue_sizes()
1584 static int megasas_alloc_ioc_init_frame(struct megasas_instance *instance) in megasas_alloc_ioc_init_frame()
1618 static inline void megasas_free_ioc_init_cmd(struct megasas_instance *instance) in megasas_free_ioc_init_cmd()
1641 megasas_init_adapter_fusion(struct megasas_instance *instance) in megasas_init_adapter_fusion()
1842 megasas_is_prp_possible(struct megasas_instance *instance, in megasas_is_prp_possible()
1953 megasas_make_prp_nvme(struct megasas_instance *instance, struct scsi_cmnd *scmd, in megasas_make_prp_nvme()
2080 megasas_make_sgl_fusion(struct megasas_instance *instance, in megasas_make_sgl_fusion()
2158 int megasas_make_sgl(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl()
2370 static void megasas_stream_detect(struct megasas_instance *instance, in megasas_stream_detect()
2531 megasas_build_ldio_fusion(struct megasas_instance *instance, in megasas_build_ldio_fusion()
2805 static void megasas_build_ld_nonrw_fusion(struct megasas_instance *instance, in megasas_build_ld_nonrw_fusion()
2895 megasas_build_syspd_fusion(struct megasas_instance *instance, in megasas_build_syspd_fusion()
3013 megasas_build_io_fusion(struct megasas_instance *instance, in megasas_build_io_fusion()
3110 megasas_get_request_descriptor(struct megasas_instance *instance, u16 index) in megasas_get_request_descriptor()
3126 void megasas_prepare_secondRaid1_IO(struct megasas_instance *instance, in megasas_prepare_secondRaid1_IO()
3171 megasas_build_and_issue_cmd_fusion(struct megasas_instance *instance, in megasas_build_and_issue_cmd_fusion()
3262 megasas_complete_r1_command(struct megasas_instance *instance, in megasas_complete_r1_command()
3315 complete_cmd_fusion(struct megasas_instance *instance, u32 MSIxIndex) in complete_cmd_fusion()
3484 struct megasas_instance *instance = in megasas_sync_irqs()
3485 (struct megasas_instance *)instance_addr; in megasas_sync_irqs()
3502 struct megasas_instance *instance = in megasas_complete_cmd_dpc_fusion()
3503 (struct megasas_instance *)instance_addr; in megasas_complete_cmd_dpc_fusion()
3527 struct megasas_instance *instance = irq_context->instance; in megasas_isr_fusion()
3579 build_mpt_mfi_pass_thru(struct megasas_instance *instance, in build_mpt_mfi_pass_thru()
3637 build_mpt_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) in build_mpt_cmd()
3663 megasas_issue_dcmd_fusion(struct megasas_instance *instance, in megasas_issue_dcmd_fusion()
3679 megasas_release_fusion(struct megasas_instance *instance) in megasas_release_fusion()
3706 megasas_alloc_host_crash_buffer(struct megasas_instance *instance) in megasas_alloc_host_crash_buffer()
3726 megasas_free_host_crash_buffer(struct megasas_instance *instance) in megasas_free_host_crash_buffer()
3744 megasas_adp_reset_fusion(struct megasas_instance *instance, in megasas_adp_reset_fusion()
3819 megasas_check_reset_fusion(struct megasas_instance *instance, in megasas_check_reset_fusion()
3826 int megasas_wait_for_outstanding_fusion(struct megasas_instance *instance, in megasas_wait_for_outstanding_fusion()
3915 void megasas_reset_reply_desc(struct megasas_instance *instance) in megasas_reset_reply_desc()
3935 void megasas_refire_mgmt_cmd(struct megasas_instance *instance) in megasas_refire_mgmt_cmd()
4015 static int megasas_track_scsiio(struct megasas_instance *instance, in megasas_track_scsiio()
4049 megasas_tm_response_code(struct megasas_instance *instance, in megasas_tm_response_code()
4110 megasas_issue_tm(struct megasas_instance *instance, u16 device_handle, in megasas_issue_tm()
4247 struct megasas_instance *instance; in megasas_fusion_smid_lookup()
4251 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_fusion_smid_lookup()
4278 struct megasas_instance *instance; in megasas_get_tm_devhandle()
4283 instance = (struct megasas_instance *)sdev->host->hostdata; in megasas_get_tm_devhandle()
4314 struct megasas_instance *instance; in megasas_task_abort_fusion()
4322 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_task_abort_fusion()
4399 struct megasas_instance *instance; in megasas_reset_target_fusion()
4406 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_reset_target_fusion()
4462 struct megasas_instance *megasas_get_peer_instance(struct megasas_instance *instance) in megasas_get_peer_instance()
4479 int megasas_check_mpio_paths(struct megasas_instance *instance, in megasas_check_mpio_paths()
4482 struct megasas_instance *peer_instance = NULL; in megasas_check_mpio_paths()
4499 struct megasas_instance *instance; in megasas_reset_fusion()
4509 instance = (struct megasas_instance *)shost->hostdata; in megasas_reset_fusion()
4758 struct megasas_instance *instance = in megasas_fusion_crash_dump_wq()
4759 container_of(work, struct megasas_instance, crash_init); in megasas_fusion_crash_dump_wq()
4826 struct megasas_instance *instance = in megasas_fusion_ocr_wq()
4827 container_of(work, struct megasas_instance, work_init); in megasas_fusion_ocr_wq()
4834 megasas_alloc_fusion_context(struct megasas_instance *instance) in megasas_alloc_fusion_context()
4882 megasas_free_fusion_context(struct megasas_instance *instance) in megasas_free_fusion_context()