Lines Matching defs:instance
210 megasas_issue_dcmd(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_issue_dcmd()
223 struct megasas_cmd *megasas_get_cmd(struct megasas_instance in megasas_get_cmd()
249 megasas_return_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_return_cmd()
327 megasas_decode_evt(struct megasas_instance *instance) in megasas_decode_evt()
352 megasas_enable_intr_xscale(struct megasas_instance *instance) in megasas_enable_intr_xscale()
368 megasas_disable_intr_xscale(struct megasas_instance *instance) in megasas_disable_intr_xscale()
427 megasas_fire_cmd_xscale(struct megasas_instance *instance, in megasas_fire_cmd_xscale()
445 megasas_adp_reset_xscale(struct megasas_instance *instance, in megasas_adp_reset_xscale()
486 megasas_check_reset_xscale(struct megasas_instance *instance, in megasas_check_reset_xscale()
527 megasas_enable_intr_ppc(struct megasas_instance *instance) in megasas_enable_intr_ppc()
545 megasas_disable_intr_ppc(struct megasas_instance *instance) in megasas_disable_intr_ppc()
604 megasas_fire_cmd_ppc(struct megasas_instance *instance, in megasas_fire_cmd_ppc()
622 megasas_check_reset_ppc(struct megasas_instance *instance, in megasas_check_reset_ppc()
652 megasas_enable_intr_skinny(struct megasas_instance *instance) in megasas_enable_intr_skinny()
670 megasas_disable_intr_skinny(struct megasas_instance *instance) in megasas_disable_intr_skinny()
739 megasas_fire_cmd_skinny(struct megasas_instance *instance, in megasas_fire_cmd_skinny()
760 megasas_check_reset_skinny(struct megasas_instance *instance, in megasas_check_reset_skinny()
796 megasas_enable_intr_gen2(struct megasas_instance *instance) in megasas_enable_intr_gen2()
815 megasas_disable_intr_gen2(struct megasas_instance *instance) in megasas_disable_intr_gen2()
876 megasas_fire_cmd_gen2(struct megasas_instance *instance, in megasas_fire_cmd_gen2()
894 megasas_adp_reset_gen2(struct megasas_instance *instance, in megasas_adp_reset_gen2()
954 megasas_check_reset_gen2(struct megasas_instance *instance, in megasas_check_reset_gen2()
997 megasas_issue_polled(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_issue_polled()
1027 megasas_issue_blocked_cmd(struct megasas_instance *instance, in megasas_issue_blocked_cmd()
1069 megasas_issue_blocked_abort_cmd(struct megasas_instance *instance, in megasas_issue_blocked_abort_cmd()
1135 megasas_make_sgl32(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl32()
1164 megasas_make_sgl64(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl64()
1193 megasas_make_sgl_skinny(struct megasas_instance *instance, in megasas_make_sgl_skinny()
1222 static u32 megasas_get_frame_count(struct megasas_instance *instance, in megasas_get_frame_count()
1283 megasas_build_dcdb(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_build_dcdb()
1382 megasas_build_ldio(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_build_ldio()
1547 megasas_dump_pending_frames(struct megasas_instance *instance) in megasas_dump_pending_frames()
1614 megasas_build_and_issue_cmd(struct megasas_instance *instance, in megasas_build_and_issue_cmd()
1661 struct megasas_instance *instance; in megasas_queue_command() local
1762 struct megasas_instance *instance; in megasas_set_dynamic_target_properties() local
1819 struct megasas_instance *instance; in megasas_set_nvme_device_properties() local
1853 struct megasas_instance *instance; in megasas_set_static_target_properties() local
1902 struct megasas_instance *instance; in megasas_slave_configure() local
1942 struct megasas_instance *instance ; in megasas_slave_alloc() local
1985 static void megasas_complete_outstanding_ioctls(struct megasas_instance *instance) in megasas_complete_outstanding_ioctls()
2018 void megaraid_sas_kill_hba(struct megasas_instance *instance) in megaraid_sas_kill_hba()
2047 megasas_check_and_restore_queue_depth(struct megasas_instance *instance) in megasas_check_and_restore_queue_depth()
2076 struct megasas_instance *instance = in megasas_complete_cmd_dpc() local
2125 void megasas_start_timer(struct megasas_instance *instance, in megasas_start_timer()
2142 void megasas_do_ocr(struct megasas_instance *instance) in megasas_do_ocr()
2158 static int megasas_get_ld_vf_affiliation_111(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation_111()
2266 static int megasas_get_ld_vf_affiliation_12(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation_12()
2435 static int megasas_get_ld_vf_affiliation(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation()
2448 int megasas_sriov_start_heartbeat(struct megasas_instance *instance, in megasas_sriov_start_heartbeat()
2521 struct megasas_instance *instance = in megasas_sriov_heartbeat_handler() local
2545 static int megasas_wait_for_outstanding(struct megasas_instance *instance) in megasas_wait_for_outstanding()
2702 struct megasas_instance *instance; in megasas_generic_reset() local
2733 struct megasas_instance *instance; in megasas_reset_timer() local
2779 struct megasas_instance *instance; in megasas_reset_bus_host() local
2817 struct megasas_instance *instance; in megasas_task_abort() local
2839 struct megasas_instance *instance; in megasas_reset_target() local
2912 megasas_service_aen(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_service_aen()
2955 struct megasas_instance *instance = in megasas_fw_crash_buffer_store() local
2974 struct megasas_instance *instance = in megasas_fw_crash_buffer_show() local
3022 struct megasas_instance *instance = in megasas_fw_crash_buffer_size_show() local
3034 struct megasas_instance *instance = in megasas_fw_crash_state_store() local
3069 struct megasas_instance *instance = in megasas_fw_crash_state_show() local
3087 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; in megasas_ldio_outstanding_show() local
3145 megasas_complete_int_cmd(struct megasas_instance *instance, in megasas_complete_int_cmd()
3162 megasas_complete_abort(struct megasas_instance *instance, in megasas_complete_abort()
3183 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, in megasas_complete_cmd()
3387 megasas_issue_pending_cmds_again(struct megasas_instance *instance) in megasas_issue_pending_cmds_again()
3480 megasas_internal_reset_defer_cmds(struct megasas_instance *instance) in megasas_internal_reset_defer_cmds()
3517 struct megasas_instance *instance = in process_fw_state_change_wq() local
3589 megasas_deplete_reply_queue(struct megasas_instance *instance, in megasas_deplete_reply_queue()
3663 struct megasas_instance *instance = irq_context->instance; in megasas_isr() local
3687 megasas_transition_to_ready(struct megasas_instance *instance, int ocr) in megasas_transition_to_ready()
3857 static void megasas_teardown_frame_pool(struct megasas_instance *instance) in megasas_teardown_frame_pool()
3901 static int megasas_create_frame_pool(struct megasas_instance *instance) in megasas_create_frame_pool()
3999 void megasas_free_cmds(struct megasas_instance *instance) in megasas_free_cmds()
4036 int megasas_alloc_cmds(struct megasas_instance *instance) in megasas_alloc_cmds()
4107 dcmd_timeout_ocr_possible(struct megasas_instance *instance) { in dcmd_timeout_ocr_possible()
4120 megasas_get_pd_info(struct megasas_instance *instance, struct scsi_device *sdev) in megasas_get_pd_info()
4203 megasas_get_pd_list(struct megasas_instance *instance) in megasas_get_pd_list()
4341 megasas_get_ld_list(struct megasas_instance *instance) in megasas_get_ld_list()
4458 megasas_ld_list_query(struct megasas_instance *instance, u8 query_type) in megasas_ld_list_query()
4570 static void megasas_update_ext_vd_details(struct megasas_instance *instance) in megasas_update_ext_vd_details()
4635 megasas_get_ctrl_info(struct megasas_instance *instance) in megasas_get_ctrl_info()
4769 int megasas_set_crash_dump_params(struct megasas_instance *instance, in megasas_set_crash_dump_params()
4833 megasas_issue_init_mfi(struct megasas_instance *instance) in megasas_issue_init_mfi()
4903 megasas_init_adapter_mfi(struct megasas_instance *instance) in megasas_init_adapter_mfi()
5010 megasas_setup_irqs_ioapic(struct megasas_instance *instance) in megasas_setup_irqs_ioapic()
5038 megasas_setup_irqs_msix(struct megasas_instance *instance, u8 is_probe) in megasas_setup_irqs_msix()
5076 megasas_destroy_irqs(struct megasas_instance *instance) { in megasas_destroy_irqs()
5098 megasas_setup_jbod_map(struct megasas_instance *instance) in megasas_setup_jbod_map()
5146 static void megasas_setup_reply_map(struct megasas_instance *instance) in megasas_setup_reply_map()
5173 static int megasas_init_fw(struct megasas_instance *instance) in megasas_init_fw()
5567 static void megasas_release_mfi(struct megasas_instance *instance) in megasas_release_mfi()
5595 megasas_get_seq_num(struct megasas_instance *instance, in megasas_get_seq_num()
5665 megasas_register_aen(struct megasas_instance *instance, u32 seq_num, in megasas_register_aen()
5806 megasas_get_target_prop(struct megasas_instance *instance, in megasas_get_target_prop()
5885 static int megasas_start_aen(struct megasas_instance *instance) in megasas_start_aen()
5914 static int megasas_io_attach(struct megasas_instance *instance) in megasas_io_attach()
6018 static inline void megasas_set_adapter_type(struct megasas_instance *instance) in megasas_set_adapter_type()
6046 static inline int megasas_alloc_mfi_ctrl_mem(struct megasas_instance *instance) in megasas_alloc_mfi_ctrl_mem()
6074 static int megasas_alloc_ctrl_mem(struct megasas_instance *instance) in megasas_alloc_ctrl_mem()
6108 static inline void megasas_free_ctrl_mem(struct megasas_instance *instance) in megasas_free_ctrl_mem()
6135 struct megasas_instance *instance; in megasas_probe_one() local
6393 static void megasas_flush_cache(struct megasas_instance *instance) in megasas_flush_cache()
6435 static void megasas_shutdown_controller(struct megasas_instance *instance, in megasas_shutdown_controller()
6492 struct megasas_instance *instance; in megasas_suspend() local
6539 struct megasas_instance *instance; in megasas_resume() local
6673 megasas_wait_for_adapter_operational(struct megasas_instance *instance) in megasas_wait_for_adapter_operational()
6708 struct megasas_instance *instance; in megasas_detach_one() local
6852 struct megasas_instance *instance = pci_get_drvdata(pdev); in megasas_shutdown() local
6974 megasas_mgmt_fw_ioctl(struct megasas_instance *instance, in megasas_mgmt_fw_ioctl()
7174 struct megasas_instance *instance; in megasas_mgmt_ioctl_fw() local
7254 struct megasas_instance *instance; in megasas_mgmt_ioctl_aen() local
7503 struct megasas_instance *instance = ev->instance; in megasas_aen_polling() local