| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_init.c | 123 lpfc_config_port_prep(struct lpfc_hba *phba) in lpfc_config_port_prep() 290 lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) in lpfc_config_async_cmpl() 311 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_dump_wakeup_param_cmpl() 354 struct lpfc_hba *phba = vport->phba; in lpfc_update_vport_wwn() local 418 lpfc_config_port_post(struct lpfc_hba *phba) in lpfc_config_port_post() 680 lpfc_sli4_refresh_params(struct lpfc_hba *phba) in lpfc_sli4_refresh_params() 739 lpfc_hba_init_link(struct lpfc_hba *phba, uint32_t flag) in lpfc_hba_init_link() 760 lpfc_hba_init_link_fc_topology(struct lpfc_hba *phba, uint32_t fc_topology, in lpfc_hba_init_link_fc_topology() 846 lpfc_hba_down_link(struct lpfc_hba *phba, uint32_t flag) in lpfc_hba_down_link() 888 lpfc_hba_down_prep(struct lpfc_hba *phba) in lpfc_hba_down_prep() [all …]
|
| H A D | lpfc_mem.c | 60 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() 212 lpfc_nvmet_mem_alloc(struct lpfc_hba *phba) in lpfc_nvmet_mem_alloc() 236 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free() 308 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all() 385 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc() 418 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free() 446 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free() 471 lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_nvmet_buf_alloc() [all …]
|
| H A D | lpfc_sli.c | 509 lpfc_sli4_write_eq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_write_eq_db() 547 lpfc_sli4_if6_write_eq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_if6_write_eq_db() 569 __lpfc_sli4_consume_eqe(struct lpfc_hba *phba, struct lpfc_queue *eq, in __lpfc_sli4_consume_eqe() 583 lpfc_sli4_eqcq_flush(struct lpfc_hba *phba, struct lpfc_queue *eq) in lpfc_sli4_eqcq_flush() 627 lpfc_sli4_process_eq(struct lpfc_hba *phba, struct lpfc_queue *eq, in lpfc_sli4_process_eq() 704 __lpfc_sli4_consume_cqe(struct lpfc_hba *phba, struct lpfc_queue *cq, in __lpfc_sli4_consume_cqe() 729 lpfc_sli4_write_cq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_write_cq_db() 762 lpfc_sli4_if6_write_cq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_if6_write_cq_db() 878 lpfc_cmd_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_cmd_iocb() 895 lpfc_resp_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_resp_iocb() [all …]
|
| H A D | lpfc_vport.c | 88 lpfc_alloc_vpi(struct lpfc_hba *phba) in lpfc_alloc_vpi() 106 lpfc_free_vpi(struct lpfc_hba *phba, int vpi) in lpfc_free_vpi() 118 lpfc_vport_sparm(struct lpfc_hba *phba, struct lpfc_vport *vport) in lpfc_vport_sparm() 180 lpfc_valid_wwn_format(struct lpfc_hba *phba, struct lpfc_name *wwn, in lpfc_valid_wwn_format() 202 lpfc_unique_wwpn(struct lpfc_hba *phba, struct lpfc_vport *new_vport) in lpfc_unique_wwpn() 240 struct lpfc_hba *phba = vport->phba; in lpfc_discovery_wait() local 298 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create() local 490 struct lpfc_hba *phba = vport->phba; in lpfc_send_npiv_logo() local 536 struct lpfc_hba *phba = vport->phba; in disable_vport() local 571 struct lpfc_hba *phba = vport->phba; in enable_vport() local [all …]
|
| H A D | lpfc_debugfs.c | 212 lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_slow_ring_trc_data() 280 lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_hbqinfo_data() 404 lpfc_debugfs_commonxripools_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_commonxripools_data() 456 lpfc_debugfs_multixripools_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_multixripools_data() 594 lpfc_debugfs_lockstat_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_lockstat_data() 663 lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHBASlim_data() 722 lpfc_debugfs_dumpHostSlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHostSlim_data() 809 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nodelist_data() local 1036 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nvmestat_data() local 1259 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_scsistat_data() local [all …]
|
| H A D | lpfc_bsg.c | 140 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers() 158 lpfc_alloc_bsg_buffers(struct lpfc_hba *phba, unsigned int size, in lpfc_alloc_bsg_buffers() 300 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp() 393 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_cmd() local 563 lpfc_bsg_rport_els_cmp(struct lpfc_hba *phba, in lpfc_bsg_rport_els_cmp() 659 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_rport_els() local 869 diag_cmd_data_free(struct lpfc_hba *phba, struct lpfc_dmabufext *mlist) in diag_cmd_data_free() 902 lpfc_bsg_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_bsg_ct_unsol_event() 1147 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort() 1183 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_set_event() local [all …]
|
| H A D | lpfc_nvme.h | 101 struct lpfc_hba *phba; member 168 #define lpfc_get_ctx_list(phba, cpu, mrq) \ argument 196 struct lpfc_hba *phba; member
|
| H A D | lpfc_sli4.h | 174 struct lpfc_hba *phba; member 496 struct lpfc_hba *phba; member
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_iscsi.c | 43 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 D | be_main.c | 227 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 D | be_mgmt.c | 34 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 D | be_cmds.c | 88 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 D | be_main.h | 251 #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 D | be_mgmt.h | 141 #define GET_MGMT_CONTROLLER_WS(phba) (phba->pmgmt_ws) argument 154 struct beiscsi_hba *phba; member
|
| H A D | be.h | 90 struct beiscsi_hba *phba; member
|