Home
last modified time | relevance | path

Searched refs:psli (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_mem.c235 struct lpfc_sli *psli = &phba->sli; in lpfc_mem_free_all() local
240 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()
Dlpfc_sli.c1214 struct lpfc_sli *psli = &phba->sli; in lpfc_sli_ring_map() local
1224 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() local
1376 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 …]
Dlpfc_mbox.c291 struct lpfc_sli *psli; in lpfc_read_topology() local
293 psli = &phba->sli; in lpfc_read_topology()
485 struct lpfc_sli *psli; in lpfc_init_link() local
491 psli = &phba->sli; in lpfc_init_link()
587 struct lpfc_sli *psli; in lpfc_read_sparam() local
589 psli = &phba->sli; in lpfc_read_sparam()
940 struct lpfc_sli *psli = &phba->sli; in lpfc_config_pcb_setup() local
948 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 …]
Dlpfc_init.c371 struct lpfc_sli *psli = &phba->sli; in lpfc_config_port_post() local
481 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 …]
Dlpfc_hbadisc.c1008 struct lpfc_sli *psli = &phba->sli; in lpfc_mbx_cmpl_clear_la() local
1013 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() local
3154 psli->sli_flag |= LPFC_PROCESS_LA; in lpfc_enable_la()
4239 struct lpfc_sli *psli = &phba->sli; in lpfc_check_sli_ndlp() local
4258 } else if (pring->ringno == psli->extra_ring) { in lpfc_check_sli_ndlp()
[all …]
Dlpfc_attr.c671 struct lpfc_sli *psli; in lpfc_do_offline() local
688 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() local
4405 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 …]
Dlpfc_els.c1826 struct lpfc_sli *psli; in lpfc_issue_els_plogi() local
1831 psli = &phba->sli; in lpfc_issue_els_plogi()
1901 struct lpfc_sli *psli; in lpfc_cmpl_els_prli() local
1904 psli = &phba->sli; in lpfc_cmpl_els_prli()
2337 struct lpfc_sli *psli; in lpfc_cmpl_els_logo() local
2340 psli = &phba->sli; in lpfc_cmpl_els_logo()
2558 struct lpfc_sli *psli; in lpfc_issue_els_scr() local
2563 psli = &phba->sli; in lpfc_issue_els_scr()
2651 struct lpfc_sli *psli; in lpfc_issue_els_farpr() local
2659 psli = &phba->sli; in lpfc_issue_els_farpr()
[all …]
Dlpfc_bsg.c1491 struct lpfc_sli *psli; in lpfc_bsg_diag_mode_enter() local
1495 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() local
2650 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() local
2841 (psli->sli_flag & LPFC_BLOCK_MGMT_IO) || in lpfc_bsg_diag_loopback_run()
[all …]
Dlpfc_ct.c1829 struct lpfc_sli *psli = &phba->sli; in lpfc_decode_firmware_rev() local
1839 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()
Dlpfc_nportdisc.c209 struct lpfc_sli *psli = &phba->sli; in lpfc_els_abort() local
210 struct lpfc_sli_ring *pring = &psli->ring[LPFC_ELS_RING]; in lpfc_els_abort()
Dlpfc_debugfs.c455 struct lpfc_sli *psli = &phba->sli; in lpfc_debugfs_dumpHostSlim_data() local
489 pring = &psli->ring[i]; in lpfc_debugfs_dumpHostSlim_data()