Lines Matching refs:lpfc_hba
69 static int lpfc_sli_issue_mbox_s4(struct lpfc_hba *, LPFC_MBOXQ_t *,
71 static int lpfc_sli4_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *,
74 lpfc_sli4_els_preprocess_rspiocbq(struct lpfc_hba *phba,
80 static bool lpfc_sli4_fp_handle_cqe(struct lpfc_hba *phba,
82 static int lpfc_sli4_post_sgl_list(struct lpfc_hba *, struct list_head *,
84 static void lpfc_sli4_hba_handle_eqe(struct lpfc_hba *phba,
87 static bool lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba);
88 static bool lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba *phba);
90 static void __lpfc_sli4_consume_cqe(struct lpfc_hba *phba,
93 static uint16_t lpfc_wqe_bpl2sgl(struct lpfc_hba *phba,
514 lpfc_sli4_write_eq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_write_eq_db()
552 lpfc_sli4_if6_write_eq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_if6_write_eq_db()
574 __lpfc_sli4_consume_eqe(struct lpfc_hba *phba, struct lpfc_queue *eq, in __lpfc_sli4_consume_eqe()
588 lpfc_sli4_eqcq_flush(struct lpfc_hba *phba, struct lpfc_queue *eq) in lpfc_sli4_eqcq_flush()
632 lpfc_sli4_process_eq(struct lpfc_hba *phba, struct lpfc_queue *eq, in lpfc_sli4_process_eq()
709 __lpfc_sli4_consume_cqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in __lpfc_sli4_consume_cqe()
734 lpfc_sli4_write_cq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_write_cq_db()
767 lpfc_sli4_if6_write_cq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_if6_write_cq_db()
883 lpfc_cmd_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_cmd_iocb()
900 lpfc_resp_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_resp_iocb()
916 __lpfc_sli_get_iocbq(struct lpfc_hba *phba) in __lpfc_sli_get_iocbq()
944 __lpfc_clear_active_sglq(struct lpfc_hba *phba, uint16_t xritag) in __lpfc_clear_active_sglq()
966 __lpfc_get_active_sglq(struct lpfc_hba *phba, uint16_t xritag) in __lpfc_get_active_sglq()
982 lpfc_clr_rrq_active(struct lpfc_hba *phba, in lpfc_clr_rrq_active()
1019 lpfc_handle_rrq_active(struct lpfc_hba *phba) in lpfc_handle_rrq_active()
1068 struct lpfc_hba *phba = vport->phba; in lpfc_get_active_rrq()
1100 struct lpfc_hba *phba = vport->phba; in lpfc_cleanup_vports_rrqs()
1140 lpfc_test_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, in lpfc_test_rrq_active()
1169 lpfc_set_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, in lpfc_set_rrq_active()
1245 __lpfc_sli_get_els_sglq(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq) in __lpfc_sli_get_els_sglq()
1315 __lpfc_sli_get_nvmet_sglq(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq) in __lpfc_sli_get_nvmet_sglq()
1342 lpfc_sli_get_iocbq(struct lpfc_hba *phba) in lpfc_sli_get_iocbq()
1373 __lpfc_sli_release_iocbq_s4(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq) in __lpfc_sli_release_iocbq_s4()
1454 __lpfc_sli_release_iocbq_s3(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq) in __lpfc_sli_release_iocbq_s3()
1477 __lpfc_sli_release_iocbq(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq) in __lpfc_sli_release_iocbq()
1494 lpfc_sli_release_iocbq(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq) in lpfc_sli_release_iocbq()
1519 lpfc_sli_cancel_iocbs(struct lpfc_hba *phba, struct list_head *iocblist, in lpfc_sli_cancel_iocbs()
1676 lpfc_sli_ring_map(struct lpfc_hba *phba) in lpfc_sli_ring_map()
1721 lpfc_sli_ringtxcmpl_put(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_ringtxcmpl_put()
1757 lpfc_sli_ringtx_get(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_sli_ringtx_get()
1779 lpfc_cmf_sync_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_cmf_sync_cmpl()
1912 lpfc_issue_cmf_sync_wqe(struct lpfc_hba *phba, u32 ms, u64 total) in lpfc_issue_cmf_sync_wqe()
2038 lpfc_sli_next_iocb_slot (struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_sli_next_iocb_slot()
2095 lpfc_sli_next_iotag(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq) in lpfc_sli_next_iotag()
2173 lpfc_sli_submit_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_submit_iocb()
2228 lpfc_sli_update_full_ring(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_sli_update_full_ring()
2256 lpfc_sli_update_ring(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_sli_update_ring()
2280 lpfc_sli_resume_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_sli_resume_iocb()
2324 lpfc_sli_next_hbq_slot(struct lpfc_hba *phba, uint32_t hbqno) in lpfc_sli_next_hbq_slot()
2369 lpfc_sli_hbqbuf_free_all(struct lpfc_hba *phba) in lpfc_sli_hbqbuf_free_all()
2407 lpfc_sli_hbq_to_firmware(struct lpfc_hba *phba, uint32_t hbqno, in lpfc_sli_hbq_to_firmware()
2426 lpfc_sli_hbq_to_firmware_s3(struct lpfc_hba *phba, uint32_t hbqno, in lpfc_sli_hbq_to_firmware_s3()
2466 lpfc_sli_hbq_to_firmware_s4(struct lpfc_hba *phba, uint32_t hbqno, in lpfc_sli_hbq_to_firmware_s4()
2521 lpfc_sli_hbqbuf_fill_hbqs(struct lpfc_hba *phba, uint32_t hbqno, uint32_t count) in lpfc_sli_hbqbuf_fill_hbqs()
2580 lpfc_sli_hbqbuf_add_hbqs(struct lpfc_hba *phba, uint32_t qno) in lpfc_sli_hbqbuf_add_hbqs()
2599 lpfc_sli_hbqbuf_init_hbqs(struct lpfc_hba *phba, uint32_t qno) in lpfc_sli_hbqbuf_init_hbqs()
2635 lpfc_sli_rqbuf_get(struct lpfc_hba *phba, struct lpfc_queue *hrq) in lpfc_sli_rqbuf_get()
2659 lpfc_sli_hbqbuf_find(struct lpfc_hba *phba, uint32_t tag) in lpfc_sli_hbqbuf_find()
2694 lpfc_sli_free_hbq(struct lpfc_hba *phba, struct hbq_dmabuf *hbq_buffer) in lpfc_sli_free_hbq()
2806 lpfc_sli_wake_mbox_wait(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_sli_wake_mbox_wait()
2856 lpfc_sli_def_mbox_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_sli_def_mbox_cmpl()
2969 lpfc_sli4_unreg_rpi_cmpl_clr(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_sli4_unreg_rpi_cmpl_clr()
3035 lpfc_sli_handle_mb_event(struct lpfc_hba *phba) in lpfc_sli_handle_mb_event()
3168 lpfc_sli_get_buff(struct lpfc_hba *phba, in lpfc_sli_get_buff()
3194 lpfc_nvme_unsol_ls_handler(struct lpfc_hba *phba, struct lpfc_iocbq *piocb) in lpfc_nvme_unsol_ls_handler()
3333 lpfc_complete_unsol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_complete_unsol_iocb()
3369 lpfc_sli_prep_unsol_wqe(struct lpfc_hba *phba, in lpfc_sli_prep_unsol_wqe()
3433 lpfc_sli_process_unsol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_process_unsol_iocb()
3636 lpfc_sli_iocbq_lookup(struct lpfc_hba *phba, in lpfc_sli_iocbq_lookup()
3679 lpfc_sli_iocbq_lookup_by_tag(struct lpfc_hba *phba, in lpfc_sli_iocbq_lookup_by_tag()
3721 lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_process_sol_iocb()
3878 lpfc_sli_rsp_pointers_error(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_sli_rsp_pointers_error()
3917 struct lpfc_hba *phba; in lpfc_poll_eratt()
3971 lpfc_sli_handle_fast_ring_event(struct lpfc_hba *phba, in lpfc_sli_handle_fast_ring_event()
4168 lpfc_sli_sp_handle_rspiocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_sp_handle_rspiocb()
4339 lpfc_sli_handle_slow_ring_event(struct lpfc_hba *phba, in lpfc_sli_handle_slow_ring_event()
4357 lpfc_sli_handle_slow_ring_event_s3(struct lpfc_hba *phba, in lpfc_sli_handle_slow_ring_event_s3()
4493 lpfc_sli_handle_slow_ring_event_s4(struct lpfc_hba *phba, in lpfc_sli_handle_slow_ring_event_s4()
4552 lpfc_sli_abort_iocb_ring(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_sli_abort_iocb_ring()
4623 lpfc_sli_abort_fcp_rings(struct lpfc_hba *phba) in lpfc_sli_abort_fcp_rings()
4652 lpfc_sli_flush_io_rings(struct lpfc_hba *phba) in lpfc_sli_flush_io_rings()
4732 lpfc_sli_brdready_s3(struct lpfc_hba *phba, uint32_t mask) in lpfc_sli_brdready_s3()
4800 lpfc_sli_brdready_s4(struct lpfc_hba *phba, uint32_t mask) in lpfc_sli_brdready_s4()
4834 lpfc_sli_brdready(struct lpfc_hba *phba, uint32_t mask) in lpfc_sli_brdready()
4848 void lpfc_reset_barrier(struct lpfc_hba *phba) in lpfc_reset_barrier()
4958 lpfc_sli_brdkill(struct lpfc_hba *phba) in lpfc_sli_brdkill()
5055 lpfc_sli_brdreset(struct lpfc_hba *phba) in lpfc_sli_brdreset()
5125 lpfc_sli4_brdreset(struct lpfc_hba *phba) in lpfc_sli4_brdreset()
5186 lpfc_sli_brdrestart_s3(struct lpfc_hba *phba) in lpfc_sli_brdrestart_s3()
5257 lpfc_sli_brdrestart_s4(struct lpfc_hba *phba) in lpfc_sli_brdrestart_s4()
5307 lpfc_sli_brdrestart(struct lpfc_hba *phba) in lpfc_sli_brdrestart()
5323 lpfc_sli_chipset_init(struct lpfc_hba *phba) in lpfc_sli_chipset_init()
5467 lpfc_sli_hbq_setup(struct lpfc_hba *phba) in lpfc_sli_hbq_setup()
5536 lpfc_sli4_rb_setup(struct lpfc_hba *phba) in lpfc_sli4_rb_setup()
5570 lpfc_sli_config_port(struct lpfc_hba *phba, int sli_mode) in lpfc_sli_config_port()
5697 lpfc_sli_hba_setup(struct lpfc_hba *phba) in lpfc_sli_hba_setup()
5810 lpfc_sli4_read_fcoe_params(struct lpfc_hba *phba) in lpfc_sli4_read_fcoe_params()
5892 lpfc_sli4_read_rev(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, in lpfc_sli4_read_rev()
5965 lpfc_sli4_get_ctl_attr(struct lpfc_hba *phba) in lpfc_sli4_get_ctl_attr()
6052 lpfc_sli4_retrieve_pport_name(struct lpfc_hba *phba) in lpfc_sli4_retrieve_pport_name()
6156 lpfc_sli4_arm_cqeq_intr(struct lpfc_hba *phba) in lpfc_sli4_arm_cqeq_intr()
6209 lpfc_sli4_get_avail_extnt_rsrc(struct lpfc_hba *phba, uint16_t type, in lpfc_sli4_get_avail_extnt_rsrc()
6295 lpfc_sli4_chk_avail_extnt_rsrc(struct lpfc_hba *phba, uint16_t type) in lpfc_sli4_chk_avail_extnt_rsrc()
6358 lpfc_sli4_cfg_post_extnts(struct lpfc_hba *phba, uint16_t extnt_cnt, in lpfc_sli4_cfg_post_extnts()
6423 lpfc_sli4_alloc_extent(struct lpfc_hba *phba, uint16_t type) in lpfc_sli4_alloc_extent()
6655 lpfc_sli4_dealloc_extent(struct lpfc_hba *phba, uint16_t type) in lpfc_sli4_dealloc_extent()
6764 lpfc_set_features(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox, in lpfc_set_features()
6860 lpfc_ras_stop_fwlog(struct lpfc_hba *phba) in lpfc_ras_stop_fwlog()
6884 lpfc_sli4_ras_dma_free(struct lpfc_hba *phba) in lpfc_sli4_ras_dma_free()
6926 lpfc_sli4_ras_dma_alloc(struct lpfc_hba *phba, in lpfc_sli4_ras_dma_alloc()
6988 lpfc_sli4_ras_mbox_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_sli4_ras_mbox_cmpl()
7036 lpfc_sli4_ras_fwlog_init(struct lpfc_hba *phba, in lpfc_sli4_ras_fwlog_init()
7142 lpfc_sli4_ras_setup(struct lpfc_hba *phba) in lpfc_sli4_ras_setup()
7159 lpfc_sli4_alloc_resource_identifiers(struct lpfc_hba *phba) in lpfc_sli4_alloc_resource_identifiers()
7406 lpfc_sli4_dealloc_resource_identifiers(struct lpfc_hba *phba) in lpfc_sli4_dealloc_resource_identifiers()
7440 lpfc_sli4_get_allocated_extnts(struct lpfc_hba *phba, uint16_t type, in lpfc_sli4_get_allocated_extnts()
7591 lpfc_sli4_repost_sgl_list(struct lpfc_hba *phba, in lpfc_sli4_repost_sgl_list()
7736 lpfc_sli4_repost_io_sgl_list(struct lpfc_hba *phba) in lpfc_sli4_repost_io_sgl_list()
7756 lpfc_set_host_data(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_set_host_data()
7776 lpfc_post_rq_buffer(struct lpfc_hba *phba, struct lpfc_queue *hrq, in lpfc_post_rq_buffer()
7838 lpfc_mbx_cmpl_read_lds_params(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_mbx_cmpl_read_lds_params()
7873 lpfc_read_lds_params(struct lpfc_hba *phba) in lpfc_read_lds_params()
7894 lpfc_mbx_cmpl_cgn_set_ftrs(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_mbx_cmpl_cgn_set_ftrs()
7942 lpfc_config_cgn_signal(struct lpfc_hba *phba) in lpfc_config_cgn_signal()
7986 static void lpfc_init_idle_stat_hb(struct lpfc_hba *phba) in lpfc_init_idle_stat_hb()
8019 static void lpfc_sli4_dip(struct lpfc_hba *phba) in lpfc_sli4_dip()
8127 u32 lpfc_rx_monitor_report(struct lpfc_hba *phba, in lpfc_rx_monitor_report()
8213 lpfc_cmf_setup(struct lpfc_hba *phba) in lpfc_cmf_setup()
8406 lpfc_set_host_tm(struct lpfc_hba *phba) in lpfc_set_host_tm()
8460 lpfc_sli4_hba_setup(struct lpfc_hba *phba) in lpfc_sli4_hba_setup()
9145 struct lpfc_hba *phba = from_timer(phba, t, sli.mbox_tmo); in lpfc_mbox_timeout()
9169 lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba) in lpfc_sli4_mbox_completions_pending()
9218 lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba *phba) in lpfc_sli4_process_missed_mbox_completions()
9277 lpfc_mbox_timeout_handler(struct lpfc_hba *phba) in lpfc_mbox_timeout_handler()
9362 lpfc_sli_issue_mbox_s3(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmbox, in lpfc_sli_issue_mbox_s3()
9767 lpfc_sli4_async_mbox_block(struct lpfc_hba *phba) in lpfc_sli4_async_mbox_block()
9849 lpfc_sli4_async_mbox_unblock(struct lpfc_hba *phba) in lpfc_sli4_async_mbox_unblock()
9884 lpfc_sli4_wait_bmbx_ready(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_sli4_wait_bmbx_ready()
9923 lpfc_sli4_post_sync_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_sli4_post_sync_mbox()
10050 lpfc_sli_issue_mbox_s4(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, in lpfc_sli_issue_mbox_s4()
10182 lpfc_sli4_post_async_mbox(struct lpfc_hba *phba) in lpfc_sli4_post_async_mbox()
10308 lpfc_sli_issue_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmbox, uint32_t flag) in lpfc_sli_issue_mbox()
10323 lpfc_mbox_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp) in lpfc_mbox_api_table_setup()
10364 __lpfc_sli_ringtx_put(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in __lpfc_sli_ringtx_put()
10393 lpfc_sli_next_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_next_iocb()
10432 __lpfc_sli_issue_iocb_s3(struct lpfc_hba *phba, uint32_t ring_number, in __lpfc_sli_issue_iocb_s3()
10547 __lpfc_sli_issue_fcp_io_s3(struct lpfc_hba *phba, uint32_t ring_number, in __lpfc_sli_issue_fcp_io_s3()
10575 __lpfc_sli_issue_fcp_io_s4(struct lpfc_hba *phba, uint32_t ring_number, in __lpfc_sli_issue_fcp_io_s4()
10585 lpfc_prep_embed_io(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_prep_embed_io()
10654 __lpfc_sli_issue_iocb_s4(struct lpfc_hba *phba, uint32_t ring_number, in __lpfc_sli_issue_iocb_s4()
10751 lpfc_sli_issue_fcp_io(struct lpfc_hba *phba, uint32_t ring_number, in lpfc_sli_issue_fcp_io()
10769 __lpfc_sli_issue_iocb(struct lpfc_hba *phba, uint32_t ring_number, in __lpfc_sli_issue_iocb()
10781 struct lpfc_hba *phba = vport->phba; in __lpfc_sli_prep_els_req_rsp_s3()
10830 struct lpfc_hba *phba = vport->phba; in __lpfc_sli_prep_els_req_rsp_s4()
10916 lpfc_sli_prep_els_req_rsp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocbq, in lpfc_sli_prep_els_req_rsp()
11007 lpfc_sli_prep_gen_req(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocbq, in lpfc_sli_prep_gen_req()
11097 lpfc_sli_prep_xmit_seq64(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocbq, in lpfc_sli_prep_xmit_seq64()
11172 lpfc_sli_prep_abort_xri(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocbq, in lpfc_sli_prep_abort_xri()
11190 lpfc_sli_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp) in lpfc_sli_api_table_setup()
11232 lpfc_sli4_calc_ring(struct lpfc_hba *phba, struct lpfc_iocbq *piocb) in lpfc_sli4_calc_ring()
11270 lpfc_sli_issue_iocb(struct lpfc_hba *phba, uint32_t ring_number, in lpfc_sli_issue_iocb()
11317 lpfc_extra_ring_setup( struct lpfc_hba *phba) in lpfc_extra_ring_setup()
11352 lpfc_sli_post_recovery_event(struct lpfc_hba *phba, in lpfc_sli_post_recovery_event()
11390 lpfc_sli_abts_err_handler(struct lpfc_hba *phba, in lpfc_sli_abts_err_handler()
11436 lpfc_sli4_abts_err_handler(struct lpfc_hba *phba, in lpfc_sli4_abts_err_handler()
11482 lpfc_sli_async_event_handler(struct lpfc_hba * phba, in lpfc_sli_async_event_handler()
11554 lpfc_sli4_setup(struct lpfc_hba *phba) in lpfc_sli4_setup()
11599 lpfc_sli_setup(struct lpfc_hba *phba) in lpfc_sli_setup()
11723 lpfc_sli4_queue_init(struct lpfc_hba *phba) in lpfc_sli4_queue_init()
11779 lpfc_sli_queue_init(struct lpfc_hba *phba) in lpfc_sli_queue_init()
11823 lpfc_sli_mbox_sys_flush(struct lpfc_hba *phba) in lpfc_sli_mbox_sys_flush()
11881 struct lpfc_hba *phba = vport->phba; in lpfc_sli_host_down()
11980 lpfc_sli_hba_down(struct lpfc_hba *phba) in lpfc_sli_hba_down()
12132 lpfc_sli_ringpostbuf_put(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_ringpostbuf_put()
12156 lpfc_sli_get_buffer_tag(struct lpfc_hba *phba) in lpfc_sli_get_buffer_tag()
12185 lpfc_sli_ring_taggedbuf_get(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_ring_taggedbuf_get()
12229 lpfc_sli_ringpostbuf_get(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_ringpostbuf_get()
12267 lpfc_sli_abort_els_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_sli_abort_els_cmpl()
12315 lpfc_ignore_els_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_ignore_els_cmpl()
12378 lpfc_sli_issue_abort_iotag(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_sli_issue_abort_iotag()
12516 lpfc_sli_hba_iocb_abort(struct lpfc_hba *phba) in lpfc_sli_hba_iocb_abort()
12660 struct lpfc_hba *phba = vport->phba; in lpfc_sli_sum_iocb()
12705 lpfc_sli_abort_fcp_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_sli_abort_fcp_cmpl()
12752 struct lpfc_hba *phba = vport->phba; in lpfc_sli_abort_iocb()
12819 struct lpfc_hba *phba = vport->phba; in lpfc_sli_abort_taskmgmt()
12973 lpfc_sli_wake_iocb_wait(struct lpfc_hba *phba, in lpfc_sli_wake_iocb_wait()
13038 lpfc_chk_iocb_flg(struct lpfc_hba *phba, in lpfc_chk_iocb_flg()
13088 lpfc_sli_issue_iocb_wait(struct lpfc_hba *phba, in lpfc_sli_issue_iocb_wait()
13236 lpfc_sli_issue_mbox_wait(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq, in lpfc_sli_issue_mbox_wait()
13290 lpfc_sli_mbox_sys_shutdown(struct lpfc_hba *phba, int mbx_action) in lpfc_sli_mbox_sys_shutdown()
13353 lpfc_sli_eratt_read(struct lpfc_hba *phba) in lpfc_sli_eratt_read()
13406 lpfc_sli4_eratt_read(struct lpfc_hba *phba) in lpfc_sli4_eratt_read()
13503 lpfc_sli_check_eratt(struct lpfc_hba *phba) in lpfc_sli_check_eratt()
13569 lpfc_intr_state_check(struct lpfc_hba *phba) in lpfc_intr_state_check()
13609 struct lpfc_hba *phba; in lpfc_sli_sp_intr_handler()
13627 phba = (struct lpfc_hba *)dev_id; in lpfc_sli_sp_intr_handler()
13923 struct lpfc_hba *phba; in lpfc_sli_fp_intr_handler()
13932 phba = (struct lpfc_hba *) dev_id; in lpfc_sli_fp_intr_handler()
14012 struct lpfc_hba *phba; in lpfc_sli_intr_handler()
14021 phba = (struct lpfc_hba *) dev_id; in lpfc_sli_intr_handler()
14116 void lpfc_sli4_els_xri_abort_event_proc(struct lpfc_hba *phba) in lpfc_sli4_els_xri_abort_event_proc()
14157 lpfc_sli4_els_preprocess_rspiocbq(struct lpfc_hba *phba, in lpfc_sli4_els_preprocess_rspiocbq()
14203 lpfc_cq_event_setup(struct lpfc_hba *phba, void *entry, int size) in lpfc_cq_event_setup()
14231 lpfc_sli4_sp_handle_async_event(struct lpfc_hba *phba, struct lpfc_mcqe *mcqe) in lpfc_sli4_sp_handle_async_event()
14268 lpfc_sli4_sp_handle_mbox_event(struct lpfc_hba *phba, struct lpfc_mcqe *mcqe) in lpfc_sli4_sp_handle_mbox_event()
14422 lpfc_sli4_sp_handle_mcqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in lpfc_sli4_sp_handle_mcqe()
14452 lpfc_sli4_sp_handle_els_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in lpfc_sli4_sp_handle_els_wcqe()
14507 lpfc_sli4_sp_handle_rel_wcqe(struct lpfc_hba *phba, in lpfc_sli4_sp_handle_rel_wcqe()
14536 lpfc_sli4_sp_handle_abort_xri_wcqe(struct lpfc_hba *phba, in lpfc_sli4_sp_handle_abort_xri_wcqe()
14596 lpfc_sli4_sp_handle_rcqe(struct lpfc_hba *phba, struct lpfc_rcqe *rcqe) in lpfc_sli4_sp_handle_rcqe()
14698 lpfc_sli4_sp_handle_cqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in lpfc_sli4_sp_handle_cqe()
14757 lpfc_sli4_sp_handle_eqe(struct lpfc_hba *phba, struct lpfc_eqe *eqe, in lpfc_sli4_sp_handle_eqe()
14818 __lpfc_sli4_process_cq(struct lpfc_hba *phba, struct lpfc_queue *cq, in __lpfc_sli4_process_cq()
14819 bool (*handler)(struct lpfc_hba *, struct lpfc_queue *, in __lpfc_sli4_process_cq() argument
14905 struct lpfc_hba *phba = cq->phba; in __lpfc_sli4_sp_process_cq()
14993 lpfc_sli4_fp_handle_fcp_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in lpfc_sli4_fp_handle_fcp_wcqe()
15073 lpfc_sli4_fp_handle_rel_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in lpfc_sli4_fp_handle_rel_wcqe()
15110 lpfc_sli4_nvmet_handle_rcqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in lpfc_sli4_nvmet_handle_rcqe()
15219 lpfc_sli4_fp_handle_cqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in lpfc_sli4_fp_handle_cqe()
15283 static void lpfc_sli4_sched_cq_work(struct lpfc_hba *phba, in lpfc_sli4_sched_cq_work()
15325 lpfc_sli4_hba_handle_eqe(struct lpfc_hba *phba, struct lpfc_queue *eq, in lpfc_sli4_hba_handle_eqe()
15413 struct lpfc_hba *phba = cq->phba; in __lpfc_sli4_hba_process_cq()
15500 struct lpfc_hba *phba; in lpfc_sli4_hba_intr_handler()
15583 struct lpfc_hba *phba; in lpfc_sli4_intr_handler()
15589 phba = (struct lpfc_hba *)dev_id; in lpfc_sli4_intr_handler()
15609 struct lpfc_hba *phba = from_timer(phba, t, cpuhp_poll_timer); in lpfc_sli4_poll_hbtimer()
15626 struct lpfc_hba *phba = eq->phba; in lpfc_sli4_poll_eq()
15653 struct lpfc_hba *phba = eq->phba; in lpfc_sli4_add_to_poll_list()
15666 struct lpfc_hba *phba = eq->phba; in lpfc_sli4_remove_from_poll_list()
15678 void lpfc_sli4_cleanup_poll_list(struct lpfc_hba *phba) in lpfc_sli4_cleanup_poll_list()
15732 struct lpfc_hba *phba = eq->phba; in lpfc_sli4_stop_polling()
15797 lpfc_sli4_queue_alloc(struct lpfc_hba *phba, uint32_t page_size, in lpfc_sli4_queue_alloc()
15878 lpfc_dual_chute_pci_bar_map(struct lpfc_hba *phba, uint16_t pci_barset) in lpfc_dual_chute_pci_bar_map()
15920 lpfc_modify_hba_eq_delay(struct lpfc_hba *phba, uint32_t startq, in lpfc_modify_hba_eq_delay()
16032 lpfc_eq_create(struct lpfc_hba *phba, struct lpfc_queue *eq, uint32_t imax) in lpfc_eq_create()
16175 lpfc_cq_create(struct lpfc_hba *phba, struct lpfc_queue *cq, in lpfc_cq_create()
16324 lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp, in lpfc_cq_create_set()
16567 lpfc_mq_create_fb_init(struct lpfc_hba *phba, struct lpfc_queue *mq, in lpfc_mq_create_fb_init()
16633 lpfc_mq_create(struct lpfc_hba *phba, struct lpfc_queue *mq, in lpfc_mq_create()
16788 lpfc_wq_create(struct lpfc_hba *phba, struct lpfc_queue *wq, in lpfc_wq_create()
17052 lpfc_rq_create(struct lpfc_hba *phba, struct lpfc_queue *hrq, in lpfc_rq_create()
17342 lpfc_mrq_create(struct lpfc_hba *phba, struct lpfc_queue **hrqp, in lpfc_mrq_create()
17525 lpfc_eq_destroy(struct lpfc_hba *phba, struct lpfc_queue *eq) in lpfc_eq_destroy()
17583 lpfc_cq_destroy(struct lpfc_hba *phba, struct lpfc_queue *cq) in lpfc_cq_destroy()
17638 lpfc_mq_destroy(struct lpfc_hba *phba, struct lpfc_queue *mq) in lpfc_mq_destroy()
17693 lpfc_wq_destroy(struct lpfc_hba *phba, struct lpfc_queue *wq) in lpfc_wq_destroy()
17750 lpfc_rq_destroy(struct lpfc_hba *phba, struct lpfc_queue *hrq, in lpfc_rq_destroy()
17830 lpfc_sli4_post_sgl(struct lpfc_hba *phba, in lpfc_sli4_post_sgl()
17908 lpfc_sli4_alloc_xri(struct lpfc_hba *phba) in lpfc_sli4_alloc_xri()
17939 __lpfc_sli4_free_xri(struct lpfc_hba *phba, int xri) in __lpfc_sli4_free_xri()
17955 lpfc_sli4_free_xri(struct lpfc_hba *phba, int xri) in lpfc_sli4_free_xri()
17973 lpfc_sli4_next_xritag(struct lpfc_hba *phba) in lpfc_sli4_next_xritag()
18000 lpfc_sli4_post_sgl_list(struct lpfc_hba *phba, in lpfc_sli4_post_sgl_list()
18106 lpfc_sli4_post_io_sgl_block(struct lpfc_hba *phba, struct list_head *nblist, in lpfc_sli4_post_io_sgl_block()
18225 lpfc_sli4_post_io_sgl_list(struct lpfc_hba *phba, in lpfc_sli4_post_io_sgl_list()
18349 lpfc_fc_frame_check(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr) in lpfc_fc_frame_check()
18456 lpfc_fc_frame_to_vport(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr, in lpfc_fc_frame_to_vport()
18745 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_abort_ulp_seq()
18771 lpfc_sli4_seq_abort_rsp_cmpl(struct lpfc_hba *phba, in lpfc_sli4_seq_abort_rsp_cmpl()
18797 lpfc_sli4_xri_inrange(struct lpfc_hba *phba, in lpfc_sli4_xri_inrange()
18822 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_seq_abort_rsp()
18972 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_handle_unsol_abort()
19185 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_send_seq_to_ulp()
19219 lpfc_sli4_mds_loopback_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_sli4_mds_loopback_cmpl()
19236 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_handle_mds_loopback()
19344 lpfc_sli4_handle_received_buffer(struct lpfc_hba *phba, in lpfc_sli4_handle_received_buffer()
19460 lpfc_sli4_post_all_rpi_hdrs(struct lpfc_hba *phba) in lpfc_sli4_post_all_rpi_hdrs()
19513 lpfc_sli4_post_rpi_hdr(struct lpfc_hba *phba, struct lpfc_rpi_hdr *rpi_page) in lpfc_sli4_post_rpi_hdr()
19590 lpfc_sli4_alloc_rpi(struct lpfc_hba *phba) in lpfc_sli4_alloc_rpi()
19671 __lpfc_sli4_free_rpi(struct lpfc_hba *phba, int rpi) in __lpfc_sli4_free_rpi()
19700 lpfc_sli4_free_rpi(struct lpfc_hba *phba, int rpi) in lpfc_sli4_free_rpi()
19715 lpfc_sli4_remove_rpis(struct lpfc_hba *phba) in lpfc_sli4_remove_rpis()
19733 void (*cmpl)(struct lpfc_hba *, LPFC_MBOXQ_t *), void *arg) in lpfc_sli4_resume_rpi() argument
19736 struct lpfc_hba *phba = ndlp->phba; in lpfc_sli4_resume_rpi()
19797 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_init_vpi()
19827 lpfc_mbx_cmpl_add_fcf_record(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbx_cmpl_add_fcf_record()
19859 lpfc_sli4_add_fcf_record(struct lpfc_hba *phba, struct fcf_record *fcf_record) in lpfc_sli4_add_fcf_record()
19939 lpfc_sli4_build_dflt_fcf_record(struct lpfc_hba *phba, in lpfc_sli4_build_dflt_fcf_record()
19981 lpfc_sli4_fcf_scan_read_fcf_rec(struct lpfc_hba *phba, uint16_t fcf_index) in lpfc_sli4_fcf_scan_read_fcf_rec()
20043 lpfc_sli4_fcf_rr_read_fcf_rec(struct lpfc_hba *phba, uint16_t fcf_index) in lpfc_sli4_fcf_rr_read_fcf_rec()
20089 lpfc_sli4_read_fcf_rec(struct lpfc_hba *phba, uint16_t fcf_index) in lpfc_sli4_read_fcf_rec()
20137 lpfc_check_next_fcf_pri_level(struct lpfc_hba *phba) in lpfc_check_next_fcf_pri_level()
20227 lpfc_sli4_fcf_rr_next_index_get(struct lpfc_hba *phba) in lpfc_sli4_fcf_rr_next_index_get()
20301 lpfc_sli4_fcf_rr_index_set(struct lpfc_hba *phba, uint16_t fcf_index) in lpfc_sli4_fcf_rr_index_set()
20331 lpfc_sli4_fcf_rr_index_clear(struct lpfc_hba *phba, uint16_t fcf_index) in lpfc_sli4_fcf_rr_index_clear()
20368 lpfc_mbx_cmpl_redisc_fcf_table(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mbx_cmpl_redisc_fcf_table()
20425 lpfc_sli4_redisc_fcf_table(struct lpfc_hba *phba) in lpfc_sli4_redisc_fcf_table()
20472 lpfc_sli4_fcf_dead_failthrough(struct lpfc_hba *phba) in lpfc_sli4_fcf_dead_failthrough()
20499 lpfc_sli_get_config_region23(struct lpfc_hba *phba, char *rgn23_data) in lpfc_sli_get_config_region23()
20558 lpfc_sli4_get_config_region23(struct lpfc_hba *phba, char *rgn23_data) in lpfc_sli4_get_config_region23()
20605 lpfc_sli_read_link_ste(struct lpfc_hba *phba) in lpfc_sli_read_link_ste()
20708 lpfc_log_fw_write_cmpl(struct lpfc_hba *phba, u32 shdr_status, in lpfc_log_fw_write_cmpl()
20799 lpfc_wr_object(struct lpfc_hba *phba, struct list_head *dmabuf_list, in lpfc_wr_object()
20905 struct lpfc_hba *phba = vport->phba; in lpfc_cleanup_pending_mbox()
21013 lpfc_drain_txq(struct lpfc_hba *phba) in lpfc_drain_txq()
21110 lpfc_wqe_bpl2sgl(struct lpfc_hba *phba, struct lpfc_iocbq *pwqeq, in lpfc_wqe_bpl2sgl()
21224 lpfc_sli4_issue_wqe(struct lpfc_hba *phba, struct lpfc_sli4_hdw_queue *qp, in lpfc_sli4_issue_wqe()
21334 lpfc_sli4_issue_abort_iotag(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_sli4_issue_abort_iotag()
21415 void lpfc_snapshot_mxp(struct lpfc_hba *phba, u32 hwqid) in lpfc_snapshot_mxp()
21450 void lpfc_adjust_pvt_pool_count(struct lpfc_hba *phba, u32 hwqid) in lpfc_adjust_pvt_pool_count()
21481 void lpfc_adjust_high_watermark(struct lpfc_hba *phba, u32 hwqid) in lpfc_adjust_high_watermark()
21526 void lpfc_move_xri_pvt_to_pbl(struct lpfc_hba *phba, u32 hwqid) in lpfc_move_xri_pvt_to_pbl()
21597 _lpfc_move_xri_pbl_to_pvt(struct lpfc_hba *phba, struct lpfc_sli4_hdw_queue *qp, in _lpfc_move_xri_pbl_to_pvt()
21646 void lpfc_move_xri_pbl_to_pvt(struct lpfc_hba *phba, u32 hwqid, u32 count) in lpfc_move_xri_pbl_to_pvt()
21717 void lpfc_keep_pvt_pool_above_lowwm(struct lpfc_hba *phba, u32 hwqid) in lpfc_keep_pvt_pool_above_lowwm()
21741 void lpfc_release_io_buf(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_ncmd, in lpfc_release_io_buf()
21844 lpfc_get_io_buf_from_private_pool(struct lpfc_hba *phba, in lpfc_get_io_buf_from_private_pool()
21880 lpfc_get_io_buf_from_expedite_pool(struct lpfc_hba *phba) in lpfc_get_io_buf_from_expedite_pool()
21928 lpfc_get_io_buf_from_multixri_pools(struct lpfc_hba *phba, in lpfc_get_io_buf_from_multixri_pools()
21982 lpfc_io_buf(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, int idx) in lpfc_io_buf()
22024 struct lpfc_io_buf *lpfc_get_io_buf(struct lpfc_hba *phba, in lpfc_get_io_buf()
22081 lpfc_read_object(struct lpfc_hba *phba, char *rdobject, uint32_t *datap, in lpfc_read_object()
22194 lpfc_get_sgl_per_hdwq(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_buf) in lpfc_get_sgl_per_hdwq()
22262 lpfc_put_sgl_per_hdwq(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_buf) in lpfc_put_sgl_per_hdwq()
22299 lpfc_free_sgl_per_hdwq(struct lpfc_hba *phba, in lpfc_free_sgl_per_hdwq()
22335 lpfc_get_cmd_rsp_buf_per_hdwq(struct lpfc_hba *phba, in lpfc_get_cmd_rsp_buf_per_hdwq()
22410 lpfc_put_cmd_rsp_buf_per_hdwq(struct lpfc_hba *phba, in lpfc_put_cmd_rsp_buf_per_hdwq()
22448 lpfc_free_cmd_rsp_buf_per_hdwq(struct lpfc_hba *phba, in lpfc_free_cmd_rsp_buf_per_hdwq()
22483 lpfc_sli_prep_wqe(struct lpfc_hba *phba, struct lpfc_iocbq *job) in lpfc_sli_prep_wqe()