Lines Matching defs:megasas_instance

235 extern u8 MR_ValidateMapInfo(struct megasas_instance *instance, u64 map_id);
2206 struct megasas_instance *instance;
2211 struct megasas_instance *instance;
2273 struct megasas_instance {
2534 void (*fire_cmd)(struct megasas_instance *, dma_addr_t, \
2537 void (*enable_intr)(struct megasas_instance *);
2538 void (*disable_intr)(struct megasas_instance *);
2540 int (*clear_intr)(struct megasas_instance *);
2542 u32 (*read_fw_status_reg)(struct megasas_instance *);
2543 int (*adp_reset)(struct megasas_instance *, \
2545 int (*check_reset)(struct megasas_instance *, \
2549 u32 (*init_adapter)(struct megasas_instance *);
2550 u32 (*build_and_issue_cmd) (struct megasas_instance *,
2552 void (*issue_dcmd)(struct megasas_instance *instance,
2588 struct megasas_instance *instance;
2649 struct megasas_instance *instance[MAX_MGMT_ADAPTERS];
2668 MR_BuildRaidContext(struct megasas_instance *instance,
2679 __le16 get_updated_dev_handle(struct megasas_instance *instance,
2685 int megasas_get_ctrl_info(struct megasas_instance *instance);
2688 megasas_sync_pd_seq_num(struct megasas_instance *instance, bool pend);
2691 int megasas_get_target_prop(struct megasas_instance *instance,
2693 void megasas_get_snapdump_properties(struct megasas_instance *instance);
2695 int megasas_set_crash_dump_params(struct megasas_instance *instance,
2697 void megasas_free_host_crash_buffer(struct megasas_instance *instance);
2699 void megasas_return_cmd_fusion(struct megasas_instance *instance,
2701 int megasas_issue_blocked_cmd(struct megasas_instance *instance,
2703 void __megasas_return_cmd(struct megasas_instance *instance,
2706 void megasas_return_mfi_mpt_pthr(struct megasas_instance *instance,
2709 void megasas_setup_jbod_map(struct megasas_instance *instance);
2716 int megasas_alloc_fusion_context(struct megasas_instance *instance);
2717 void megasas_free_fusion_context(struct megasas_instance *instance);
2718 int megasas_fusion_start_watchdog(struct megasas_instance *instance);
2719 void megasas_fusion_stop_watchdog(struct megasas_instance *instance);
2721 void megasas_set_dma_settings(struct megasas_instance *instance,
2724 int megasas_adp_reset_wait_for_ready(struct megasas_instance *instance,
2729 u32 megasas_readl(struct megasas_instance *instance,
2731 struct megasas_cmd *megasas_get_cmd(struct megasas_instance *instance);
2732 void megasas_return_cmd(struct megasas_instance *instance,
2734 int megasas_issue_polled(struct megasas_instance *instance,
2736 void megaraid_sas_kill_hba(struct megasas_instance *instance);
2737 void megasas_check_and_restore_queue_depth(struct megasas_instance *instance);
2738 void megasas_start_timer(struct megasas_instance *instance);
2739 int megasas_sriov_start_heartbeat(struct megasas_instance *instance,
2741 int megasas_alloc_cmds(struct megasas_instance *instance);
2742 void megasas_free_cmds(struct megasas_instance *instance);
2746 void megasas_setup_debugfs(struct megasas_instance *instance);
2747 void megasas_destroy_debugfs(struct megasas_instance *instance);