Lines Matching refs:lpfc_hba

72 static void __lpfc_cpuhp_remove(struct lpfc_hba *phba);
73 static void lpfc_cpuhp_remove(struct lpfc_hba *phba);
74 static void lpfc_cpuhp_add(struct lpfc_hba *phba);
75 static void lpfc_get_hba_model_desc(struct lpfc_hba *, uint8_t *, uint8_t *);
76 static int lpfc_post_rcv_buf(struct lpfc_hba *);
77 static int lpfc_sli4_queue_verify(struct lpfc_hba *);
78 static int lpfc_create_bootstrap_mbox(struct lpfc_hba *);
79 static int lpfc_setup_endian_order(struct lpfc_hba *);
80 static void lpfc_destroy_bootstrap_mbox(struct lpfc_hba *);
81 static void lpfc_free_els_sgl_list(struct lpfc_hba *);
82 static void lpfc_free_nvmet_sgl_list(struct lpfc_hba *);
83 static void lpfc_init_sgl_list(struct lpfc_hba *);
84 static int lpfc_init_active_sgl_array(struct lpfc_hba *);
85 static void lpfc_free_active_sgl(struct lpfc_hba *);
86 static int lpfc_hba_down_post_s3(struct lpfc_hba *phba);
87 static int lpfc_hba_down_post_s4(struct lpfc_hba *phba);
88 static int lpfc_sli4_cq_event_pool_create(struct lpfc_hba *);
89 static void lpfc_sli4_cq_event_pool_destroy(struct lpfc_hba *);
90 static void lpfc_sli4_cq_event_release_all(struct lpfc_hba *);
91 static void lpfc_sli4_disable_intr(struct lpfc_hba *);
92 static uint32_t lpfc_sli4_enable_intr(struct lpfc_hba *, uint32_t);
93 static void lpfc_sli4_oas_verify(struct lpfc_hba *phba);
94 static uint16_t lpfc_find_cpu_handle(struct lpfc_hba *, uint16_t, int);
95 static void lpfc_setup_bg(struct lpfc_hba *, struct Scsi_Host *);
117 lpfc_config_port_prep(struct lpfc_hba *phba)
284 lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq)
305 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq)
410 lpfc_config_port_post(struct lpfc_hba *phba)
668 * It is available to other drivers through the lpfc_hba data
677 lpfc_hba_init_link(struct lpfc_hba *phba, uint32_t flag)
689 * It is available to other drivers through the lpfc_hba data
698 lpfc_hba_init_link_fc_topology(struct lpfc_hba *phba, uint32_t fc_topology,
774 * It is available to other drivers through the lpfc_hba data
782 lpfc_hba_down_link(struct lpfc_hba *phba, uint32_t flag)
824 lpfc_hba_down_prep(struct lpfc_hba *phba)
862 lpfc_sli4_free_sp_events(struct lpfc_hba *phba)
906 lpfc_hba_free_post_buf(struct lpfc_hba *phba)
948 lpfc_hba_clean_txcmplq(struct lpfc_hba *phba)
1006 lpfc_hba_down_post_s3(struct lpfc_hba *phba)
1025 lpfc_hba_down_post_s4(struct lpfc_hba *phba)
1116 lpfc_hba_down_post(struct lpfc_hba *phba)
1136 struct lpfc_hba *phba;
1170 struct lpfc_hba *phba;
1202 lpfc_hb_mbox_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq)
1232 struct lpfc_hba *phba = container_of(to_delayed_work(work),
1233 struct lpfc_hba,
1293 struct lpfc_hba *phba = container_of(to_delayed_work(work),
1294 struct lpfc_hba, eq_delay_work);
1363 static void lpfc_hb_mxp_handler(struct lpfc_hba *phba)
1400 lpfc_hb_timeout_handler(struct lpfc_hba *phba)
1539 lpfc_offline_eratt(struct lpfc_hba *phba)
1568 lpfc_sli4_offline_eratt(struct lpfc_hba *phba)
1591 lpfc_handle_deferred_eratt(struct lpfc_hba *phba)
1661 lpfc_board_errevt_to_mgmt(struct lpfc_hba *phba)
1686 lpfc_handle_eratt_s3(struct lpfc_hba *phba)
1814 lpfc_sli4_port_sta_fn_reset(struct lpfc_hba *phba, int mbx_action,
1870 lpfc_handle_eratt_s4(struct lpfc_hba *phba)
2055 * routine from the API jump table function pointer from the lpfc_hba struct.
2062 lpfc_handle_eratt(struct lpfc_hba *phba)
2075 lpfc_handle_latt(struct lpfc_hba *phba)
2169 lpfc_parse_vpd(struct lpfc_hba *phba, uint8_t *vpd, int len)
2326 lpfc_get_hba_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp)
2594 lpfc_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt)
2695 lpfc_post_rcv_buf(struct lpfc_hba *phba)
2806 lpfc_hba_init(struct lpfc_hba *phba, uint32_t *hbainit)
2839 struct lpfc_hba *phba = vport->phba;
2945 __lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba *phba)
2964 lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba *phba)
2986 lpfc_stop_hba_timers(struct lpfc_hba *phba)
3032 lpfc_block_mgmt_io(struct lpfc_hba *phba, int mbx_action)
3078 lpfc_sli4_node_prep(struct lpfc_hba *phba)
3127 static void lpfc_create_expedite_pool(struct lpfc_hba *phba)
3162 static void lpfc_destroy_expedite_pool(struct lpfc_hba *phba)
3195 void lpfc_create_multixri_pools(struct lpfc_hba *phba)
3282 static void lpfc_destroy_multixri_pools(struct lpfc_hba *phba)
3372 lpfc_online(struct lpfc_hba *phba)
3462 lpfc_unblock_mgmt_io(struct lpfc_hba * phba)
3481 lpfc_offline_prep(struct lpfc_hba *phba, int mbx_action)
3569 lpfc_offline(struct lpfc_hba *phba)
3625 lpfc_scsi_free(struct lpfc_hba *phba)
3669 lpfc_io_free(struct lpfc_hba *phba)
3725 lpfc_sli4_els_sgl_update(struct lpfc_hba *phba)
3847 lpfc_sli4_nvmet_sgl_update(struct lpfc_hba *phba)
3960 lpfc_io_buf_flush(struct lpfc_hba *phba, struct list_head *cbuf)
4022 lpfc_io_buf_replenish(struct lpfc_hba *phba, struct list_head *cbuf)
4066 lpfc_sli4_io_sgl_update(struct lpfc_hba *phba)
4150 lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc)
4253 lpfc_get_wwpn(struct lpfc_hba *phba)
4304 lpfc_create_port(struct lpfc_hba *phba, int instance, struct device *dev)
4482 struct lpfc_hba *phba = vport->phba;
4533 struct lpfc_hba *phba = vport->phba;
4577 struct lpfc_hba *phba = vport->phba;
4617 struct lpfc_hba *phba = vport->phba;
4663 lpfc_stop_port_s3(struct lpfc_hba *phba)
4686 lpfc_stop_port_s4(struct lpfc_hba *phba)
4700 * the API jump table function pointer from the lpfc_hba struct.
4703 lpfc_stop_port(struct lpfc_hba *phba)
4718 lpfc_fcf_redisc_wait_start_timer(struct lpfc_hba *phba)
4745 struct lpfc_hba *phba = from_timer(phba, t, fcf.redisc_wait);
4772 lpfc_sli4_parse_latt_fault(struct lpfc_hba *phba,
4800 lpfc_sli4_parse_latt_type(struct lpfc_hba *phba,
4836 lpfc_sli_port_speed_get(struct lpfc_hba *phba)
4888 lpfc_sli4_port_speed_parse(struct lpfc_hba *phba, uint32_t evt_code,
4977 lpfc_sli4_async_link_evt(struct lpfc_hba *phba,
5112 lpfc_async_link_speed_to_read_top(struct lpfc_hba *phba, uint8_t speed_code)
5162 lpfc_update_trunk_link_status(struct lpfc_hba *phba,
5239 lpfc_sli4_async_fc_evt(struct lpfc_hba *phba, struct lpfc_acqe_fc_la *acqe_fc)
5386 lpfc_sli4_async_sli_evt(struct lpfc_hba *phba, struct lpfc_acqe_sli *acqe_sli)
5593 struct lpfc_hba *phba;
5643 lpfc_sli4_perform_all_vport_cvl(struct lpfc_hba *phba)
5663 lpfc_sli4_async_fip_evt(struct lpfc_hba *phba,
5916 lpfc_sli4_async_dcbx_evt(struct lpfc_hba *phba,
5935 lpfc_sli4_async_grp5_evt(struct lpfc_hba *phba,
5958 void lpfc_sli4_async_event_proc(struct lpfc_hba *phba)
6022 void lpfc_sli4_fcf_redisc_event_proc(struct lpfc_hba *phba)
6056 lpfc_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp)
6095 static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode)
6130 lpfc_enable_pci_dev(struct lpfc_hba *phba)
6172 lpfc_disable_pci_dev(struct lpfc_hba *phba)
6198 lpfc_reset_hba(struct lpfc_hba *phba)
6226 lpfc_sli_sriov_nr_virtfn_get(struct lpfc_hba *phba)
6252 lpfc_sli_probe_sriov_nr_virtfn(struct lpfc_hba *phba, int nr_vfn)
6291 lpfc_setup_driver_resource_phase1(struct lpfc_hba *phba)
6373 lpfc_sli_driver_resource_setup(struct lpfc_hba *phba)
6526 lpfc_sli_driver_resource_unset(struct lpfc_hba *phba)
6546 lpfc_sli4_driver_resource_setup(struct lpfc_hba *phba)
7093 lpfc_sli4_driver_resource_unset(struct lpfc_hba *phba)
7159 lpfc_init_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp)
7197 lpfc_setup_driver_resource_phase2(struct lpfc_hba *phba)
7221 lpfc_unset_driver_resource_phase2(struct lpfc_hba *phba)
7241 lpfc_free_iocb_list(struct lpfc_hba *phba)
7270 lpfc_init_iocb_list(struct lpfc_hba *phba, int iocb_count)
7319 lpfc_free_sgl_list(struct lpfc_hba *phba, struct list_head *sglq_list)
7337 lpfc_free_els_sgl_list(struct lpfc_hba *phba)
7359 lpfc_free_nvmet_sgl_list(struct lpfc_hba *phba)
7393 lpfc_init_active_sgl_array(struct lpfc_hba *phba)
7415 lpfc_free_active_sgl(struct lpfc_hba *phba)
7429 lpfc_init_sgl_list(struct lpfc_hba *phba)
7459 lpfc_sli4_init_rpi_hdrs(struct lpfc_hba *phba)
7495 lpfc_sli4_create_rpi_hdr(struct lpfc_hba *phba)
7584 lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba *phba)
7616 static struct lpfc_hba *
7619 struct lpfc_hba *phba;
7622 phba = kzalloc(sizeof(struct lpfc_hba), GFP_KERNEL);
7653 lpfc_hba_free(struct lpfc_hba *phba)
7681 lpfc_create_shost(struct lpfc_hba *phba)
7738 lpfc_destroy_shost(struct lpfc_hba *phba)
7757 lpfc_setup_bg(struct lpfc_hba *phba, struct Scsi_Host *shost)
7808 lpfc_post_init_setup(struct lpfc_hba *phba)
7855 lpfc_sli_pci_mem_setup(struct lpfc_hba *phba)
7959 lpfc_sli_pci_mem_unset(struct lpfc_hba *phba)
7992 lpfc_sli4_post_status_check(struct lpfc_hba *phba)
8130 lpfc_sli4_bar0_register_memmap(struct lpfc_hba *phba, uint32_t if_type)
8219 lpfc_sli4_bar1_register_memmap(struct lpfc_hba *phba, uint32_t if_type)
8266 lpfc_sli4_bar2_register_memmap(struct lpfc_hba *phba, uint32_t vf)
8304 lpfc_create_bootstrap_mbox(struct lpfc_hba *phba)
8375 lpfc_destroy_bootstrap_mbox(struct lpfc_hba *phba)
8410 lpfc_map_topology(struct lpfc_hba *phba, struct lpfc_mbx_read_config *rd_config)
8480 lpfc_sli4_read_config(struct lpfc_hba *phba)
8786 lpfc_setup_endian_order(struct lpfc_hba *phba)
8845 lpfc_sli4_queue_verify(struct lpfc_hba *phba)
8875 lpfc_alloc_io_wq_cq(struct lpfc_hba *phba, int idx)
8945 lpfc_sli4_queue_create(struct lpfc_hba *phba)
9338 lpfc_sli4_release_hdwq(struct lpfc_hba *phba)
9380 lpfc_sli4_queue_destroy(struct lpfc_hba *phba)
9444 lpfc_free_rq_buffer(struct lpfc_hba *phba, struct lpfc_queue *rq)
9463 lpfc_create_wq_cq(struct lpfc_hba *phba, struct lpfc_queue *eq,
9541 lpfc_setup_cq_lookup(struct lpfc_hba *phba)
9578 lpfc_sli4_queue_setup(struct lpfc_hba *phba)
9938 lpfc_sli4_queue_unset(struct lpfc_hba *phba)
10030 lpfc_sli4_cq_event_pool_create(struct lpfc_hba *phba)
10060 lpfc_sli4_cq_event_pool_destroy(struct lpfc_hba *phba)
10082 __lpfc_sli4_cq_event_alloc(struct lpfc_hba *phba)
10102 lpfc_sli4_cq_event_alloc(struct lpfc_hba *phba)
10122 __lpfc_sli4_cq_event_release(struct lpfc_hba *phba,
10137 lpfc_sli4_cq_event_release(struct lpfc_hba *phba,
10154 lpfc_sli4_cq_event_release_all(struct lpfc_hba *phba)
10194 lpfc_pci_function_reset(struct lpfc_hba *phba)
10325 lpfc_sli4_pci_mem_setup(struct lpfc_hba *phba)
10542 lpfc_sli4_pci_mem_unset(struct lpfc_hba *phba)
10583 lpfc_sli_enable_msix(struct lpfc_hba *phba)
10687 lpfc_sli_enable_msi(struct lpfc_hba *phba)
10729 lpfc_sli_enable_intr(struct lpfc_hba *phba, uint32_t cfg_mode)
10781 lpfc_sli_disable_intr(struct lpfc_hba *phba)
10808 lpfc_find_cpu_handle(struct lpfc_hba *phba, uint16_t id, int match)
10842 lpfc_find_hyper(struct lpfc_hba *phba, int cpu,
10870 lpfc_assign_eq_map_info(struct lpfc_hba *phba, uint16_t eqidx, uint16_t flag,
10891 lpfc_cpu_map_array_init(struct lpfc_hba *phba)
10917 lpfc_hba_eq_hdl_array_init(struct lpfc_hba *phba)
10940 lpfc_cpu_affinity_check(struct lpfc_hba *phba, int vectors)
11235 lpfc_cpuhp_get_eq(struct lpfc_hba *phba, unsigned int cpu,
11280 static void __lpfc_cpuhp_remove(struct lpfc_hba *phba)
11295 static void lpfc_cpuhp_remove(struct lpfc_hba *phba)
11303 static void lpfc_cpuhp_add(struct lpfc_hba *phba)
11320 static int __lpfc_cpuhp_checks(struct lpfc_hba *phba, int *retval)
11380 lpfc_irq_rebalance(struct lpfc_hba *phba, unsigned int cpu, bool offline)
11431 struct lpfc_hba *phba = hlist_entry_safe(node, struct lpfc_hba, cpuhp);
11461 struct lpfc_hba *phba = hlist_entry_safe(node, struct lpfc_hba, cpuhp);
11514 lpfc_sli4_enable_msix(struct lpfc_hba *phba)
11663 lpfc_sli4_enable_msi(struct lpfc_hba *phba)
11721 lpfc_sli4_enable_intr(struct lpfc_hba *phba, uint32_t cfg_mode)
11787 lpfc_sli4_disable_intr(struct lpfc_hba *phba)
11820 lpfc_unset_hba(struct lpfc_hba *phba)
11859 lpfc_sli4_xri_exchange_busy_wait(struct lpfc_hba *phba)
11949 lpfc_sli4_hba_unset(struct lpfc_hba *phba)
12039 lpfc_get_sli4_parameters(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq)
12247 struct lpfc_hba *phba;
12410 struct lpfc_hba *phba = vport->phba;
12518 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
12561 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
12619 lpfc_sli_prep_dev_for_recover(struct lpfc_hba *phba)
12640 lpfc_sli_prep_dev_for_reset(struct lpfc_hba *phba)
12671 lpfc_sli_prep_dev_for_perm_failure(struct lpfc_hba *phba)
12707 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
12753 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
12814 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
12827 lpfc_sli4_get_els_iocb_cnt(struct lpfc_hba *phba)
12857 lpfc_sli4_get_iocb_cnt(struct lpfc_hba *phba)
12868 lpfc_log_write_firmware_error(struct lpfc_hba *phba, uint32_t offset,
12922 struct lpfc_hba *phba = (struct lpfc_hba *)context;
13027 lpfc_sli4_request_firmware_update(struct lpfc_hba *phba, uint8_t fw_upgrade)
13077 struct lpfc_hba *phba;
13265 struct lpfc_hba *phba = vport->phba;
13361 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13405 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13463 lpfc_sli4_prep_dev_for_recover(struct lpfc_hba *phba)
13483 lpfc_sli4_prep_dev_for_reset(struct lpfc_hba *phba)
13515 lpfc_sli4_prep_dev_for_perm_failure(struct lpfc_hba *phba)
13550 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13596 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13654 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13722 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13758 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13794 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13832 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13869 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13902 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
13931 lpfc_sli4_oas_verify(struct lpfc_hba *phba)
13956 lpfc_sli4_ras_init(struct lpfc_hba *phba)
14071 void lpfc_dmp_dbg(struct lpfc_hba *phba)
14122 void lpfc_dbg_print(struct lpfc_hba *phba, const char *fmt, ...)