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

/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_mem.c294 struct lpfc_sli *psli = &phba->sli; lpfc_mem_free_all() local
299 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq, list) { lpfc_mem_free_all()
309 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq_cmpl, list) { lpfc_mem_free_all()
320 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_mem_free_all()
322 if (psli->mbox_active) { lpfc_mem_free_all()
323 mbox = psli->mbox_active; lpfc_mem_free_all()
330 psli->mbox_active = NULL; lpfc_mem_free_all()
337 kfree(psli->iocbq_lookup); lpfc_mem_free_all()
338 psli->iocbq_lookup = NULL; lpfc_mem_free_all()
H A Dlpfc_sli.c1268 struct lpfc_sli *psli = &phba->sli; lpfc_sli_ring_map() local
1278 for (i = 0; i < psli->num_rings; i++) { lpfc_sli_ring_map()
1425 struct lpfc_sli *psli = &phba->sli; lpfc_sli_next_iotag() local
1429 iotag = psli->last_iotag; lpfc_sli_next_iotag()
1430 if(++iotag < psli->iocbq_lookup_len) { lpfc_sli_next_iotag()
1431 psli->last_iotag = iotag; lpfc_sli_next_iotag()
1432 psli->iocbq_lookup[iotag] = iocbq; lpfc_sli_next_iotag()
1436 } else if (psli->iocbq_lookup_len < (0xffff lpfc_sli_next_iotag()
1438 new_len = psli->iocbq_lookup_len + LPFC_IOCBQ_LOOKUP_INCREMENT; lpfc_sli_next_iotag()
1444 old_arr = psli->iocbq_lookup; lpfc_sli_next_iotag()
1445 if (new_len <= psli->iocbq_lookup_len) { lpfc_sli_next_iotag()
1448 iotag = psli->last_iotag; lpfc_sli_next_iotag()
1449 if(++iotag < psli->iocbq_lookup_len) { lpfc_sli_next_iotag()
1450 psli->last_iotag = iotag; lpfc_sli_next_iotag()
1451 psli->iocbq_lookup[iotag] = iocbq; lpfc_sli_next_iotag()
1459 if (psli->iocbq_lookup) lpfc_sli_next_iotag()
1461 ((psli->last_iotag + 1) * lpfc_sli_next_iotag()
1463 psli->iocbq_lookup = new_arr; lpfc_sli_next_iotag()
1464 psli->iocbq_lookup_len = new_len; lpfc_sli_next_iotag()
1465 psli->last_iotag = iotag; lpfc_sli_next_iotag()
1466 psli->iocbq_lookup[iotag] = iocbq; lpfc_sli_next_iotag()
1477 psli->last_iotag); lpfc_sli_next_iotag()
3581 struct lpfc_sli *psli = &phba->sli; lpfc_sli_abort_fcp_rings() local
3588 pring = &psli->ring[i + MAX_SLI3_CONFIGURED_RINGS]; lpfc_sli_abort_fcp_rings()
3592 pring = &psli->ring[psli->fcp_ring]; lpfc_sli_abort_fcp_rings()
3613 struct lpfc_sli *psli = &phba->sli; lpfc_sli_flush_fcp_rings() local
3625 pring = &psli->ring[i + MAX_SLI3_CONFIGURED_RINGS]; lpfc_sli_flush_fcp_rings()
3646 pring = &psli->ring[psli->fcp_ring]; lpfc_sli_flush_fcp_rings()
3903 struct lpfc_sli *psli; lpfc_sli_brdkill() local
3910 psli = &phba->sli; lpfc_sli_brdkill()
3915 phba->pport->port_state, psli->sli_flag); lpfc_sli_brdkill()
3951 psli->sli_flag &= ~LPFC_SLI_ACTIVE; lpfc_sli_brdkill()
3969 del_timer_sync(&psli->mbox_tmo); lpfc_sli_brdkill()
3975 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_sli_brdkill()
3976 psli->mbox_active = NULL; lpfc_sli_brdkill()
4000 struct lpfc_sli *psli; lpfc_sli_brdreset() local
4005 psli = &phba->sli; lpfc_sli_brdreset()
4010 phba->pport->port_state, psli->sli_flag); lpfc_sli_brdreset()
4024 psli->sli_flag &= ~(LPFC_SLI_ACTIVE | LPFC_PROCESS_LA); lpfc_sli_brdreset()
4037 for (i = 0; i < psli->num_rings; i++) { lpfc_sli_brdreset()
4038 pring = &psli->ring[i]; lpfc_sli_brdreset()
4064 struct lpfc_sli *psli = &phba->sli; lpfc_sli4_brdreset() local
4071 phba->pport->port_state, psli->sli_flag, lpfc_sli4_brdreset()
4081 psli->sli_flag &= ~(LPFC_PROCESS_LA); lpfc_sli4_brdreset()
4127 struct lpfc_sli *psli; lpfc_sli_brdrestart_s3() local
4137 psli = &phba->sli; lpfc_sli_brdrestart_s3()
4142 phba->pport->port_state, psli->sli_flag); lpfc_sli_brdrestart_s3()
4170 memset(&psli->lnk_stat_offsets, 0, sizeof(psli->lnk_stat_offsets)); lpfc_sli_brdrestart_s3()
4171 psli->stats_start = get_seconds(); lpfc_sli_brdrestart_s3()
4197 struct lpfc_sli *psli = &phba->sli; lpfc_sli_brdrestart_s4() local
4204 phba->pport->port_state, psli->sli_flag); lpfc_sli_brdrestart_s4()
4217 memset(&psli->lnk_stat_offsets, 0, sizeof(psli->lnk_stat_offsets)); lpfc_sli_brdrestart_s4()
4218 psli->stats_start = get_seconds(); lpfc_sli_brdrestart_s4()
6808 struct lpfc_sli *psli = &phba->sli; lpfc_mbox_timeout_handler() local
6849 psli->sli_flag &= ~LPFC_SLI_ACTIVE; lpfc_mbox_timeout_handler()
6892 struct lpfc_sli *psli = &phba->sli; lpfc_sli_issue_mbox_s3() local
6906 if (unlikely(psli->sli_flag & LPFC_SLI_ASYNC_MBX_BLK)) { lpfc_sli_issue_mbox_s3()
6943 psli = &phba->sli; lpfc_sli_issue_mbox_s3()
6956 pmbox->u.mb.mbxCommand, psli->sli_flag, flag); lpfc_sli_issue_mbox_s3()
6968 pmbox->u.mb.mbxCommand, psli->sli_flag, flag); lpfc_sli_issue_mbox_s3()
6973 if (psli->sli_flag & LPFC_SLI_MBOX_ACTIVE) { lpfc_sli_issue_mbox_s3()
6988 psli->sli_flag, flag); lpfc_sli_issue_mbox_s3()
6992 if (!(psli->sli_flag & LPFC_SLI_ACTIVE)) { lpfc_sli_issue_mbox_s3()
7000 psli->sli_flag, flag); lpfc_sli_issue_mbox_s3()
7015 psli->sli_flag, flag); lpfc_sli_issue_mbox_s3()
7017 psli->slistat.mbox_busy++; lpfc_sli_issue_mbox_s3()
7038 psli->sli_flag |= LPFC_SLI_MBOX_ACTIVE; lpfc_sli_issue_mbox_s3()
7042 if (!(psli->sli_flag & LPFC_SLI_ACTIVE) && lpfc_sli_issue_mbox_s3()
7044 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_sli_issue_mbox_s3()
7052 psli->sli_flag, flag); lpfc_sli_issue_mbox_s3()
7058 mod_timer(&psli->mbox_tmo, jiffies + timeout); lpfc_sli_issue_mbox_s3()
7067 psli->sli_flag, flag); lpfc_sli_issue_mbox_s3()
7086 psli->slistat.mbox_cmd++; lpfc_sli_issue_mbox_s3()
7087 evtctr = psli->slistat.mbox_event; lpfc_sli_issue_mbox_s3()
7092 if (psli->sli_flag & LPFC_SLI_ACTIVE) { lpfc_sli_issue_mbox_s3()
7140 psli->sli_flag |= LPFC_SLI_ACTIVE; lpfc_sli_issue_mbox_s3()
7149 psli->mbox_active = pmbox; lpfc_sli_issue_mbox_s3()
7158 psli->mbox_active = NULL; lpfc_sli_issue_mbox_s3()
7163 if (psli->sli_flag & LPFC_SLI_ACTIVE) { lpfc_sli_issue_mbox_s3()
7190 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_sli_issue_mbox_s3()
7199 && (evtctr != psli->slistat.mbox_event)) lpfc_sli_issue_mbox_s3()
7209 if (psli->sli_flag & LPFC_SLI_ACTIVE) { lpfc_sli_issue_mbox_s3()
7221 psli->sli_flag &= lpfc_sli_issue_mbox_s3()
7238 if (psli->sli_flag & LPFC_SLI_ACTIVE) { lpfc_sli_issue_mbox_s3()
7263 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_sli_issue_mbox_s3()
7293 struct lpfc_sli *psli = &phba->sli; lpfc_sli4_async_mbox_block() local
7299 psli->sli_flag |= LPFC_SLI_ASYNC_MBX_BLK; lpfc_sli4_async_mbox_block()
7327 psli->sli_flag &= ~LPFC_SLI_ASYNC_MBX_BLK; lpfc_sli4_async_mbox_block()
7347 struct lpfc_sli *psli = &phba->sli; lpfc_sli4_async_mbox_unblock() local
7350 if (!(psli->sli_flag & LPFC_SLI_ASYNC_MBX_BLK)) { lpfc_sli4_async_mbox_unblock()
7361 psli->sli_flag &= ~LPFC_SLI_ASYNC_MBX_BLK; lpfc_sli4_async_mbox_unblock()
7425 struct lpfc_sli *psli = &phba->sli; lpfc_sli4_post_sync_mbox() local
7435 if (psli->sli_flag & LPFC_SLI_MBOX_ACTIVE) { lpfc_sli4_post_sync_mbox()
7444 psli->sli_flag, MBX_POLL); lpfc_sli4_post_sync_mbox()
7448 psli->sli_flag |= LPFC_SLI_MBOX_ACTIVE; lpfc_sli4_post_sync_mbox()
7528 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_sli4_post_sync_mbox()
7550 struct lpfc_sli *psli = &phba->sli; lpfc_sli_issue_mbox_s4() local
7566 psli->sli_flag, flag); lpfc_sli_issue_mbox_s4()
7592 psli->sli_flag, flag); lpfc_sli_issue_mbox_s4()
7603 psli->sli_flag, flag); lpfc_sli_issue_mbox_s4()
7626 psli->sli_flag, flag); lpfc_sli_issue_mbox_s4()
7643 psli->sli_flag, flag); lpfc_sli_issue_mbox_s4()
7648 psli->slistat.mbox_busy++; lpfc_sli_issue_mbox_s4()
7660 psli->sli_flag, MBX_NOWAIT); lpfc_sli_issue_mbox_s4()
7681 struct lpfc_sli *psli = &phba->sli; lpfc_sli4_post_async_mbox() local
7694 if (unlikely(psli->sli_flag & LPFC_SLI_ASYNC_MBX_BLK)) { lpfc_sli4_post_async_mbox()
7698 if (psli->sli_flag & LPFC_SLI_MBOX_ACTIVE) { lpfc_sli4_post_async_mbox()
7709 psli->sli_flag |= LPFC_SLI_MBOX_ACTIVE; lpfc_sli4_post_async_mbox()
7716 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_sli4_post_async_mbox()
7734 mod_timer(&psli->mbox_tmo, (jiffies + lpfc_sli4_post_async_mbox()
7743 phba->pport->port_state, psli->sli_flag); lpfc_sli4_post_async_mbox()
7760 psli->slistat.mbox_cmd++; lpfc_sli4_post_async_mbox()
7772 psli->sli_flag, MBX_NOWAIT); lpfc_sli4_post_async_mbox()
7784 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_sli4_post_async_mbox()
8911 struct lpfc_sli *psli; lpfc_extra_ring_setup() local
8914 psli = &phba->sli; lpfc_extra_ring_setup()
8919 pring = &psli->ring[psli->fcp_ring]; lpfc_extra_ring_setup()
8926 pring = &psli->ring[psli->extra_ring]; lpfc_extra_ring_setup()
9125 struct lpfc_sli *psli = &phba->sli; lpfc_sli_setup() local
9128 psli->num_rings = MAX_SLI3_CONFIGURED_RINGS; lpfc_sli_setup()
9130 psli->num_rings += phba->cfg_fcp_io_channel; lpfc_sli_setup()
9131 psli->sli_flag = 0; lpfc_sli_setup()
9132 psli->fcp_ring = LPFC_FCP_RING; lpfc_sli_setup()
9133 psli->next_ring = LPFC_FCP_NEXT_RING; lpfc_sli_setup()
9134 psli->extra_ring = LPFC_EXTRA_RING; lpfc_sli_setup()
9136 psli->iocbq_lookup = NULL; lpfc_sli_setup()
9137 psli->iocbq_lookup_len = 0; lpfc_sli_setup()
9138 psli->last_iotag = 0; lpfc_sli_setup()
9140 for (i = 0; i < psli->num_rings; i++) { lpfc_sli_setup()
9141 pring = &psli->ring[i]; lpfc_sli_setup()
9253 struct lpfc_sli *psli; lpfc_sli_queue_setup() local
9257 psli = &phba->sli; lpfc_sli_queue_setup()
9259 INIT_LIST_HEAD(&psli->mboxq); lpfc_sli_queue_setup()
9260 INIT_LIST_HEAD(&psli->mboxq_cmpl); lpfc_sli_queue_setup()
9262 for (i = 0; i < psli->num_rings; i++) { lpfc_sli_queue_setup()
9263 pring = &psli->ring[i]; lpfc_sli_queue_setup()
9299 struct lpfc_sli *psli = &phba->sli; lpfc_sli_mbox_sys_flush() local
9308 if (psli->mbox_active) { lpfc_sli_mbox_sys_flush()
9309 list_add_tail(&psli->mbox_active->list, &completions); lpfc_sli_mbox_sys_flush()
9310 psli->mbox_active = NULL; lpfc_sli_mbox_sys_flush()
9311 psli->sli_flag &= ~LPFC_SLI_MBOX_ACTIVE; lpfc_sli_mbox_sys_flush()
9348 struct lpfc_sli *psli = &phba->sli; lpfc_sli_host_down() local
9358 for (i = 0; i < psli->num_rings; i++) { lpfc_sli_host_down()
9359 pring = &psli->ring[i]; lpfc_sli_host_down()
9415 struct lpfc_sli *psli = &phba->sli; lpfc_sli_hba_down() local
9429 for (i = 0; i < psli->num_rings; i++) { lpfc_sli_hba_down()
9430 pring = &psli->ring[i]; lpfc_sli_hba_down()
9464 del_timer_sync(&psli->mbox_tmo); lpfc_sli_hba_down()
9920 struct lpfc_sli *psli = &phba->sli; lpfc_sli_hba_iocb_abort() local
9924 for (i = 0; i < psli->num_rings; i++) { lpfc_sli_hba_iocb_abort()
9925 pring = &psli->ring[i]; lpfc_sli_hba_iocb_abort()
10613 struct lpfc_sli *psli = &phba->sli; lpfc_sli_mbox_sys_shutdown() local
10625 psli->sli_flag |= LPFC_SLI_ASYNC_MBX_BLK; lpfc_sli_mbox_sys_shutdown()
10627 if (psli->sli_flag & LPFC_SLI_ACTIVE) { lpfc_sli_mbox_sys_shutdown()
H A Dlpfc_mbox.c292 struct lpfc_sli *psli; lpfc_read_topology() local
294 psli = &phba->sli; lpfc_read_topology()
486 struct lpfc_sli *psli; lpfc_init_link() local
492 psli = &phba->sli; lpfc_init_link()
588 struct lpfc_sli *psli; lpfc_read_sparam() local
590 psli = &phba->sli; lpfc_read_sparam()
941 struct lpfc_sli *psli = &phba->sli; lpfc_config_pcb_setup() local
949 pcbp->maxRing = (psli->num_rings - 1); lpfc_config_pcb_setup()
951 for (i = 0; i < psli->num_rings; i++) { lpfc_config_pcb_setup()
952 pring = &psli->ring[i]; lpfc_config_pcb_setup()
1204 struct lpfc_sli *psli; lpfc_config_ring() local
1214 psli = &phba->sli; lpfc_config_ring()
1215 pring = &psli->ring[ring]; lpfc_config_ring()
1467 struct lpfc_sli *psli; lpfc_mbox_put() local
1469 psli = &phba->sli; lpfc_mbox_put()
1471 list_add_tail(&mbq->list, &psli->mboxq); lpfc_mbox_put()
1473 psli->mboxq_cnt++; lpfc_mbox_put()
1496 struct lpfc_sli *psli = &phba->sli; lpfc_mbox_get() local
1498 list_remove_head((&psli->mboxq), mbq, LPFC_MBOXQ_t, list); lpfc_mbox_get()
1500 psli->mboxq_cnt--; lpfc_mbox_get()
H A Dlpfc_hbadisc.c1053 struct lpfc_sli *psli = &phba->sli; lpfc_mbx_cmpl_clear_la() local
1058 psli->ring[psli->extra_ring].flag &= ~LPFC_STOP_IOCB_EVENT; lpfc_mbx_cmpl_clear_la()
1059 psli->ring[psli->fcp_ring].flag &= ~LPFC_STOP_IOCB_EVENT; lpfc_mbx_cmpl_clear_la()
1060 psli->ring[psli->next_ring].flag &= ~LPFC_STOP_IOCB_EVENT; lpfc_mbx_cmpl_clear_la()
1077 psli->sli_flag |= LPFC_PROCESS_LA; lpfc_mbx_cmpl_clear_la()
1101 psli->sli_flag |= LPFC_PROCESS_LA; lpfc_mbx_cmpl_clear_la()
3256 struct lpfc_sli *psli = &phba->sli; lpfc_enable_la() local
3258 psli->sli_flag |= LPFC_PROCESS_LA; lpfc_enable_la()
4391 struct lpfc_sli *psli = &phba->sli; lpfc_check_sli_ndlp() local
4410 } else if (pring->ringno == psli->extra_ring) { lpfc_check_sli_ndlp()
4412 } else if (pring->ringno == psli->fcp_ring) { lpfc_check_sli_ndlp()
4421 } else if (pring->ringno == psli->next_ring) { lpfc_check_sli_ndlp()
4435 struct lpfc_sli *psli; lpfc_no_rpi() local
4446 psli = &phba->sli; lpfc_no_rpi()
4449 for (i = 0; i < psli->num_rings; i++) { lpfc_no_rpi()
4450 pring = &psli->ring[i]; lpfc_no_rpi()
5010 struct lpfc_sli *psli = &phba->sli; lpfc_issue_clear_la() local
5011 struct lpfc_sli_ring *extra_ring = &psli->ring[psli->extra_ring]; lpfc_issue_clear_la()
5012 struct lpfc_sli_ring *fcp_ring = &psli->ring[psli->fcp_ring]; lpfc_issue_clear_la()
5013 struct lpfc_sli_ring *next_ring = &psli->ring[psli->next_ring]; lpfc_issue_clear_la()
5167 struct lpfc_sli *psli; lpfc_free_tx() local
5172 psli = &phba->sli; lpfc_free_tx()
5173 pring = &psli->ring[LPFC_ELS_RING]; lpfc_free_tx()
5278 struct lpfc_sli *psli = &phba->sli; lpfc_disc_timeout_handler() local
5489 psli->ring[(psli->extra_ring)].flag &= ~LPFC_STOP_IOCB_EVENT; lpfc_disc_timeout_handler()
5490 psli->ring[(psli->fcp_ring)].flag &= ~LPFC_STOP_IOCB_EVENT; lpfc_disc_timeout_handler()
5491 psli->ring[(psli->next_ring)].flag &= ~LPFC_STOP_IOCB_EVENT; lpfc_disc_timeout_handler()
H A Dlpfc_init.c379 struct lpfc_sli *psli = &phba->sli; lpfc_config_port_post() local
501 if (psli->ring[psli->extra_ring].sli.sli3.cmdringaddr) lpfc_config_port_post()
502 psli->ring[psli->extra_ring].flag |= LPFC_STOP_IOCB_EVENT; lpfc_config_port_post()
503 if (psli->ring[psli->fcp_ring].sli.sli3.cmdringaddr) lpfc_config_port_post()
504 psli->ring[psli->fcp_ring].flag |= LPFC_STOP_IOCB_EVENT; lpfc_config_port_post()
505 if (psli->ring[psli->next_ring].sli.sli3.cmdringaddr) lpfc_config_port_post()
506 psli->ring[psli->next_ring].flag |= LPFC_STOP_IOCB_EVENT; lpfc_config_port_post()
543 if (psli->num_rings > 0) lpfc_config_port_post()
545 if (psli->num_rings > 1) lpfc_config_port_post()
547 if (psli->num_rings > 2) lpfc_config_port_post()
549 if (psli->num_rings > 3) lpfc_config_port_post()
882 struct lpfc_sli *psli = &phba->sli; lpfc_hba_free_post_buf() local
892 pring = &psli->ring[LPFC_ELS_RING]; lpfc_hba_free_post_buf()
924 struct lpfc_sli *psli = &phba->sli; lpfc_hba_clean_txcmplq() local
929 for (i = 0; i < psli->num_rings; i++) { lpfc_hba_clean_txcmplq()
930 pring = &psli->ring[i]; lpfc_hba_clean_txcmplq()
991 struct lpfc_sli *psli = &phba->sli; lpfc_hba_down_post_s4() local
996 pring = &psli->ring[LPFC_ELS_RING]; lpfc_hba_down_post_s4()
1180 struct lpfc_sli *psli = &phba->sli; lpfc_hb_timeout_handler() local
1232 if ((!(psli->sli_flag & LPFC_SLI_MBOX_ACTIVE)) && lpfc_hb_timeout_handler()
1233 (list_empty(&psli->mboxq))) { lpfc_hb_timeout_handler()
1304 struct lpfc_sli *psli = &phba->sli; lpfc_offline_eratt() local
1307 psli->sli_flag &= ~LPFC_SLI_ACTIVE; lpfc_offline_eratt()
1356 struct lpfc_sli *psli = &phba->sli; lpfc_handle_deferred_eratt() local
1375 psli->sli_flag &= ~LPFC_SLI_ACTIVE; lpfc_handle_deferred_eratt()
1451 struct lpfc_sli *psli = &phba->sli; lpfc_handle_eratt_s3() local
1494 psli->sli_flag &= ~LPFC_SLI_ACTIVE; lpfc_handle_eratt_s3()
1773 struct lpfc_sli *psli = &phba->sli; lpfc_handle_latt() local
1800 psli->slistat.link_event++; lpfc_handle_latt()
1830 psli->sli_flag |= LPFC_PROCESS_LA; lpfc_handle_latt()
2382 struct lpfc_sli *psli = &phba->sli; lpfc_post_rcv_buf() local
2385 lpfc_post_buffer(phba, &psli->ring[LPFC_ELS_RING], LPFC_BUF_RING0); lpfc_post_rcv_buf()
4934 struct lpfc_sli *psli; lpfc_sli_driver_resource_setup() local
4946 psli = &phba->sli; lpfc_sli_driver_resource_setup()
4948 init_timer(&psli->mbox_tmo); lpfc_sli_driver_resource_setup()
4949 psli->mbox_tmo.function = lpfc_mbox_timeout; lpfc_sli_driver_resource_setup()
4950 psli->mbox_tmo.data = (unsigned long) phba; lpfc_sli_driver_resource_setup()
5097 struct lpfc_sli *psli; lpfc_sli4_driver_resource_setup() local
5125 psli = &phba->sli; lpfc_sli4_driver_resource_setup()
5127 init_timer(&psli->mbox_tmo); lpfc_sli4_driver_resource_setup()
5128 psli->mbox_tmo.function = lpfc_mbox_timeout; lpfc_sli4_driver_resource_setup()
5129 psli->mbox_tmo.data = (unsigned long) phba; lpfc_sli4_driver_resource_setup()
7458 struct lpfc_sli *psli = &phba->sli; lpfc_sli4_queue_setup() local
7614 pring = &psli->ring[MAX_SLI3_CONFIGURED_RINGS + fcp_wqidx]; lpfc_sli4_queue_setup()
7711 pring = &psli->ring[LPFC_ELS_RING]; lpfc_sli4_queue_setup()
10020 struct lpfc_sli *psli = &phba->sli; lpfc_io_slot_reset_s3() local
10042 psli->sli_flag &= ~LPFC_SLI_ACTIVE; lpfc_io_slot_reset_s3()
10769 struct lpfc_sli *psli = &phba->sli; lpfc_io_slot_reset_s4() local
10791 psli->sli_flag &= ~LPFC_SLI_ACTIVE; lpfc_io_slot_reset_s4()
11137 struct lpfc_sli *psli = &phba->sli; lpfc_fof_queue_setup() local
11156 phba->sli4_hba.oas_cq->pring = &psli->ring[LPFC_FCP_OAS_RING]; lpfc_fof_queue_setup()
11157 phba->sli4_hba.oas_ring = &psli->ring[LPFC_FCP_OAS_RING]; lpfc_fof_queue_setup()
H A Dlpfc_bsg.c1686 struct lpfc_sli *psli; lpfc_bsg_diag_mode_enter() local
1690 psli = &phba->sli; lpfc_bsg_diag_mode_enter()
1691 if (!psli) lpfc_bsg_diag_mode_enter()
1694 pring = &psli->ring[LPFC_FCP_RING]; lpfc_bsg_diag_mode_enter()
1699 (psli->sli_flag & LPFC_BLOCK_MGMT_IO) || lpfc_bsg_diag_mode_enter()
1700 (!(psli->sli_flag & LPFC_SLI_ACTIVE))) lpfc_bsg_diag_mode_enter()
2846 struct lpfc_sli *psli = &phba->sli; lpfcdiag_loop_post_rxbufs() local
2847 struct lpfc_sli_ring *pring = &psli->ring[LPFC_ELS_RING]; lpfcdiag_loop_post_rxbufs()
2994 struct lpfc_sli *psli = &phba->sli; lpfc_bsg_diag_loopback_run() local
3038 (psli->sli_flag & LPFC_BLOCK_MGMT_IO) || lpfc_bsg_diag_loopback_run()
3039 (!(psli->sli_flag & LPFC_SLI_ACTIVE))) { lpfc_bsg_diag_loopback_run()
H A Dlpfc_attr.c697 struct lpfc_sli *psli; lpfc_do_offline() local
714 psli = &phba->sli; lpfc_do_offline()
719 for (i = 0; i < psli->num_rings; i++) { lpfc_do_offline()
720 pring = &psli->ring[i]; lpfc_do_offline()
5324 struct lpfc_sli *psli = &phba->sli; lpfc_get_stats() local
5326 struct lpfc_lnk_stat * lso = &psli->lnk_stat_offsets; lpfc_get_stats()
5431 if (seconds < psli->stats_start) lpfc_get_stats()
5433 ((unsigned long)-1 - psli->stats_start); lpfc_get_stats()
5435 hs->seconds_since_last_reset = seconds - psli->stats_start; lpfc_get_stats()
5451 struct lpfc_sli *psli = &phba->sli; lpfc_reset_stats() local
5452 struct lpfc_lnk_stat *lso = &psli->lnk_stat_offsets; lpfc_reset_stats()
5473 (!(psli->sli_flag & LPFC_SLI_ACTIVE))) lpfc_reset_stats()
5491 (!(psli->sli_flag & LPFC_SLI_ACTIVE))) lpfc_reset_stats()
5514 psli->stats_start = get_seconds(); lpfc_reset_stats()
H A Dlpfc_els.c1961 struct lpfc_sli *psli; lpfc_issue_els_plogi() local
1966 psli = &phba->sli; lpfc_issue_els_plogi()
2036 struct lpfc_sli *psli; lpfc_cmpl_els_prli() local
2039 psli = &phba->sli; lpfc_cmpl_els_prli()
2480 struct lpfc_sli *psli; lpfc_cmpl_els_logo() local
2485 psli = &phba->sli; lpfc_cmpl_els_logo()
2746 struct lpfc_sli *psli; lpfc_issue_els_scr() local
2751 psli = &phba->sli; lpfc_issue_els_scr()
2840 struct lpfc_sli *psli; lpfc_issue_els_farpr() local
2848 psli = &phba->sli; lpfc_issue_els_farpr()
3933 struct lpfc_sli *psli; lpfc_els_rsp_acc() local
3939 psli = &phba->sli; lpfc_els_rsp_acc()
4070 struct lpfc_sli *psli; lpfc_els_rsp_reject() local
4075 psli = &phba->sli; lpfc_els_rsp_reject()
4221 struct lpfc_sli *psli; lpfc_els_rsp_prli_acc() local
4226 psli = &phba->sli; lpfc_els_rsp_prli_acc()
4324 struct lpfc_sli *psli; lpfc_els_rsp_rnid_acc() local
4329 psli = &phba->sli; lpfc_els_rsp_rnid_acc()
4456 struct lpfc_sli *psli; lpfc_els_rsp_echo_acc() local
4461 psli = &phba->sli; lpfc_els_rsp_echo_acc()
H A Dlpfc_ct.c2197 struct lpfc_sli *psli = &phba->sli; lpfc_decode_firmware_rev() local
2207 if (psli->sli_flag & LPFC_SLI_ACTIVE) lpfc_decode_firmware_rev()
2236 if (psli->sli_flag & LPFC_SLI_ACTIVE) lpfc_decode_firmware_rev()
H A Dlpfc_nportdisc.c207 struct lpfc_sli *psli = &phba->sli; lpfc_els_abort() local
208 struct lpfc_sli_ring *pring = &psli->ring[LPFC_ELS_RING]; lpfc_els_abort()
H A Dlpfc_debugfs.c455 struct lpfc_sli *psli = &phba->sli; lpfc_debugfs_dumpHostSlim_data() local
489 pring = &psli->ring[i]; lpfc_debugfs_dumpHostSlim_data()

Completed in 394 milliseconds