Lines Matching refs:megasas_instance

114 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
115 static int megasas_get_pd_list(struct megasas_instance *instance);
116 static int megasas_ld_list_query(struct megasas_instance *instance,
118 static int megasas_issue_init_mfi(struct megasas_instance *instance);
119 static int megasas_register_aen(struct megasas_instance *instance,
121 static void megasas_get_pd_info(struct megasas_instance *instance,
189 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd,
194 megasas_adp_reset_gen2(struct megasas_instance *instance,
198 megasas_init_adapter_mfi(struct megasas_instance *instance);
200 megasas_build_and_issue_cmd(struct megasas_instance *instance,
204 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd,
207 static int megasas_get_ld_vf_affiliation(struct megasas_instance *instance,
210 megasas_set_dma_mask(struct megasas_instance *instance);
212 megasas_alloc_ctrl_mem(struct megasas_instance *instance);
214 megasas_free_ctrl_mem(struct megasas_instance *instance);
216 megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance);
218 megasas_free_ctrl_dma_buffers(struct megasas_instance *instance);
220 megasas_init_ctrl_params(struct megasas_instance *instance);
230 void megasas_set_dma_settings(struct megasas_instance *instance, in megasas_set_dma_settings()
248 megasas_issue_dcmd(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_issue_dcmd()
261 struct megasas_cmd *megasas_get_cmd(struct megasas_instance in megasas_get_cmd()
287 megasas_return_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_return_cmd()
365 megasas_decode_evt(struct megasas_instance *instance) in megasas_decode_evt()
390 megasas_enable_intr_xscale(struct megasas_instance *instance) in megasas_enable_intr_xscale()
406 megasas_disable_intr_xscale(struct megasas_instance *instance) in megasas_disable_intr_xscale()
465 megasas_fire_cmd_xscale(struct megasas_instance *instance, in megasas_fire_cmd_xscale()
483 megasas_adp_reset_xscale(struct megasas_instance *instance, in megasas_adp_reset_xscale()
524 megasas_check_reset_xscale(struct megasas_instance *instance, in megasas_check_reset_xscale()
565 megasas_enable_intr_ppc(struct megasas_instance *instance) in megasas_enable_intr_ppc()
583 megasas_disable_intr_ppc(struct megasas_instance *instance) in megasas_disable_intr_ppc()
642 megasas_fire_cmd_ppc(struct megasas_instance *instance, in megasas_fire_cmd_ppc()
660 megasas_check_reset_ppc(struct megasas_instance *instance, in megasas_check_reset_ppc()
690 megasas_enable_intr_skinny(struct megasas_instance *instance) in megasas_enable_intr_skinny()
708 megasas_disable_intr_skinny(struct megasas_instance *instance) in megasas_disable_intr_skinny()
777 megasas_fire_cmd_skinny(struct megasas_instance *instance, in megasas_fire_cmd_skinny()
798 megasas_check_reset_skinny(struct megasas_instance *instance, in megasas_check_reset_skinny()
834 megasas_enable_intr_gen2(struct megasas_instance *instance) in megasas_enable_intr_gen2()
853 megasas_disable_intr_gen2(struct megasas_instance *instance) in megasas_disable_intr_gen2()
914 megasas_fire_cmd_gen2(struct megasas_instance *instance, in megasas_fire_cmd_gen2()
932 megasas_adp_reset_gen2(struct megasas_instance *instance, in megasas_adp_reset_gen2()
992 megasas_check_reset_gen2(struct megasas_instance *instance, in megasas_check_reset_gen2()
1035 megasas_issue_polled(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_issue_polled()
1065 megasas_issue_blocked_cmd(struct megasas_instance *instance, in megasas_issue_blocked_cmd()
1107 megasas_issue_blocked_abort_cmd(struct megasas_instance *instance, in megasas_issue_blocked_abort_cmd()
1173 megasas_make_sgl32(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl32()
1202 megasas_make_sgl64(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl64()
1231 megasas_make_sgl_skinny(struct megasas_instance *instance, in megasas_make_sgl_skinny()
1260 static u32 megasas_get_frame_count(struct megasas_instance *instance, in megasas_get_frame_count()
1321 megasas_build_dcdb(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_build_dcdb()
1420 megasas_build_ldio(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_build_ldio()
1585 megasas_dump_pending_frames(struct megasas_instance *instance) in megasas_dump_pending_frames()
1652 megasas_build_and_issue_cmd(struct megasas_instance *instance, in megasas_build_and_issue_cmd()
1699 struct megasas_instance *instance; in megasas_queue_command()
1702 instance = (struct megasas_instance *) in megasas_queue_command()
1770 static struct megasas_instance *megasas_lookup_instance(u16 host_no) in megasas_lookup_instance()
1801 struct megasas_instance *instance; in megasas_set_dynamic_target_properties()
1874 struct megasas_instance *instance; in megasas_set_nvme_device_properties()
1877 instance = (struct megasas_instance *)sdev->host->hostdata; in megasas_set_nvme_device_properties()
1908 struct megasas_instance *instance; in megasas_set_static_target_properties()
1957 struct megasas_instance *instance; in megasas_slave_configure()
1997 struct megasas_instance *instance ; in megasas_slave_alloc()
2040 static void megasas_complete_outstanding_ioctls(struct megasas_instance *instance) in megasas_complete_outstanding_ioctls()
2073 void megaraid_sas_kill_hba(struct megasas_instance *instance) in megaraid_sas_kill_hba()
2102 megasas_check_and_restore_queue_depth(struct megasas_instance *instance) in megasas_check_and_restore_queue_depth()
2131 struct megasas_instance *instance = in megasas_complete_cmd_dpc()
2132 (struct megasas_instance *)instance_addr; in megasas_complete_cmd_dpc()
2179 void megasas_start_timer(struct megasas_instance *instance) in megasas_start_timer()
2189 megasas_internal_reset_defer_cmds(struct megasas_instance *instance);
2194 void megasas_do_ocr(struct megasas_instance *instance) in megasas_do_ocr()
2210 static int megasas_get_ld_vf_affiliation_111(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation_111()
2316 static int megasas_get_ld_vf_affiliation_12(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation_12()
2483 static int megasas_get_ld_vf_affiliation(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation()
2496 int megasas_sriov_start_heartbeat(struct megasas_instance *instance, in megasas_sriov_start_heartbeat()
2570 struct megasas_instance *instance = in megasas_sriov_heartbeat_handler()
2594 static int megasas_wait_for_outstanding(struct megasas_instance *instance) in megasas_wait_for_outstanding()
2751 struct megasas_instance *instance; in megasas_generic_reset()
2753 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_generic_reset()
2782 struct megasas_instance *instance; in megasas_reset_timer()
2790 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_reset_timer()
2828 struct megasas_instance *instance; in megasas_reset_bus_host()
2830 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_reset_bus_host()
2866 struct megasas_instance *instance; in megasas_task_abort()
2868 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_task_abort()
2888 struct megasas_instance *instance; in megasas_reset_target()
2890 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_reset_target()
2961 megasas_service_aen(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_service_aen()
3004 struct megasas_instance *instance = in megasas_fw_crash_buffer_store()
3005 (struct megasas_instance *) shost->hostdata; in megasas_fw_crash_buffer_store()
3023 struct megasas_instance *instance = in megasas_fw_crash_buffer_show()
3024 (struct megasas_instance *) shost->hostdata; in megasas_fw_crash_buffer_show()
3068 struct megasas_instance *instance = in megasas_fw_crash_buffer_size_show()
3069 (struct megasas_instance *) shost->hostdata; in megasas_fw_crash_buffer_size_show()
3080 struct megasas_instance *instance = in megasas_fw_crash_state_store()
3081 (struct megasas_instance *) shost->hostdata; in megasas_fw_crash_state_store()
3115 struct megasas_instance *instance = in megasas_fw_crash_state_show()
3116 (struct megasas_instance *) shost->hostdata; in megasas_fw_crash_state_show()
3133 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; in megasas_ldio_outstanding_show()
3143 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; in megasas_fw_cmds_outstanding_show()
3204 megasas_complete_int_cmd(struct megasas_instance *instance, in megasas_complete_int_cmd()
3221 megasas_complete_abort(struct megasas_instance *instance, in megasas_complete_abort()
3242 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, in megasas_complete_cmd()
3455 megasas_issue_pending_cmds_again(struct megasas_instance *instance) in megasas_issue_pending_cmds_again()
3548 megasas_internal_reset_defer_cmds(struct megasas_instance *instance) in megasas_internal_reset_defer_cmds()
3585 struct megasas_instance *instance = in process_fw_state_change_wq()
3586 container_of(work, struct megasas_instance, work_init); in process_fw_state_change_wq()
3657 megasas_deplete_reply_queue(struct megasas_instance *instance, in megasas_deplete_reply_queue()
3731 struct megasas_instance *instance = irq_context->instance; in megasas_isr()
3755 megasas_transition_to_ready(struct megasas_instance *instance, int ocr) in megasas_transition_to_ready()
3925 static void megasas_teardown_frame_pool(struct megasas_instance *instance) in megasas_teardown_frame_pool()
3969 static int megasas_create_frame_pool(struct megasas_instance *instance) in megasas_create_frame_pool()
4066 void megasas_free_cmds(struct megasas_instance *instance) in megasas_free_cmds()
4103 int megasas_alloc_cmds(struct megasas_instance *instance) in megasas_alloc_cmds()
4171 dcmd_timeout_ocr_possible(struct megasas_instance *instance) { in dcmd_timeout_ocr_possible()
4183 megasas_get_pd_info(struct megasas_instance *instance, struct scsi_device *sdev) in megasas_get_pd_info()
4267 megasas_get_pd_list(struct megasas_instance *instance) in megasas_get_pd_list()
4396 megasas_get_ld_list(struct megasas_instance *instance) in megasas_get_ld_list()
4505 megasas_ld_list_query(struct megasas_instance *instance, u8 query_type) in megasas_ld_list_query()
4608 static void megasas_update_ext_vd_details(struct megasas_instance *instance) in megasas_update_ext_vd_details()
4673 megasas_get_ctrl_info(struct megasas_instance *instance) in megasas_get_ctrl_info()
4808 int megasas_set_crash_dump_params(struct megasas_instance *instance, in megasas_set_crash_dump_params()
4873 megasas_issue_init_mfi(struct megasas_instance *instance) in megasas_issue_init_mfi()
4943 megasas_init_adapter_mfi(struct megasas_instance *instance) in megasas_init_adapter_mfi()
5050 megasas_setup_irqs_ioapic(struct megasas_instance *instance) in megasas_setup_irqs_ioapic()
5078 megasas_setup_irqs_msix(struct megasas_instance *instance, u8 is_probe) in megasas_setup_irqs_msix()
5116 megasas_destroy_irqs(struct megasas_instance *instance) { in megasas_destroy_irqs()
5138 megasas_setup_jbod_map(struct megasas_instance *instance) in megasas_setup_jbod_map()
5186 static void megasas_setup_reply_map(struct megasas_instance *instance) in megasas_setup_reply_map()
5213 static int megasas_init_fw(struct megasas_instance *instance) in megasas_init_fw()
5614 static void megasas_release_mfi(struct megasas_instance *instance) in megasas_release_mfi()
5642 megasas_get_seq_num(struct megasas_instance *instance, in megasas_get_seq_num()
5716 megasas_register_aen(struct megasas_instance *instance, u32 seq_num, in megasas_register_aen()
5858 megasas_get_target_prop(struct megasas_instance *instance, in megasas_get_target_prop()
5935 static int megasas_start_aen(struct megasas_instance *instance) in megasas_start_aen()
5964 static int megasas_io_attach(struct megasas_instance *instance) in megasas_io_attach()
6038 megasas_set_dma_mask(struct megasas_instance *instance) in megasas_set_dma_mask()
6101 static inline void megasas_set_adapter_type(struct megasas_instance *instance) in megasas_set_adapter_type()
6135 static inline int megasas_alloc_mfi_ctrl_mem(struct megasas_instance *instance) in megasas_alloc_mfi_ctrl_mem()
6163 static int megasas_alloc_ctrl_mem(struct megasas_instance *instance) in megasas_alloc_ctrl_mem()
6197 static inline void megasas_free_ctrl_mem(struct megasas_instance *instance) in megasas_free_ctrl_mem()
6222 int megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance) in megasas_alloc_ctrl_dma_buffers()
6340 void megasas_free_ctrl_dma_buffers(struct megasas_instance *instance) in megasas_free_ctrl_dma_buffers()
6402 static inline void megasas_init_ctrl_params(struct megasas_instance *instance) in megasas_init_ctrl_params()
6458 struct megasas_instance *instance; in megasas_probe_one()
6489 sizeof(struct megasas_instance)); in megasas_probe_one()
6496 instance = (struct megasas_instance *)host->hostdata; in megasas_probe_one()
6602 static void megasas_flush_cache(struct megasas_instance *instance) in megasas_flush_cache()
6644 static void megasas_shutdown_controller(struct megasas_instance *instance, in megasas_shutdown_controller()
6701 struct megasas_instance *instance; in megasas_suspend()
6748 struct megasas_instance *instance; in megasas_resume()
6867 megasas_wait_for_adapter_operational(struct megasas_instance *instance) in megasas_wait_for_adapter_operational()
6903 struct megasas_instance *instance; in megasas_detach_one()
7028 struct megasas_instance *instance = pci_get_drvdata(pdev); in megasas_shutdown()
7114 struct megasas_instance *local_instance; in megasas_set_crash_dump_params_ioctl()
7150 megasas_mgmt_fw_ioctl(struct megasas_instance *instance, in megasas_mgmt_fw_ioctl()
7387 struct megasas_instance *instance; in megasas_mgmt_ioctl_fw()
7438 struct megasas_instance *instance; in megasas_mgmt_ioctl_aen()
7665 struct megasas_instance *instance = ev->instance; in megasas_aen_polling()