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 *);
96 static int lpfc_sli4_cgn_parm_chg_evt(struct lpfc_hba *);
97 static void lpfc_sli4_prep_dev_for_reset(struct lpfc_hba *phba);
103 static int lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport);
104 static void lpfc_cgn_update_tstamp(struct lpfc_hba *phba, struct lpfc_cgn_ts *ts);
121 lpfc_config_port_prep(struct lpfc_hba *phba)
288 lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq)
309 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq)
352 struct lpfc_hba *phba = vport->phba;
416 lpfc_config_port_post(struct lpfc_hba *phba)
677 lpfc_sli4_refresh_params(struct lpfc_hba *phba)
727 * It is available to other drivers through the lpfc_hba data
736 lpfc_hba_init_link(struct lpfc_hba *phba, uint32_t flag)
748 * It is available to other drivers through the lpfc_hba data
757 lpfc_hba_init_link_fc_topology(struct lpfc_hba *phba, uint32_t fc_topology,
833 * It is available to other drivers through the lpfc_hba data
841 lpfc_hba_down_link(struct lpfc_hba *phba, uint32_t flag)
883 lpfc_hba_down_prep(struct lpfc_hba *phba)
921 lpfc_sli4_free_sp_events(struct lpfc_hba *phba)
965 lpfc_hba_free_post_buf(struct lpfc_hba *phba)
1007 lpfc_hba_clean_txcmplq(struct lpfc_hba *phba)
1065 lpfc_hba_down_post_s3(struct lpfc_hba *phba)
1084 lpfc_hba_down_post_s4(struct lpfc_hba *phba)
1175 lpfc_hba_down_post(struct lpfc_hba *phba)
1195 struct lpfc_hba *phba;
1229 struct lpfc_hba *phba;
1261 lpfc_hb_mbox_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq)
1291 struct lpfc_hba *phba = container_of(to_delayed_work(work),
1292 struct lpfc_hba,
1353 struct lpfc_hba *phba = container_of(to_delayed_work(work),
1354 struct lpfc_hba, eq_delay_work);
1423 static void lpfc_hb_mxp_handler(struct lpfc_hba *phba)
1452 lpfc_issue_hb_mbox(struct lpfc_hba *phba)
1490 lpfc_issue_hb_tmo(struct lpfc_hba *phba)
1514 lpfc_hb_timeout_handler(struct lpfc_hba *phba)
1634 lpfc_offline_eratt(struct lpfc_hba *phba)
1663 lpfc_sli4_offline_eratt(struct lpfc_hba *phba)
1691 lpfc_handle_deferred_eratt(struct lpfc_hba *phba)
1761 lpfc_board_errevt_to_mgmt(struct lpfc_hba *phba)
1786 lpfc_handle_eratt_s3(struct lpfc_hba *phba)
1914 lpfc_sli4_port_sta_fn_reset(struct lpfc_hba *phba, int mbx_action,
1989 lpfc_handle_eratt_s4(struct lpfc_hba *phba)
2174 * routine from the API jump table function pointer from the lpfc_hba struct.
2181 lpfc_handle_eratt(struct lpfc_hba *phba)
2194 lpfc_handle_latt(struct lpfc_hba *phba)
2263 lpfc_fill_vpd(struct lpfc_hba *phba, uint8_t *vpd, int length, int *pindex)
2372 lpfc_parse_vpd(struct lpfc_hba *phba, uint8_t *vpd, int len)
2438 lpfc_get_atto_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp)
2522 lpfc_get_hba_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp)
2793 lpfc_sli3_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt)
2894 lpfc_post_rcv_buf(struct lpfc_hba *phba)
3005 lpfc_hba_init(struct lpfc_hba *phba, uint32_t *hbainit)
3038 struct lpfc_hba *phba = vport->phba;
3146 __lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba *phba)
3165 lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba *phba)
3188 lpfc_cmf_stop(struct lpfc_hba *phba)
3220 lpfc_get_max_line_rate(struct lpfc_hba *phba)
3228 lpfc_cmf_signal_init(struct lpfc_hba *phba)
3252 lpfc_cmf_start(struct lpfc_hba *phba)
3308 lpfc_stop_hba_timers(struct lpfc_hba *phba)
3354 lpfc_block_mgmt_io(struct lpfc_hba *phba, int mbx_action)
3400 lpfc_sli4_node_prep(struct lpfc_hba *phba)
3444 static void lpfc_create_expedite_pool(struct lpfc_hba *phba)
3479 static void lpfc_destroy_expedite_pool(struct lpfc_hba *phba)
3512 void lpfc_create_multixri_pools(struct lpfc_hba *phba)
3599 static void lpfc_destroy_multixri_pools(struct lpfc_hba *phba)
3689 lpfc_online(struct lpfc_hba *phba)
3779 lpfc_unblock_mgmt_io(struct lpfc_hba * phba)
3798 lpfc_offline_prep(struct lpfc_hba *phba, int mbx_action)
3907 lpfc_offline(struct lpfc_hba *phba)
3967 lpfc_scsi_free(struct lpfc_hba *phba)
4011 lpfc_io_free(struct lpfc_hba *phba)
4067 lpfc_sli4_els_sgl_update(struct lpfc_hba *phba)
4185 lpfc_sli4_nvmet_sgl_update(struct lpfc_hba *phba)
4298 lpfc_io_buf_flush(struct lpfc_hba *phba, struct list_head *cbuf)
4360 lpfc_io_buf_replenish(struct lpfc_hba *phba, struct list_head *cbuf)
4405 lpfc_sli4_io_sgl_update(struct lpfc_hba *phba)
4490 lpfc_new_io_buf(struct lpfc_hba *phba, int num_to_alloc)
4594 lpfc_get_wwpn(struct lpfc_hba *phba)
4628 static unsigned short lpfc_get_sg_tablesize(struct lpfc_hba *phba)
4651 lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport)
4705 lpfc_create_port(struct lpfc_hba *phba, int instance, struct device *dev)
4868 struct lpfc_hba *phba = vport->phba;
4919 struct lpfc_hba *phba = vport->phba;
4963 struct lpfc_hba *phba = vport->phba;
5005 struct lpfc_hba *phba = vport->phba;
5051 lpfc_stop_port_s3(struct lpfc_hba *phba)
5074 lpfc_stop_port_s4(struct lpfc_hba *phba)
5088 * the API jump table function pointer from the lpfc_hba struct.
5091 lpfc_stop_port(struct lpfc_hba *phba)
5106 lpfc_fcf_redisc_wait_start_timer(struct lpfc_hba *phba)
5133 struct lpfc_hba *phba = from_timer(phba, t, fcf.redisc_wait);
5164 struct lpfc_hba *phba = from_timer(phba, t, inactive_vmid_poll);
5196 lpfc_sli4_parse_latt_fault(struct lpfc_hba *phba,
5233 lpfc_sli4_parse_latt_type(struct lpfc_hba *phba,
5269 lpfc_sli_port_speed_get(struct lpfc_hba *phba)
5321 lpfc_sli4_port_speed_parse(struct lpfc_hba *phba, uint32_t evt_code,
5413 lpfc_sli4_async_link_evt(struct lpfc_hba *phba,
5540 lpfc_async_link_speed_to_read_top(struct lpfc_hba *phba, uint8_t speed_code)
5581 lpfc_cgn_dump_rxmonitor(struct lpfc_hba *phba)
5600 lpfc_cgn_update_stat(struct lpfc_hba *phba, uint32_t dtag)
5645 lpfc_cgn_update_tstamp(struct lpfc_hba *phba, struct lpfc_cgn_ts *ts)
5681 struct lpfc_hba *phba;
5693 phba = container_of(timer, struct lpfc_hba, cmf_stats_timer);
5915 lpfc_calc_cmf_latency(struct lpfc_hba *phba)
5952 struct lpfc_hba *phba = container_of(timer, struct lpfc_hba,
6128 lpfc_update_trunk_link_status(struct lpfc_hba *phba,
6219 lpfc_sli4_async_fc_evt(struct lpfc_hba *phba, struct lpfc_acqe_fc_la *acqe_fc)
6403 lpfc_sli4_async_sli_evt(struct lpfc_hba *phba, struct lpfc_acqe_sli *acqe_sli)
6662 struct lpfc_hba *phba;
6707 lpfc_sli4_perform_all_vport_cvl(struct lpfc_hba *phba)
6727 lpfc_sli4_async_fip_evt(struct lpfc_hba *phba,
6978 lpfc_sli4_async_dcbx_evt(struct lpfc_hba *phba,
6997 lpfc_sli4_async_grp5_evt(struct lpfc_hba *phba,
7021 lpfc_sli4_async_cmstat_evt(struct lpfc_hba *phba)
7037 lpfc_cgn_params_val(struct lpfc_hba *phba, struct lpfc_cgn_param *p_cfg_param)
7072 lpfc_cgn_params_parse(struct lpfc_hba *phba,
7214 lpfc_sli4_cgn_params_read(struct lpfc_hba *phba)
7275 lpfc_sli4_cgn_parm_chg_evt(struct lpfc_hba *phba)
7308 void lpfc_sli4_async_event_proc(struct lpfc_hba *phba)
7375 void lpfc_sli4_fcf_redisc_event_proc(struct lpfc_hba *phba)
7409 lpfc_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp)
7448 static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode)
7483 lpfc_enable_pci_dev(struct lpfc_hba *phba)
7525 lpfc_disable_pci_dev(struct lpfc_hba *phba)
7551 lpfc_reset_hba(struct lpfc_hba *phba)
7597 lpfc_sli_sriov_nr_virtfn_get(struct lpfc_hba *phba)
7623 lpfc_sli_probe_sriov_nr_virtfn(struct lpfc_hba *phba, int nr_vfn)
7653 struct lpfc_hba *phba = container_of(work, struct lpfc_hba,
7671 lpfc_setup_driver_resource_phase1(struct lpfc_hba *phba)
7749 lpfc_sli_driver_resource_setup(struct lpfc_hba *phba)
7895 lpfc_sli_driver_resource_unset(struct lpfc_hba *phba)
7915 lpfc_sli4_driver_resource_setup(struct lpfc_hba *phba)
8501 lpfc_sli4_driver_resource_unset(struct lpfc_hba *phba)
8568 lpfc_init_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp)
8605 lpfc_setup_driver_resource_phase2(struct lpfc_hba *phba)
8629 lpfc_unset_driver_resource_phase2(struct lpfc_hba *phba)
8648 lpfc_free_iocb_list(struct lpfc_hba *phba)
8677 lpfc_init_iocb_list(struct lpfc_hba *phba, int iocb_count)
8726 lpfc_free_sgl_list(struct lpfc_hba *phba, struct list_head *sglq_list)
8744 lpfc_free_els_sgl_list(struct lpfc_hba *phba)
8764 lpfc_free_nvmet_sgl_list(struct lpfc_hba *phba)
8798 lpfc_init_active_sgl_array(struct lpfc_hba *phba)
8820 lpfc_free_active_sgl(struct lpfc_hba *phba)
8834 lpfc_init_sgl_list(struct lpfc_hba *phba)
8864 lpfc_sli4_init_rpi_hdrs(struct lpfc_hba *phba)
8900 lpfc_sli4_create_rpi_hdr(struct lpfc_hba *phba)
8989 lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba *phba)
9021 static struct lpfc_hba *
9024 struct lpfc_hba *phba;
9027 phba = kzalloc(sizeof(struct lpfc_hba), GFP_KERNEL);
9058 lpfc_hba_free(struct lpfc_hba *phba)
9086 struct lpfc_hba *phba = vport->phba;
9116 lpfc_create_shost(struct lpfc_hba *phba)
9164 lpfc_destroy_shost(struct lpfc_hba *phba)
9183 lpfc_setup_bg(struct lpfc_hba *phba, struct Scsi_Host *shost)
9234 lpfc_post_init_setup(struct lpfc_hba *phba)
9281 lpfc_sli_pci_mem_setup(struct lpfc_hba *phba)
9385 lpfc_sli_pci_mem_unset(struct lpfc_hba *phba)
9418 lpfc_sli4_post_status_check(struct lpfc_hba *phba)
9563 lpfc_sli4_bar0_register_memmap(struct lpfc_hba *phba, uint32_t if_type)
9652 lpfc_sli4_bar1_register_memmap(struct lpfc_hba *phba, uint32_t if_type)
9699 lpfc_sli4_bar2_register_memmap(struct lpfc_hba *phba, uint32_t vf)
9737 lpfc_create_bootstrap_mbox(struct lpfc_hba *phba)
9808 lpfc_destroy_bootstrap_mbox(struct lpfc_hba *phba)
9843 lpfc_map_topology(struct lpfc_hba *phba, struct lpfc_mbx_read_config *rd_config)
9914 lpfc_sli4_read_config(struct lpfc_hba *phba)
10278 lpfc_setup_endian_order(struct lpfc_hba *phba)
10337 lpfc_sli4_queue_verify(struct lpfc_hba *phba)
10367 lpfc_alloc_io_wq_cq(struct lpfc_hba *phba, int idx)
10437 lpfc_sli4_queue_create(struct lpfc_hba *phba)
10830 lpfc_sli4_release_hdwq(struct lpfc_hba *phba)
10872 lpfc_sli4_queue_destroy(struct lpfc_hba *phba)
10936 lpfc_free_rq_buffer(struct lpfc_hba *phba, struct lpfc_queue *rq)
10955 lpfc_create_wq_cq(struct lpfc_hba *phba, struct lpfc_queue *eq,
11033 lpfc_setup_cq_lookup(struct lpfc_hba *phba)
11070 lpfc_sli4_queue_setup(struct lpfc_hba *phba)
11430 lpfc_sli4_queue_unset(struct lpfc_hba *phba)
11522 lpfc_sli4_cq_event_pool_create(struct lpfc_hba *phba)
11552 lpfc_sli4_cq_event_pool_destroy(struct lpfc_hba *phba)
11574 __lpfc_sli4_cq_event_alloc(struct lpfc_hba *phba)
11594 lpfc_sli4_cq_event_alloc(struct lpfc_hba *phba)
11614 __lpfc_sli4_cq_event_release(struct lpfc_hba *phba,
11629 lpfc_sli4_cq_event_release(struct lpfc_hba *phba,
11646 lpfc_sli4_cq_event_release_all(struct lpfc_hba *phba)
11686 lpfc_pci_function_reset(struct lpfc_hba *phba)
11820 lpfc_sli4_pci_mem_setup(struct lpfc_hba *phba)
12037 lpfc_sli4_pci_mem_unset(struct lpfc_hba *phba)
12079 lpfc_sli_enable_msix(struct lpfc_hba *phba)
12183 lpfc_sli_enable_msi(struct lpfc_hba *phba)
12225 lpfc_sli_enable_intr(struct lpfc_hba *phba, uint32_t cfg_mode)
12279 lpfc_sli_disable_intr(struct lpfc_hba *phba)
12306 lpfc_find_cpu_handle(struct lpfc_hba *phba, uint16_t id, int match)
12340 lpfc_find_hyper(struct lpfc_hba *phba, int cpu,
12368 lpfc_assign_eq_map_info(struct lpfc_hba *phba, uint16_t eqidx, uint16_t flag,
12389 lpfc_cpu_map_array_init(struct lpfc_hba *phba)
12415 lpfc_hba_eq_hdl_array_init(struct lpfc_hba *phba)
12438 lpfc_cpu_affinity_check(struct lpfc_hba *phba, int vectors)
12716 lpfc_cpuhp_get_eq(struct lpfc_hba *phba, unsigned int cpu,
12761 static void __lpfc_cpuhp_remove(struct lpfc_hba *phba)
12776 static void lpfc_cpuhp_remove(struct lpfc_hba *phba)
12784 static void lpfc_cpuhp_add(struct lpfc_hba *phba)
12801 static int __lpfc_cpuhp_checks(struct lpfc_hba *phba, int *retval)
12861 lpfc_irq_rebalance(struct lpfc_hba *phba, unsigned int cpu, bool offline)
12912 struct lpfc_hba *phba = hlist_entry_safe(node, struct lpfc_hba, cpuhp);
12942 struct lpfc_hba *phba = hlist_entry_safe(node, struct lpfc_hba, cpuhp);
12995 lpfc_sli4_enable_msix(struct lpfc_hba *phba)
13151 lpfc_sli4_enable_msi(struct lpfc_hba *phba)
13216 lpfc_sli4_enable_intr(struct lpfc_hba *phba, uint32_t cfg_mode)
13289 lpfc_sli4_disable_intr(struct lpfc_hba *phba)
13321 lpfc_unset_hba(struct lpfc_hba *phba)
13360 lpfc_sli4_xri_exchange_busy_wait(struct lpfc_hba *phba)
13450 lpfc_sli4_hba_unset(struct lpfc_hba *phba)
13579 lpfc_init_congestion_buf(struct lpfc_hba *phba)
13632 lpfc_init_congestion_stat(struct lpfc_hba *phba)
13657 __lpfc_reg_congestion_buf(struct lpfc_hba *phba, int reg)
13713 lpfc_unreg_congestion_buf(struct lpfc_hba *phba)
13720 lpfc_reg_congestion_buf(struct lpfc_hba *phba)
13738 lpfc_get_sli4_parameters(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq)
13954 struct lpfc_hba *phba;
14117 struct lpfc_hba *phba = vport->phba;
14225 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
14264 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
14313 lpfc_sli_prep_dev_for_recover(struct lpfc_hba *phba)
14334 lpfc_sli_prep_dev_for_reset(struct lpfc_hba *phba)
14365 lpfc_sli_prep_dev_for_perm_failure(struct lpfc_hba *phba)
14402 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
14448 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
14509 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
14522 lpfc_sli4_get_els_iocb_cnt(struct lpfc_hba *phba)
14552 lpfc_sli4_get_iocb_cnt(struct lpfc_hba *phba)
14563 lpfc_log_write_firmware_error(struct lpfc_hba *phba, uint32_t offset,
14621 struct lpfc_hba *phba = (struct lpfc_hba *)context;
14726 lpfc_sli4_request_firmware_update(struct lpfc_hba *phba, uint8_t fw_upgrade)
14776 struct lpfc_hba *phba;
14961 struct lpfc_hba *phba = vport->phba;
15057 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15097 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15142 lpfc_sli4_prep_dev_for_recover(struct lpfc_hba *phba)
15162 lpfc_sli4_prep_dev_for_reset(struct lpfc_hba *phba)
15198 lpfc_sli4_prep_dev_for_perm_failure(struct lpfc_hba *phba)
15233 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15290 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15354 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15420 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15455 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15491 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15529 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15570 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15603 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba;
15632 lpfc_sli4_oas_verify(struct lpfc_hba *phba)
15657 lpfc_sli4_ras_init(struct lpfc_hba *phba)
15778 void lpfc_dmp_dbg(struct lpfc_hba *phba)
15829 void lpfc_dbg_print(struct lpfc_hba *phba, const char *fmt, ...)