Home
last modified time | relevance | path

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

12

/linux/drivers/scsi/lpfc/
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_hbadisc.c75 static void lpfc_check_inactive_vmid(struct lpfc_hba *phba);
76 static void lpfc_check_vmid_qfpa_issue(struct lpfc_hba *phba);
161 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_callbk() local
171 phba = vport->phba; in lpfc_dev_loss_tmo_callbk()
186 !test_bit(HBA_SETUP, &phba->hba_flag)) { in lpfc_dev_loss_tmo_callbk()
269 if (phba->worker_thread) { in lpfc_dev_loss_tmo_callbk()
275 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk()
278 list_add_tail(&evtp->evt_listp, &phba->work_list); in lpfc_dev_loss_tmo_callbk()
279 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk()
280 lpfc_worker_wake_up(phba); in lpfc_dev_loss_tmo_callbk()
[all …]
H A Dlpfc_attr.c123 struct lpfc_hba *phba = vport->phba; in lpfc_cmf_info_show() local
131 if (phba->cgn_i) in lpfc_cmf_info_show()
132 cp = (struct lpfc_cgn_info *)phba->cgn_i->virt; in lpfc_cmf_info_show()
137 phba->sli4_hba.pc_sli4_params.mi_cap, in lpfc_cmf_info_show()
139 phba->sli4_hba.pc_sli4_params.cmf, phba->cmf_timer_cnt); in lpfc_cmf_info_show()
144 if (!phba->sli4_hba.pc_sli4_params.cmf) in lpfc_cmf_info_show()
147 switch (phba->cgn_init_reg_signal) { in lpfc_cmf_info_show()
164 switch (phba->cgn_init_reg_fpin) { in lpfc_cmf_info_show()
185 switch (phba->cgn_reg_signal) { in lpfc_cmf_info_show()
202 switch (phba->cgn_reg_fpin) { 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_nvmet.c217 lpfc_nvmet_get_ctx_for_xri(struct lpfc_hba *phba, u16 xri) in lpfc_nvmet_get_ctx_for_xri() argument
223 spin_lock_irqsave(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_xri()
224 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_xri()
231 spin_unlock_irqrestore(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_xri()
239 lpfc_nvmet_get_ctx_for_oxid(struct lpfc_hba *phba, u16 oxid, u32 sid) in lpfc_nvmet_get_ctx_for_oxid() argument
245 spin_lock_irqsave(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_oxid()
246 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_oxid()
253 spin_unlock_irqrestore(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_oxid()
262 lpfc_nvmet_defer_release(struct lpfc_hba *phba, in lpfc_nvmet_defer_release() argument
267 lpfc_printf_log(phba, KERN_INFO, LOG_NVME_ABTS, in lpfc_nvmet_defer_release()
[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_scsi.c78 if (vport->phba->cfg_fof) in lpfc_rport_data_from_scsi_device()
85 lpfc_release_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *psb);
87 lpfc_release_scsi_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *psb);
89 lpfc_prot_group_type(struct lpfc_hba *phba, struct scsi_cmnd *sc);
100 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, in lpfc_sli4_set_rsp_sgl_last() argument
124 lpfc_rampdown_queue_depth(struct lpfc_hba *phba) in lpfc_rampdown_queue_depth() argument
130 spin_lock_irqsave(&phba->hbalock, flags); in lpfc_rampdown_queue_depth()
131 atomic_inc(&phba->num_rsrc_err); in lpfc_rampdown_queue_depth()
132 phba->last_rsrc_error_time = jiffies; in lpfc_rampdown_queue_depth()
134 expires = phba->last_ramp_down_time + QUEUE_RAMP_DOWN_INTERVAL; in lpfc_rampdown_queue_depth()
[all …]
H A Dlpfc_debugfs.h207 #define lpfc_nvmeio_data(phba, fmt, arg...) \ argument
209 if (phba->nvmeio_trc_on) \
210 lpfc_debugfs_nvme_trc(phba, fmt, ##arg); \
293 #define lpfc_nvmeio_data(phba, fmt, arg...) \ argument
397 dev_printk(KERN_ERR, &(((q->phba))->pcidev)->dev, in lpfc_debug_dump_q()
401 (q->phba)->brd_no, in lpfc_debug_dump_q()
420 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq() argument
426 wq = phba->sli4_hba.hdwq[wqidx].io_wq; in lpfc_debug_dump_wq()
429 wq = phba->sli4_hba.mbx_wq; in lpfc_debug_dump_wq()
432 wq = phba->sli4_hba.els_wq; in lpfc_debug_dump_wq()
[all …]
H A Dlpfc_mbox.c63 lpfc_mbox_rsrc_prep(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mbox_rsrc_prep() argument
71 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_mbox_rsrc_prep()
100 lpfc_mbox_rsrc_cleanup(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox, in lpfc_mbox_rsrc_cleanup() argument
111 __lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mbox_rsrc_cleanup()
113 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_mbox_rsrc_cleanup()
117 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mbox_rsrc_cleanup()
133 lpfc_dump_static_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_dump_static_vport() argument
151 if (phba->sli_rev != LPFC_SLI_REV4) { in lpfc_dump_static_vport()
157 rc = lpfc_mbox_rsrc_prep(phba, pmb); in lpfc_dump_static_vport()
159 lpfc_printf_log(phba, KERN_ERR, LOG_MBOX, in lpfc_dump_static_vport()
[all …]
H A Dlpfc_els.c57 static int lpfc_issue_fabric_iocb(struct lpfc_hba *phba,
59 static void lpfc_cmpl_els_edc(struct lpfc_hba *phba,
96 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() local
100 phba->link_state == LPFC_LINK_DOWN || in lpfc_els_chk_latt()
101 phba->sli_rev > LPFC_SLI_REV3) in lpfc_els_chk_latt()
105 if (lpfc_readl(phba->HAregaddr, &ha_copy)) in lpfc_els_chk_latt()
115 phba->pport->port_state); in lpfc_els_chk_latt()
125 if (phba->link_state != LPFC_CLEAR_LA) in lpfc_els_chk_latt()
126 lpfc_issue_clear_la(phba, vport); in lpfc_els_chk_latt()
174 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb() local
[all …]
H A Dlpfc_logmsg.h53 void lpfc_dmp_dbg(struct lpfc_hba *phba);
54 void lpfc_dbg_print(struct lpfc_hba *phba, const char *fmt, ...);
59 dev_printk(level, &((vport)->phba->pcidev)->dev, "%d:(%d):" \
60 fmt, (vport)->phba->brd_no, vport->vpi, ##arg); }
62 #define lpfc_log_msg(phba, level, mask, fmt, arg...) \ argument
64 { uint32_t log_verbose = (phba)->pport ? \
65 (phba)->pport->cfg_log_verbose : \
66 (phba)->cfg_log_verbose; \
68 dev_printk(level, &((phba)->pcidev)->dev, "%d:" \
69 fmt, phba->brd_no, ##arg); \
[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()
115 lpfc_ct_unsol_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_ct_unsol_cmpl() argument
128 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_ct_unsol_cmpl()
[all …]
H A Dlpfc_nvme.c57 lpfc_get_nvme_buf(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp,
98 test_bit(HBA_IOQ_FLUSH, &vport->phba->hba_flag)) in lpfc_nvme_create_queue()
257 lpfc_nvme_handle_lsreq(struct lpfc_hba *phba, in lpfc_nvme_handle_lsreq() argument
275 test_bit(HBA_IOQ_FLUSH, &vport->phba->hba_flag)) in lpfc_nvme_handle_lsreq()
285 lpfc_printf_log(phba, KERN_INFO, LOG_NVME_DISC, in lpfc_nvme_handle_lsreq()
312 __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport, in __lpfc_nvme_ls_req_cmp() argument
337 lpfc_nvmeio_data(phba, "NVMEx LS CMPL: xri x%x stat x%x parm x%x\n", in __lpfc_nvme_ls_req_cmp()
341 lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys); in __lpfc_nvme_ls_req_cmp()
360 lpfc_sli_release_iocbq(phba, cmdwqe); in __lpfc_nvme_ls_req_cmp()
364 lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvme_ls_req_cmp() argument
[all …]
H A Dlpfc.h616 struct lpfc_hba *phba; member
928 (struct lpfc_hba *phba, struct lpfc_nodelist *ndlp,
955 (struct lpfc_hba *phba, uint32_t ring_number,
959 int (*lpfc_hba_down_post)(struct lpfc_hba *phba);
967 (struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
1630 lpfc_set_loopback_flag(struct lpfc_hba *phba) in lpfc_set_loopback_flag() argument
1632 if (phba->cfg_topology == FLAGS_LOCAL_LB) in lpfc_set_loopback_flag()
1633 phba->link_flag |= LS_LOOPBACK_MODE; in lpfc_set_loopback_flag()
1635 phba->link_flag &= ~LS_LOOPBACK_MODE; in lpfc_set_loopback_flag()
1639 lpfc_is_link_up(struct lpfc_hba *phba) in lpfc_is_link_up() argument
[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_sli4.h174 struct lpfc_hba *phba; member
493 struct lpfc_hba *phba; member
498 #define lpfc_get_eq_hdl(eqidx) (&phba->sli4_hba.hba_eq_hdl[eqidx])
499 #define lpfc_get_aff_mask(eqidx) (&phba->sli4_hba.hba_eq_hdl[eqidx].aff_mask)
500 #define lpfc_get_irq(eqidx) (phba->sli4_hba.hba_eq_hdl[eqidx].irq)
841 void (*sli4_write_eq_db)(struct lpfc_hba *phba, struct lpfc_queue *eq,
843 void (*sli4_write_cq_db)(struct lpfc_hba *phba, struct lpfc_queue *cq,
1070 struct lpfc_queue *lpfc_sli4_queue_alloc(struct lpfc_hba *phba,
1076 void lpfc_modify_hba_eq_delay(struct lpfc_hba *phba, uint32_t startq,
1080 int lpfc_cq_create_set(struct lpfc_hba *phba, struct lpfc_queue **cqp,
[all …]
H A Dlpfc_vmid.c114 if (vport->phba->pport->vmid_flag & LPFC_VMID_TYPE_PRIO) in lpfc_vmid_update_entry()
116 else if (vport->phba->cfg_vmid_app_header) in lpfc_vmid_update_entry()
140 lpfc_get_vmid_from_hashtable(vport->phba->pport, hash, in lpfc_vmid_assign_cs_ctl()
242 if (vport->phba->pport->vmid_flag & LPFC_VMID_TYPE_PRIO) in lpfc_vmid_get_appid()
259 if (vport->phba->pport->vmid_flag & LPFC_VMID_TYPE_PRIO) in lpfc_vmid_get_appid()
261 else if (vport->phba->cfg_vmid_app_header) in lpfc_vmid_get_appid()
278 if (!(vport->phba->pport->vmid_flag & LPFC_VMID_TIMER_ENBLD)) { in lpfc_vmid_get_appid()
279 mod_timer(&vport->phba->inactive_vmid_poll, in lpfc_vmid_get_appid()
282 vport->phba->pport->vmid_flag |= LPFC_VMID_TIMER_ENBLD; in lpfc_vmid_get_appid()
/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_t val) \
[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 …]

12