/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 491 if (phba->hba_flag & HBA_FLOGI_OUTSTANDING) in lpfc_dev_loss_tmo_handler() 656 if ((phba->hba_flag & HBA_FIP_SUPPORT) && !lpfc_fcf_inuse(phba)) { in lpfc_sli4_post_dev_loss_tmo_handler() 659 if (phba->hba_flag & HBA_DEVLOSS_TMO) { in lpfc_sli4_post_dev_loss_tmo_handler() 663 phba->hba_flag |= HBA_DEVLOSS_TMO; in lpfc_sli4_post_dev_loss_tmo_handler() 675 if (!(phba->hba_flag & (FCF_TS_INPROG | FCF_RR_INPROG))) { in lpfc_sli4_post_dev_loss_tmo_handler() 685 if (phba->hba_flag & FCF_TS_INPROG) in lpfc_sli4_post_dev_loss_tmo_handler() 688 if (phba->hba_flag & FCF_RR_INPROG) in lpfc_sli4_post_dev_loss_tmo_handler() 982 if (phba->hba_flag & HBA_RRQ_ACTIVE) in lpfc_work_done() 984 if (phba->hba_flag & ELS_XRI_ABORT_EVENT) in lpfc_work_done() 986 if (phba->hba_flag in lpfc_work_done() [all...] |
H A D | lpfc_nvme.c | 98 vport->phba->hba_flag & HBA_IOQ_FLUSH) in lpfc_nvme_create_queue() 275 vport->phba->hba_flag & HBA_IOQ_FLUSH) in lpfc_nvme_handle_lsreq() 572 if (vport->phba->hba_flag & HBA_IOQ_FLUSH) in __lpfc_nvme_ls_req() 678 vport->phba->hba_flag & HBA_IOQ_FLUSH) in lpfc_nvme_ls_req() 1569 phba->hba_flag & HBA_IOQ_FLUSH) { in lpfc_nvme_fcp_io_submit() 1918 if (phba->hba_flag & HBA_IOQ_FLUSH) { in lpfc_nvme_fcp_abort() 1923 "NVME Req now. hba_flag x%x\n", in lpfc_nvme_fcp_abort() 1924 phba->hba_flag); in lpfc_nvme_fcp_abort()
|
H A D | lpfc_sli.c | 1028 phba->hba_flag &= ~HBA_RRQ_ACTIVE; in lpfc_handle_rrq_active() 1184 phba->hba_flag &= ~HBA_RRQ_ACTIVE; in lpfc_set_rrq_active() 1219 phba->hba_flag |= HBA_RRQ_ACTIVE; in lpfc_set_rrq_active() 3938 if (!(phba->hba_flag & HBA_SETUP)) in lpfc_poll_eratt() 4521 phba->hba_flag &= ~HBA_SP_QUEUE_EVT; in lpfc_sli_handle_slow_ring_event_s4() 4681 phba->hba_flag |= HBA_IOQ_FLUSH; in lpfc_sli_flush_io_rings() 4760 phba->hba_flag |= HBA_NEEDS_CFG_PORT; in lpfc_sli_brdready_s3() 4839 phba->hba_flag &= ~HBA_SETUP; in lpfc_sli_brdready_s4() 5091 phba->hba_flag |= HBA_NEEDS_CFG_PORT; in lpfc_sli_brdreset() 5153 phba->hba_flag); in lpfc_sli4_brdreset() [all...] |
H A D | lpfc_attr.c | 325 if (phba->hba_flag & HBA_FIP_SUPPORT) in lpfc_enable_fip_show() 1051 if (phba->hba_flag & LINK_DISABLED) in lpfc_link_state_show() 1293 (phba->hba_flag & LINK_DISABLED) || in lpfc_issue_lip() 3635 (phba->hba_flag & HBA_PERSISTENT_TOPO) ? 1 : 0); in lpfc_pt_show() 4207 if ((phba->hba_flag & HBA_PERSISTENT_TOPO || in lpfc_topology_store() 4311 phba->hba_flag & HBA_FORCED_LINK_SPEED) in lpfc_link_speed_store() 6509 if ((lpfc_is_link_up(phba)) && (!(phba->hba_flag & HBA_FCOE_MODE))) { in lpfc_get_host_speed() 6545 } else if (lpfc_is_link_up(phba) && (phba->hba_flag & HBA_FCOE_MODE)) { in lpfc_get_host_speed() 6736 if (phba->hba_flag & HBA_FCOE_MODE) { in lpfc_get_stats() 6834 if (phba->hba_flag in lpfc_reset_stats() [all...] |
H A D | lpfc_init.c | 569 phba->hba_flag &= ~HBA_ERATT_HANDLED; in lpfc_config_port_post() 601 phba->hba_flag &= ~(HBA_HBEAT_INP | HBA_HBEAT_TMO); in lpfc_config_port_post() 607 if (phba->hba_flag & LINK_DISABLED) { in lpfc_config_port_post() 928 phba->hba_flag &= ~HBA_SP_QUEUE_EVT; in lpfc_sli4_free_sp_events() 1235 phba->hba_flag |= HBA_RRQ_ACTIVE; in lpfc_rrq_timeout() 1237 phba->hba_flag &= ~HBA_RRQ_ACTIVE; in lpfc_rrq_timeout() 1266 phba->hba_flag &= ~(HBA_HBEAT_INP | HBA_HBEAT_TMO); in lpfc_hb_mbox_cmpl() 1458 if (phba->hba_flag & HBA_HBEAT_INP) in lpfc_issue_hb_mbox() 1474 phba->hba_flag |= HBA_HBEAT_INP; in lpfc_issue_hb_mbox() 1494 phba->hba_flag | in lpfc_issue_hb_tmo() [all...] |
H A D | lpfc_els.c | 187 (phba->hba_flag & HBA_FIP_SUPPORT) && in lpfc_prep_els_iocb() 987 if ((phba->hba_flag & HBA_FIP_SUPPORT) && in lpfc_cmpl_els_flogi() 1023 phba->hba_flag, phba->fcf.fcf_flag); in lpfc_cmpl_els_flogi() 1143 else if (!(phba->hba_flag & HBA_FCOE_MODE)) in lpfc_cmpl_els_flogi() 1173 phba->hba_flag &= ~(FCF_RR_INPROG | HBA_DEVLOSS_TMO); in lpfc_cmpl_els_flogi() 1180 if (phba->hba_flag & HBA_FIP_SUPPORT) in lpfc_cmpl_els_flogi() 1188 phba->hba_flag &= ~(FCF_RR_INPROG | HBA_DEVLOSS_TMO); in lpfc_cmpl_els_flogi() 1226 phba->hba_flag &= ~HBA_FLOGI_OUTSTANDING; in lpfc_cmpl_els_flogi() 1396 phba->hba_flag |= (HBA_FLOGI_ISSUED | HBA_FLOGI_OUTSTANDING); in lpfc_issue_els_flogi() 1400 phba->hba_flag in lpfc_issue_els_flogi() [all...] |
H A D | lpfc_ct.c | 2192 phba->hba_flag |= HBA_RHBA_CMPL; in lpfc_fdmi_rprt_defer() 2387 if (phba->hba_flag & HBA_RHBA_CMPL) { in lpfc_cmpl_ct_disc_fdmi() 2804 if (!(phba->hba_flag & HBA_FCOE_MODE)) { in lpfc_fdmi_port_attr_support_speed() 2878 if (!(phba->hba_flag & HBA_FCOE_MODE)) { in lpfc_fdmi_port_attr_speed()
|
H A D | lpfc_scsi.c | 3233 if (!(phba->hba_flag & HBA_FCOE_MODE) && in lpfc_scsi_prep_dma_buf_s4() 3429 if (!(phba->hba_flag & HBA_FCOE_MODE) && in lpfc_bg_scsi_prep_dma_buf_s4() 5049 phba->hba_flag & HBA_FCOE_MODE) { in lpfc_check_pci_resettable() 5536 if (phba->hba_flag & HBA_IOQ_FLUSH) { in lpfc_abort_handler()
|
H A D | lpfc.h | 1002 uint32_t hba_flag; /* hba generic flags */ member
|
H A D | lpfc_nvmet.c | 3398 if (phba->hba_flag & HBA_IOQ_FLUSH) { in lpfc_nvmet_sol_fcp_issue_abort() 3403 "NVME Req now. hba_flag x%x oxid x%x\n", in lpfc_nvmet_sol_fcp_issue_abort() 3404 phba->hba_flag, ctxp->oxid); in lpfc_nvmet_sol_fcp_issue_abort()
|
H A D | lpfc_nportdisc.c | 484 if (phba->hba_flag & HBA_FLOGI_OUTSTANDING) in lpfc_rcv_plogi()
|
H A D | lpfc_bsg.c | 5005 forced_reply->supported = (phba->hba_flag & HBA_FORCED_LINK_SPEED) in lpfc_forced_link_speed()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 356 if ((phba->hba_flag & HBA_FIP_SUPPORT) && !lpfc_fcf_inuse(phba)) { in lpfc_sli4_post_dev_loss_tmo_handler() 359 if (phba->hba_flag & HBA_DEVLOSS_TMO) { in lpfc_sli4_post_dev_loss_tmo_handler() 363 phba->hba_flag |= HBA_DEVLOSS_TMO; in lpfc_sli4_post_dev_loss_tmo_handler() 375 if (!(phba->hba_flag & (FCF_TS_INPROG | FCF_RR_INPROG))) { in lpfc_sli4_post_dev_loss_tmo_handler() 385 if (phba->hba_flag & FCF_TS_INPROG) in lpfc_sli4_post_dev_loss_tmo_handler() 388 if (phba->hba_flag & FCF_RR_INPROG) in lpfc_sli4_post_dev_loss_tmo_handler() 656 if (phba->hba_flag & HBA_RRQ_ACTIVE) in lpfc_work_done() 658 if (phba->hba_flag & ELS_XRI_ABORT_EVENT) in lpfc_work_done() 660 if (phba->hba_flag & ASYNC_EVENT) in lpfc_work_done() 662 if (phba->hba_flag in lpfc_work_done() [all...] |
H A D | lpfc_attr.c | 150 if (phba->hba_flag & HBA_FIP_SUPPORT) in lpfc_enable_fip_show() 897 if (phba->hba_flag & LINK_DISABLED) in lpfc_link_state_show() 1132 (phba->hba_flag & LINK_DISABLED) || in lpfc_issue_lip() 3512 (phba->hba_flag & HBA_PERSISTENT_TOPO) ? 1 : 0); in lpfc_pt_show() 4080 if ((phba->hba_flag & HBA_PERSISTENT_TOPO || in lpfc_topology_store() 4507 phba->hba_flag & HBA_FORCED_LINK_SPEED) in lpfc_link_speed_store() 4687 if (phba->hba_flag & HBA_AER_ENABLED) { in lpfc_aer_support_store() 4691 phba->hba_flag &= ~HBA_AER_ENABLED; in lpfc_aer_support_store() 4703 if (!(phba->hba_flag & HBA_AER_ENABLED)) { in lpfc_aer_support_store() 4707 phba->hba_flag | in lpfc_aer_support_store() [all...] |
H A D | lpfc_sli.c | 909 phba->hba_flag &= ~HBA_RRQ_ACTIVE; in lpfc_handle_rrq_active() 1060 phba->hba_flag &= ~HBA_RRQ_ACTIVE; in lpfc_set_rrq_active() 1102 phba->hba_flag |= HBA_RRQ_ACTIVE; in lpfc_set_rrq_active() 4010 phba->hba_flag &= ~HBA_SP_QUEUE_EVT; in lpfc_sli_handle_slow_ring_event_s4() 4147 if (phba->hba_flag & HBA_IOQ_FLUSH || in lpfc_sli_flush_io_rings() 4153 phba->hba_flag |= HBA_IOQ_FLUSH; in lpfc_sli_flush_io_rings() 4619 phba->hba_flag); in lpfc_sli4_brdreset() 4680 hba_aer_enabled = phba->hba_flag & HBA_AER_ENABLED; in lpfc_sli_brdrestart_s3() 4714 phba->hba_flag = 0; in lpfc_sli_brdrestart_s3() 4723 /* Reset HBA AER if it was enabled, note hba_flag wa in lpfc_sli_brdrestart_s3() [all...] |
H A D | lpfc_init.c | 562 phba->hba_flag &= ~HBA_ERATT_HANDLED; in lpfc_config_port_post() 600 if (phba->hba_flag & LINK_DISABLED) { in lpfc_config_port_post() 869 phba->hba_flag &= ~HBA_SP_QUEUE_EVT; in lpfc_sli4_free_sp_events() 1176 phba->hba_flag |= HBA_RRQ_ACTIVE; in lpfc_rrq_timeout() 1178 phba->hba_flag &= ~HBA_RRQ_ACTIVE; in lpfc_rrq_timeout() 1601 phba->hba_flag &= ~DEFER_ERATT; in lpfc_handle_deferred_eratt() 1654 phba->hba_flag &= ~DEFER_ERATT; in lpfc_handle_deferred_eratt() 1700 phba->hba_flag &= ~DEFER_ERATT; in lpfc_handle_eratt_s3() 1712 if (phba->hba_flag & DEFER_ERATT) in lpfc_handle_eratt_s3() 1908 if (!(phba->hba_flag in lpfc_handle_eratt_s4() [all...] |
H A D | lpfc_els.c | 179 (phba->hba_flag & HBA_FIP_SUPPORT) && in lpfc_prep_els_iocb() 1012 if ((phba->hba_flag & HBA_FIP_SUPPORT) && in lpfc_cmpl_els_flogi() 1049 irsp->ulpTimeout, phba->hba_flag, in lpfc_cmpl_els_flogi() 1134 else if (!(phba->hba_flag & HBA_FCOE_MODE)) in lpfc_cmpl_els_flogi() 1163 phba->hba_flag &= ~(FCF_RR_INPROG | HBA_DEVLOSS_TMO); in lpfc_cmpl_els_flogi() 1170 if (phba->hba_flag & HBA_FIP_SUPPORT) in lpfc_cmpl_els_flogi() 1178 phba->hba_flag &= ~(FCF_RR_INPROG | HBA_DEVLOSS_TMO); in lpfc_cmpl_els_flogi() 1359 phba->hba_flag |= HBA_FLOGI_ISSUED; in lpfc_issue_els_flogi() 1374 " ox_id: x%x, hba_flag x%x\n", in lpfc_issue_els_flogi() 1376 phba->defer_flogi_acc_ox_id, phba->hba_flag); in lpfc_issue_els_flogi() [all...] |
H A D | lpfc_nvme.c | 1944 if (phba->hba_flag & HBA_IOQ_FLUSH) { in lpfc_nvme_fcp_abort() 1948 "NVME Req now. hba_flag x%x\n", in lpfc_nvme_fcp_abort() 1949 phba->hba_flag); in lpfc_nvme_fcp_abort()
|
H A D | lpfc.h | 751 uint32_t hba_flag; /* hba generic flags */ member
|
H A D | lpfc_ct.c | 2491 if (!(phba->hba_flag & HBA_FCOE_MODE)) { in lpfc_fdmi_port_attr_support_speed() 2544 if (!(phba->hba_flag & HBA_FCOE_MODE)) { in lpfc_fdmi_port_attr_speed()
|
H A D | lpfc_nvmet.c | 3393 if (phba->hba_flag & HBA_IOQ_FLUSH) { in lpfc_nvmet_sol_fcp_issue_abort() 3398 "NVME Req now. hba_flag x%x oxid x%x\n", in lpfc_nvmet_sol_fcp_issue_abort() 3399 phba->hba_flag, ctxp->oxid); in lpfc_nvmet_sol_fcp_issue_abort()
|
H A D | lpfc_bsg.c | 5368 forced_reply->supported = (phba->hba_flag & HBA_FORCED_LINK_SPEED) in lpfc_forced_link_speed()
|
H A D | lpfc_scsi.c | 4751 if (phba->hba_flag & HBA_IOQ_FLUSH) { in lpfc_abort_handler()
|