Home
last modified time | relevance | path

Searched refs:phba (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c73 static void __lpfc_cpuhp_remove(struct lpfc_hba *phba);
74 static void lpfc_cpuhp_remove(struct lpfc_hba *phba);
75 static void lpfc_cpuhp_add(struct lpfc_hba *phba);
87 static int lpfc_hba_down_post_s3(struct lpfc_hba *phba);
88 static int lpfc_hba_down_post_s4(struct lpfc_hba *phba);
94 static void lpfc_sli4_oas_verify(struct lpfc_hba *phba);
98 static void lpfc_sli4_async_cmstat_evt(struct lpfc_hba *phba);
99 static void lpfc_sli4_prep_dev_for_reset(struct lpfc_hba *phba);
105 static int lpfc_vmid_res_alloc(struct lpfc_hba *phba, struct lpfc_vport *vport);
106 static void lpfc_cgn_update_tstamp(struct lpfc_hba *phba, struc
123 lpfc_config_port_prep(struct lpfc_hba * phba) lpfc_config_port_prep() argument
290 lpfc_config_async_cmpl(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmboxq) lpfc_config_async_cmpl() argument
311 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmboxq) lpfc_dump_wakeup_param_cmpl() argument
354 struct lpfc_hba *phba = vport->phba; lpfc_update_vport_wwn() local
418 lpfc_config_port_post(struct lpfc_hba * phba) lpfc_config_port_post() argument
680 lpfc_sli4_refresh_params(struct lpfc_hba * phba) lpfc_sli4_refresh_params() argument
739 lpfc_hba_init_link(struct lpfc_hba * phba,uint32_t flag) lpfc_hba_init_link() argument
760 lpfc_hba_init_link_fc_topology(struct lpfc_hba * phba,uint32_t fc_topology,uint32_t flag) lpfc_hba_init_link_fc_topology() argument
846 lpfc_hba_down_link(struct lpfc_hba * phba,uint32_t flag) lpfc_hba_down_link() argument
888 lpfc_hba_down_prep(struct lpfc_hba * phba) lpfc_hba_down_prep() argument
926 lpfc_sli4_free_sp_events(struct lpfc_hba * phba) lpfc_sli4_free_sp_events() argument
968 lpfc_hba_free_post_buf(struct lpfc_hba * phba) lpfc_hba_free_post_buf() argument
1010 lpfc_hba_clean_txcmplq(struct lpfc_hba * phba) lpfc_hba_clean_txcmplq() argument
1068 lpfc_hba_down_post_s3(struct lpfc_hba * phba) lpfc_hba_down_post_s3() argument
1087 lpfc_hba_down_post_s4(struct lpfc_hba * phba) lpfc_hba_down_post_s4() argument
1177 lpfc_hba_down_post(struct lpfc_hba * phba) lpfc_hba_down_post() argument
1197 struct lpfc_hba *phba; lpfc_hb_timeout() local
1231 struct lpfc_hba *phba; lpfc_rrq_timeout() local
1260 lpfc_hb_mbox_cmpl(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmboxq) lpfc_hb_mbox_cmpl() argument
1287 struct lpfc_hba *phba = container_of(to_delayed_work(work), lpfc_idle_stat_delay_work() local
1349 struct lpfc_hba *phba = container_of(to_delayed_work(work), lpfc_hb_eq_delay_work() local
1420 lpfc_hb_mxp_handler(struct lpfc_hba * phba) lpfc_hb_mxp_handler() argument
1449 lpfc_issue_hb_mbox(struct lpfc_hba * phba) lpfc_issue_hb_mbox() argument
1487 lpfc_issue_hb_tmo(struct lpfc_hba * phba) lpfc_issue_hb_tmo() argument
1511 lpfc_hb_timeout_handler(struct lpfc_hba * phba) lpfc_hb_timeout_handler() argument
1631 lpfc_offline_eratt(struct lpfc_hba * phba) lpfc_offline_eratt() argument
1660 lpfc_sli4_offline_eratt(struct lpfc_hba * phba) lpfc_sli4_offline_eratt() argument
1688 lpfc_handle_deferred_eratt(struct lpfc_hba * phba) lpfc_handle_deferred_eratt() argument
1754 lpfc_board_errevt_to_mgmt(struct lpfc_hba * phba) lpfc_board_errevt_to_mgmt() argument
1779 lpfc_handle_eratt_s3(struct lpfc_hba * phba) lpfc_handle_eratt_s3() argument
1905 lpfc_sli4_port_sta_fn_reset(struct lpfc_hba * phba,int mbx_action,bool en_rn_msg) lpfc_sli4_port_sta_fn_reset() argument
1985 lpfc_handle_eratt_s4(struct lpfc_hba * phba) lpfc_handle_eratt_s4() argument
2177 lpfc_handle_eratt(struct lpfc_hba * phba) lpfc_handle_eratt() argument
2190 lpfc_handle_latt(struct lpfc_hba * phba) lpfc_handle_latt() argument
2259 lpfc_fill_vpd(struct lpfc_hba * phba,uint8_t * vpd,int length,int * pindex) lpfc_fill_vpd() argument
2368 lpfc_parse_vpd(struct lpfc_hba * phba,uint8_t * vpd,int len) lpfc_parse_vpd() argument
2434 lpfc_get_atto_model_desc(struct lpfc_hba * phba,uint8_t * mdp,uint8_t * descp) lpfc_get_atto_model_desc() argument
2518 lpfc_get_hba_model_desc(struct lpfc_hba * phba,uint8_t * mdp,uint8_t * descp) lpfc_get_hba_model_desc() argument
2811 lpfc_sli3_post_buffer(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,int cnt) lpfc_sli3_post_buffer() argument
2912 lpfc_post_rcv_buf(struct lpfc_hba * phba) lpfc_post_rcv_buf() argument
3023 lpfc_hba_init(struct lpfc_hba * phba,uint32_t * hbainit) lpfc_hba_init() argument
3056 struct lpfc_hba *phba = vport->phba; lpfc_cleanup() local
3152 __lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba * phba) __lpfc_sli4_stop_fcf_redisc_wait_timer() argument
3171 lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba * phba) lpfc_sli4_stop_fcf_redisc_wait_timer() argument
3194 lpfc_cmf_stop(struct lpfc_hba * phba) lpfc_cmf_stop() argument
3226 lpfc_get_max_line_rate(struct lpfc_hba * phba) lpfc_get_max_line_rate() argument
3234 lpfc_cmf_signal_init(struct lpfc_hba * phba) lpfc_cmf_signal_init() argument
3258 lpfc_cmf_start(struct lpfc_hba * phba) lpfc_cmf_start() argument
3314 lpfc_stop_hba_timers(struct lpfc_hba * phba) lpfc_stop_hba_timers() argument
3361 lpfc_block_mgmt_io(struct lpfc_hba * phba,int mbx_action) lpfc_block_mgmt_io() argument
3407 lpfc_sli4_node_rpi_restore(struct lpfc_hba * phba) lpfc_sli4_node_rpi_restore() argument
3457 lpfc_create_expedite_pool(struct lpfc_hba * phba) lpfc_create_expedite_pool() argument
3492 lpfc_destroy_expedite_pool(struct lpfc_hba * phba) lpfc_destroy_expedite_pool() argument
3525 lpfc_create_multixri_pools(struct lpfc_hba * phba) lpfc_create_multixri_pools() argument
3612 lpfc_destroy_multixri_pools(struct lpfc_hba * phba) lpfc_destroy_multixri_pools() argument
3702 lpfc_online(struct lpfc_hba * phba) lpfc_online() argument
3790 lpfc_unblock_mgmt_io(struct lpfc_hba * phba) lpfc_unblock_mgmt_io() argument
3809 lpfc_offline_prep(struct lpfc_hba * phba,int mbx_action) lpfc_offline_prep() argument
3894 lpfc_offline(struct lpfc_hba * phba) lpfc_offline() argument
3954 lpfc_scsi_free(struct lpfc_hba * phba) lpfc_scsi_free() argument
3998 lpfc_io_free(struct lpfc_hba * phba) lpfc_io_free() argument
4054 lpfc_sli4_els_sgl_update(struct lpfc_hba * phba) lpfc_sli4_els_sgl_update() argument
4171 lpfc_sli4_nvmet_sgl_update(struct lpfc_hba * phba) lpfc_sli4_nvmet_sgl_update() argument
4283 lpfc_io_buf_flush(struct lpfc_hba * phba,struct list_head * cbuf) lpfc_io_buf_flush() argument
4345 lpfc_io_buf_replenish(struct lpfc_hba * phba,struct list_head * cbuf) lpfc_io_buf_replenish() argument
4390 lpfc_sli4_io_sgl_update(struct lpfc_hba * phba) lpfc_sli4_io_sgl_update() argument
4475 lpfc_new_io_buf(struct lpfc_hba * phba,int num_to_alloc) lpfc_new_io_buf() argument
4579 lpfc_get_wwpn(struct lpfc_hba * phba) lpfc_get_wwpn() argument
4613 lpfc_get_sg_tablesize(struct lpfc_hba * phba) lpfc_get_sg_tablesize() argument
4636 lpfc_vmid_res_alloc(struct lpfc_hba * phba,struct lpfc_vport * vport) lpfc_vmid_res_alloc() argument
4689 lpfc_create_port(struct lpfc_hba * phba,int instance,struct device * dev) lpfc_create_port() argument
4879 struct lpfc_hba *phba = vport->phba; destroy_port() local
4930 struct lpfc_hba *phba = vport->phba; lpfc_scan_finished() local
4975 struct lpfc_hba *phba = vport->phba; lpfc_host_supported_speeds_set() local
5017 struct lpfc_hba *phba = vport->phba; lpfc_host_attrib_init() local
5061 lpfc_stop_port_s3(struct lpfc_hba * phba) lpfc_stop_port_s3() argument
5084 lpfc_stop_port_s4(struct lpfc_hba * phba) lpfc_stop_port_s4() argument
5101 lpfc_stop_port(struct lpfc_hba * phba) lpfc_stop_port() argument
5116 lpfc_fcf_redisc_wait_start_timer(struct lpfc_hba * phba) lpfc_fcf_redisc_wait_start_timer() argument
5143 struct lpfc_hba *phba = timer_container_of(phba, t, fcf.redisc_wait); lpfc_sli4_fcf_redisc_wait_tmo() local
5174 struct lpfc_hba *phba = timer_container_of(phba, t, lpfc_vmid_poll() local
5207 lpfc_sli4_parse_latt_fault(struct lpfc_hba * phba,struct lpfc_acqe_link * acqe_link) lpfc_sli4_parse_latt_fault() argument
5244 lpfc_sli4_parse_latt_type(struct lpfc_hba * phba,struct lpfc_acqe_link * acqe_link) lpfc_sli4_parse_latt_type() argument
5280 lpfc_sli_port_speed_get(struct lpfc_hba * phba) lpfc_sli_port_speed_get() argument
5332 lpfc_sli4_port_speed_parse(struct lpfc_hba * phba,uint32_t evt_code,uint8_t speed_code) lpfc_sli4_port_speed_parse() argument
5424 lpfc_sli4_async_link_evt(struct lpfc_hba * phba,struct lpfc_acqe_link * acqe_link) lpfc_sli4_async_link_evt() argument
5551 lpfc_async_link_speed_to_read_top(struct lpfc_hba * phba,uint8_t speed_code) lpfc_async_link_speed_to_read_top() argument
5592 lpfc_cgn_dump_rxmonitor(struct lpfc_hba * phba) lpfc_cgn_dump_rxmonitor() argument
5611 lpfc_cgn_update_stat(struct lpfc_hba * phba,uint32_t dtag) lpfc_cgn_update_stat() argument
5655 lpfc_cgn_update_tstamp(struct lpfc_hba * phba,struct lpfc_cgn_ts * ts) lpfc_cgn_update_tstamp() argument
5691 struct lpfc_hba *phba; lpfc_cmf_stats_timer() local
5924 lpfc_calc_cmf_latency(struct lpfc_hba * phba) lpfc_calc_cmf_latency() argument
5961 struct lpfc_hba *phba = container_of(timer, struct lpfc_hba, lpfc_cmf_timer() local
6137 lpfc_update_trunk_link_status(struct lpfc_hba * phba,struct lpfc_acqe_fc_la * acqe_fc) lpfc_update_trunk_link_status() argument
6228 lpfc_sli4_async_fc_evt(struct lpfc_hba * phba,struct lpfc_acqe_fc_la * acqe_fc) lpfc_sli4_async_fc_evt() argument
6412 lpfc_sli4_async_sli_evt(struct lpfc_hba * phba,struct lpfc_acqe_sli * acqe_sli) lpfc_sli4_async_sli_evt() argument
6676 struct lpfc_hba *phba; lpfc_sli4_perform_vport_cvl() local
6719 lpfc_sli4_perform_all_vport_cvl(struct lpfc_hba * phba) lpfc_sli4_perform_all_vport_cvl() argument
6739 lpfc_sli4_async_fip_evt(struct lpfc_hba * phba,struct lpfc_acqe_fip * acqe_fip) lpfc_sli4_async_fip_evt() argument
6986 lpfc_sli4_async_dcbx_evt(struct lpfc_hba * phba,struct lpfc_acqe_dcbx * acqe_dcbx) lpfc_sli4_async_dcbx_evt() argument
7005 lpfc_sli4_async_grp5_evt(struct lpfc_hba * phba,struct lpfc_acqe_grp5 * acqe_grp5) lpfc_sli4_async_grp5_evt() argument
7029 lpfc_sli4_async_cmstat_evt(struct lpfc_hba * phba) lpfc_sli4_async_cmstat_evt() argument
7045 lpfc_cgn_params_val(struct lpfc_hba * phba,struct lpfc_cgn_param * p_cfg_param) lpfc_cgn_params_val() argument
7080 lpfc_cgn_params_parse(struct lpfc_hba * phba,struct lpfc_cgn_param * p_cgn_param,uint32_t len) lpfc_cgn_params_parse() argument
7221 lpfc_sli4_cgn_params_read(struct lpfc_hba * phba) lpfc_sli4_cgn_params_read() argument
7282 lpfc_sli4_cgn_parm_chg_evt(struct lpfc_hba * phba) lpfc_sli4_cgn_parm_chg_evt() argument
7315 lpfc_sli4_async_event_proc(struct lpfc_hba * phba) lpfc_sli4_async_event_proc() argument
7377 lpfc_sli4_fcf_redisc_event_proc(struct lpfc_hba * phba) lpfc_sli4_fcf_redisc_event_proc() argument
7411 lpfc_api_table_setup(struct lpfc_hba * phba,uint8_t dev_grp) lpfc_api_table_setup() argument
7450 lpfc_log_intr_mode(struct lpfc_hba * phba,uint32_t intr_mode) lpfc_log_intr_mode() argument
7485 lpfc_enable_pci_dev(struct lpfc_hba * phba) lpfc_enable_pci_dev() argument
7527 lpfc_disable_pci_dev(struct lpfc_hba * phba) lpfc_disable_pci_dev() argument
7553 lpfc_reset_hba(struct lpfc_hba * phba) lpfc_reset_hba() argument
7599 lpfc_sli_sriov_nr_virtfn_get(struct lpfc_hba * phba) lpfc_sli_sriov_nr_virtfn_get() argument
7625 lpfc_sli_probe_sriov_nr_virtfn(struct lpfc_hba * phba,int nr_vfn) lpfc_sli_probe_sriov_nr_virtfn() argument
7655 struct lpfc_hba *phba = container_of(work, struct lpfc_hba, lpfc_unblock_requests_work() local
7673 lpfc_setup_driver_resource_phase1(struct lpfc_hba * phba) lpfc_setup_driver_resource_phase1() argument
7754 lpfc_sli_driver_resource_setup(struct lpfc_hba * phba) lpfc_sli_driver_resource_setup() argument
7899 lpfc_sli_driver_resource_unset(struct lpfc_hba * phba) lpfc_sli_driver_resource_unset() argument
7919 lpfc_sli4_driver_resource_setup(struct lpfc_hba * phba) lpfc_sli4_driver_resource_setup() argument
8478 lpfc_sli4_driver_resource_unset(struct lpfc_hba * phba) lpfc_sli4_driver_resource_unset() argument
8545 lpfc_init_api_table_setup(struct lpfc_hba * phba,uint8_t dev_grp) lpfc_init_api_table_setup() argument
8582 lpfc_setup_driver_resource_phase2(struct lpfc_hba * phba) lpfc_setup_driver_resource_phase2() argument
8606 lpfc_unset_driver_resource_phase2(struct lpfc_hba * phba) lpfc_unset_driver_resource_phase2() argument
8625 lpfc_free_iocb_list(struct lpfc_hba * phba) lpfc_free_iocb_list() argument
8654 lpfc_init_iocb_list(struct lpfc_hba * phba,int iocb_count) lpfc_init_iocb_list() argument
8703 lpfc_free_sgl_list(struct lpfc_hba * phba,struct list_head * sglq_list) lpfc_free_sgl_list() argument
8721 lpfc_free_els_sgl_list(struct lpfc_hba * phba) lpfc_free_els_sgl_list() argument
8741 lpfc_free_nvmet_sgl_list(struct lpfc_hba * phba) lpfc_free_nvmet_sgl_list() argument
8775 lpfc_init_active_sgl_array(struct lpfc_hba * phba) lpfc_init_active_sgl_array() argument
8797 lpfc_free_active_sgl(struct lpfc_hba * phba) lpfc_free_active_sgl() argument
8811 lpfc_init_sgl_list(struct lpfc_hba * phba) lpfc_init_sgl_list() argument
8841 lpfc_sli4_init_rpi_hdrs(struct lpfc_hba * phba) lpfc_sli4_init_rpi_hdrs() argument
8877 lpfc_sli4_create_rpi_hdr(struct lpfc_hba * phba) lpfc_sli4_create_rpi_hdr() argument
8966 lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba * phba) lpfc_sli4_remove_rpi_hdrs() argument
9001 struct lpfc_hba *phba; lpfc_hba_alloc() local
9035 lpfc_hba_free(struct lpfc_hba * phba) lpfc_hba_free() argument
9063 struct lpfc_hba *phba = vport->phba; lpfc_setup_fdmi_mask() local
9093 lpfc_create_shost(struct lpfc_hba * phba) lpfc_create_shost() argument
9141 lpfc_destroy_shost(struct lpfc_hba * phba) lpfc_destroy_shost() argument
9160 lpfc_setup_bg(struct lpfc_hba * phba,struct Scsi_Host * shost) lpfc_setup_bg() argument
9211 lpfc_post_init_setup(struct lpfc_hba * phba) lpfc_post_init_setup() argument
9258 lpfc_sli_pci_mem_setup(struct lpfc_hba * phba) lpfc_sli_pci_mem_setup() argument
9362 lpfc_sli_pci_mem_unset(struct lpfc_hba * phba) lpfc_sli_pci_mem_unset() argument
9395 lpfc_sli4_post_status_check(struct lpfc_hba * phba) lpfc_sli4_post_status_check() argument
9540 lpfc_sli4_bar0_register_memmap(struct lpfc_hba * phba,uint32_t if_type) lpfc_sli4_bar0_register_memmap() argument
9629 lpfc_sli4_bar1_register_memmap(struct lpfc_hba * phba,uint32_t if_type) lpfc_sli4_bar1_register_memmap() argument
9676 lpfc_sli4_bar2_register_memmap(struct lpfc_hba * phba,uint32_t vf) lpfc_sli4_bar2_register_memmap() argument
9714 lpfc_create_bootstrap_mbox(struct lpfc_hba * phba) lpfc_create_bootstrap_mbox() argument
9785 lpfc_destroy_bootstrap_mbox(struct lpfc_hba * phba) lpfc_destroy_bootstrap_mbox() argument
9820 lpfc_map_topology(struct lpfc_hba * phba,struct lpfc_mbx_read_config * rd_config) lpfc_map_topology() argument
9888 lpfc_sli4_read_config(struct lpfc_hba * phba) lpfc_sli4_read_config() argument
10261 lpfc_setup_endian_order(struct lpfc_hba * phba) lpfc_setup_endian_order() argument
10320 lpfc_sli4_queue_verify(struct lpfc_hba * phba) lpfc_sli4_queue_verify() argument
10350 lpfc_alloc_io_wq_cq(struct lpfc_hba * phba,int idx) lpfc_alloc_io_wq_cq() argument
10420 lpfc_sli4_queue_create(struct lpfc_hba * phba) lpfc_sli4_queue_create() argument
10813 lpfc_sli4_release_hdwq(struct lpfc_hba * phba) lpfc_sli4_release_hdwq() argument
10855 lpfc_sli4_queue_destroy(struct lpfc_hba * phba) lpfc_sli4_queue_destroy() argument
10919 lpfc_free_rq_buffer(struct lpfc_hba * phba,struct lpfc_queue * rq) lpfc_free_rq_buffer() argument
10938 lpfc_create_wq_cq(struct lpfc_hba * phba,struct lpfc_queue * eq,struct lpfc_queue * cq,struct lpfc_queue * wq,uint16_t * cq_map,int qidx,uint32_t qtype) lpfc_create_wq_cq() argument
11016 lpfc_setup_cq_lookup(struct lpfc_hba * phba) lpfc_setup_cq_lookup() argument
11053 lpfc_sli4_queue_setup(struct lpfc_hba * phba) lpfc_sli4_queue_setup() argument
11410 lpfc_sli4_queue_unset(struct lpfc_hba * phba) lpfc_sli4_queue_unset() argument
11502 lpfc_sli4_cq_event_pool_create(struct lpfc_hba * phba) lpfc_sli4_cq_event_pool_create() argument
11532 lpfc_sli4_cq_event_pool_destroy(struct lpfc_hba * phba) lpfc_sli4_cq_event_pool_destroy() argument
11554 __lpfc_sli4_cq_event_alloc(struct lpfc_hba * phba) __lpfc_sli4_cq_event_alloc() argument
11574 lpfc_sli4_cq_event_alloc(struct lpfc_hba * phba) lpfc_sli4_cq_event_alloc() argument
11594 __lpfc_sli4_cq_event_release(struct lpfc_hba * phba,struct lpfc_cq_event * cq_event) __lpfc_sli4_cq_event_release() argument
11609 lpfc_sli4_cq_event_release(struct lpfc_hba * phba,struct lpfc_cq_event * cq_event) lpfc_sli4_cq_event_release() argument
11626 lpfc_sli4_cq_event_release_all(struct lpfc_hba * phba) lpfc_sli4_cq_event_release_all() argument
11666 lpfc_pci_function_reset(struct lpfc_hba * phba) lpfc_pci_function_reset() argument
11800 lpfc_sli4_pci_mem_setup(struct lpfc_hba * phba) lpfc_sli4_pci_mem_setup() argument
12026 lpfc_sli4_pci_mem_unset(struct lpfc_hba * phba) lpfc_sli4_pci_mem_unset() argument
12070 lpfc_sli_enable_msix(struct lpfc_hba * phba) lpfc_sli_enable_msix() argument
12174 lpfc_sli_enable_msi(struct lpfc_hba * phba) lpfc_sli_enable_msi() argument
12216 lpfc_sli_enable_intr(struct lpfc_hba * phba,uint32_t cfg_mode) lpfc_sli_enable_intr() argument
12270 lpfc_sli_disable_intr(struct lpfc_hba * phba) lpfc_sli_disable_intr() argument
12297 lpfc_find_cpu_handle(struct lpfc_hba * phba,uint16_t id,int match) lpfc_find_cpu_handle() argument
12331 lpfc_find_hyper(struct lpfc_hba * phba,int cpu,uint16_t phys_id,uint16_t core_id) lpfc_find_hyper() argument
12359 lpfc_assign_eq_map_info(struct lpfc_hba * phba,uint16_t eqidx,uint16_t flag,unsigned int cpu) lpfc_assign_eq_map_info() argument
12380 lpfc_cpu_map_array_init(struct lpfc_hba * phba) lpfc_cpu_map_array_init() argument
12406 lpfc_hba_eq_hdl_array_init(struct lpfc_hba * phba) lpfc_hba_eq_hdl_array_init() argument
12429 lpfc_cpu_affinity_check(struct lpfc_hba * phba,int vectors) lpfc_cpu_affinity_check() argument
12703 lpfc_cpuhp_get_eq(struct lpfc_hba * phba,unsigned int cpu,struct list_head * eqlist) lpfc_cpuhp_get_eq() argument
12748 __lpfc_cpuhp_remove(struct lpfc_hba * phba) __lpfc_cpuhp_remove() argument
12763 lpfc_cpuhp_remove(struct lpfc_hba * phba) lpfc_cpuhp_remove() argument
12772 lpfc_cpuhp_add(struct lpfc_hba * phba) lpfc_cpuhp_add() argument
12789 __lpfc_cpuhp_checks(struct lpfc_hba * phba,int * retval) __lpfc_cpuhp_checks() argument
12849 lpfc_irq_rebalance(struct lpfc_hba * phba,unsigned int cpu,bool offline) lpfc_irq_rebalance() argument
12900 struct lpfc_hba *phba = hlist_entry_safe(node, struct lpfc_hba, cpuhp); lpfc_cpu_offline() local
12930 struct lpfc_hba *phba = hlist_entry_safe(node, struct lpfc_hba, cpuhp); lpfc_cpu_online() local
12983 lpfc_sli4_enable_msix(struct lpfc_hba * phba) lpfc_sli4_enable_msix() argument
13143 lpfc_sli4_enable_msi(struct lpfc_hba * phba) lpfc_sli4_enable_msi() argument
13209 lpfc_sli4_enable_intr(struct lpfc_hba * phba,uint32_t cfg_mode) lpfc_sli4_enable_intr() argument
13283 lpfc_sli4_disable_intr(struct lpfc_hba * phba) lpfc_sli4_disable_intr() argument
13315 lpfc_unset_hba(struct lpfc_hba * phba) lpfc_unset_hba() argument
13349 lpfc_sli4_xri_exchange_busy_wait(struct lpfc_hba * phba) lpfc_sli4_xri_exchange_busy_wait() argument
13439 lpfc_sli4_hba_unset(struct lpfc_hba * phba) lpfc_sli4_hba_unset() argument
13530 lpfc_init_congestion_buf(struct lpfc_hba * phba) lpfc_init_congestion_buf() argument
13583 lpfc_init_congestion_stat(struct lpfc_hba * phba) lpfc_init_congestion_stat() argument
13608 __lpfc_reg_congestion_buf(struct lpfc_hba * phba,int reg) __lpfc_reg_congestion_buf() argument
13664 lpfc_unreg_congestion_buf(struct lpfc_hba * phba) lpfc_unreg_congestion_buf() argument
13671 lpfc_reg_congestion_buf(struct lpfc_hba * phba) lpfc_reg_congestion_buf() argument
13689 lpfc_get_sli4_parameters(struct lpfc_hba * phba,LPFC_MBOXQ_t * mboxq) lpfc_get_sli4_parameters() argument
13895 struct lpfc_hba *phba; lpfc_pci_probe_one_s3() local
14058 struct lpfc_hba *phba = vport->phba; lpfc_pci_remove_one_s3() local
14164 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_pci_suspend_one_s3() local
14203 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_pci_resume_one_s3() local
14252 lpfc_sli_prep_dev_for_recover(struct lpfc_hba * phba) lpfc_sli_prep_dev_for_recover() argument
14273 lpfc_sli_prep_dev_for_reset(struct lpfc_hba * phba) lpfc_sli_prep_dev_for_reset() argument
14304 lpfc_sli_prep_dev_for_perm_failure(struct lpfc_hba * phba) lpfc_sli_prep_dev_for_perm_failure() argument
14341 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_error_detected_s3() local
14387 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_slot_reset_s3() local
14442 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_resume_s3() local
14455 lpfc_sli4_get_els_iocb_cnt(struct lpfc_hba * phba) lpfc_sli4_get_els_iocb_cnt() argument
14485 lpfc_sli4_get_iocb_cnt(struct lpfc_hba * phba) lpfc_sli4_get_iocb_cnt() argument
14496 lpfc_log_write_firmware_error(struct lpfc_hba * phba,uint32_t offset,uint32_t magic_number,uint32_t ftype,uint32_t fid,uint32_t fsize,const struct firmware * fw) lpfc_log_write_firmware_error() argument
14562 struct lpfc_hba *phba = (struct lpfc_hba *)context; lpfc_write_firmware() local
14666 lpfc_sli4_request_firmware_update(struct lpfc_hba * phba,uint8_t fw_upgrade) lpfc_sli4_request_firmware_update() argument
14716 struct lpfc_hba *phba; lpfc_pci_probe_one_s4() local
14902 struct lpfc_hba *phba = vport->phba; lpfc_pci_remove_one_s4() local
14996 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_pci_suspend_one_s4() local
15036 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_pci_resume_one_s4() local
15081 lpfc_sli4_prep_dev_for_recover(struct lpfc_hba * phba) lpfc_sli4_prep_dev_for_recover() argument
15101 lpfc_sli4_prep_dev_for_reset(struct lpfc_hba * phba) lpfc_sli4_prep_dev_for_reset() argument
15137 lpfc_sli4_prep_dev_for_perm_failure(struct lpfc_hba * phba) lpfc_sli4_prep_dev_for_perm_failure() argument
15172 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_error_detected_s4() local
15229 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_slot_reset_s4() local
15293 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_resume_s4() local
15359 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_pci_remove_one() local
15394 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_pci_suspend_one() local
15430 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_pci_resume_one() local
15468 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_error_detected() local
15509 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_slot_reset() local
15542 struct lpfc_hba *phba = ((struct lpfc_vport *)shost->hostdata)->phba; lpfc_io_resume() local
15571 lpfc_sli4_oas_verify(struct lpfc_hba * phba) lpfc_sli4_oas_verify() argument
15596 lpfc_sli4_ras_init(struct lpfc_hba * phba) lpfc_sli4_ras_init() argument
15717 lpfc_dmp_dbg(struct lpfc_hba * phba) lpfc_dmp_dbg() argument
15768 lpfc_dbg_print(struct lpfc_hba * phba,const char * fmt,...) lpfc_dbg_print() argument
[all...]
H A Dlpfc_mem.c60 lpfc_mem_free_sli_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mem_free_sli_mbox() argument
66 if (phba->sli_rev == LPFC_SLI_REV4 && in lpfc_mem_free_sli_mbox()
68 lpfc_sli4_mbox_cmd_free(phba, mbox); in lpfc_mem_free_sli_mbox()
70 lpfc_mbox_rsrc_cleanup(phba, mbox, MBOX_THD_UNLOCKED); in lpfc_mem_free_sli_mbox()
75 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4() argument
77 int max_xri = phba->sli4_hba.max_cfg_param.max_xri; in lpfc_mem_alloc_active_rrq_pool_s4()
83 phba->cfg_rrq_xri_bitmap_sz = bytes; in lpfc_mem_alloc_active_rrq_pool_s4()
84 phba->active_rrq_pool = mempool_create_kmalloc_pool(LPFC_MEM_POOL_SIZE, in lpfc_mem_alloc_active_rrq_pool_s4()
86 if (!phba->active_rrq_pool) in lpfc_mem_alloc_active_rrq_pool_s4()
109 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc() argument
[all …]
H A Dlpfc_sli.c76 lpfc_sli4_els_preprocess_rspiocbq(struct lpfc_hba *phba,
82 static bool lpfc_sli4_fp_handle_cqe(struct lpfc_hba *phba,
86 static void lpfc_sli4_hba_handle_eqe(struct lpfc_hba *phba,
90 static bool lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba);
91 static bool lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba *phba);
93 static void __lpfc_sli4_consume_cqe(struct lpfc_hba *phba,
96 static uint16_t lpfc_wqe_bpl2sgl(struct lpfc_hba *phba,
288 if (q->phba->sli3_options & LPFC_SLI4_PHWQ_ENABLED) in lpfc_sli4_wq_put()
291 if (q->dpp_enable && q->phba->cfg_enable_dpp) { in lpfc_sli4_wq_put()
315 if (q->dpp_enable && q->phba in lpfc_sli4_wq_put()
510 lpfc_sli4_write_eq_db(struct lpfc_hba * phba,struct lpfc_queue * q,uint32_t count,bool arm) lpfc_sli4_write_eq_db() argument
548 lpfc_sli4_if6_write_eq_db(struct lpfc_hba * phba,struct lpfc_queue * q,uint32_t count,bool arm) lpfc_sli4_if6_write_eq_db() argument
570 __lpfc_sli4_consume_eqe(struct lpfc_hba * phba,struct lpfc_queue * eq,struct lpfc_eqe * eqe) __lpfc_sli4_consume_eqe() argument
584 lpfc_sli4_eqcq_flush(struct lpfc_hba * phba,struct lpfc_queue * eq) lpfc_sli4_eqcq_flush() argument
628 lpfc_sli4_process_eq(struct lpfc_hba * phba,struct lpfc_queue * eq,u8 rearm,enum lpfc_poll_mode poll_mode) lpfc_sli4_process_eq() argument
705 __lpfc_sli4_consume_cqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_cqe * cqe) __lpfc_sli4_consume_cqe() argument
730 lpfc_sli4_write_cq_db(struct lpfc_hba * phba,struct lpfc_queue * q,uint32_t count,bool arm) lpfc_sli4_write_cq_db() argument
763 lpfc_sli4_if6_write_cq_db(struct lpfc_hba * phba,struct lpfc_queue * q,uint32_t count,bool arm) lpfc_sli4_if6_write_cq_db() argument
879 lpfc_cmd_iocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_cmd_iocb() argument
896 lpfc_resp_iocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_resp_iocb() argument
912 __lpfc_sli_get_iocbq(struct lpfc_hba * phba) __lpfc_sli_get_iocbq() argument
940 __lpfc_clear_active_sglq(struct lpfc_hba * phba,uint16_t xritag) __lpfc_clear_active_sglq() argument
962 __lpfc_get_active_sglq(struct lpfc_hba * phba,uint16_t xritag) __lpfc_get_active_sglq() argument
978 lpfc_clr_rrq_active(struct lpfc_hba * phba,uint16_t xritag,struct lpfc_node_rrq * rrq) lpfc_clr_rrq_active() argument
1015 lpfc_handle_rrq_active(struct lpfc_hba * phba) lpfc_handle_rrq_active() argument
1064 struct lpfc_hba *phba = vport->phba; lpfc_get_active_rrq() local
1096 struct lpfc_hba *phba = vport->phba; lpfc_cleanup_vports_rrqs() local
1136 lpfc_test_rrq_active(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,uint16_t xritag) lpfc_test_rrq_active() argument
1165 lpfc_set_rrq_active(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,uint16_t xritag,uint16_t rxid,uint16_t send_rrq) lpfc_set_rrq_active() argument
1242 __lpfc_sli_get_els_sglq(struct lpfc_hba * phba,struct lpfc_iocbq * piocbq) __lpfc_sli_get_els_sglq() argument
1312 __lpfc_sli_get_nvmet_sglq(struct lpfc_hba * phba,struct lpfc_iocbq * piocbq) __lpfc_sli_get_nvmet_sglq() argument
1339 lpfc_sli_get_iocbq(struct lpfc_hba * phba) lpfc_sli_get_iocbq() argument
1370 __lpfc_sli_release_iocbq_s4(struct lpfc_hba * phba,struct lpfc_iocbq * iocbq) __lpfc_sli_release_iocbq_s4() argument
1450 __lpfc_sli_release_iocbq_s3(struct lpfc_hba * phba,struct lpfc_iocbq * iocbq) __lpfc_sli_release_iocbq_s3() argument
1472 __lpfc_sli_release_iocbq(struct lpfc_hba * phba,struct lpfc_iocbq * iocbq) __lpfc_sli_release_iocbq() argument
1489 lpfc_sli_release_iocbq(struct lpfc_hba * phba,struct lpfc_iocbq * iocbq) lpfc_sli_release_iocbq() argument
1514 lpfc_sli_cancel_iocbs(struct lpfc_hba * phba,struct list_head * iocblist,uint32_t ulpstatus,uint32_t ulpWord4) lpfc_sli_cancel_iocbs() argument
1671 lpfc_sli_ring_map(struct lpfc_hba * phba) lpfc_sli_ring_map() argument
1716 lpfc_sli_ringtxcmpl_put(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * piocb) lpfc_sli_ringtxcmpl_put() argument
1751 lpfc_sli_ringtx_get(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_sli_ringtx_get() argument
1773 lpfc_cmf_sync_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmf_sync_cmpl() argument
1924 lpfc_issue_cmf_sync_wqe(struct lpfc_hba * phba,u32 ms,u64 total) lpfc_issue_cmf_sync_wqe() argument
2055 lpfc_sli_next_iocb_slot(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_sli_next_iocb_slot() argument
2112 lpfc_sli_next_iotag(struct lpfc_hba * phba,struct lpfc_iocbq * iocbq) lpfc_sli_next_iotag() argument
2189 lpfc_sli_submit_iocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,IOCB_t * iocb,struct lpfc_iocbq * nextiocb) lpfc_sli_submit_iocb() argument
2244 lpfc_sli_update_full_ring(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_sli_update_full_ring() argument
2272 lpfc_sli_update_ring(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_sli_update_ring() argument
2296 lpfc_sli_resume_iocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_sli_resume_iocb() argument
2340 lpfc_sli_next_hbq_slot(struct lpfc_hba * phba,uint32_t hbqno) lpfc_sli_next_hbq_slot() argument
2385 lpfc_sli_hbqbuf_free_all(struct lpfc_hba * phba) lpfc_sli_hbqbuf_free_all() argument
2423 lpfc_sli_hbq_to_firmware(struct lpfc_hba * phba,uint32_t hbqno,struct hbq_dmabuf * hbq_buf) lpfc_sli_hbq_to_firmware() argument
2442 lpfc_sli_hbq_to_firmware_s3(struct lpfc_hba * phba,uint32_t hbqno,struct hbq_dmabuf * hbq_buf) lpfc_sli_hbq_to_firmware_s3() argument
2482 lpfc_sli_hbq_to_firmware_s4(struct lpfc_hba * phba,uint32_t hbqno,struct hbq_dmabuf * hbq_buf) lpfc_sli_hbq_to_firmware_s4() argument
2537 lpfc_sli_hbqbuf_fill_hbqs(struct lpfc_hba * phba,uint32_t hbqno,uint32_t count) lpfc_sli_hbqbuf_fill_hbqs() argument
2596 lpfc_sli_hbqbuf_add_hbqs(struct lpfc_hba * phba,uint32_t qno) lpfc_sli_hbqbuf_add_hbqs() argument
2615 lpfc_sli_hbqbuf_init_hbqs(struct lpfc_hba * phba,uint32_t qno) lpfc_sli_hbqbuf_init_hbqs() argument
2651 lpfc_sli_rqbuf_get(struct lpfc_hba * phba,struct lpfc_queue * hrq) lpfc_sli_rqbuf_get() argument
2675 lpfc_sli_hbqbuf_find(struct lpfc_hba * phba,uint32_t tag) lpfc_sli_hbqbuf_find() argument
2710 lpfc_sli_free_hbq(struct lpfc_hba * phba,struct hbq_dmabuf * hbq_buffer) lpfc_sli_free_hbq() argument
2822 lpfc_sli_wake_mbox_wait(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmboxq) lpfc_sli_wake_mbox_wait() argument
2851 lpfc_sli_def_mbox_cmpl(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmb) lpfc_sli_def_mbox_cmpl() argument
2964 lpfc_sli4_unreg_rpi_cmpl_clr(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmb) lpfc_sli4_unreg_rpi_cmpl_clr() argument
3037 lpfc_sli_handle_mb_event(struct lpfc_hba * phba) lpfc_sli_handle_mb_event() argument
3170 lpfc_sli_get_buff(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,uint32_t tag) lpfc_sli_get_buff() argument
3196 lpfc_nvme_unsol_ls_handler(struct lpfc_hba * phba,struct lpfc_iocbq * piocb) lpfc_nvme_unsol_ls_handler() argument
3335 lpfc_complete_unsol_iocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * saveq,uint32_t fch_r_ctl,uint32_t fch_type) lpfc_complete_unsol_iocb() argument
3371 lpfc_sli_prep_unsol_wqe(struct lpfc_hba * phba,struct lpfc_iocbq * saveq) lpfc_sli_prep_unsol_wqe() argument
3435 lpfc_sli_process_unsol_iocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * saveq) lpfc_sli_process_unsol_iocb() argument
3638 lpfc_sli_iocbq_lookup(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * prspiocb) lpfc_sli_iocbq_lookup() argument
3681 lpfc_sli_iocbq_lookup_by_tag(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,uint16_t iotag) lpfc_sli_iocbq_lookup_by_tag() argument
3723 lpfc_sli_process_sol_iocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * saveq) lpfc_sli_process_sol_iocb() argument
3880 lpfc_sli_rsp_pointers_error(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_sli_rsp_pointers_error() argument
3919 struct lpfc_hba *phba; lpfc_poll_eratt() local
3987 lpfc_sli_handle_fast_ring_event(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,uint32_t mask) lpfc_sli_handle_fast_ring_event() argument
4184 lpfc_sli_sp_handle_rspiocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * rspiocbp) lpfc_sli_sp_handle_rspiocb() argument
4355 lpfc_sli_handle_slow_ring_event(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,uint32_t mask) lpfc_sli_handle_slow_ring_event() argument
4373 lpfc_sli_handle_slow_ring_event_s3(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,uint32_t mask) lpfc_sli_handle_slow_ring_event_s3() argument
4509 lpfc_sli_handle_slow_ring_event_s4(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,uint32_t mask) lpfc_sli_handle_slow_ring_event_s4() argument
4566 lpfc_sli_abort_iocb_ring(struct lpfc_hba * phba,struct lpfc_sli_ring * pring) lpfc_sli_abort_iocb_ring() argument
4619 lpfc_sli_abort_fcp_rings(struct lpfc_hba * phba) lpfc_sli_abort_fcp_rings() argument
4648 lpfc_sli_flush_io_rings(struct lpfc_hba * phba) lpfc_sli_flush_io_rings() argument
4737 lpfc_sli_brdready_s3(struct lpfc_hba * phba,uint32_t mask) lpfc_sli_brdready_s3() argument
4805 lpfc_sli_brdready_s4(struct lpfc_hba * phba,uint32_t mask) lpfc_sli_brdready_s4() argument
4839 lpfc_sli_brdready(struct lpfc_hba * phba,uint32_t mask) lpfc_sli_brdready() argument
4853 lpfc_reset_barrier(struct lpfc_hba * phba) lpfc_reset_barrier() argument
4963 lpfc_sli_brdkill(struct lpfc_hba * phba) lpfc_sli_brdkill() argument
5060 lpfc_sli_brdreset(struct lpfc_hba * phba) lpfc_sli_brdreset() argument
5130 lpfc_sli4_brdreset(struct lpfc_hba * phba) lpfc_sli4_brdreset() argument
5190 lpfc_sli_brdrestart_s3(struct lpfc_hba * phba) lpfc_sli_brdrestart_s3() argument
5253 lpfc_sli_brdrestart_s4(struct lpfc_hba * phba) lpfc_sli_brdrestart_s4() argument
5298 lpfc_sli_brdrestart(struct lpfc_hba * phba) lpfc_sli_brdrestart() argument
5314 lpfc_sli_chipset_init(struct lpfc_hba * phba) lpfc_sli_chipset_init() argument
5458 lpfc_sli_hbq_setup(struct lpfc_hba * phba) lpfc_sli_hbq_setup() argument
5527 lpfc_sli4_rb_setup(struct lpfc_hba * phba) lpfc_sli4_rb_setup() argument
5561 lpfc_sli_config_port(struct lpfc_hba * phba,int sli_mode) lpfc_sli_config_port() argument
5688 lpfc_sli_hba_setup(struct lpfc_hba * phba) lpfc_sli_hba_setup() argument
5782 lpfc_sli4_read_fcoe_params(struct lpfc_hba * phba) lpfc_sli4_read_fcoe_params() argument
5864 lpfc_sli4_read_rev(struct lpfc_hba * phba,LPFC_MBOXQ_t * mboxq,uint8_t * vpd,uint32_t * vpd_size) lpfc_sli4_read_rev() argument
5937 lpfc_sli4_get_ctl_attr(struct lpfc_hba * phba) lpfc_sli4_get_ctl_attr() argument
6024 lpfc_sli4_retrieve_pport_name(struct lpfc_hba * phba) lpfc_sli4_retrieve_pport_name() argument
6128 lpfc_sli4_arm_cqeq_intr(struct lpfc_hba * phba) lpfc_sli4_arm_cqeq_intr() argument
6181 lpfc_sli4_get_avail_extnt_rsrc(struct lpfc_hba * phba,uint16_t type,uint16_t * extnt_count,uint16_t * extnt_size) lpfc_sli4_get_avail_extnt_rsrc() argument
6267 lpfc_sli4_chk_avail_extnt_rsrc(struct lpfc_hba * phba,uint16_t type) lpfc_sli4_chk_avail_extnt_rsrc() argument
6330 lpfc_sli4_cfg_post_extnts(struct lpfc_hba * phba,uint16_t extnt_cnt,uint16_t type,bool * emb,LPFC_MBOXQ_t * mbox) lpfc_sli4_cfg_post_extnts() argument
6395 lpfc_sli4_alloc_extent(struct lpfc_hba * phba,uint16_t type) lpfc_sli4_alloc_extent() argument
6627 lpfc_sli4_dealloc_extent(struct lpfc_hba * phba,uint16_t type) lpfc_sli4_dealloc_extent() argument
6736 lpfc_set_features(struct lpfc_hba * phba,LPFC_MBOXQ_t * mbox,uint32_t feature) lpfc_set_features() argument
6832 lpfc_ras_stop_fwlog(struct lpfc_hba * phba) lpfc_ras_stop_fwlog() argument
6856 lpfc_sli4_ras_dma_free(struct lpfc_hba * phba) lpfc_sli4_ras_dma_free() argument
6898 lpfc_sli4_ras_dma_alloc(struct lpfc_hba * phba,uint32_t fwlog_buff_count) lpfc_sli4_ras_dma_alloc() argument
6959 lpfc_sli4_ras_mbox_cmpl(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmb) lpfc_sli4_ras_mbox_cmpl() argument
7007 lpfc_sli4_ras_fwlog_init(struct lpfc_hba * phba,uint32_t fwlog_level,uint32_t fwlog_enable) lpfc_sli4_ras_fwlog_init() argument
7113 lpfc_sli4_ras_setup(struct lpfc_hba * phba) lpfc_sli4_ras_setup() argument
7130 lpfc_sli4_alloc_resource_identifiers(struct lpfc_hba * phba) lpfc_sli4_alloc_resource_identifiers() argument
7377 lpfc_sli4_dealloc_resource_identifiers(struct lpfc_hba * phba) lpfc_sli4_dealloc_resource_identifiers() argument
7411 lpfc_sli4_get_allocated_extnts(struct lpfc_hba * phba,uint16_t type,uint16_t * extnt_cnt,uint16_t * extnt_size) lpfc_sli4_get_allocated_extnts() argument
7562 lpfc_sli4_repost_sgl_list(struct lpfc_hba * phba,struct list_head * sgl_list,int cnt) lpfc_sli4_repost_sgl_list() argument
7709 lpfc_sli4_repost_io_sgl_list(struct lpfc_hba * phba) lpfc_sli4_repost_io_sgl_list() argument
7729 lpfc_set_host_data(struct lpfc_hba * phba,LPFC_MBOXQ_t * mbox) lpfc_set_host_data() argument
7749 lpfc_post_rq_buffer(struct lpfc_hba * phba,struct lpfc_queue * hrq,struct lpfc_queue * drq,int count,int idx) lpfc_post_rq_buffer() argument
7811 lpfc_mbx_cmpl_read_lds_params(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmb) lpfc_mbx_cmpl_read_lds_params() argument
7846 lpfc_read_lds_params(struct lpfc_hba * phba) lpfc_read_lds_params() argument
7867 lpfc_mbx_cmpl_cgn_set_ftrs(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmb) lpfc_mbx_cmpl_cgn_set_ftrs() argument
7915 lpfc_config_cgn_signal(struct lpfc_hba * phba) lpfc_config_cgn_signal() argument
7959 lpfc_init_idle_stat_hb(struct lpfc_hba * phba) lpfc_init_idle_stat_hb() argument
7993 lpfc_sli4_dip(struct lpfc_hba * phba) lpfc_sli4_dip() argument
8100 lpfc_rx_monitor_report(struct lpfc_hba * phba,struct lpfc_rx_info_monitor * rx_monitor,char * buf,u32 buf_len,u32 max_read_entries) lpfc_rx_monitor_report() argument
8190 lpfc_cmf_setup(struct lpfc_hba * phba) lpfc_cmf_setup() argument
8383 lpfc_set_host_tm(struct lpfc_hba * phba) lpfc_set_host_tm() argument
8436 lpfc_get_platform_uuid(struct lpfc_hba * phba) lpfc_get_platform_uuid() argument
8501 lpfc_sli4_hba_setup(struct lpfc_hba * phba) lpfc_sli4_hba_setup() argument
9165 struct lpfc_hba *phba = timer_container_of(phba, t, sli.mbox_tmo); lpfc_mbox_timeout() local
9189 lpfc_sli4_mbox_completions_pending(struct lpfc_hba * phba) lpfc_sli4_mbox_completions_pending() argument
9238 lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba * phba) lpfc_sli4_process_missed_mbox_completions() argument
9298 lpfc_mbox_timeout_handler(struct lpfc_hba * phba) lpfc_mbox_timeout_handler() argument
9384 lpfc_sli_issue_mbox_s3(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmbox,uint32_t flag) lpfc_sli_issue_mbox_s3() argument
9787 lpfc_sli4_async_mbox_block(struct lpfc_hba * phba) lpfc_sli4_async_mbox_block() argument
9868 lpfc_sli4_async_mbox_unblock(struct lpfc_hba * phba) lpfc_sli4_async_mbox_unblock() argument
9904 lpfc_sli4_wait_bmbx_ready(struct lpfc_hba * phba,LPFC_MBOXQ_t * mboxq) lpfc_sli4_wait_bmbx_ready() argument
9959 lpfc_sli4_post_sync_mbox(struct lpfc_hba * phba,LPFC_MBOXQ_t * mboxq) lpfc_sli4_post_sync_mbox() argument
10086 lpfc_sli_issue_mbox_s4(struct lpfc_hba * phba,LPFC_MBOXQ_t * mboxq,uint32_t flag) lpfc_sli_issue_mbox_s4() argument
10219 lpfc_sli4_post_async_mbox(struct lpfc_hba * phba) lpfc_sli4_post_async_mbox() argument
10345 lpfc_sli_issue_mbox(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmbox,uint32_t flag) lpfc_sli_issue_mbox() argument
10360 lpfc_mbox_api_table_setup(struct lpfc_hba * phba,uint8_t dev_grp) lpfc_mbox_api_table_setup() argument
10401 __lpfc_sli_ringtx_put(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * piocb) __lpfc_sli_ringtx_put() argument
10430 lpfc_sli_next_iocb(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq ** piocb) lpfc_sli_next_iocb() argument
10469 __lpfc_sli_issue_iocb_s3(struct lpfc_hba * phba,uint32_t ring_number,struct lpfc_iocbq * piocb,uint32_t flag) __lpfc_sli_issue_iocb_s3() argument
10584 __lpfc_sli_issue_fcp_io_s3(struct lpfc_hba * phba,uint32_t ring_number,struct lpfc_iocbq * piocb,uint32_t flag) __lpfc_sli_issue_fcp_io_s3() argument
10612 __lpfc_sli_issue_fcp_io_s4(struct lpfc_hba * phba,uint32_t ring_number,struct lpfc_iocbq * piocb,uint32_t flag) __lpfc_sli_issue_fcp_io_s4() argument
10622 lpfc_prep_embed_io(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_prep_embed_io() argument
10692 __lpfc_sli_issue_iocb_s4(struct lpfc_hba * phba,uint32_t ring_number,struct lpfc_iocbq * piocb,uint32_t flag) __lpfc_sli_issue_iocb_s4() argument
10789 lpfc_sli_issue_fcp_io(struct lpfc_hba * phba,uint32_t ring_number,struct lpfc_iocbq * piocb,uint32_t flag) lpfc_sli_issue_fcp_io() argument
10807 __lpfc_sli_issue_iocb(struct lpfc_hba * phba,uint32_t ring_number,struct lpfc_iocbq * piocb,uint32_t flag) __lpfc_sli_issue_iocb() argument
10819 struct lpfc_hba *phba = vport->phba; __lpfc_sli_prep_els_req_rsp_s3() local
10868 struct lpfc_hba *phba = vport->phba; __lpfc_sli_prep_els_req_rsp_s4() local
10954 lpfc_sli_prep_els_req_rsp(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocbq,struct lpfc_vport * vport,struct lpfc_dmabuf * bmp,u16 cmd_size,u32 did,u32 elscmd,u8 tmo,u8 expect_rsp) lpfc_sli_prep_els_req_rsp() argument
11045 lpfc_sli_prep_gen_req(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocbq,struct lpfc_dmabuf * bmp,u16 rpi,u32 num_entry,u8 tmo) lpfc_sli_prep_gen_req() argument
11143 lpfc_sli_prep_xmit_seq64(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocbq,struct lpfc_dmabuf * bmp,u16 rpi,u16 ox_id,u32 num_entry,u8 rctl,u8 last_seq,u8 cr_cx_cmd) lpfc_sli_prep_xmit_seq64() argument
11218 lpfc_sli_prep_abort_xri(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocbq,u16 ulp_context,u16 iotag,u8 ulp_class,u16 cqid,bool ia,bool wqec) lpfc_sli_prep_abort_xri() argument
11236 lpfc_sli_api_table_setup(struct lpfc_hba * phba,uint8_t dev_grp) lpfc_sli_api_table_setup() argument
11278 lpfc_sli4_calc_ring(struct lpfc_hba * phba,struct lpfc_iocbq * piocb) lpfc_sli4_calc_ring() argument
11304 struct lpfc_hba *phba = eq->phba; lpfc_sli4_poll_eq() local
11341 lpfc_sli_issue_iocb(struct lpfc_hba * phba,uint32_t ring_number,struct lpfc_iocbq * piocb,uint32_t flag) lpfc_sli_issue_iocb() argument
11388 lpfc_extra_ring_setup(struct lpfc_hba * phba) lpfc_extra_ring_setup() argument
11423 lpfc_sli_post_recovery_event(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp) lpfc_sli_post_recovery_event() argument
11461 lpfc_sli_abts_err_handler(struct lpfc_hba * phba,struct lpfc_iocbq * iocbq) lpfc_sli_abts_err_handler() argument
11507 lpfc_sli4_abts_err_handler(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,struct sli4_wcqe_xri_aborted * axri) lpfc_sli4_abts_err_handler() argument
11553 lpfc_sli_async_event_handler(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * iocbq) lpfc_sli_async_event_handler() argument
11625 lpfc_sli4_setup(struct lpfc_hba * phba) lpfc_sli4_setup() argument
11670 lpfc_sli_setup(struct lpfc_hba * phba) lpfc_sli_setup() argument
11794 lpfc_sli4_queue_init(struct lpfc_hba * phba) lpfc_sli4_queue_init() argument
11850 lpfc_sli_queue_init(struct lpfc_hba * phba) lpfc_sli_queue_init() argument
11894 lpfc_sli_mbox_sys_flush(struct lpfc_hba * phba) lpfc_sli_mbox_sys_flush() argument
11952 struct lpfc_hba *phba = vport->phba; lpfc_sli_host_down() local
12051 lpfc_sli_hba_down(struct lpfc_hba * phba) lpfc_sli_hba_down() argument
12203 lpfc_sli_ringpostbuf_put(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_dmabuf * mp) lpfc_sli_ringpostbuf_put() argument
12227 lpfc_sli_get_buffer_tag(struct lpfc_hba * phba) lpfc_sli_get_buffer_tag() argument
12256 lpfc_sli_ring_taggedbuf_get(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,uint32_t tag) lpfc_sli_ring_taggedbuf_get() argument
12300 lpfc_sli_ringpostbuf_get(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,dma_addr_t phys) lpfc_sli_ringpostbuf_get() argument
12338 lpfc_sli_abort_els_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_sli_abort_els_cmpl() argument
12384 lpfc_ignore_els_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_ignore_els_cmpl() argument
12447 lpfc_sli_issue_abort_iotag(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * cmdiocb,void * cmpl) lpfc_sli_issue_abort_iotag() argument
12577 lpfc_sli_hba_iocb_abort(struct lpfc_hba * phba) lpfc_sli_hba_iocb_abort() argument
12721 struct lpfc_hba *phba = vport->phba; lpfc_sli_sum_iocb() local
12766 lpfc_sli_abort_fcp_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_sli_abort_fcp_cmpl() argument
12813 struct lpfc_hba *phba = vport->phba; lpfc_sli_abort_iocb() local
12880 struct lpfc_hba *phba = vport->phba; lpfc_sli_abort_taskmgmt() local
13032 lpfc_sli_wake_iocb_wait(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocbq,struct lpfc_iocbq * rspiocbq) lpfc_sli_wake_iocb_wait() argument
13097 lpfc_chk_iocb_flg(struct lpfc_hba * phba,struct lpfc_iocbq * piocbq,uint32_t flag) lpfc_chk_iocb_flg() argument
13147 lpfc_sli_issue_iocb_wait(struct lpfc_hba * phba,uint32_t ring_number,struct lpfc_iocbq * piocb,struct lpfc_iocbq * prspiocbq,uint32_t timeout) lpfc_sli_issue_iocb_wait() argument
13295 lpfc_sli_issue_mbox_wait(struct lpfc_hba * phba,LPFC_MBOXQ_t * pmboxq,uint32_t timeout) lpfc_sli_issue_mbox_wait() argument
13348 lpfc_sli_mbox_sys_shutdown(struct lpfc_hba * phba,int mbx_action) lpfc_sli_mbox_sys_shutdown() argument
13410 lpfc_sli_eratt_read(struct lpfc_hba * phba) lpfc_sli_eratt_read() argument
13463 lpfc_sli4_eratt_read(struct lpfc_hba * phba) lpfc_sli4_eratt_read() argument
13560 lpfc_sli_check_eratt(struct lpfc_hba * phba) lpfc_sli_check_eratt() argument
13622 lpfc_intr_state_check(struct lpfc_hba * phba) lpfc_intr_state_check() argument
13662 struct lpfc_hba *phba; lpfc_sli_sp_intr_handler() local
13972 struct lpfc_hba *phba; lpfc_sli_fp_intr_handler() local
14061 struct lpfc_hba *phba; lpfc_sli_intr_handler() local
14162 lpfc_sli4_els_xri_abort_event_proc(struct lpfc_hba * phba) lpfc_sli4_els_xri_abort_event_proc() argument
14201 lpfc_sli4_els_preprocess_rspiocbq(struct lpfc_hba * phba,struct lpfc_iocbq * irspiocbq) lpfc_sli4_els_preprocess_rspiocbq() argument
14247 lpfc_cq_event_setup(struct lpfc_hba * phba,void * entry,int size) lpfc_cq_event_setup() argument
14275 lpfc_sli4_sp_handle_async_event(struct lpfc_hba * phba,struct lpfc_mcqe * mcqe) lpfc_sli4_sp_handle_async_event() argument
14310 lpfc_sli4_sp_handle_mbox_event(struct lpfc_hba * phba,struct lpfc_mcqe * mcqe) lpfc_sli4_sp_handle_mbox_event() argument
14464 lpfc_sli4_sp_handle_mcqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_cqe * cqe) lpfc_sli4_sp_handle_mcqe() argument
14494 lpfc_sli4_sp_handle_els_wcqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_wcqe_complete * wcqe) lpfc_sli4_sp_handle_els_wcqe() argument
14549 lpfc_sli4_sp_handle_rel_wcqe(struct lpfc_hba * phba,struct lpfc_wcqe_release * wcqe) lpfc_sli4_sp_handle_rel_wcqe() argument
14578 lpfc_sli4_sp_handle_abort_xri_wcqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct sli4_wcqe_xri_aborted * wcqe) lpfc_sli4_sp_handle_abort_xri_wcqe() argument
14638 lpfc_sli4_sp_handle_rcqe(struct lpfc_hba * phba,struct lpfc_rcqe * rcqe) lpfc_sli4_sp_handle_rcqe() argument
14781 lpfc_sli4_sp_handle_cqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_cqe * cqe) lpfc_sli4_sp_handle_cqe() argument
14840 lpfc_sli4_sp_handle_eqe(struct lpfc_hba * phba,struct lpfc_eqe * eqe,struct lpfc_queue * speq) lpfc_sli4_sp_handle_eqe() argument
14900 __lpfc_sli4_process_cq(struct lpfc_hba * phba,struct lpfc_queue * cq,bool (* handler)(struct lpfc_hba *,struct lpfc_queue *,struct lpfc_cqe *),unsigned long * delay) __lpfc_sli4_process_cq() argument
14982 struct lpfc_hba *phba = cq->phba; __lpfc_sli4_sp_process_cq() local
15070 lpfc_sli4_fp_handle_fcp_wcqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_wcqe_complete * wcqe) lpfc_sli4_fp_handle_fcp_wcqe() argument
15150 lpfc_sli4_fp_handle_rel_wcqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_wcqe_release * wcqe) lpfc_sli4_fp_handle_rel_wcqe() argument
15187 lpfc_sli4_nvmet_handle_rcqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_rcqe * rcqe) lpfc_sli4_nvmet_handle_rcqe() argument
15328 lpfc_sli4_fp_handle_cqe(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_cqe * cqe) lpfc_sli4_fp_handle_cqe() argument
15396 struct lpfc_hba *phba = cq->phba; __lpfc_sli4_hba_process_cq() local
15454 lpfc_sli4_hba_handle_eqe(struct lpfc_hba * phba,struct lpfc_queue * eq,struct lpfc_eqe * eqe,enum lpfc_poll_mode poll_mode) lpfc_sli4_hba_handle_eqe() argument
15586 struct lpfc_hba *phba; lpfc_sli4_hba_intr_handler() local
15680 struct lpfc_hba *phba; lpfc_sli4_intr_handler() local
15706 struct lpfc_hba *phba = timer_container_of(phba, t, cpuhp_poll_timer); lpfc_sli4_poll_hbtimer() local
15722 struct lpfc_hba *phba = eq->phba; lpfc_sli4_add_to_poll_list() local
15735 struct lpfc_hba *phba = eq->phba; lpfc_sli4_remove_from_poll_list() local
15747 lpfc_sli4_cleanup_poll_list(struct lpfc_hba * phba) lpfc_sli4_cleanup_poll_list() argument
15801 struct lpfc_hba *phba = eq->phba; lpfc_sli4_stop_polling() local
15866 lpfc_sli4_queue_alloc(struct lpfc_hba * phba,uint32_t page_size,uint32_t entry_size,uint32_t entry_count,int cpu) lpfc_sli4_queue_alloc() argument
15946 lpfc_dual_chute_pci_bar_map(struct lpfc_hba * phba,uint16_t pci_barset) lpfc_dual_chute_pci_bar_map() argument
15965 lpfc_dpp_wc_map(struct lpfc_hba * phba,uint8_t dpp_barset) lpfc_dpp_wc_map() argument
16014 lpfc_modify_hba_eq_delay(struct lpfc_hba * phba,uint32_t startq,uint32_t numq,uint32_t usdelay) lpfc_modify_hba_eq_delay() argument
16126 lpfc_eq_create(struct lpfc_hba * phba,struct lpfc_queue * eq,uint32_t imax) lpfc_eq_create() argument
16250 struct lpfc_hba *phba; lpfc_sli4_hba_intr_handler_th() local
16325 lpfc_cq_create(struct lpfc_hba * phba,struct lpfc_queue * cq,struct lpfc_queue * eq,uint32_t type,uint32_t subtype) lpfc_cq_create() argument
16472 lpfc_cq_create_set(struct lpfc_hba * phba,struct lpfc_queue ** cqp,struct lpfc_sli4_hdw_queue * hdwq,uint32_t type,uint32_t subtype) lpfc_cq_create_set() argument
16715 lpfc_mq_create_fb_init(struct lpfc_hba * phba,struct lpfc_queue * mq,LPFC_MBOXQ_t * mbox,struct lpfc_queue * cq) lpfc_mq_create_fb_init() argument
16781 lpfc_mq_create(struct lpfc_hba * phba,struct lpfc_queue * mq,struct lpfc_queue * cq,uint32_t subtype) lpfc_mq_create() argument
16936 lpfc_wq_create(struct lpfc_hba * phba,struct lpfc_queue * wq,struct lpfc_queue * cq,uint32_t subtype) lpfc_wq_create() argument
17198 lpfc_rq_create(struct lpfc_hba * phba,struct lpfc_queue * hrq,struct lpfc_queue * drq,struct lpfc_queue * cq,uint32_t subtype) lpfc_rq_create() argument
17488 lpfc_mrq_create(struct lpfc_hba * phba,struct lpfc_queue ** hrqp,struct lpfc_queue ** drqp,struct lpfc_queue ** cqp,uint32_t subtype) lpfc_mrq_create() argument
17671 lpfc_eq_destroy(struct lpfc_hba * phba,struct lpfc_queue * eq) lpfc_eq_destroy() argument
17734 lpfc_cq_destroy(struct lpfc_hba * phba,struct lpfc_queue * cq) lpfc_cq_destroy() argument
17795 lpfc_mq_destroy(struct lpfc_hba * phba,struct lpfc_queue * mq) lpfc_mq_destroy() argument
17856 lpfc_wq_destroy(struct lpfc_hba * phba,struct lpfc_queue * wq) lpfc_wq_destroy() argument
17919 lpfc_rq_destroy(struct lpfc_hba * phba,struct lpfc_queue * hrq,struct lpfc_queue * drq) lpfc_rq_destroy() argument
18005 lpfc_sli4_post_sgl(struct lpfc_hba * phba,dma_addr_t pdma_phys_addr0,dma_addr_t pdma_phys_addr1,uint16_t xritag) lpfc_sli4_post_sgl() argument
18083 lpfc_sli4_alloc_xri(struct lpfc_hba * phba) lpfc_sli4_alloc_xri() argument
18114 __lpfc_sli4_free_xri(struct lpfc_hba * phba,int xri) __lpfc_sli4_free_xri() argument
18130 lpfc_sli4_free_xri(struct lpfc_hba * phba,int xri) lpfc_sli4_free_xri() argument
18148 lpfc_sli4_next_xritag(struct lpfc_hba * phba) lpfc_sli4_next_xritag() argument
18175 lpfc_sli4_post_sgl_list(struct lpfc_hba * phba,struct list_head * post_sgl_list,int post_cnt) lpfc_sli4_post_sgl_list() argument
18281 lpfc_sli4_post_io_sgl_block(struct lpfc_hba * phba,struct list_head * nblist,int count) lpfc_sli4_post_io_sgl_block() argument
18400 lpfc_sli4_post_io_sgl_list(struct lpfc_hba * phba,struct list_head * post_nblist,int sb_count) lpfc_sli4_post_io_sgl_list() argument
18524 lpfc_fc_frame_check(struct lpfc_hba * phba,struct fc_frame_header * fc_hdr) lpfc_fc_frame_check() argument
18658 lpfc_fc_frame_to_vport(struct lpfc_hba * phba,struct fc_frame_header * fc_hdr,uint16_t fcfi,uint32_t did) lpfc_fc_frame_to_vport() argument
18947 struct lpfc_hba *phba = vport->phba; lpfc_sli4_abort_ulp_seq() local
18973 lpfc_sli4_seq_abort_rsp_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * cmd_iocbq,struct lpfc_iocbq * rsp_iocbq) lpfc_sli4_seq_abort_rsp_cmpl() argument
18999 lpfc_sli4_xri_inrange(struct lpfc_hba * phba,uint16_t xri) lpfc_sli4_xri_inrange() argument
19024 struct lpfc_hba *phba = vport->phba; lpfc_sli4_seq_abort_rsp() local
19184 struct lpfc_hba *phba = vport->phba; lpfc_sli4_handle_unsol_abort() local
19397 struct lpfc_hba *phba = vport->phba; lpfc_sli4_send_seq_to_ulp() local
19431 lpfc_sli4_mds_loopback_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_sli4_mds_loopback_cmpl() argument
19448 struct lpfc_hba *phba = vport->phba; lpfc_sli4_handle_mds_loopback() local
19556 lpfc_sli4_handle_received_buffer(struct lpfc_hba * phba,struct hbq_dmabuf * dmabuf) lpfc_sli4_handle_received_buffer() argument
19672 lpfc_sli4_post_all_rpi_hdrs(struct lpfc_hba * phba) lpfc_sli4_post_all_rpi_hdrs() argument
19725 lpfc_sli4_post_rpi_hdr(struct lpfc_hba * phba,struct lpfc_rpi_hdr * rpi_page) lpfc_sli4_post_rpi_hdr() argument
19802 lpfc_sli4_alloc_rpi(struct lpfc_hba * phba) lpfc_sli4_alloc_rpi() argument
19883 __lpfc_sli4_free_rpi(struct lpfc_hba * phba,int rpi) __lpfc_sli4_free_rpi() argument
19912 lpfc_sli4_free_rpi(struct lpfc_hba * phba,int rpi) lpfc_sli4_free_rpi() argument
19927 lpfc_sli4_remove_rpis(struct lpfc_hba * phba) lpfc_sli4_remove_rpis() argument
19951 struct lpfc_hba *phba = ndlp->phba; lpfc_sli4_resume_rpi() local
20011 struct lpfc_hba *phba = vport->phba; lpfc_sli4_init_vpi() local
20041 lpfc_mbx_cmpl_add_fcf_record(struct lpfc_hba * phba,LPFC_MBOXQ_t * mboxq) lpfc_mbx_cmpl_add_fcf_record() argument
20073 lpfc_sli4_add_fcf_record(struct lpfc_hba * phba,struct fcf_record * fcf_record) lpfc_sli4_add_fcf_record() argument
20153 lpfc_sli4_build_dflt_fcf_record(struct lpfc_hba * phba,struct fcf_record * fcf_record,uint16_t fcf_index) lpfc_sli4_build_dflt_fcf_record() argument
20195 lpfc_sli4_fcf_scan_read_fcf_rec(struct lpfc_hba * phba,uint16_t fcf_index) lpfc_sli4_fcf_scan_read_fcf_rec() argument
20253 lpfc_sli4_fcf_rr_read_fcf_rec(struct lpfc_hba * phba,uint16_t fcf_index) lpfc_sli4_fcf_rr_read_fcf_rec() argument
20299 lpfc_sli4_read_fcf_rec(struct lpfc_hba * phba,uint16_t fcf_index) lpfc_sli4_read_fcf_rec() argument
20347 lpfc_check_next_fcf_pri_level(struct lpfc_hba * phba) lpfc_check_next_fcf_pri_level() argument
20437 lpfc_sli4_fcf_rr_next_index_get(struct lpfc_hba * phba) lpfc_sli4_fcf_rr_next_index_get() argument
20485 lpfc_sli4_fcf_rr_index_set(struct lpfc_hba * phba,uint16_t fcf_index) lpfc_sli4_fcf_rr_index_set() argument
20515 lpfc_sli4_fcf_rr_index_clear(struct lpfc_hba * phba,uint16_t fcf_index) lpfc_sli4_fcf_rr_index_clear() argument
20552 lpfc_mbx_cmpl_redisc_fcf_table(struct lpfc_hba * phba,LPFC_MBOXQ_t * mbox) lpfc_mbx_cmpl_redisc_fcf_table() argument
20609 lpfc_sli4_redisc_fcf_table(struct lpfc_hba * phba) lpfc_sli4_redisc_fcf_table() argument
20656 lpfc_sli4_fcf_dead_failthrough(struct lpfc_hba * phba) lpfc_sli4_fcf_dead_failthrough() argument
20683 lpfc_sli_get_config_region23(struct lpfc_hba * phba,char * rgn23_data) lpfc_sli_get_config_region23() argument
20742 lpfc_sli4_get_config_region23(struct lpfc_hba * phba,char * rgn23_data) lpfc_sli4_get_config_region23() argument
20789 lpfc_sli_read_link_ste(struct lpfc_hba * phba) lpfc_sli_read_link_ste() argument
20892 lpfc_log_fw_write_cmpl(struct lpfc_hba * phba,u32 shdr_status,u32 shdr_add_status,u32 shdr_add_status_2,u32 shdr_change_status,u32 shdr_csf) lpfc_log_fw_write_cmpl() argument
20983 lpfc_wr_object(struct lpfc_hba * phba,struct list_head * dmabuf_list,uint32_t size,uint32_t * offset) lpfc_wr_object() argument
21096 struct lpfc_hba *phba = vport->phba; lpfc_cleanup_pending_mbox() local
21196 lpfc_drain_txq(struct lpfc_hba * phba) lpfc_drain_txq() argument
21293 lpfc_wqe_bpl2sgl(struct lpfc_hba * phba,struct lpfc_iocbq * pwqeq,struct lpfc_sglq * sglq) lpfc_wqe_bpl2sgl() argument
21407 lpfc_sli4_issue_wqe(struct lpfc_hba * phba,struct lpfc_sli4_hdw_queue * qp,struct lpfc_iocbq * pwqe) lpfc_sli4_issue_wqe() argument
21517 lpfc_sli4_issue_abort_iotag(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,void * cmpl) lpfc_sli4_issue_abort_iotag() argument
21598 lpfc_snapshot_mxp(struct lpfc_hba * phba,u32 hwqid) lpfc_snapshot_mxp() argument
21633 lpfc_adjust_pvt_pool_count(struct lpfc_hba * phba,u32 hwqid) lpfc_adjust_pvt_pool_count() argument
21664 lpfc_adjust_high_watermark(struct lpfc_hba * phba,u32 hwqid) lpfc_adjust_high_watermark() argument
21709 lpfc_move_xri_pvt_to_pbl(struct lpfc_hba * phba,u32 hwqid) lpfc_move_xri_pvt_to_pbl() argument
21780 _lpfc_move_xri_pbl_to_pvt(struct lpfc_hba * phba,struct lpfc_sli4_hdw_queue * qp,struct lpfc_pbl_pool * pbl_pool,struct lpfc_pvt_pool * pvt_pool,u32 count) _lpfc_move_xri_pbl_to_pvt() argument
21829 lpfc_move_xri_pbl_to_pvt(struct lpfc_hba * phba,u32 hwqid,u32 count) lpfc_move_xri_pbl_to_pvt() argument
21900 lpfc_keep_pvt_pool_above_lowwm(struct lpfc_hba * phba,u32 hwqid) lpfc_keep_pvt_pool_above_lowwm() argument
21924 lpfc_release_io_buf(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_ncmd,struct lpfc_sli4_hdw_queue * qp) lpfc_release_io_buf() argument
22027 lpfc_get_io_buf_from_private_pool(struct lpfc_hba * phba,struct lpfc_sli4_hdw_queue * qp,struct lpfc_pvt_pool * pvt_pool,struct lpfc_nodelist * ndlp) lpfc_get_io_buf_from_private_pool() argument
22063 lpfc_get_io_buf_from_expedite_pool(struct lpfc_hba * phba) lpfc_get_io_buf_from_expedite_pool() argument
22111 lpfc_get_io_buf_from_multixri_pools(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,int hwqid,int expedite) lpfc_get_io_buf_from_multixri_pools() argument
22165 lpfc_io_buf(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,int idx) lpfc_io_buf() argument
22207 lpfc_get_io_buf(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,u32 hwqid,int expedite) lpfc_get_io_buf() argument
22270 lpfc_read_object(struct lpfc_hba * phba,char * rdobject,uint32_t * datap,uint32_t datasz) lpfc_read_object() argument
22379 lpfc_get_sgl_per_hdwq(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_buf) lpfc_get_sgl_per_hdwq() argument
22447 lpfc_put_sgl_per_hdwq(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_buf) lpfc_put_sgl_per_hdwq() argument
22484 lpfc_free_sgl_per_hdwq(struct lpfc_hba * phba,struct lpfc_sli4_hdw_queue * hdwq) lpfc_free_sgl_per_hdwq() argument
22520 lpfc_get_cmd_rsp_buf_per_hdwq(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_buf) lpfc_get_cmd_rsp_buf_per_hdwq() argument
22595 lpfc_put_cmd_rsp_buf_per_hdwq(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_buf) lpfc_put_cmd_rsp_buf_per_hdwq() argument
22633 lpfc_free_cmd_rsp_buf_per_hdwq(struct lpfc_hba * phba,struct lpfc_sli4_hdw_queue * hdwq) lpfc_free_cmd_rsp_buf_per_hdwq() argument
22668 lpfc_sli_prep_wqe(struct lpfc_hba * phba,struct lpfc_iocbq * job) lpfc_sli_prep_wqe() argument
[all...]
H A Dlpfc_attr.c122 struct lpfc_hba *phba = vport->phba; in lpfc_cmf_info_show() local
129 if (phba->cgn_i) in lpfc_cmf_info_show()
130 cp = (struct lpfc_cgn_info *)phba->cgn_i->virt; in lpfc_cmf_info_show()
135 phba->sli4_hba.pc_sli4_params.mi_cap, in lpfc_cmf_info_show()
137 phba->sli4_hba.pc_sli4_params.cmf, in lpfc_cmf_info_show()
138 phba->cmf_timer_cnt); in lpfc_cmf_info_show()
140 if (!phba->sli4_hba.pc_sli4_params.cmf) in lpfc_cmf_info_show()
143 switch (phba->cgn_init_reg_signal) { in lpfc_cmf_info_show()
158 switch (phba->cgn_init_reg_fpin) { in lpfc_cmf_info_show()
173 switch (phba->cgn_reg_signal) { in lpfc_cmf_info_show()
[all …]
H A Dlpfc_bsg.c140 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers() argument
148 lpfc_mbuf_free(phba, mlast->virt, mlast->phys); in lpfc_free_bsg_buffers()
151 lpfc_mbuf_free(phba, mlist->virt, mlist->phys); in lpfc_free_bsg_buffers()
158 lpfc_alloc_bsg_buffers(struct lpfc_hba *phba, unsigned int size, in lpfc_alloc_bsg_buffers() argument
180 lpfc_free_bsg_buffers(phba, mlist); in lpfc_alloc_bsg_buffers()
185 mp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(mp->phys)); in lpfc_alloc_bsg_buffers()
190 lpfc_free_bsg_buffers(phba, mlist); in lpfc_alloc_bsg_buffers()
300 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp() argument
317 spin_lock_irqsave(&phba->ct_ev_lock, flags); in lpfc_bsg_send_mgmt_cmd_cmp()
324 spin_unlock_irqrestore(&phba->ct_ev_lock, flags); in lpfc_bsg_send_mgmt_cmd_cmp()
[all …]
H A Dlpfc_vport.c88 lpfc_alloc_vpi(struct lpfc_hba *phba) in lpfc_alloc_vpi() argument
92 spin_lock_irq(&phba->hbalock); in lpfc_alloc_vpi()
94 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); in lpfc_alloc_vpi()
95 if (vpi > phba->max_vpi) in lpfc_alloc_vpi()
98 set_bit(vpi, phba->vpi_bmask); in lpfc_alloc_vpi()
99 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_alloc_vpi()
100 phba->sli4_hba.max_cfg_param.vpi_used++; in lpfc_alloc_vpi()
101 spin_unlock_irq(&phba->hbalock); in lpfc_alloc_vpi()
106 lpfc_free_vpi(struct lpfc_hba *phba, int vpi) in lpfc_free_vpi() argument
110 spin_lock_irq(&phba->hbalock); in lpfc_free_vpi()
[all …]
H A Dlpfc_debugfs.c213 lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_slow_ring_trc_data() argument
228 index = (atomic_read(&phba->slow_ring_trc_cnt) + 1) & in lpfc_debugfs_slow_ring_trc_data()
231 dtp = phba->slow_ring_trc + i; in lpfc_debugfs_slow_ring_trc_data()
242 dtp = phba->slow_ring_trc + i; in lpfc_debugfs_slow_ring_trc_data()
281 lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_hbqinfo_data() argument
292 if (phba->sli_rev != 3) in lpfc_debugfs_hbqinfo_data()
295 spin_lock_irq(&phba->hbalock); in lpfc_debugfs_hbqinfo_data()
311 hbqs = &phba->hbqs[i]; in lpfc_debugfs_hbqinfo_data()
322 raw_index = phba->hbq_get[i]; in lpfc_debugfs_hbqinfo_data()
329 hbqe = (struct lpfc_hbq_entry *) phba->hbqs[i].hbq_virt; in lpfc_debugfs_hbqinfo_data()
[all …]
H A Dlpfc_scsi.c79 if (vport->phba->cfg_fof) in lpfc_rport_data_from_scsi_device()
86 lpfc_release_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *psb);
88 lpfc_release_scsi_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *psb);
90 lpfc_prot_group_type(struct lpfc_hba *phba, struct scsi_cmnd *sc);
94 * @phba: Pointer to HBA object.
101 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, in lpfc_sli4_set_rsp_sgl_last() argument
115 * @phba: The Hba for which this call is being executed.
118 * This routine posts WORKER_RAMP_DOWN_QUEUE event for @phba. This routine
120 * @phba to process WORKER_RAM_DOWN_EVENT event.
125 lpfc_rampdown_queue_depth(struct lpfc_hba *phba) in lpfc_rampdown_queue_depth() argument
165 lpfc_ramp_down_queue_handler(struct lpfc_hba * phba) lpfc_ramp_down_queue_handler() argument
210 lpfc_scsi_dev_block(struct lpfc_hba * phba) lpfc_scsi_dev_block() argument
249 struct lpfc_hba *phba = vport->phba; lpfc_new_scsi_buf_s3() local
385 struct lpfc_hba *phba = vport->phba; lpfc_sli4_vport_delete_fcp_xri_aborted() local
427 lpfc_sli4_io_xri_aborted(struct lpfc_hba * phba,struct sli4_wcqe_xri_aborted * axri,int idx) lpfc_sli4_io_xri_aborted() argument
563 lpfc_get_scsi_buf_s3(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,struct scsi_cmnd * cmnd) lpfc_get_scsi_buf_s3() argument
604 lpfc_get_scsi_buf_s4(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,struct scsi_cmnd * cmnd) lpfc_get_scsi_buf_s4() argument
699 lpfc_get_scsi_buf(struct lpfc_hba * phba,struct lpfc_nodelist * ndlp,struct scsi_cmnd * cmnd) lpfc_get_scsi_buf() argument
714 lpfc_release_scsi_buf_s3(struct lpfc_hba * phba,struct lpfc_io_buf * psb) lpfc_release_scsi_buf_s3() argument
739 lpfc_release_scsi_buf_s4(struct lpfc_hba * phba,struct lpfc_io_buf * psb) lpfc_release_scsi_buf_s4() argument
769 lpfc_release_scsi_buf(struct lpfc_hba * phba,struct lpfc_io_buf * psb) lpfc_release_scsi_buf() argument
812 lpfc_scsi_prep_dma_buf_s3(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_scsi_prep_dma_buf_s3() argument
962 lpfc_bg_err_inject(struct lpfc_hba * phba,struct scsi_cmnd * sc,uint32_t * reftag,uint16_t * apptag,uint32_t new_guard) lpfc_bg_err_inject() argument
1369 lpfc_sc_to_bg_opcodes(struct lpfc_hba * phba,struct scsi_cmnd * sc,uint8_t * txop,uint8_t * rxop) lpfc_sc_to_bg_opcodes() argument
1449 lpfc_bg_err_opcodes(struct lpfc_hba * phba,struct scsi_cmnd * sc,uint8_t * txop,uint8_t * rxop) lpfc_bg_err_opcodes() argument
1540 lpfc_bg_setup_bpl(struct lpfc_hba * phba,struct scsi_cmnd * sc,struct ulp_bde64 * bpl,int datasegcnt) lpfc_bg_setup_bpl() argument
1680 lpfc_bg_setup_bpl_prot(struct lpfc_hba * phba,struct scsi_cmnd * sc,struct ulp_bde64 * bpl,int datacnt,int protcnt) lpfc_bg_setup_bpl_prot() argument
1925 lpfc_bg_setup_sgl(struct lpfc_hba * phba,struct scsi_cmnd * sc,struct sli4_sge * sgl,int datasegcnt,struct lpfc_io_buf * lpfc_cmd) lpfc_bg_setup_sgl() argument
2112 lpfc_bg_setup_sgl_prot(struct lpfc_hba * phba,struct scsi_cmnd * sc,struct sli4_sge * sgl,int datacnt,int protcnt,struct lpfc_io_buf * lpfc_cmd) lpfc_bg_setup_sgl_prot() argument
2442 lpfc_prot_group_type(struct lpfc_hba * phba,struct scsi_cmnd * sc) lpfc_prot_group_type() argument
2479 lpfc_bg_scsi_adjust_dl(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_bg_scsi_adjust_dl() argument
2522 lpfc_bg_scsi_prep_dma_buf_s3(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_bg_scsi_prep_dma_buf_s3() argument
2715 lpfc_calc_bg_err(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_calc_bg_err() argument
2894 lpfc_parse_bg_err(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd,struct lpfc_iocbq * pIocbOut) lpfc_parse_bg_err() argument
3074 lpfc_scsi_prep_dma_buf_s4(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_scsi_prep_dma_buf_s4() argument
3295 lpfc_bg_scsi_prep_dma_buf_s4(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_bg_scsi_prep_dma_buf_s4() argument
3514 lpfc_scsi_prep_dma_buf(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_scsi_prep_dma_buf() argument
3533 lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_bg_scsi_prep_dma_buf() argument
3569 lpfc_send_scsi_error_event(struct lpfc_hba * phba,struct lpfc_vport * vport,struct lpfc_io_buf * lpfc_cmd,uint32_t fcpi_parm) lpfc_send_scsi_error_event() argument
3661 lpfc_scsi_unprep_dma_buf(struct lpfc_hba * phba,struct lpfc_io_buf * psb) lpfc_scsi_unprep_dma_buf() argument
3685 lpfc_unblock_requests(struct lpfc_hba * phba) lpfc_unblock_requests() argument
3715 lpfc_block_requests(struct lpfc_hba * phba) lpfc_block_requests() argument
3754 lpfc_update_cmf_cmpl(struct lpfc_hba * phba,uint64_t time,uint32_t size,struct Scsi_Host * shost) lpfc_update_cmf_cmpl() argument
3783 lpfc_update_cmf_cmd(struct lpfc_hba * phba,uint32_t size) lpfc_update_cmf_cmd() argument
4013 lpfc_fcp_io_cmd_wqe_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * pwqeIn,struct lpfc_iocbq * pwqeOut) lpfc_fcp_io_cmd_wqe_cmpl() argument
4343 lpfc_scsi_cmd_iocb_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * pIocbIn,struct lpfc_iocbq * pIocbOut) lpfc_scsi_cmd_iocb_cmpl() argument
4693 struct lpfc_hba *phba = vport->phba; lpfc_scsi_prep_cmnd_buf_s4() local
4981 lpfc_scsi_api_table_setup(struct lpfc_hba * phba,uint8_t dev_grp) lpfc_scsi_api_table_setup() argument
5025 lpfc_tskmgmt_def_cmpl(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocbq,struct lpfc_iocbq * rspiocbq) lpfc_tskmgmt_def_cmpl() argument
5050 lpfc_check_pci_resettable(struct lpfc_hba * phba) lpfc_check_pci_resettable() argument
5104 struct lpfc_hba *phba = vport->phba; lpfc_info() local
5148 lpfc_poll_rearm_timer(struct lpfc_hba * phba) lpfc_poll_rearm_timer() argument
5164 lpfc_poll_start_timer(struct lpfc_hba * phba) lpfc_poll_start_timer() argument
5178 struct lpfc_hba *phba = timer_container_of(phba, t, fcp_poll_timer); lpfc_poll_timeout() local
5220 struct lpfc_hba *phba = vport->phba; lpfc_queuecommand() local
5508 struct lpfc_hba *phba = vport->phba; lpfc_abort_handler() local
5782 struct lpfc_hba *phba = vport->phba; lpfc_send_taskmgmt() local
5935 struct lpfc_hba *phba = vport->phba; lpfc_reset_flush_io_context() local
6187 struct lpfc_hba *phba = vport->phba; lpfc_host_reset_handler() local
6237 struct lpfc_hba *phba = vport->phba; lpfc_sdev_init() local
6352 struct lpfc_hba *phba = vport->phba; lpfc_sdev_configure() local
6376 struct lpfc_hba *phba = vport->phba; lpfc_sdev_destroy() local
6412 lpfc_create_device_data(struct lpfc_hba * phba,struct lpfc_name * vport_wwpn,struct lpfc_name * target_wwpn,uint64_t lun,uint32_t pri,bool atomic_create) lpfc_create_device_data() argument
6455 lpfc_delete_device_data(struct lpfc_hba * phba,struct lpfc_device_data * lun_info) lpfc_delete_device_data() argument
6486 __lpfc_get_device_data(struct lpfc_hba * phba,struct list_head * list,struct lpfc_name * vport_wwpn,struct lpfc_name * target_wwpn,uint64_t lun) __lpfc_get_device_data() argument
6539 lpfc_find_next_oas_lun(struct lpfc_hba * phba,struct lpfc_name * vport_wwpn,struct lpfc_name * target_wwpn,uint64_t * starting_lun,struct lpfc_name * found_vport_wwpn,struct lpfc_name * found_target_wwpn,uint64_t * found_lun,uint32_t * found_lun_status,uint32_t * found_lun_pri) lpfc_find_next_oas_lun() argument
6636 lpfc_enable_oas_lun(struct lpfc_hba * phba,struct lpfc_name * vport_wwpn,struct lpfc_name * target_wwpn,uint64_t lun,uint8_t pri) lpfc_enable_oas_lun() argument
6696 lpfc_disable_oas_lun(struct lpfc_hba * phba,struct lpfc_name * vport_wwpn,struct lpfc_name * target_wwpn,uint64_t lun,uint8_t pri) lpfc_disable_oas_lun() argument
[all...]
H A Dlpfc_ct.c79 lpfc_cmpl_ct_cmd_vmid(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
83 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_ignore_hbq_buffer() argument
87 lpfc_printf_log(phba, KERN_INFO, LOG_ELS, in lpfc_ct_ignore_hbq_buffer()
90 get_job_ulpstatus(phba, piocbq)); in lpfc_ct_ignore_hbq_buffer()
92 lpfc_printf_log(phba, KERN_INFO, LOG_ELS, in lpfc_ct_ignore_hbq_buffer()
95 size, get_job_ulpstatus(phba, piocbq)); in lpfc_ct_ignore_hbq_buffer()
99 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_unsol_buffer() argument
102 lpfc_ct_ignore_hbq_buffer(phba, piocbq, mp, size); in lpfc_ct_unsol_buffer()
107 * @phba : pointer to lpfc hba data structure.
115 lpfc_ct_unsol_cmpl(struct lpfc_hba *phba, struc argument
158 struct lpfc_hba *phba = vport->phba; lpfc_ct_reject_event() local
282 lpfc_ct_handle_mibreq(struct lpfc_hba * phba,struct lpfc_iocbq * ctiocbq) lpfc_ct_handle_mibreq() argument
337 lpfc_ct_unsol_event(struct lpfc_hba * phba,struct lpfc_sli_ring * pring,struct lpfc_iocbq * ctiocbq) lpfc_ct_unsol_event() argument
463 lpfc_ct_handle_unsol_abort(struct lpfc_hba * phba,struct hbq_dmabuf * dmabuf) lpfc_ct_handle_unsol_abort() argument
474 lpfc_free_ct_rsp(struct lpfc_hba * phba,struct lpfc_dmabuf * mlist) lpfc_free_ct_rsp() argument
489 lpfc_alloc_ct_rsp(struct lpfc_hba * phba,__be16 cmdcode,struct ulp_bde64 * bpl,uint32_t size,int * entries) lpfc_alloc_ct_rsp() argument
546 lpfc_ct_free_iocb(struct lpfc_hba * phba,struct lpfc_iocbq * ctiocb) lpfc_ct_free_iocb() argument
593 struct lpfc_hba *phba = vport->phba; lpfc_gen_req() local
670 struct lpfc_hba *phba = vport->phba; lpfc_ct_cmd() local
699 lpfc_find_vport_by_did(struct lpfc_hba * phba,uint32_t did) lpfc_find_vport_by_did() argument
805 struct lpfc_hba *phba = vport->phba; lpfc_ns_rsp_audit_did() local
909 lpfc_cmpl_ct_cmd_gid_ft(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_gid_ft() argument
1124 lpfc_cmpl_ct_cmd_gid_pt(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_gid_pt() argument
1336 lpfc_cmpl_ct_cmd_gff_id(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_gff_id() argument
1483 lpfc_cmpl_ct_cmd_gft_id(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_gft_id() argument
1580 lpfc_cmpl_ct(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct() argument
1662 lpfc_cmpl_ct_cmd_rft_id(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_rft_id() argument
1683 lpfc_cmpl_ct_cmd_rnn_id(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_rnn_id() argument
1704 lpfc_cmpl_ct_cmd_rspn_id(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_rspn_id() argument
1725 lpfc_cmpl_ct_cmd_rsnn_nn(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_rsnn_nn() argument
1746 lpfc_cmpl_ct_cmd_rspni_pni(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_rspni_pni() argument
1768 lpfc_cmpl_ct_cmd_da_id(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_da_id() argument
1780 lpfc_cmpl_ct_cmd_rff_id(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_rff_id() argument
1889 struct lpfc_hba *phba = vport->phba; lpfc_ns_cmd() local
2184 lpfc_fdmi_rprt_defer(struct lpfc_hba * phba,uint32_t mask) lpfc_fdmi_rprt_defer() argument
2219 lpfc_cmpl_ct_disc_fdmi(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_disc_fdmi() argument
2443 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_change_check() local
2627 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_hba_attr_sn() local
2636 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_hba_attr_model() local
2645 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_hba_attr_description() local
2654 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_hba_attr_hdw_ver() local
2673 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_hba_attr_rom_ver() local
2690 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_hba_attr_fmw_ver() local
2751 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_hba_attr_bios_ver() local
2777 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_port_attr_fc4type() local
2794 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_port_attr_support_speed() local
2870 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_port_attr_speed() local
2991 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_port_attr_port_type() local
3016 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_port_attr_active_fc4type() local
3077 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_smart_attr_model() local
3107 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_vendor_attr_mi() local
3182 struct lpfc_hba *phba = vport->phba; lpfc_fdmi_cmd() local
3444 struct lpfc_hba *phba = vport->phba; lpfc_delayed_disc_tmo() local
3476 lpfc_decode_firmware_rev(struct lpfc_hba * phba,char * fwrevision,int flag) lpfc_decode_firmware_rev() argument
3562 lpfc_cmpl_ct_cmd_vmid(struct lpfc_hba * phba,struct lpfc_iocbq * cmdiocb,struct lpfc_iocbq * rspiocb) lpfc_cmpl_ct_cmd_vmid() argument
3678 struct lpfc_hba *phba = vport->phba; lpfc_vmid_cmd() local
[all...]
H A Dlpfc_nvme.h101 struct lpfc_hba *phba; member
168 #define lpfc_get_ctx_list(phba, cpu, mrq) \ argument
169 (phba->sli4_hba.nvmet_ctx_info + ((cpu * phba->cfg_nvmet_mrq) + mrq))
196 struct lpfc_hba *phba; member
235 void (*gen_req_cmp)(struct lpfc_hba *phba,
238 void __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport,
244 int lpfc_nvme_unsol_ls_issue_abort(struct lpfc_hba *phba,
249 void (*xmt_ls_rsp_cmp)(struct lpfc_hba *phba,
252 void __lpfc_nvme_xmt_ls_rsp_cmp(struct lpfc_hba *phba,
H A Dlpfc_sli.h146 void (*fabric_cmd_cmpl)(struct lpfc_hba *phba, struct lpfc_iocbq *cmd,
148 void (*wait_cmd_cmpl)(struct lpfc_hba *phba, struct lpfc_iocbq *cmd,
150 void (*cmd_cmpl)(struct lpfc_hba *phba, struct lpfc_iocbq *cmd,
H A Dlpfc_vport.h95 int lpfc_alloc_vpi(struct lpfc_hba *phba);
/linux/drivers/scsi/be2iscsi/
H A Dbe_main.c75 struct beiscsi_hba *phba = iscsi_host_priv(shost); \
77 phba->attr_##_name);\
82 beiscsi_##_name##_change(struct beiscsi_hba *phba, uint32_t val)\
85 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_INIT,\
88 phba->attr_##_name, val); \
89 phba->attr_##_name = val;\
92 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_INIT, \
106 struct beiscsi_hba *phba = iscsi_host_priv(shost);\
112 if (beiscsi_##_name##_change(phba, param_val) == 0) \
120 beiscsi_##_name##_init(struct beiscsi_hba *phba, uint32_
227 struct beiscsi_hba *phba; beiscsi_eh_abort() local
287 struct beiscsi_hba *phba; beiscsi_eh_device_reset() local
428 struct beiscsi_hba *phba; beiscsi_hba_alloc() local
452 beiscsi_unmap_pci_function(struct beiscsi_hba * phba) beiscsi_unmap_pci_function() argument
468 beiscsi_map_pci_bars(struct beiscsi_hba * phba,struct pci_dev * pcidev) beiscsi_map_pci_bars() argument
543 be_ctrl_init(struct beiscsi_hba * phba,struct pci_dev * pdev) be_ctrl_init() argument
576 beiscsi_get_params(struct beiscsi_hba * phba) beiscsi_get_params() argument
652 hwi_ring_eq_db(struct beiscsi_hba * phba,unsigned int id,unsigned int clr_interrupt,unsigned int num_processed,unsigned char rearm,unsigned char event) hwi_ring_eq_db() argument
685 struct beiscsi_hba *phba; be_isr_mcc() local
725 struct beiscsi_hba *phba; be_isr_msix() local
747 struct beiscsi_hba *phba; be_isr() local
802 beiscsi_free_irqs(struct beiscsi_hba * phba) beiscsi_free_irqs() argument
821 beiscsi_init_irqs(struct beiscsi_hba * phba) beiscsi_init_irqs() argument
887 hwi_ring_cq_db(struct beiscsi_hba * phba,unsigned int id,unsigned int num_processed,unsigned char rearm) hwi_ring_cq_db() argument
909 alloc_io_sgl_handle(struct beiscsi_hba * phba) alloc_io_sgl_handle() argument
937 free_io_sgl_handle(struct beiscsi_hba * phba,struct sgl_handle * psgl_handle) free_io_sgl_handle() argument
1001 alloc_wrb_handle(struct beiscsi_hba * phba,unsigned int cid,struct hwi_wrb_context ** pcontext) alloc_wrb_handle() argument
1042 free_wrb_handle(struct beiscsi_hba * phba,struct hwi_wrb_context * pwrb_context,struct wrb_handle * pwrb_handle) free_wrb_handle() argument
1056 alloc_mgmt_sgl_handle(struct beiscsi_hba * phba) alloc_mgmt_sgl_handle() argument
1084 free_mgmt_sgl_handle(struct beiscsi_hba * phba,struct sgl_handle * psgl_handle) free_mgmt_sgl_handle() argument
1234 hwi_complete_drvr_msgs(struct beiscsi_conn * beiscsi_conn,struct beiscsi_hba * phba,struct sol_cqe * psol) hwi_complete_drvr_msgs() argument
1287 adapter_get_sol_cqe(struct beiscsi_hba * phba,struct sol_cqe * psol,struct common_sol_cqe * csol_cqe) adapter_get_sol_cqe() argument
1342 hwi_complete_cmd(struct beiscsi_conn * beiscsi_conn,struct beiscsi_hba * phba,struct sol_cqe * psol) hwi_complete_cmd() argument
1427 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_complete_pdu() local
1478 beiscsi_hdl_purge_handles(struct beiscsi_hba * phba,struct hd_async_context * pasync_ctx,u16 cri) beiscsi_hdl_purge_handles() argument
1501 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_hdl_get_handle() local
1610 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_hdl_fwd_pdu() local
1664 struct beiscsi_hba *phba; beiscsi_hdl_gather_pdu() local
1724 beiscsi_hdq_post_handles(struct beiscsi_hba * phba,u8 header,u8 ulp_num,u16 nbuf) beiscsi_hdq_post_handles() argument
1784 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_hdq_process_compl() local
1810 beiscsi_process_mcc_cq(struct beiscsi_hba * phba) beiscsi_process_mcc_cq() argument
1848 struct beiscsi_hba *phba; beiscsi_mcc_work() local
1877 struct beiscsi_hba *phba; beiscsi_process_cq() local
2051 struct beiscsi_hba *phba; be_iopoll() local
2282 struct beiscsi_hba *phba = beiscsi_conn->phba; hwi_write_buffer() local
2363 beiscsi_find_mem_req(struct beiscsi_hba * phba) beiscsi_find_mem_req() argument
2465 beiscsi_alloc_mem(struct beiscsi_hba * phba) beiscsi_alloc_mem() argument
2576 beiscsi_get_memory(struct beiscsi_hba * phba) beiscsi_get_memory() argument
2582 iscsi_init_global_templates(struct beiscsi_hba * phba) iscsi_init_global_templates() argument
2607 beiscsi_init_wrb_handle(struct beiscsi_hba * phba) beiscsi_init_wrb_handle() argument
2709 hwi_init_async_pdu_ctx(struct beiscsi_hba * phba) hwi_init_async_pdu_ctx() argument
2964 hwi_build_be_sgl_arr(struct beiscsi_hba * phba,struct mem_array * pmem,struct be_dma_mem * sgl) hwi_build_be_sgl_arr() argument
2976 hwi_build_be_sgl_by_offset(struct beiscsi_hba * phba,struct mem_array * pmem,struct be_dma_mem * sgl) hwi_build_be_sgl_by_offset() argument
3003 beiscsi_create_eqs(struct beiscsi_hba * phba,struct hwi_context_memory * phwi_context) beiscsi_create_eqs() argument
3068 beiscsi_create_cqs(struct beiscsi_hba * phba,struct hwi_context_memory * phwi_context) beiscsi_create_cqs() argument
3132 beiscsi_create_def_hdr(struct beiscsi_hba * phba,struct hwi_context_memory * phwi_context,struct hwi_controller * phwi_ctrlr,unsigned int def_pdu_ring_sz,uint8_t ulp_num) beiscsi_create_def_hdr() argument
3184 beiscsi_create_def_data(struct beiscsi_hba * phba,struct hwi_context_memory * phwi_context,struct hwi_controller * phwi_ctrlr,unsigned int def_pdu_ring_sz,uint8_t ulp_num) beiscsi_create_def_data() argument
3242 beiscsi_post_template_hdr(struct beiscsi_hba * phba) beiscsi_post_template_hdr() argument
3276 beiscsi_post_pages(struct beiscsi_hba * phba) beiscsi_post_pages() argument
3312 be_queue_free(struct beiscsi_hba * phba,struct be_queue_info * q) be_queue_free() argument
3322 be_queue_alloc(struct beiscsi_hba * phba,struct be_queue_info * q,u16 len,u16 entry_size) be_queue_alloc() argument
3339 beiscsi_create_wrb_rings(struct beiscsi_hba * phba,struct hwi_context_memory * phwi_context,struct hwi_controller * phwi_ctrlr) beiscsi_create_wrb_rings() argument
3435 free_wrb_handles(struct beiscsi_hba * phba) free_wrb_handles() argument
3449 be_mcc_queues_destroy(struct beiscsi_hba * phba) be_mcc_queues_destroy() argument
3510 be_mcc_queues_create(struct beiscsi_hba * phba,struct hwi_context_memory * phwi_context) be_mcc_queues_create() argument
3554 be2iscsi_enable_msix(struct beiscsi_hba * phba) be2iscsi_enable_msix() argument
3585 hwi_purge_eq(struct beiscsi_hba * phba) hwi_purge_eq() argument
3621 hwi_cleanup_port(struct beiscsi_hba * phba) hwi_cleanup_port() argument
3694 hwi_init_port(struct beiscsi_hba * phba) hwi_init_port() argument
3821 hwi_init_controller(struct beiscsi_hba * phba) hwi_init_controller() argument
3858 beiscsi_free_mem(struct beiscsi_hba * phba) beiscsi_free_mem() argument
3881 beiscsi_init_sgl_handle(struct beiscsi_hba * phba) beiscsi_init_sgl_handle() argument
3987 hba_setup_cid_tbls(struct beiscsi_hba * phba) hba_setup_cid_tbls() argument
4074 hwi_enable_intr(struct beiscsi_hba * phba) hwi_enable_intr() argument
4115 hwi_disable_intr(struct beiscsi_hba * phba) hwi_disable_intr() argument
4131 beiscsi_init_port(struct beiscsi_hba * phba) beiscsi_init_port() argument
4163 beiscsi_cleanup_port(struct beiscsi_hba * phba) beiscsi_cleanup_port() argument
4198 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_free_mgmt_task_handles() local
4238 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_cleanup_task() local
4284 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_offload_connection() local
4358 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_alloc_pdu() local
4503 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_iotask_v2() local
4564 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_iotask() local
4622 struct beiscsi_hba *phba = beiscsi_conn->phba; beiscsi_mtask() local
4739 struct beiscsi_hba *phba; beiscsi_task_xmit() local
4794 struct beiscsi_hba *phba; beiscsi_bsg_request() local
4884 beiscsi_hba_attrs_init(struct beiscsi_hba * phba) beiscsi_hba_attrs_init() argument
4890 beiscsi_start_boot_work(struct beiscsi_hba * phba,unsigned int s_handle) beiscsi_start_boot_work() argument
4915 struct beiscsi_hba *phba = data; beiscsi_show_boot_tgt_info() local
4979 struct beiscsi_hba *phba = data; beiscsi_show_boot_ini_info() local
4994 struct beiscsi_hba *phba = data; beiscsi_show_boot_eth_info() local
5060 struct beiscsi_hba *phba = data; beiscsi_boot_kobj_release() local
5065 beiscsi_boot_create_kset(struct beiscsi_hba * phba) beiscsi_boot_create_kset() argument
5126 struct beiscsi_hba *phba = beiscsi_boot_work() local
5176 struct beiscsi_hba *phba; beiscsi_eqd_update_work() local
5228 struct beiscsi_hba *phba = timer_container_of(phba, t, hw_check); beiscsi_hw_tpe_check() local
5245 struct beiscsi_hba *phba = timer_container_of(phba, t, hw_check); beiscsi_hw_health_check() local
5273 beiscsi_enable_port(struct beiscsi_hba * phba) beiscsi_enable_port() argument
5371 beiscsi_disable_port(struct beiscsi_hba * phba,int unload) beiscsi_disable_port() argument
5404 struct beiscsi_hba *phba; beiscsi_sess_work() local
5417 struct beiscsi_hba *phba; beiscsi_recover_port() local
5427 struct beiscsi_hba *phba = NULL; beiscsi_eeh_err_detected() local
5465 struct beiscsi_hba *phba = NULL; beiscsi_eeh_reset() local
5496 struct beiscsi_hba *phba; beiscsi_eeh_resume() local
5513 struct beiscsi_hba *phba = NULL; beiscsi_dev_probe() local
5726 struct beiscsi_hba *phba = NULL; beiscsi_remove() local
[all...]
H A Dbe_iscsi.c43 struct beiscsi_hba *phba; in beiscsi_session_create() local
54 phba = beiscsi_ep->phba; in beiscsi_session_create()
56 if (!beiscsi_hba_is_online(phba)) { in beiscsi_session_create()
57 beiscsi_log(phba, KERN_INFO, BEISCSI_LOG_CONFIG, in beiscsi_session_create()
58 "BS_%d : HBA in error 0x%lx\n", phba->state); in beiscsi_session_create()
62 beiscsi_log(phba, KERN_INFO, BEISCSI_LOG_CONFIG, in beiscsi_session_create()
64 if (cmds_max > beiscsi_ep->phba->params.wrbs_per_cxn) { in beiscsi_session_create()
65 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_CONFIG, in beiscsi_session_create()
69 beiscsi_ep->phba->params.wrbs_per_cxn, in beiscsi_session_create()
70 beiscsi_ep->phba->params.wrbs_per_cxn); in beiscsi_session_create()
[all …]
H A Dbe_cmds.c88 struct be_mcc_wrb *alloc_mcc_wrb(struct beiscsi_hba *phba, in alloc_mcc_wrb() argument
91 struct be_queue_info *mccq = &phba->ctrl.mcc_obj.q; in alloc_mcc_wrb()
95 spin_lock(&phba->ctrl.mcc_lock); in alloc_mcc_wrb()
97 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_INIT | in alloc_mcc_wrb()
100 mccq->used, phba->ctrl.mcc_tag_available); in alloc_mcc_wrb()
104 if (!phba->ctrl.mcc_tag_available) in alloc_mcc_wrb()
107 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; in alloc_mcc_wrb()
109 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_INIT | in alloc_mcc_wrb()
112 phba->ctrl.mcc_tag_available, in alloc_mcc_wrb()
113 phba->ctrl.mcc_alloc_index); in alloc_mcc_wrb()
[all …]
H A Dbe_mgmt.c34 struct beiscsi_hba *phba, in mgmt_vendor_specific_fw_cmd() argument
71 beiscsi_log(phba, KERN_WARNING, BEISCSI_LOG_CONFIG, in mgmt_vendor_specific_fw_cmd()
79 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_vendor_specific_fw_cmd()
92 be_mcc_notify(phba, tag); in mgmt_vendor_specific_fw_cmd()
109 int mgmt_open_connection(struct beiscsi_hba *phba, in mgmt_open_connection() argument
118 struct be_ctrl_info *ctrl = &phba->ctrl; in mgmt_open_connection()
131 beiscsi_log(phba, KERN_ERR, BEISCSI_LOG_CONFIG, in mgmt_open_connection()
137 phwi_ctrlr = phba->phwi_ctrlr; in mgmt_open_connection()
142 def_hdr_id = (unsigned short)HWI_GET_DEF_HDRQ_ID(phba, ulp_num); in mgmt_open_connection()
143 def_data_id = (unsigned short)HWI_GET_DEF_BUFQ_ID(phba, ulp_num); in mgmt_open_connection()
[all …]
H A Dbe_mgmt.h29 int mgmt_open_connection(struct beiscsi_hba *phba,
35 struct beiscsi_hba *phba,
141 #define GET_MGMT_CONTROLLER_WS(phba) (phba->pmgmt_ws) argument
144 pa->lo = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\
146 pa->hi = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\
154 struct beiscsi_hba *phba; member
166 int beiscsi_mgmt_invalidate_icds(struct beiscsi_hba *phba,
170 int beiscsi_get_initiator_name(struct beiscsi_hba *phba, char *name, bool cfg);
172 int beiscsi_if_en_dhcp(struct beiscsi_hba *phba, u32 ip_type);
174 int beiscsi_if_en_static(struct beiscsi_hba *phba, u32 ip_type,
[all …]
H A Dbe_main.h251 #define chip_be2(phba) (phba->generation == BE_GEN2) argument
252 #define chip_be3_r(phba) (phba->generation == BE_GEN3) argument
253 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba))) argument
261 #define BEISCSI_ULP_AVLBL_CID(phba, ulp_num) \ argument
262 (((struct ulp_cid_info *)phba->cid_array_info[ulp_num])->avlbl_cids)
263 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument
264 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP0)
265 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument
266 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP1)
299 (phba->cid_to_cri_map[cid] = cri_index)
[all …]
H A Dbe_iscsi.h16 void beiscsi_iface_create_default(struct beiscsi_hba *phba);
18 void beiscsi_iface_destroy_default(struct beiscsi_hba *phba);
32 void beiscsi_offload_iscsi(struct beiscsi_hba *phba, struct iscsi_conn *conn,
58 int beiscsi_get_macaddr(char *buf, struct beiscsi_hba *phba);
H A Dbe_cmds.h788 int beiscsi_cmd_function_reset(struct beiscsi_hba *phba);
792 int beiscsi_check_fw_rdy(struct beiscsi_hba *phba);
794 int beiscsi_init_sliport(struct beiscsi_hba *phba);
796 int beiscsi_cmd_iscsi_cleanup(struct beiscsi_hba *phba, unsigned short ulp_num);
798 int beiscsi_detect_ue(struct beiscsi_hba *phba);
800 int beiscsi_detect_tpe(struct beiscsi_hba *phba);
812 int beiscsi_cmd_mccq_create(struct beiscsi_hba *phba,
818 int beiscsi_modify_eq_delay(struct beiscsi_hba *phba, struct be_set_eqd *,
820 int beiscsi_mccq_compl_wait(struct beiscsi_hba *phba,
824 int __beiscsi_mcc_compl_status(struct beiscsi_hba *phba,
[all …]
H A Dbe.h90 struct beiscsi_hba *phba; member
/linux/Documentation/scsi/
H A DChangeLog.lpfc189 remove shim lpfc_scsi_host_init - allocate phba mem in scsi's
339 lpfc_disc_done() Moving all events from phba->dpc_disc to local
496 * New static function lpfc_sli_next_iocb(phba, pring, &piocb) to
617 * Grab lock before calling lpfc_sli_issue_mbox(phba, pmb,
725 here, the most notable is that the phba->slim2p lpfc_dmabuf goes
874 * Removed range checking. phba->config[] array elements are now
1081 * Change lpfc_printf_log to a #define. Also include phba->brd_no
1100 * Changing phba->config to kmalloc lpfc_icfgparam and not
1101 *phba->config. This is manifesting itself as a panic in
1165 * Changed pHba->phba, pCommand->pcmd
[all …]