Lines Matching refs:megasas_instance

237 extern u8 MR_ValidateMapInfo(struct megasas_instance *instance, u64 map_id);
2210 struct megasas_instance *instance;
2215 struct megasas_instance *instance;
2278 struct megasas_instance { struct
2540 void (*fire_cmd)(struct megasas_instance *, dma_addr_t, \
2543 void (*enable_intr)(struct megasas_instance *);
2544 void (*disable_intr)(struct megasas_instance *);
2546 int (*clear_intr)(struct megasas_instance *);
2548 u32 (*read_fw_status_reg)(struct megasas_instance *);
2549 int (*adp_reset)(struct megasas_instance *, \
2551 int (*check_reset)(struct megasas_instance *, \
2555 u32 (*init_adapter)(struct megasas_instance *);
2556 u32 (*build_and_issue_cmd) (struct megasas_instance *,
2558 void (*issue_dcmd)(struct megasas_instance *instance,
2594 struct megasas_instance *instance;
2663 struct megasas_instance *instance[MAX_MGMT_ADAPTERS];
2682 MR_BuildRaidContext(struct megasas_instance *instance,
2693 __le16 get_updated_dev_handle(struct megasas_instance *instance,
2699 int megasas_get_ctrl_info(struct megasas_instance *instance);
2702 megasas_sync_pd_seq_num(struct megasas_instance *instance, bool pend);
2705 int megasas_get_target_prop(struct megasas_instance *instance,
2707 void megasas_get_snapdump_properties(struct megasas_instance *instance);
2709 int megasas_set_crash_dump_params(struct megasas_instance *instance,
2711 void megasas_free_host_crash_buffer(struct megasas_instance *instance);
2713 void megasas_return_cmd_fusion(struct megasas_instance *instance,
2715 int megasas_issue_blocked_cmd(struct megasas_instance *instance,
2717 void __megasas_return_cmd(struct megasas_instance *instance,
2720 void megasas_return_mfi_mpt_pthr(struct megasas_instance *instance,
2723 void megasas_setup_jbod_map(struct megasas_instance *instance);
2730 int megasas_alloc_fusion_context(struct megasas_instance *instance);
2731 void megasas_free_fusion_context(struct megasas_instance *instance);
2732 int megasas_fusion_start_watchdog(struct megasas_instance *instance);
2733 void megasas_fusion_stop_watchdog(struct megasas_instance *instance);
2735 void megasas_set_dma_settings(struct megasas_instance *instance,
2738 int megasas_adp_reset_wait_for_ready(struct megasas_instance *instance,
2743 u32 megasas_readl(struct megasas_instance *instance,
2745 struct megasas_cmd *megasas_get_cmd(struct megasas_instance *instance);
2746 void megasas_return_cmd(struct megasas_instance *instance,
2748 int megasas_issue_polled(struct megasas_instance *instance,
2750 void megaraid_sas_kill_hba(struct megasas_instance *instance);
2751 void megasas_check_and_restore_queue_depth(struct megasas_instance *instance);
2752 void megasas_start_timer(struct megasas_instance *instance);
2753 int megasas_sriov_start_heartbeat(struct megasas_instance *instance,
2755 int megasas_alloc_cmds(struct megasas_instance *instance);
2756 void megasas_free_cmds(struct megasas_instance *instance);
2760 void megasas_setup_debugfs(struct megasas_instance *instance);
2761 void megasas_destroy_debugfs(struct megasas_instance *instance);