Home
last modified time | relevance | path

Searched refs:channelno (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c2255 uint32_t channelno; in emlxs_tx_channel_flush() local
2263 channelno = cp->channelno; in emlxs_tx_channel_flush()
2274 if (ndlp->nlp_ptx[channelno].q_first) { in emlxs_tx_channel_flush()
2278 ndlp->nlp_ptx[channelno].q_first; in emlxs_tx_channel_flush()
2281 (IOCBQ *)ndlp->nlp_ptx[channelno].q_first; in emlxs_tx_channel_flush()
2283 flag[channelno] = 1; in emlxs_tx_channel_flush()
2285 abort.q_last = ndlp->nlp_ptx[channelno].q_last; in emlxs_tx_channel_flush()
2286 abort.q_cnt += ndlp->nlp_ptx[channelno].q_cnt; in emlxs_tx_channel_flush()
2290 if (ndlp->nlp_tx[channelno].q_first) { in emlxs_tx_channel_flush()
2293 abort.q_first = ndlp->nlp_tx[channelno].q_first; in emlxs_tx_channel_flush()
[all …]
H A Demlxs_node.c39 emlxs_node_close(emlxs_port_t *port, NODELIST *ndlp, uint32_t channelno, in emlxs_node_close() argument
69 if (channelno == hba->channel_ip) { in emlxs_node_close()
75 if (ndlp->nlp_flag[channelno] & NLP_CLOSED) { in emlxs_node_close()
76 if (ndlp->nlp_flag[channelno] & NLP_OFFLINE) { in emlxs_node_close()
82 ndlp->nlp_tics[channelno] = hba->timer_tics + timeout; in emlxs_node_close()
83 ndlp->nlp_flag[channelno] |= NLP_OFFLINE; in emlxs_node_close()
88 ndlp, ndlp->nlp_DID, channelno, timeout); in emlxs_node_close()
91 ndlp->nlp_tics[channelno] = hba->timer_tics + timeout; in emlxs_node_close()
96 ndlp, ndlp->nlp_DID, channelno, timeout); in emlxs_node_close()
105 ndlp->nlp_flag[channelno] |= NLP_CLOSED; in emlxs_node_close()
[all …]
H A Demlxs_clock.c278 int32_t channelno; in emlxs_timer_check_pkts() local
311 for (channelno = 0; channelno < hba->chan_count; channelno++) { in emlxs_timer_check_pkts()
312 cp = &hba->chan[channelno]; in emlxs_timer_check_pkts()
322 iocbq = (IOCBQ *)nlp->nlp_ptx[channelno].q_first; in emlxs_timer_check_pkts()
333 nlp->nlp_ptx[channelno].q_last = in emlxs_timer_check_pkts()
338 nlp->nlp_ptx[channelno]. in emlxs_timer_check_pkts()
345 nlp->nlp_ptx[channelno].q_cnt--; in emlxs_timer_check_pkts()
381 iocbq = (IOCBQ *)nlp->nlp_tx[channelno].q_first; in emlxs_timer_check_pkts()
392 nlp->nlp_tx[channelno].q_last = in emlxs_timer_check_pkts()
397 nlp->nlp_tx[channelno].q_first = in emlxs_timer_check_pkts()
[all …]
H A Demlxs_ip.c58 if (cp->channelno != hba->channel_ip) { in emlxs_ip_handle_event()
316 rp = &hba->sli.sli3.ring[cp->channelno]; in emlxs_ip_handle_rcv_seq_list()
323 cmd->ULPSTATUS, cmd->un.ulpWord[4], cp->channelno); in emlxs_ip_handle_rcv_seq_list()
424 ndlp->nlp_flag[cp->channelno] &= ~NLP_RPI_XRI; in emlxs_handle_create_xri()
433 ndlp->nlp_flag[cp->channelno] &= ~NLP_RPI_XRI; in emlxs_handle_create_xri()
468 (ndlp->nlp_flag[cp->channelno] & NLP_RPI_XRI)) { in emlxs_create_xri()
472 ndlp->nlp_flag[cp->channelno] |= NLP_RPI_XRI; in emlxs_create_xri()
534 ndlp->nlp_flag[cp->channelno] &= ~NLP_RPI_XRI; in emlxs_create_xri()
H A Demlxs_sli3.c1064 cp->channelno = i; in emlxs_sli3_online()
2352 uint32_t channelno; in emlxs_sli2_bde_setup() local
2380 channelno = (iocbq->flag & IOCB_FCP_CMD)? FC_FCP_RING:cp->channelno; in emlxs_sli2_bde_setup()
2381 switch (channelno) { in emlxs_sli2_bde_setup()
2489 uint32_t channelno; in emlxs_sli3_bde_setup() local
2520 channelno = (iocbq->flag & IOCB_FCP_CMD)? FC_FCP_RING:cp->channelno; in emlxs_sli3_bde_setup()
2521 switch (channelno) { in emlxs_sli3_bde_setup()
2795 uint32_t channelno; in emlxs_sli3_issue_iocb_cmd() local
2802 channelno = cp->channelno; in emlxs_sli3_issue_iocb_cmd()
2818 if (mutex_tryenter(&EMLXS_CMD_RING_LOCK(channelno)) == 0) { in emlxs_sli3_issue_iocb_cmd()
[all …]
H A Demlxs_fct.c2532 int channelno; local
2555 channelno = ((CHANNEL *)cmd_sbp->channel)->channelno;
2557 channel = channelno;
4301 uint8_t channelno; local
4331 channelno = (cp) ? cp->channelno : 0;
4339 next = (IOCBQ *)nlp->nlp_ptx[channelno].q_first;
4348 if (nlp->nlp_ptx[channelno].q_last ==
4350 nlp->nlp_ptx[channelno].q_last =
4354 if (nlp->nlp_ptx[channelno].q_first ==
4356 nlp->nlp_ptx[channelno].
[all …]
H A Demlxs_solaris.c3423 uint8_t channelno; in emlxs_fca_pkt_abort() local
3439 channelno = (cp) ? cp->channelno : 0; in emlxs_fca_pkt_abort()
3514 next = (IOCBQ *) nlp->nlp_ptx[channelno].q_first; in emlxs_fca_pkt_abort()
3523 if (nlp->nlp_ptx[channelno].q_last == in emlxs_fca_pkt_abort()
3525 nlp->nlp_ptx[channelno].q_last = in emlxs_fca_pkt_abort()
3529 if (nlp->nlp_ptx[channelno].q_first == in emlxs_fca_pkt_abort()
3531 nlp->nlp_ptx[channelno]. in emlxs_fca_pkt_abort()
3536 nlp->nlp_ptx[channelno].q_cnt--; in emlxs_fca_pkt_abort()
3548 next = (IOCBQ *) nlp->nlp_tx[channelno].q_first; in emlxs_fca_pkt_abort()
3557 if (nlp->nlp_tx[channelno].q_last == in emlxs_fca_pkt_abort()
[all …]
H A Demlxs_sli4.c2257 uint16_t channelno; in emlxs_sli4_hba_reset() local
2350 for (channelno = 0; channelno < hba->chan_count; channelno++) { in emlxs_sli4_hba_reset()
2351 cp = &hba->chan[channelno]; in emlxs_sli4_hba_reset()
2353 cp->channelno = channelno; in emlxs_sli4_hba_reset()
2836 uint32_t channelno; in emlxs_sli4_issue_iocb_cmd() local
2851 channelno = cp->channelno; in emlxs_sli4_issue_iocb_cmd()
2856 "ISSUE WQE channel: %x %p", channelno, wq); in emlxs_sli4_issue_iocb_cmd()
2872 if (mutex_tryenter(&EMLXS_QUE_LOCK(channelno)) == 0) { in emlxs_sli4_issue_iocb_cmd()
2881 mutex_enter(&EMLXS_QUE_LOCK(channelno)); in emlxs_sli4_issue_iocb_cmd()
2998 if ((channelno == hba->channel_els) && in emlxs_sli4_issue_iocb_cmd()
[all …]
H A Demlxs_els.c118 if (cp->channelno != hba->channel_els) { in emlxs_els_handle_event()
123 "status=0x%x perr=0x%x", cp->channelno, iocbq, in emlxs_els_handle_event()
2854 if (cp->channelno != hba->channel_ct) { in emlxs_menlo_handle_event()
2858 "Invalid IO channel:%d iocbq=%p", cp->channelno, iocbq); in emlxs_menlo_handle_event()
2982 if (cp->channelno != hba->channel_ct) { in emlxs_ct_handle_event()
2986 "Invalid channel: channel=%d iocbq=%p", cp->channelno, in emlxs_ct_handle_event()
H A Demlxs_hba.c2439 cp->channelno, iocb, (uint8_t)iocb->ULPCOMMAND, in emlxs_proc_channel_event()
H A Demlxs_dfc.c9102 if (cp->channelno != hba->channel_ct) { in emlxs_dfc_handle_event()
9106 "CT Event: Invalid IO Channel:%d iocbq=%p", cp->channelno, in emlxs_dfc_handle_event()
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h330 uint16_t channelno; member