Home
last modified time | relevance | path

Searched refs:sli_rev (Results 1 – 15 of 15) sorted by relevance

/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_vport.c95 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_alloc_vpi()
108 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_free_vpi()
303 if ((phba->sli_rev < 3) || !(phba->cfg_enable_npiv)) { in lpfc_vport_create()
307 phba->sli_rev); in lpfc_vport_create()
397 if ((phba->sli_rev == LPFC_SLI_REV4) && in lpfc_vport_create()
408 } else if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_vport_create()
Dlpfc_mbox.c74 if (phba->sli_rev != LPFC_SLI_REV4) { in lpfc_dump_static_vport()
415 if (phba->sli_rev < 3) { in lpfc_config_msi()
418 "SLI Revision: 0x%x\n", phba->sli_rev); in lpfc_config_msi()
741 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_reg_rpi()
865 if ((phba->sli_rev == LPFC_SLI_REV4) && in lpfc_reg_vpi()
904 if (phba->sli_rev < LPFC_SLI_REV4) in lpfc_unreg_vpi()
938 pring->sizeCiocb = phba->sli_rev == 3 ? SLI3_IOCB_CMD_SIZE: in lpfc_config_pcb_setup()
940 pring->sizeRiocb = phba->sli_rev == 3 ? SLI3_IOCB_RSP_SIZE: in lpfc_config_pcb_setup()
1263 if (phba->sli_rev == LPFC_SLI_REV3 && phba->vpd.sli3Feat.cerbm) { in lpfc_config_port()
1278 phba->sli_rev = LPFC_SLI_REV2; in lpfc_config_port()
[all …]
Dlpfc_hbadisc.c198 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_dev_loss_tmo_handler()
519 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_work_list_done()
682 if ((phba->sli_rev == LPFC_SLI_REV4) && pring->txq_cnt) in lpfc_work_done()
687 if (phba->sli_rev <= LPFC_SLI_REV3) { in lpfc_work_done()
792 if ((phba->sli_rev < LPFC_SLI_REV4) && in lpfc_cleanup_rpis()
801 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_cleanup_rpis()
991 (phba->sli_rev < LPFC_SLI_REV4)) in lpfc_linkup()
2807 (phba->sli_rev == 3)) in lpfc_mbx_process_link_up()
2926 if (phba->sli_rev <= LPFC_SLI_REV3) { in lpfc_enable_la()
3308 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_create_static_vport()
[all …]
Dlpfc_mem.c68 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_mem_alloc()
115 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_mem_alloc()
Dlpfc_els.c88 phba->sli_rev > LPFC_SLI_REV3) in lpfc_els_chk_latt()
649 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_cmpl_els_flogi_fabric()
662 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_cmpl_els_flogi_fabric()
667 } else if ((phba->sli_rev == LPFC_SLI_REV4) && in lpfc_cmpl_els_flogi_fabric()
677 if (phba->sli_rev < LPFC_SLI_REV4) { in lpfc_cmpl_els_flogi_fabric()
914 if ((phba->sli_rev == LPFC_SLI_REV4) && in lpfc_cmpl_els_flogi()
1088 if ((phba->sli_rev == LPFC_SLI_REV4) && in lpfc_issue_els_flogi()
1396 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_plogi_confirm_nport()
1402 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_plogi_confirm_nport()
1411 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_plogi_confirm_nport()
[all …]
Dlpfc_debugfs.c267 if (phba->sli_rev != 3) in lpfc_debugfs_hbqinfo_data()
479 if (phba->sli_rev <= LPFC_SLI_REV3) { in lpfc_debugfs_dumpHostSlim_data()
2051 if (phba->sli_rev < LPFC_SLI_REV4) { in lpfc_debugfs_initialize()
2068 if (phba->sli_rev < LPFC_SLI_REV4) { in lpfc_debugfs_initialize()
2221 if (phba->sli_rev < LPFC_SLI_REV4) in lpfc_debugfs_initialize()
2341 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_debugfs_terminate()
Dlpfc_scsi.c570 if ((phba->sli_rev == 3) && in lpfc_new_scsi_buf_s3()
1174 if (phba->sli_rev == 3 && in lpfc_scsi_prep_dma_buf_s3()
1202 if (phba->sli_rev == 3 && in lpfc_scsi_prep_dma_buf_s3()
2565 && (phba->sli_rev == LPFC_SLI_REV4) in lpfc_scsi_cmd_iocb_cmpl()
2769 if (phba->sli_rev < LPFC_SLI_REV4) { in lpfc_scsi_prep_cmnd()
2789 if (phba->sli_rev == 3 && in lpfc_scsi_prep_cmnd()
2849 if (vport->phba->sli_rev == 3 && in lpfc_scsi_prep_task_mgmt_cmd()
2869 if (vport->phba->sli_rev == LPFC_SLI_REV4) in lpfc_scsi_prep_task_mgmt_cmd()
3276 if (phba->sli_rev == LPFC_SLI_REV4) in DEF_SCSI_QCMD()
Dlpfc_bsg.c921 if ((phba->sli_rev == in lpfc_bsg_ct_unsol_event()
947 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_bsg_ct_unsol_event()
1307 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_issue_ct_rsp()
1642 if (phba->sli_rev == LPFC_SLI_REV4) in lpfcdiag_loop_self_reg()
1648 if (phba->sli_rev == LPFC_SLI_REV4) in lpfcdiag_loop_self_reg()
1663 if (phba->sli_rev == LPFC_SLI_REV4) in lpfcdiag_loop_self_reg()
1702 if (phba->sli_rev == LPFC_SLI_REV4) in lpfcdiag_loop_self_unreg()
2463 } else if ((phba->sli_rev == LPFC_SLI_REV4) && in lpfc_bsg_wake_mbox_wait()
2470 } else if ((phba->sli_rev == LPFC_SLI_REV4) && in lpfc_bsg_wake_mbox_wait()
2841 } else if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_bsg_issue_mbox()
Dlpfc_sli.c700 if (phba->sli_rev != LPFC_SLI_REV4) in lpfc_get_active_rrq()
733 if (phba->sli_rev != LPFC_SLI_REV4) in lpfc_cleanup_vports_rrqs()
768 if (phba->sli_rev != LPFC_SLI_REV4) in lpfc_cleanup_wt_rrqs()
1859 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_sli_hbqbuf_add_hbqs()
1878 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_sli_hbqbuf_init_hbqs()
2636 if ((phba->sli_rev < LPFC_SLI_REV4) && in lpfc_sli_process_sol_iocb()
2660 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_sli_process_sol_iocb()
4294 phba->sli_rev = sli_mode; in lpfc_sli_config_port()
4477 if (phba->sli_rev == 3) { in lpfc_sli_hba_setup()
4488 phba->sli_rev, phba->max_vpi); in lpfc_sli_hba_setup()
[all …]
Dlpfc_attr.c349 return snprintf(buf, PAGE_SIZE, "%s, sli-%d\n", fwrev, phba->sli_rev); in lpfc_fwrev_show()
842 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_board_mode_store()
847 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_board_mode_store()
923 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_get_hba_info()
1217 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_poll_store()
3569 if (phba->sli_rev >= LPFC_SLI_REV4) in sysfs_ctlreg_write()
3624 if (phba->sli_rev >= LPFC_SLI_REV4) in sysfs_ctlreg_read()
4697 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_get_cfgparam()
Dlpfc_init.c176 if (phba->sli_rev == 3 && !mb->un.varRdRev.v3rsp) { in lpfc_config_port_prep()
481 if (phba->sli_rev != 3) in lpfc_config_port_post()
665 if (phba->sli_rev <= LPFC_SLI_REV3) { in lpfc_hba_init_link()
748 if (phba->sli_rev <= LPFC_SLI_REV3) { in lpfc_hba_down_prep()
2362 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_stop_hba_timers()
2464 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_online()
2485 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_online()
2707 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_create_port()
3850 phba->sli_rev = LPFC_SLI_REV4; in lpfc_api_table_setup()
7849 sli4_params->sli_rev = bf_get(sli_rev, &mqe->un.sli4_params); in lpfc_pc_sli4_params_get()
[all …]
Dlpfc_sli4.h332 uint32_t sli_rev; member
Dlpfc.h550 uint32_t sli_rev; /* SLI2, SLI3, or SLI4 */ member
Dlpfc_ct.c1834 if (phba->sli_rev == LPFC_SLI_REV4) in lpfc_decode_firmware_rev()
Dlpfc_nportdisc.c1227 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_cmpl_adisc_adisc_issue()