Searched refs:psli (Results 1 – 11 of 11) sorted by relevance
235 struct lpfc_sli *psli = &phba->sli; in lpfc_mem_free_all() local240 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq, list) { in lpfc_mem_free_all()250 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq_cmpl, list) { in lpfc_mem_free_all()261 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; in lpfc_mem_free_all()263 if (psli->mbox_active) { in lpfc_mem_free_all()264 mbox = psli->mbox_active; in lpfc_mem_free_all()271 psli->mbox_active = NULL; in lpfc_mem_free_all()278 kfree(psli->iocbq_lookup); in lpfc_mem_free_all()279 psli->iocbq_lookup = NULL; in lpfc_mem_free_all()
1214 struct lpfc_sli *psli = &phba->sli; in lpfc_sli_ring_map() local1224 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_ring_map()1372 struct lpfc_sli *psli = &phba->sli; in lpfc_sli_next_iotag() local1376 iotag = psli->last_iotag; in lpfc_sli_next_iotag()1377 if(++iotag < psli->iocbq_lookup_len) { in lpfc_sli_next_iotag()1378 psli->last_iotag = iotag; in lpfc_sli_next_iotag()1379 psli->iocbq_lookup[iotag] = iocbq; in lpfc_sli_next_iotag()1383 } else if (psli->iocbq_lookup_len < (0xffff in lpfc_sli_next_iotag()1385 new_len = psli->iocbq_lookup_len + LPFC_IOCBQ_LOOKUP_INCREMENT; in lpfc_sli_next_iotag()1391 old_arr = psli->iocbq_lookup; in lpfc_sli_next_iotag()[all …]
291 struct lpfc_sli *psli; in lpfc_read_topology() local293 psli = &phba->sli; in lpfc_read_topology()485 struct lpfc_sli *psli; in lpfc_init_link() local491 psli = &phba->sli; in lpfc_init_link()587 struct lpfc_sli *psli; in lpfc_read_sparam() local589 psli = &phba->sli; in lpfc_read_sparam()940 struct lpfc_sli *psli = &phba->sli; in lpfc_config_pcb_setup() local948 pcbp->maxRing = (psli->num_rings - 1); in lpfc_config_pcb_setup()950 for (i = 0; i < psli->num_rings; i++) { in lpfc_config_pcb_setup()951 pring = &psli->ring[i]; in lpfc_config_pcb_setup()[all …]
371 struct lpfc_sli *psli = &phba->sli; in lpfc_config_port_post() local481 if (psli->ring[psli->extra_ring].cmdringaddr) in lpfc_config_port_post()482 psli->ring[psli->extra_ring].flag |= LPFC_STOP_IOCB_EVENT; in lpfc_config_port_post()483 if (psli->ring[psli->fcp_ring].cmdringaddr) in lpfc_config_port_post()484 psli->ring[psli->fcp_ring].flag |= LPFC_STOP_IOCB_EVENT; in lpfc_config_port_post()485 if (psli->ring[psli->next_ring].cmdringaddr) in lpfc_config_port_post()486 psli->ring[psli->next_ring].flag |= LPFC_STOP_IOCB_EVENT; in lpfc_config_port_post()523 if (psli->num_rings > 0) in lpfc_config_port_post()525 if (psli->num_rings > 1) in lpfc_config_port_post()527 if (psli->num_rings > 2) in lpfc_config_port_post()[all …]
1008 struct lpfc_sli *psli = &phba->sli; in lpfc_mbx_cmpl_clear_la() local1013 psli->ring[psli->extra_ring].flag &= ~LPFC_STOP_IOCB_EVENT; in lpfc_mbx_cmpl_clear_la()1014 psli->ring[psli->fcp_ring].flag &= ~LPFC_STOP_IOCB_EVENT; in lpfc_mbx_cmpl_clear_la()1015 psli->ring[psli->next_ring].flag &= ~LPFC_STOP_IOCB_EVENT; in lpfc_mbx_cmpl_clear_la()1032 psli->sli_flag |= LPFC_PROCESS_LA; in lpfc_mbx_cmpl_clear_la()1056 psli->sli_flag |= LPFC_PROCESS_LA; in lpfc_mbx_cmpl_clear_la()3152 struct lpfc_sli *psli = &phba->sli; in lpfc_enable_la() local3154 psli->sli_flag |= LPFC_PROCESS_LA; in lpfc_enable_la()4239 struct lpfc_sli *psli = &phba->sli; in lpfc_check_sli_ndlp() local4258 } else if (pring->ringno == psli->extra_ring) { in lpfc_check_sli_ndlp()[all …]
671 struct lpfc_sli *psli; in lpfc_do_offline() local688 psli = &phba->sli; in lpfc_do_offline()693 for (i = 0; i < psli->num_rings; i++) { in lpfc_do_offline()694 pring = &psli->ring[i]; in lpfc_do_offline()4403 struct lpfc_sli *psli = &phba->sli; in lpfc_get_stats() local4405 struct lpfc_lnk_stat * lso = &psli->lnk_stat_offsets; in lpfc_get_stats()4510 if (seconds < psli->stats_start) in lpfc_get_stats()4512 ((unsigned long)-1 - psli->stats_start); in lpfc_get_stats()4514 hs->seconds_since_last_reset = seconds - psli->stats_start; in lpfc_get_stats()4530 struct lpfc_sli *psli = &phba->sli; in lpfc_reset_stats() local[all …]
1826 struct lpfc_sli *psli; in lpfc_issue_els_plogi() local1831 psli = &phba->sli; in lpfc_issue_els_plogi()1901 struct lpfc_sli *psli; in lpfc_cmpl_els_prli() local1904 psli = &phba->sli; in lpfc_cmpl_els_prli()2337 struct lpfc_sli *psli; in lpfc_cmpl_els_logo() local2340 psli = &phba->sli; in lpfc_cmpl_els_logo()2558 struct lpfc_sli *psli; in lpfc_issue_els_scr() local2563 psli = &phba->sli; in lpfc_issue_els_scr()2651 struct lpfc_sli *psli; in lpfc_issue_els_farpr() local2659 psli = &phba->sli; in lpfc_issue_els_farpr()[all …]
1491 struct lpfc_sli *psli; in lpfc_bsg_diag_mode_enter() local1495 psli = &phba->sli; in lpfc_bsg_diag_mode_enter()1496 if (!psli) in lpfc_bsg_diag_mode_enter()1499 pring = &psli->ring[LPFC_FCP_RING]; in lpfc_bsg_diag_mode_enter()1504 (psli->sli_flag & LPFC_BLOCK_MGMT_IO) || in lpfc_bsg_diag_mode_enter()1505 (!(psli->sli_flag & LPFC_SLI_ACTIVE))) in lpfc_bsg_diag_mode_enter()2649 struct lpfc_sli *psli = &phba->sli; in lpfcdiag_loop_post_rxbufs() local2650 struct lpfc_sli_ring *pring = &psli->ring[LPFC_ELS_RING]; in lpfcdiag_loop_post_rxbufs()2797 struct lpfc_sli *psli = &phba->sli; in lpfc_bsg_diag_loopback_run() local2841 (psli->sli_flag & LPFC_BLOCK_MGMT_IO) || in lpfc_bsg_diag_loopback_run()[all …]
1829 struct lpfc_sli *psli = &phba->sli; in lpfc_decode_firmware_rev() local1839 if (psli->sli_flag & LPFC_SLI_ACTIVE) in lpfc_decode_firmware_rev()1868 if (psli->sli_flag & LPFC_SLI_ACTIVE) in lpfc_decode_firmware_rev()
209 struct lpfc_sli *psli = &phba->sli; in lpfc_els_abort() local210 struct lpfc_sli_ring *pring = &psli->ring[LPFC_ELS_RING]; in lpfc_els_abort()
455 struct lpfc_sli *psli = &phba->sli; in lpfc_debugfs_dumpHostSlim_data() local489 pring = &psli->ring[i]; in lpfc_debugfs_dumpHostSlim_data()