Searched refs:psli (Results 1 – 11 of 11) sorted by relevance
/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 49 #define LOG_MBOX_CANNOT_ISSUE_DATA(phba, pmbox, psli, flag) \ argument 58 psli->sli_flag, \ 311 struct lpfc_sli *psli = &phba->sli; in lpfc_sli_ring_map() local 321 for (i = 0; i < psli->num_rings; i++) { in lpfc_sli_ring_map() 465 struct lpfc_sli *psli = &phba->sli; in lpfc_sli_next_iotag() local 469 iotag = psli->last_iotag; in lpfc_sli_next_iotag() 470 if(++iotag < psli->iocbq_lookup_len) { in lpfc_sli_next_iotag() 471 psli->last_iotag = iotag; in lpfc_sli_next_iotag() 472 psli->iocbq_lookup[iotag] = iocbq; in lpfc_sli_next_iotag() 476 } else if (psli->iocbq_lookup_len < (0xffff in lpfc_sli_next_iotag() [all …]
|
D | lpfc_mem.c | 151 struct lpfc_sli *psli = &phba->sli; in lpfc_mem_free() local 160 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq, list) { in lpfc_mem_free() 169 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq_cmpl, list) { in lpfc_mem_free() 179 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; in lpfc_mem_free() 180 if (psli->mbox_active) { in lpfc_mem_free() 181 mbox = psli->mbox_active; in lpfc_mem_free() 188 psli->mbox_active = NULL; in lpfc_mem_free() 210 kfree(psli->iocbq_lookup); in lpfc_mem_free() 211 psli->iocbq_lookup = NULL; in lpfc_mem_free()
|
D | lpfc_mbox.c | 210 struct lpfc_sli *psli; in lpfc_read_la() local 212 psli = &phba->sli; in lpfc_read_la() 404 struct lpfc_sli *psli; in lpfc_init_link() local 410 psli = &phba->sli; in lpfc_init_link() 491 struct lpfc_sli *psli; in lpfc_read_sparam() local 493 psli = &phba->sli; in lpfc_read_sparam() 783 struct lpfc_sli *psli = &phba->sli; in lpfc_config_pcb_setup() local 791 pcbp->maxRing = (psli->num_rings - 1); in lpfc_config_pcb_setup() 793 for (i = 0; i < psli->num_rings; i++) { in lpfc_config_pcb_setup() 794 pring = &psli->ring[i]; in lpfc_config_pcb_setup() [all …]
|
D | lpfc_init.c | 309 struct lpfc_sli *psli = &phba->sli; in lpfc_config_port_post() local 433 if (psli->ring[psli->extra_ring].cmdringaddr) in lpfc_config_port_post() 434 psli->ring[psli->extra_ring].flag |= LPFC_STOP_IOCB_EVENT; in lpfc_config_port_post() 435 if (psli->ring[psli->fcp_ring].cmdringaddr) in lpfc_config_port_post() 436 psli->ring[psli->fcp_ring].flag |= LPFC_STOP_IOCB_EVENT; in lpfc_config_port_post() 437 if (psli->ring[psli->next_ring].cmdringaddr) in lpfc_config_port_post() 438 psli->ring[psli->next_ring].flag |= LPFC_STOP_IOCB_EVENT; in lpfc_config_port_post() 471 if (psli->num_rings > 0) in lpfc_config_port_post() 473 if (psli->num_rings > 1) in lpfc_config_port_post() 475 if (psli->num_rings > 2) in lpfc_config_port_post() [all …]
|
D | lpfc_hbadisc.c | 856 struct lpfc_sli *psli = &phba->sli; in lpfc_mbx_cmpl_clear_la() local 861 psli->ring[psli->extra_ring].flag &= ~LPFC_STOP_IOCB_EVENT; in lpfc_mbx_cmpl_clear_la() 862 psli->ring[psli->fcp_ring].flag &= ~LPFC_STOP_IOCB_EVENT; in lpfc_mbx_cmpl_clear_la() 863 psli->ring[psli->next_ring].flag &= ~LPFC_STOP_IOCB_EVENT; in lpfc_mbx_cmpl_clear_la() 880 psli->sli_flag |= LPFC_PROCESS_LA; in lpfc_mbx_cmpl_clear_la() 904 psli->sli_flag |= LPFC_PROCESS_LA; in lpfc_mbx_cmpl_clear_la() 1147 struct lpfc_sli *psli = &phba->sli; in lpfc_enable_la() local 1149 psli->sli_flag |= LPFC_PROCESS_LA; in lpfc_enable_la() 2042 struct lpfc_sli *psli = &phba->sli; in lpfc_check_sli_ndlp() local 2061 } else if (pring->ringno == psli->extra_ring) { in lpfc_check_sli_ndlp() [all …]
|
D | lpfc_els.c | 1354 struct lpfc_sli *psli; in lpfc_issue_els_plogi() local 1359 psli = &phba->sli; in lpfc_issue_els_plogi() 1360 pring = &psli->ring[LPFC_ELS_RING]; /* ELS ring */ in lpfc_issue_els_plogi() 1423 struct lpfc_sli *psli; in lpfc_cmpl_els_prli() local 1426 psli = &phba->sli; in lpfc_cmpl_els_prli() 1505 struct lpfc_sli *psli; in lpfc_issue_els_prli() local 1509 psli = &phba->sli; in lpfc_issue_els_prli() 1510 pring = &psli->ring[LPFC_ELS_RING]; /* ELS ring */ in lpfc_issue_els_prli() 1791 struct lpfc_sli *psli = &phba->sli; in lpfc_issue_els_adisc() local 1792 struct lpfc_sli_ring *pring = &psli->ring[LPFC_ELS_RING]; in lpfc_issue_els_adisc() [all …]
|
D | lpfc_attr.c | 551 struct lpfc_sli *psli; in lpfc_do_offline() local 564 psli = &phba->sli; in lpfc_do_offline() 569 for (i = 0; i < psli->num_rings; i++) { in lpfc_do_offline() 570 pring = &psli->ring[i]; in lpfc_do_offline() 792 struct lpfc_sli *psli = &phba->sli; in lpfc_get_hba_info() local 820 (!(psli->sli_flag & LPFC_SLI2_ACTIVE))) in lpfc_get_hba_info() 3601 struct lpfc_sli *psli = &phba->sli; in lpfc_get_stats() local 3603 struct lpfc_lnk_stat * lso = &psli->lnk_stat_offsets; in lpfc_get_stats() 3633 (!(psli->sli_flag & LPFC_SLI2_ACTIVE))) in lpfc_get_stats() 3658 (!(psli->sli_flag & LPFC_SLI2_ACTIVE))) in lpfc_get_stats() [all …]
|
D | lpfc_ct.c | 270 struct lpfc_sli *psli = &phba->sli; in lpfc_gen_req() local 271 struct lpfc_sli_ring *pring = &psli->ring[LPFC_ELS_RING]; in lpfc_gen_req() 1725 struct lpfc_sli *psli = &phba->sli; in lpfc_decode_firmware_rev() local 1733 if (psli->sli_flag & LPFC_SLI2_ACTIVE) in lpfc_decode_firmware_rev() 1759 if (psli->sli_flag & LPFC_SLI2_ACTIVE) in lpfc_decode_firmware_rev()
|
D | lpfc_debugfs.c | 451 struct lpfc_sli *psli = &phba->sli; in lpfc_debugfs_dumpHostSlim_data() local 485 pring = &psli->ring[i]; in lpfc_debugfs_dumpHostSlim_data()
|
D | lpfc_nportdisc.c | 192 struct lpfc_sli *psli = &phba->sli; in lpfc_els_abort() local 193 struct lpfc_sli_ring *pring = &psli->ring[LPFC_ELS_RING]; in lpfc_els_abort()
|
D | lpfc_scsi.c | 2305 struct lpfc_sli *psli = &phba->sli; in lpfc_queuecommand() local 2427 err = lpfc_sli_issue_iocb(phba, &phba->sli.ring[psli->fcp_ring], in lpfc_queuecommand()
|