Lines Matching defs:mrioc

56 static void mpi3mr_sync_irqs(struct mpi3mr_ioc *mrioc)  in mpi3mr_sync_irqs()
66 void mpi3mr_ioc_disable_intr(struct mpi3mr_ioc *mrioc) in mpi3mr_ioc_disable_intr()
72 void mpi3mr_ioc_enable_intr(struct mpi3mr_ioc *mrioc) in mpi3mr_ioc_enable_intr()
77 static void mpi3mr_cleanup_isr(struct mpi3mr_ioc *mrioc) in mpi3mr_cleanup_isr()
114 void *mpi3mr_get_reply_virt_addr(struct mpi3mr_ioc *mrioc, in mpi3mr_get_reply_virt_addr()
127 void *mpi3mr_get_sensebuf_virt_addr(struct mpi3mr_ioc *mrioc, in mpi3mr_get_sensebuf_virt_addr()
136 static void mpi3mr_repost_reply_buf(struct mpi3mr_ioc *mrioc, in mpi3mr_repost_reply_buf()
154 void mpi3mr_repost_sense_buf(struct mpi3mr_ioc *mrioc, in mpi3mr_repost_sense_buf()
171 static void mpi3mr_print_event_data(struct mpi3mr_ioc *mrioc, in mpi3mr_print_event_data()
285 static void mpi3mr_handle_events(struct mpi3mr_ioc *mrioc, in mpi3mr_handle_events()
297 mpi3mr_get_drv_cmd(struct mpi3mr_ioc *mrioc, u16 host_tag, in mpi3mr_get_drv_cmd()
340 static void mpi3mr_process_admin_reply_desc(struct mpi3mr_ioc *mrioc, in mpi3mr_process_admin_reply_desc()
423 int mpi3mr_process_admin_reply_q(struct mpi3mr_ioc *mrioc) in mpi3mr_process_admin_reply_q()
506 int mpi3mr_process_op_reply_q(struct mpi3mr_ioc *mrioc, in mpi3mr_process_op_reply_q()
593 struct mpi3mr_ioc *mrioc; in mpi3mr_blk_mq_poll() local
610 struct mpi3mr_ioc *mrioc; in mpi3mr_isr_primary() local
678 struct mpi3mr_ioc *mrioc; in mpi3mr_isr_poll() local
722 static inline int mpi3mr_request_irq(struct mpi3mr_ioc *mrioc, u16 index) in mpi3mr_request_irq()
752 static void mpi3mr_calc_poll_queues(struct mpi3mr_ioc *mrioc, u16 max_vectors) in mpi3mr_calc_poll_queues()
780 static int mpi3mr_setup_isr(struct mpi3mr_ioc *mrioc, u8 setup_one) in mpi3mr_setup_isr()
1008 void mpi3mr_print_fault_info(struct mpi3mr_ioc *mrioc) in mpi3mr_print_fault_info()
1035 enum mpi3mr_iocstate mpi3mr_get_iocstate(struct mpi3mr_ioc *mrioc) in mpi3mr_get_iocstate()
1070 static inline void mpi3mr_clear_reset_history(struct mpi3mr_ioc *mrioc) in mpi3mr_clear_reset_history()
1089 static int mpi3mr_issue_and_process_mur(struct mpi3mr_ioc *mrioc, in mpi3mr_issue_and_process_mur()
1140 mpi3mr_revalidate_factsdata(struct mpi3mr_ioc *mrioc) in mpi3mr_revalidate_factsdata()
1210 static int mpi3mr_bring_ioc_ready(struct mpi3mr_ioc *mrioc) in mpi3mr_bring_ioc_ready()
1370 static inline bool mpi3mr_diagfault_success(struct mpi3mr_ioc *mrioc, in mpi3mr_diagfault_success()
1394 static inline void mpi3mr_set_diagsave(struct mpi3mr_ioc *mrioc) in mpi3mr_set_diagsave()
1416 static int mpi3mr_issue_reset(struct mpi3mr_ioc *mrioc, u16 reset_type, in mpi3mr_issue_reset()
1534 int mpi3mr_admin_request_post(struct mpi3mr_ioc *mrioc, void *admin_req, in mpi3mr_admin_request_post()
1588 static void mpi3mr_free_op_req_q_segments(struct mpi3mr_ioc *mrioc, u16 q_idx) in mpi3mr_free_op_req_q_segments()
1632 static void mpi3mr_free_op_reply_q_segments(struct mpi3mr_ioc *mrioc, u16 q_idx) in mpi3mr_free_op_reply_q_segments()
1678 static int mpi3mr_delete_op_reply_q(struct mpi3mr_ioc *mrioc, u16 qidx) in mpi3mr_delete_op_reply_q()
1759 static int mpi3mr_alloc_op_reply_q_segments(struct mpi3mr_ioc *mrioc, u16 qidx) in mpi3mr_alloc_op_reply_q_segments()
1816 static int mpi3mr_alloc_op_req_q_segments(struct mpi3mr_ioc *mrioc, u16 qidx) in mpi3mr_alloc_op_req_q_segments()
1874 static int mpi3mr_create_op_reply_q(struct mpi3mr_ioc *mrioc, u16 qidx) in mpi3mr_create_op_reply_q()
2006 static int mpi3mr_create_op_req_q(struct mpi3mr_ioc *mrioc, u16 idx, in mpi3mr_create_op_req_q()
2107 static int mpi3mr_create_op_queues(struct mpi3mr_ioc *mrioc) in mpi3mr_create_op_queues()
2195 int mpi3mr_op_request_post(struct mpi3mr_ioc *mrioc, in mpi3mr_op_request_post()
2273 void mpi3mr_check_rh_fault_ioc(struct mpi3mr_ioc *mrioc, u32 reason_code) in mpi3mr_check_rh_fault_ioc()
2315 static int mpi3mr_sync_timestamp(struct mpi3mr_ioc *mrioc) in mpi3mr_sync_timestamp()
2384 static int mpi3mr_print_pkg_ver(struct mpi3mr_ioc *mrioc) in mpi3mr_print_pkg_ver()
2472 struct mpi3mr_ioc *mrioc = in mpi3mr_watchdog_work() local
2569 void mpi3mr_start_watchdog(struct mpi3mr_ioc *mrioc) in mpi3mr_start_watchdog()
2600 void mpi3mr_stop_watchdog(struct mpi3mr_ioc *mrioc) in mpi3mr_stop_watchdog()
2625 static int mpi3mr_setup_admin_qpair(struct mpi3mr_ioc *mrioc) in mpi3mr_setup_admin_qpair()
2697 static int mpi3mr_issue_iocfacts(struct mpi3mr_ioc *mrioc, in mpi3mr_issue_iocfacts()
2779 static inline int mpi3mr_check_reset_dma_mask(struct mpi3mr_ioc *mrioc) in mpi3mr_check_reset_dma_mask()
2811 static void mpi3mr_process_factsdata(struct mpi3mr_ioc *mrioc, in mpi3mr_process_factsdata()
2950 static int mpi3mr_alloc_reply_sense_bufs(struct mpi3mr_ioc *mrioc) in mpi3mr_alloc_reply_sense_bufs()
3088 static void mpimr_initialize_reply_sbuf_queues(struct mpi3mr_ioc *mrioc) in mpimr_initialize_reply_sbuf_queues()
3136 static int mpi3mr_issue_iocinit(struct mpi3mr_ioc *mrioc) in mpi3mr_issue_iocinit()
3251 static void mpi3mr_unmask_events(struct mpi3mr_ioc *mrioc, u16 event) in mpi3mr_unmask_events()
3274 static int mpi3mr_issue_event_notification(struct mpi3mr_ioc *mrioc) in mpi3mr_issue_event_notification()
3340 int mpi3mr_process_event_ack(struct mpi3mr_ioc *mrioc, u8 event, in mpi3mr_process_event_ack()
3406 static int mpi3mr_alloc_chain_bufs(struct mpi3mr_ioc *mrioc) in mpi3mr_alloc_chain_bufs()
3471 static void mpi3mr_port_enable_complete(struct mpi3mr_ioc *mrioc, in mpi3mr_port_enable_complete()
3494 int mpi3mr_issue_port_enable(struct mpi3mr_ioc *mrioc, u8 async) in mpi3mr_issue_port_enable()
3575 mpi3mr_print_ioc_info(struct mpi3mr_ioc *mrioc) in mpi3mr_print_ioc_info()
3634 void mpi3mr_cleanup_resources(struct mpi3mr_ioc *mrioc) in mpi3mr_cleanup_resources()
3660 int mpi3mr_setup_resources(struct mpi3mr_ioc *mrioc) in mpi3mr_setup_resources()
3760 static int mpi3mr_enable_events(struct mpi3mr_ioc *mrioc) in mpi3mr_enable_events()
3805 int mpi3mr_init_ioc(struct mpi3mr_ioc *mrioc) in mpi3mr_init_ioc()
3981 int mpi3mr_reinit_ioc(struct mpi3mr_ioc *mrioc, u8 is_resume) in mpi3mr_reinit_ioc()
4156 static void mpi3mr_memset_op_reply_q_buffers(struct mpi3mr_ioc *mrioc, u16 qidx) in mpi3mr_memset_op_reply_q_buffers()
4179 static void mpi3mr_memset_op_req_q_buffers(struct mpi3mr_ioc *mrioc, u16 qidx) in mpi3mr_memset_op_req_q_buffers()
4204 void mpi3mr_memset_buffers(struct mpi3mr_ioc *mrioc) in mpi3mr_memset_buffers()
4286 void mpi3mr_free_mem(struct mpi3mr_ioc *mrioc) in mpi3mr_free_mem()
4440 static void mpi3mr_issue_ioc_shutdown(struct mpi3mr_ioc *mrioc) in mpi3mr_issue_ioc_shutdown()
4503 void mpi3mr_cleanup_ioc(struct mpi3mr_ioc *mrioc) in mpi3mr_cleanup_ioc()
4534 static inline void mpi3mr_drv_cmd_comp_reset(struct mpi3mr_ioc *mrioc, in mpi3mr_drv_cmd_comp_reset()
4556 void mpi3mr_flush_drv_cmds(struct mpi3mr_ioc *mrioc) in mpi3mr_flush_drv_cmds()
4601 static void mpi3mr_pel_wait_post(struct mpi3mr_ioc *mrioc, in mpi3mr_pel_wait_post()
4644 int mpi3mr_pel_get_seqnum_post(struct mpi3mr_ioc *mrioc, in mpi3mr_pel_get_seqnum_post()
4690 static void mpi3mr_pel_wait_complete(struct mpi3mr_ioc *mrioc, in mpi3mr_pel_wait_complete()
4769 void mpi3mr_pel_get_seqnum_complete(struct mpi3mr_ioc *mrioc, in mpi3mr_pel_get_seqnum_complete()
4854 int mpi3mr_soft_reset_handler(struct mpi3mr_ioc *mrioc, in mpi3mr_soft_reset_handler()
5013 static void mpi3mr_free_config_dma_memory(struct mpi3mr_ioc *mrioc, in mpi3mr_free_config_dma_memory()
5034 static int mpi3mr_alloc_config_dma_memory(struct mpi3mr_ioc *mrioc, in mpi3mr_alloc_config_dma_memory()
5067 static int mpi3mr_post_cfg_req(struct mpi3mr_ioc *mrioc, in mpi3mr_post_cfg_req()
5156 static int mpi3mr_process_cfg_req(struct mpi3mr_ioc *mrioc, in mpi3mr_process_cfg_req()
5256 int mpi3mr_cfg_get_dev_pg0(struct mpi3mr_ioc *mrioc, u16 *ioc_status, in mpi3mr_cfg_get_dev_pg0()
5315 int mpi3mr_cfg_get_sas_phy_pg0(struct mpi3mr_ioc *mrioc, u16 *ioc_status, in mpi3mr_cfg_get_sas_phy_pg0()
5374 int mpi3mr_cfg_get_sas_phy_pg1(struct mpi3mr_ioc *mrioc, u16 *ioc_status, in mpi3mr_cfg_get_sas_phy_pg1()
5434 int mpi3mr_cfg_get_sas_exp_pg0(struct mpi3mr_ioc *mrioc, u16 *ioc_status, in mpi3mr_cfg_get_sas_exp_pg0()
5494 int mpi3mr_cfg_get_sas_exp_pg1(struct mpi3mr_ioc *mrioc, u16 *ioc_status, in mpi3mr_cfg_get_sas_exp_pg1()
5554 int mpi3mr_cfg_get_enclosure_pg0(struct mpi3mr_ioc *mrioc, u16 *ioc_status, in mpi3mr_cfg_get_enclosure_pg0()
5609 int mpi3mr_cfg_get_sas_io_unit_pg0(struct mpi3mr_ioc *mrioc, in mpi3mr_cfg_get_sas_io_unit_pg0()
5665 int mpi3mr_cfg_get_sas_io_unit_pg1(struct mpi3mr_ioc *mrioc, in mpi3mr_cfg_get_sas_io_unit_pg1()
5722 int mpi3mr_cfg_set_sas_io_unit_pg1(struct mpi3mr_ioc *mrioc, in mpi3mr_cfg_set_sas_io_unit_pg1()
5790 int mpi3mr_cfg_get_driver_pg1(struct mpi3mr_ioc *mrioc, in mpi3mr_cfg_get_driver_pg1()