Home
last modified time | relevance | path

Searched defs:phba (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/scsi/lpfc/
H A Dlpfc_mbox.c63 lpfc_mbox_rsrc_prep(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mbox_rsrc_prep()
100 lpfc_mbox_rsrc_cleanup(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox, in lpfc_mbox_rsrc_cleanup()
133 lpfc_dump_static_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_dump_static_vport()
181 lpfc_down_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_down_link()
203 lpfc_dump_mem(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, uint16_t offset, in lpfc_dump_mem()
233 lpfc_dump_wakeup_param(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_dump_wakeup_param()
266 lpfc_read_nv(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_nv()
291 lpfc_config_async(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb, in lpfc_config_async()
318 lpfc_heart_beat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_heart_beat()
351 lpfc_read_topology(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_read_topology()
[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()
75 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4()
109 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc()
214 lpfc_nvmet_mem_alloc(struct lpfc_hba *phba) in lpfc_nvmet_mem_alloc()
238 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free()
310 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all()
387 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc()
420 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free()
448 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free()
473 lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_nvmet_buf_alloc()
[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()
239 lpfc_nvmet_get_ctx_for_oxid(struct lpfc_hba *phba, u16 oxid, u32 sid) in lpfc_nvmet_get_ctx_for_oxid()
262 lpfc_nvmet_defer_release(struct lpfc_hba *phba, in lpfc_nvmet_defer_release()
295 __lpfc_nvme_xmt_ls_rsp_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in __lpfc_nvme_xmt_ls_rsp_cmp()
343 lpfc_nvmet_xmt_ls_rsp_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvmet_xmt_ls_rsp_cmp()
386 lpfc_nvmet_ctxbuf_post(struct lpfc_hba *phba, struct lpfc_nvmet_ctxbuf *ctx_buf) in lpfc_nvmet_ctxbuf_post()
514 lpfc_nvmet_ktime(struct lpfc_hba *phba, in lpfc_nvmet_ktime()
719 lpfc_nvmet_xmt_fcp_op_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvmet_xmt_fcp_op_cmp()
864 void (*xmt_ls_rsp_cmp)(struct lpfc_hba *phba, in __lpfc_nvme_xmt_ls_rsp()
868 struct lpfc_hba *phba = axchg->phba; in __lpfc_nvme_xmt_ls_rsp() local
[all …]
H A Dlpfc_attr.c123 struct lpfc_hba *phba = vport->phba; in lpfc_cmf_info_show() local
323 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show() local
337 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_info_show() local
709 struct lpfc_hba *phba = vport->phba; in lpfc_scsi_stat_show() local
760 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show() local
780 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show() local
792 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show() local
804 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show() local
841 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show() local
864 struct lpfc_hba *phba = vport->phba; in lpfc_temp_sensor_show() local
[all …]
H A Dlpfc_nvme.c257 lpfc_nvme_handle_lsreq(struct lpfc_hba *phba, 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()
364 lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvme_ls_req_cmp()
398 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_gen_req() local
545 void (*gen_req_cmp)(struct lpfc_hba *phba, in __lpfc_nvme_ls_req()
709 struct lpfc_hba *phba = vport->phba; in __lpfc_nvme_ls_abort() local
829 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_adj_fcp_sgls() local
933 lpfc_nvme_io_cmd_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *pwqeIn, in lpfc_nvme_io_cmd_cmpl()
1212 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_prep_io_cmd() local
1340 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_prep_io_dma() local
[all …]
H A Dlpfc_debugfs.h207 #define lpfc_nvmeio_data(phba, fmt, arg...) \ argument
293 #define lpfc_nvmeio_data(phba, fmt, arg...) \ argument
420 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq()
460 lpfc_debug_dump_cq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_cq()
522 lpfc_debug_dump_hba_eq(struct lpfc_hba *phba, int qidx) in lpfc_debug_dump_hba_eq()
540 lpfc_debug_dump_dat_rq(struct lpfc_hba *phba) in lpfc_debug_dump_dat_rq()
554 lpfc_debug_dump_hdr_rq(struct lpfc_hba *phba) in lpfc_debug_dump_hdr_rq()
570 lpfc_debug_dump_wq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_wq_by_id()
604 lpfc_debug_dump_mq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_mq_by_id()
621 lpfc_debug_dump_rq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_rq_by_id()
[all …]
H A Dlpfc_logmsg.h62 #define lpfc_log_msg(phba, level, mask, fmt, arg...) \ argument
86 #define lpfc_printf_log(phba, level, mask, fmt, arg...) \ argument
H A Dlpfc_nvme.h101 struct lpfc_hba *phba; member
168 #define lpfc_get_ctx_list(phba, cpu, mrq) \ argument
196 struct lpfc_hba *phba; member
H A Dlpfc.h616 struct lpfc_hba *phba; member
1630 lpfc_set_loopback_flag(struct lpfc_hba *phba) in lpfc_set_loopback_flag()
1639 lpfc_is_link_up(struct lpfc_hba *phba) in lpfc_is_link_up()
1647 lpfc_worker_wake_up(struct lpfc_hba *phba) in lpfc_worker_wake_up()
1669 lpfc_sli_read_hs(struct lpfc_hba *phba) in lpfc_sli_read_hs()
1693 lpfc_phba_elsring(struct lpfc_hba *phba) in lpfc_phba_elsring()
1757 lpfc_sli4_mod_hba_eq_delay(struct lpfc_hba *phba, struct lpfc_queue *eq, in lpfc_sli4_mod_hba_eq_delay()
1817 static inline int lpfc_is_vmid_enabled(struct lpfc_hba *phba) in lpfc_is_vmid_enabled()
1823 u8 get_job_ulpstatus(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq) in get_job_ulpstatus()
1832 u32 get_job_word4(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq) in get_job_word4()
[all …]
H A Dlpfc_sli4.h174 struct lpfc_hba *phba; member
493 struct lpfc_hba *phba; member
/linux/drivers/scsi/be2iscsi/
H A Dbe_iscsi.c43 struct beiscsi_hba *phba; in beiscsi_session_create() local
133 struct beiscsi_hba *phba; in beiscsi_conn_create() local
179 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_conn_bind() local
239 static int beiscsi_iface_create_ipv4(struct beiscsi_hba *phba) in beiscsi_iface_create_ipv4()
258 static int beiscsi_iface_create_ipv6(struct beiscsi_hba *phba) in beiscsi_iface_create_ipv6()
277 void beiscsi_iface_create_default(struct beiscsi_hba *phba) in beiscsi_iface_create_default()
292 void beiscsi_iface_destroy_default(struct beiscsi_hba *phba) in beiscsi_iface_destroy_default()
320 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_iface_config_vlan() local
343 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_iface_config_ipv4() local
408 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_iface_config_ipv6() local
[all …]
H A Dbe_main.c227 struct beiscsi_hba *phba; in beiscsi_eh_abort() local
287 struct beiscsi_hba *phba; in beiscsi_eh_device_reset() local
428 struct beiscsi_hba *phba; in beiscsi_hba_alloc() local
452 static void beiscsi_unmap_pci_function(struct beiscsi_hba *phba) in beiscsi_unmap_pci_function()
468 static int beiscsi_map_pci_bars(struct beiscsi_hba *phba, in beiscsi_map_pci_bars()
543 static int be_ctrl_init(struct beiscsi_hba *phba, struct pci_dev *pdev) in be_ctrl_init()
576 static void beiscsi_get_params(struct beiscsi_hba *phba) in beiscsi_get_params()
652 static void hwi_ring_eq_db(struct beiscsi_hba *phba, in hwi_ring_eq_db()
685 struct beiscsi_hba *phba; in be_isr_mcc() local
725 struct beiscsi_hba *phba; in be_isr_msix() local
[all …]
H A Dbe_mgmt.c34 struct beiscsi_hba *phba, in mgmt_vendor_specific_fw_cmd()
109 int mgmt_open_connection(struct beiscsi_hba *phba, in mgmt_open_connection()
222 static int beiscsi_exec_nemb_cmd(struct beiscsi_hba *phba, in beiscsi_exec_nemb_cmd()
274 static int beiscsi_prep_nemb_cmd(struct beiscsi_hba *phba, in beiscsi_prep_nemb_cmd()
293 static void beiscsi_free_nemb_cmd(struct beiscsi_hba *phba, in beiscsi_free_nemb_cmd()
306 static void __beiscsi_eq_delay_compl(struct beiscsi_hba *phba, unsigned int tag) in __beiscsi_eq_delay_compl()
320 int beiscsi_modify_eq_delay(struct beiscsi_hba *phba, in beiscsi_modify_eq_delay()
360 int beiscsi_get_initiator_name(struct beiscsi_hba *phba, char *name, bool cfg) in beiscsi_get_initiator_name()
388 unsigned int beiscsi_if_get_handle(struct beiscsi_hba *phba) in beiscsi_if_get_handle()
437 static int beiscsi_if_mod_gw(struct beiscsi_hba *phba, in beiscsi_if_mod_gw()
[all …]
H A Dbe_cmds.c88 struct be_mcc_wrb *alloc_mcc_wrb(struct beiscsi_hba *phba, in alloc_mcc_wrb()
168 int __beiscsi_mcc_compl_status(struct beiscsi_hba *phba, in __beiscsi_mcc_compl_status()
234 int beiscsi_mccq_compl_wait(struct beiscsi_hba *phba, in beiscsi_mccq_compl_wait()
323 struct beiscsi_hba *phba = pci_get_drvdata(ctrl->pdev); in beiscsi_process_mbox_compl() local
362 static void beiscsi_process_async_link(struct beiscsi_hba *phba, in beiscsi_process_async_link()
400 static void beiscsi_process_async_sli(struct beiscsi_hba *phba, in beiscsi_process_async_sli()
453 void beiscsi_process_async_event(struct beiscsi_hba *phba, in beiscsi_process_async_event()
487 struct beiscsi_hba *phba = pci_get_drvdata(ctrl->pdev); in beiscsi_process_mcc_compl() local
561 void be_mcc_notify(struct beiscsi_hba *phba, unsigned int tag) in be_mcc_notify()
590 struct beiscsi_hba *phba = pci_get_drvdata(ctrl->pdev); in be_mbox_db_ready_poll() local
[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
263 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument
265 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument
319 #define BEISCSI_GET_CID_COUNT(phba, ulp_num) \ argument
394 #define beiscsi_hba_in_error(phba) ((phba)->state & BEISCSI_HBA_IN_ERR) argument
395 #define beiscsi_hba_is_online(phba) \ argument
408 struct beiscsi_hba *phba; member
[all …]
H A Dbe_mgmt.h141 #define GET_MGMT_CONTROLLER_WS(phba) (phba->pmgmt_ws) argument
154 struct beiscsi_hba *phba; member
H A Dbe.h90 struct beiscsi_hba *phba; member