• Home
  • Raw
  • Download

Lines Matching refs:megasas_instance

135 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
136 static int megasas_get_pd_list(struct megasas_instance *instance);
137 static int megasas_ld_list_query(struct megasas_instance *instance,
139 static int megasas_issue_init_mfi(struct megasas_instance *instance);
140 static int megasas_register_aen(struct megasas_instance *instance,
142 static void megasas_get_pd_info(struct megasas_instance *instance,
145 megasas_set_ld_removed_by_fw(struct megasas_instance *instance);
224 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd,
227 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance);
229 megasas_adp_reset_gen2(struct megasas_instance *instance,
233 megasas_init_adapter_mfi(struct megasas_instance *instance);
235 megasas_build_and_issue_cmd(struct megasas_instance *instance,
239 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd,
242 static int megasas_get_ld_vf_affiliation(struct megasas_instance *instance,
245 megasas_set_dma_mask(struct megasas_instance *instance);
247 megasas_alloc_ctrl_mem(struct megasas_instance *instance);
249 megasas_free_ctrl_mem(struct megasas_instance *instance);
251 megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance);
253 megasas_free_ctrl_dma_buffers(struct megasas_instance *instance);
255 megasas_init_ctrl_params(struct megasas_instance *instance);
257 u32 megasas_readl(struct megasas_instance *instance, in megasas_readl()
287 void megasas_set_dma_settings(struct megasas_instance *instance, in megasas_set_dma_settings()
305 megasas_issue_dcmd(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_issue_dcmd()
318 struct megasas_cmd *megasas_get_cmd(struct megasas_instance in megasas_get_cmd()
344 megasas_return_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_return_cmd()
422 megasas_decode_evt(struct megasas_instance *instance) in megasas_decode_evt()
459 megasas_enable_intr_xscale(struct megasas_instance *instance) in megasas_enable_intr_xscale()
475 megasas_disable_intr_xscale(struct megasas_instance *instance) in megasas_disable_intr_xscale()
491 megasas_read_fw_status_reg_xscale(struct megasas_instance *instance) in megasas_read_fw_status_reg_xscale()
500 megasas_clear_intr_xscale(struct megasas_instance *instance) in megasas_clear_intr_xscale()
537 megasas_fire_cmd_xscale(struct megasas_instance *instance, in megasas_fire_cmd_xscale()
556 megasas_adp_reset_xscale(struct megasas_instance *instance, in megasas_adp_reset_xscale()
598 megasas_check_reset_xscale(struct megasas_instance *instance, in megasas_check_reset_xscale()
639 megasas_enable_intr_ppc(struct megasas_instance *instance) in megasas_enable_intr_ppc()
657 megasas_disable_intr_ppc(struct megasas_instance *instance) in megasas_disable_intr_ppc()
673 megasas_read_fw_status_reg_ppc(struct megasas_instance *instance) in megasas_read_fw_status_reg_ppc()
683 megasas_clear_intr_ppc(struct megasas_instance *instance) in megasas_clear_intr_ppc()
719 megasas_fire_cmd_ppc(struct megasas_instance *instance, in megasas_fire_cmd_ppc()
738 megasas_check_reset_ppc(struct megasas_instance *instance, in megasas_check_reset_ppc()
768 megasas_enable_intr_skinny(struct megasas_instance *instance) in megasas_enable_intr_skinny()
786 megasas_disable_intr_skinny(struct megasas_instance *instance) in megasas_disable_intr_skinny()
802 megasas_read_fw_status_reg_skinny(struct megasas_instance *instance) in megasas_read_fw_status_reg_skinny()
812 megasas_clear_intr_skinny(struct megasas_instance *instance) in megasas_clear_intr_skinny()
858 megasas_fire_cmd_skinny(struct megasas_instance *instance, in megasas_fire_cmd_skinny()
879 megasas_check_reset_skinny(struct megasas_instance *instance, in megasas_check_reset_skinny()
915 megasas_enable_intr_gen2(struct megasas_instance *instance) in megasas_enable_intr_gen2()
934 megasas_disable_intr_gen2(struct megasas_instance *instance) in megasas_disable_intr_gen2()
950 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance) in megasas_read_fw_status_reg_gen2()
960 megasas_clear_intr_gen2(struct megasas_instance *instance) in megasas_clear_intr_gen2()
999 megasas_fire_cmd_gen2(struct megasas_instance *instance, in megasas_fire_cmd_gen2()
1018 megasas_adp_reset_gen2(struct megasas_instance *instance, in megasas_adp_reset_gen2()
1079 megasas_check_reset_gen2(struct megasas_instance *instance, in megasas_check_reset_gen2()
1122 megasas_issue_polled(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_issue_polled()
1152 megasas_issue_blocked_cmd(struct megasas_instance *instance, in megasas_issue_blocked_cmd()
1194 megasas_issue_blocked_abort_cmd(struct megasas_instance *instance, in megasas_issue_blocked_abort_cmd()
1262 megasas_make_sgl32(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl32()
1291 megasas_make_sgl64(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_make_sgl64()
1320 megasas_make_sgl_skinny(struct megasas_instance *instance, in megasas_make_sgl_skinny()
1349 static u32 megasas_get_frame_count(struct megasas_instance *instance, in megasas_get_frame_count()
1410 megasas_build_dcdb(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_build_dcdb()
1509 megasas_build_ldio(struct megasas_instance *instance, struct scsi_cmnd *scp, in megasas_build_ldio()
1674 megasas_dump_pending_frames(struct megasas_instance *instance) in megasas_dump_pending_frames()
1741 megasas_build_and_issue_cmd(struct megasas_instance *instance, in megasas_build_and_issue_cmd()
1788 struct megasas_instance *instance; in megasas_queue_command()
1792 instance = (struct megasas_instance *) in megasas_queue_command()
1864 static struct megasas_instance *megasas_lookup_instance(u16 host_no) in megasas_lookup_instance()
1895 struct megasas_instance *instance; in megasas_set_dynamic_target_properties()
1972 struct megasas_instance *instance; in megasas_set_nvme_device_properties()
1975 instance = (struct megasas_instance *)sdev->host->hostdata; in megasas_set_nvme_device_properties()
1999 struct megasas_instance *instance; in megasas_set_fw_assisted_qd()
2047 struct megasas_instance *instance; in megasas_set_static_target_properties()
2072 struct megasas_instance *instance; in megasas_slave_configure()
2112 struct megasas_instance *instance ; in megasas_slave_alloc()
2157 struct megasas_instance *instance; in megasas_slave_destroy()
2183 static void megasas_complete_outstanding_ioctls(struct megasas_instance *instance) in megasas_complete_outstanding_ioctls()
2216 void megaraid_sas_kill_hba(struct megasas_instance *instance) in megaraid_sas_kill_hba()
2253 megasas_check_and_restore_queue_depth(struct megasas_instance *instance) in megasas_check_and_restore_queue_depth()
2282 struct megasas_instance *instance = in megasas_complete_cmd_dpc()
2283 (struct megasas_instance *)instance_addr; in megasas_complete_cmd_dpc()
2330 void megasas_start_timer(struct megasas_instance *instance) in megasas_start_timer()
2340 megasas_internal_reset_defer_cmds(struct megasas_instance *instance);
2345 static void megasas_do_ocr(struct megasas_instance *instance) in megasas_do_ocr()
2361 static int megasas_get_ld_vf_affiliation_111(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation_111()
2467 static int megasas_get_ld_vf_affiliation_12(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation_12()
2633 static int megasas_get_ld_vf_affiliation(struct megasas_instance *instance, in megasas_get_ld_vf_affiliation()
2646 int megasas_sriov_start_heartbeat(struct megasas_instance *instance, in megasas_sriov_start_heartbeat()
2721 struct megasas_instance *instance = in megasas_sriov_heartbeat_handler()
2745 static int megasas_wait_for_outstanding(struct megasas_instance *instance) in megasas_wait_for_outstanding()
2902 struct megasas_instance *instance; in megasas_generic_reset()
2904 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_generic_reset()
2932 struct megasas_instance *instance; in megasas_reset_timer()
2940 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_reset_timer()
3003 struct megasas_instance *instance; in megasas_dump_fusion_io()
3005 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_dump_fusion_io()
3062 struct megasas_instance *instance; in megasas_reset_bus_host()
3064 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_reset_bus_host()
3096 struct megasas_instance *instance; in megasas_task_abort()
3098 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_task_abort()
3118 struct megasas_instance *instance; in megasas_reset_target()
3120 instance = (struct megasas_instance *)scmd->device->host->hostdata; in megasas_reset_target()
3178 struct megasas_instance *instance; in megasas_map_queues()
3182 instance = (struct megasas_instance *)shost->hostdata; in megasas_map_queues()
3228 megasas_service_aen(struct megasas_instance *instance, struct megasas_cmd *cmd) in megasas_service_aen()
3271 struct megasas_instance *instance = in fw_crash_buffer_store()
3272 (struct megasas_instance *) shost->hostdata; in fw_crash_buffer_store()
3289 struct megasas_instance *instance = in fw_crash_buffer_show()
3290 (struct megasas_instance *) shost->hostdata; in fw_crash_buffer_show()
3333 struct megasas_instance *instance = in fw_crash_buffer_size_show()
3334 (struct megasas_instance *) shost->hostdata; in fw_crash_buffer_size_show()
3345 struct megasas_instance *instance = in fw_crash_state_store()
3346 (struct megasas_instance *) shost->hostdata; in fw_crash_state_store()
3379 struct megasas_instance *instance = in fw_crash_state_show()
3380 (struct megasas_instance *) shost->hostdata; in fw_crash_state_show()
3397 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; in ldio_outstanding_show()
3407 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; in fw_cmds_outstanding_show()
3417 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; in enable_sdev_max_qd_show()
3427 struct megasas_instance *instance = (struct megasas_instance *)shost->hostdata; in enable_sdev_max_qd_store()
3459 struct megasas_instance *instance = in dump_system_regs_show()
3460 (struct megasas_instance *)shost->hostdata; in dump_system_regs_show()
3470 struct megasas_instance *instance = in raid_map_id_show()
3471 (struct megasas_instance *)shost->hostdata; in raid_map_id_show()
3537 megasas_complete_int_cmd(struct megasas_instance *instance, in megasas_complete_int_cmd()
3558 megasas_complete_abort(struct megasas_instance *instance, in megasas_complete_abort()
3569 megasas_set_ld_removed_by_fw(struct megasas_instance *instance) in megasas_set_ld_removed_by_fw()
3595 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, in megasas_complete_cmd()
3812 megasas_issue_pending_cmds_again(struct megasas_instance *instance) in megasas_issue_pending_cmds_again()
3905 megasas_internal_reset_defer_cmds(struct megasas_instance *instance) in megasas_internal_reset_defer_cmds()
3942 struct megasas_instance *instance = in process_fw_state_change_wq()
3943 container_of(work, struct megasas_instance, work_init); in process_fw_state_change_wq()
4014 megasas_deplete_reply_queue(struct megasas_instance *instance, in megasas_deplete_reply_queue()
4088 struct megasas_instance *instance = irq_context->instance; in megasas_isr()
4113 megasas_transition_to_ready(struct megasas_instance *instance, int ocr) in megasas_transition_to_ready()
4283 static void megasas_teardown_frame_pool(struct megasas_instance *instance) in megasas_teardown_frame_pool()
4327 static int megasas_create_frame_pool(struct megasas_instance *instance) in megasas_create_frame_pool()
4413 void megasas_free_cmds(struct megasas_instance *instance) in megasas_free_cmds()
4450 int megasas_alloc_cmds(struct megasas_instance *instance) in megasas_alloc_cmds()
4517 dcmd_timeout_ocr_possible(struct megasas_instance *instance) { in dcmd_timeout_ocr_possible()
4530 megasas_get_pd_info(struct megasas_instance *instance, struct scsi_device *sdev) in megasas_get_pd_info()
4616 megasas_get_pd_list(struct megasas_instance *instance) in megasas_get_pd_list()
4751 megasas_get_ld_list(struct megasas_instance *instance) in megasas_get_ld_list()
4868 megasas_ld_list_query(struct megasas_instance *instance, u8 query_type) in megasas_ld_list_query()
4989 megasas_host_device_list_query(struct megasas_instance *instance, in megasas_host_device_list_query()
5113 static void megasas_update_ext_vd_details(struct megasas_instance *instance) in megasas_update_ext_vd_details()
5176 void megasas_get_snapdump_properties(struct megasas_instance *instance) in megasas_get_snapdump_properties()
5261 megasas_get_ctrl_info(struct megasas_instance *instance) in megasas_get_ctrl_info()
5414 int megasas_set_crash_dump_params(struct megasas_instance *instance, in megasas_set_crash_dump_params()
5479 megasas_issue_init_mfi(struct megasas_instance *instance) in megasas_issue_init_mfi()
5549 megasas_init_adapter_mfi(struct megasas_instance *instance) in megasas_init_adapter_mfi()
5644 void megasas_setup_irq_poll(struct megasas_instance *instance) in megasas_setup_irq_poll()
5671 megasas_setup_irqs_ioapic(struct megasas_instance *instance) in megasas_setup_irqs_ioapic()
5703 megasas_setup_irqs_msix(struct megasas_instance *instance, u8 is_probe) in megasas_setup_irqs_msix()
5749 megasas_destroy_irqs(struct megasas_instance *instance) { in megasas_destroy_irqs()
5783 megasas_setup_jbod_map(struct megasas_instance *instance) in megasas_setup_jbod_map()
5833 static void megasas_setup_reply_map(struct megasas_instance *instance) in megasas_setup_reply_map()
5871 int megasas_get_device_list(struct megasas_instance *instance) in megasas_get_device_list()
5899 megasas_set_high_iops_queue_affinity_and_hint(struct megasas_instance *instance) in megasas_set_high_iops_queue_affinity_and_hint()
5916 __megasas_alloc_irq_vectors(struct megasas_instance *instance) in __megasas_alloc_irq_vectors()
5945 megasas_alloc_irq_vectors(struct megasas_instance *instance) in megasas_alloc_irq_vectors()
6010 static int megasas_init_fw(struct megasas_instance *instance) in megasas_init_fw()
6548 static void megasas_release_mfi(struct megasas_instance *instance) in megasas_release_mfi()
6576 megasas_get_seq_num(struct megasas_instance *instance, in megasas_get_seq_num()
6650 megasas_register_aen(struct megasas_instance *instance, u32 seq_num, in megasas_register_aen()
6792 megasas_get_target_prop(struct megasas_instance *instance, in megasas_get_target_prop()
6872 static int megasas_start_aen(struct megasas_instance *instance) in megasas_start_aen()
6901 static int megasas_io_attach(struct megasas_instance *instance) in megasas_io_attach()
7001 megasas_set_dma_mask(struct megasas_instance *instance) in megasas_set_dma_mask()
7066 static inline void megasas_set_adapter_type(struct megasas_instance *instance) in megasas_set_adapter_type()
7106 static inline int megasas_alloc_mfi_ctrl_mem(struct megasas_instance *instance) in megasas_alloc_mfi_ctrl_mem()
7134 static int megasas_alloc_ctrl_mem(struct megasas_instance *instance) in megasas_alloc_ctrl_mem()
7165 static inline void megasas_free_ctrl_mem(struct megasas_instance *instance) in megasas_free_ctrl_mem()
7191 int megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance) in megasas_alloc_ctrl_dma_buffers()
7327 void megasas_free_ctrl_dma_buffers(struct megasas_instance *instance) in megasas_free_ctrl_dma_buffers()
7402 static inline void megasas_init_ctrl_params(struct megasas_instance *instance) in megasas_init_ctrl_params()
7458 struct megasas_instance *instance; in megasas_probe_one()
7502 sizeof(struct megasas_instance)); in megasas_probe_one()
7509 instance = (struct megasas_instance *)host->hostdata; in megasas_probe_one()
7635 static void megasas_flush_cache(struct megasas_instance *instance) in megasas_flush_cache()
7677 static void megasas_shutdown_controller(struct megasas_instance *instance, in megasas_shutdown_controller()
7731 struct megasas_instance *instance; in megasas_suspend()
7782 struct megasas_instance *instance; in megasas_resume()
7922 megasas_wait_for_adapter_operational(struct megasas_instance *instance) in megasas_wait_for_adapter_operational()
7958 struct megasas_instance *instance; in megasas_detach_one()
8093 struct megasas_instance *instance = pci_get_drvdata(pdev); in megasas_shutdown()
8189 struct megasas_instance *local_instance; in megasas_set_crash_dump_params_ioctl()
8226 megasas_mgmt_fw_ioctl(struct megasas_instance *instance, in megasas_mgmt_fw_ioctl()
8513 struct megasas_instance *instance; in megasas_mgmt_ioctl_fw()
8568 struct megasas_instance *instance; in megasas_mgmt_ioctl_aen()
8753 int megasas_update_device_list(struct megasas_instance *instance, in megasas_update_device_list()
8786 void megasas_add_remove_devices(struct megasas_instance *instance, in megasas_add_remove_devices()
8870 struct megasas_instance *instance = ev->instance; in megasas_aen_polling()