Lines Matching refs:Id
65 byte Id, byte Ch, byte Rc, byte cb, byte type);
66 static void xdi_xlog_request(byte Adapter, byte Id,
69 byte Id,
90 byte Id; in pr_out() local
119 DBG_TRC((">A%d Id=0x%x Req=0x%x", ((ISDN_ADAPTER *)a->io)->ANum, this->Id, this->Req)) in pr_out()
122 dbug(dprintf("out:Req=%x,Id=%x,Ch=%x", this->Req, this->Id, this->ReqCh)); in pr_out()
127 if (!(a->tx_stream[this->Id] && in pr_out()
154 this->Id, in pr_out()
165 a->ram_out(a, &ReqOut->ReqId, this->Id); in pr_out()
168 if (this->Id & 0x1f) { in pr_out()
173 xdi_xlog_request(XDI_A_NR(a), this->Id, this->ReqCh, this->MInd, in pr_out()
179 xdi_xlog_request(XDI_A_NR(a), this->Id, this->ReqCh, this->Req, in pr_out()
184 if (a->FlowControlIdTable[this->ReqCh] == this->Id) in pr_out()
203 if (this->Id == BLLC_ID) this->MInd = LL_MDATA; in pr_out()
204 if (this->Id == NL_ID || in pr_out()
205 this->Id == TASK_ID || in pr_out()
206 this->Id == MAN_ID in pr_out()
209 a->IdTypeTable[this->No] = this->Id; in pr_out()
210 xdi_xlog_request(XDI_A_NR(a), this->Id, this->ReqCh, this->Req, this->Id); in pr_out()
226 if (this && (this->Req == UREMOVE) && this->Id) { in pr_out()
227 Id = this->Id; in pr_out()
228 e_no = a->IdTable[Id]; in pr_out()
232 if (a->FlowControlIdTable[i] == Id) in pr_out()
235 a->IdTable[Id] = 0; in pr_out()
236 this->Id = 0; in pr_out()
358 byte Id, in isdn_rc() argument
370 DBG_TRC(("<A%d Id=0x%x Rc=0x%x", ((ISDN_ADAPTER *)a->io)->ANum, Id, Rc)) in isdn_rc()
373 dbug(dprintf("isdn_rc(Rc=%x,Id=%x,Ch=%x)", Rc, Id, Ch)); in isdn_rc()
377 xdi_xlog_rc_event(XDI_A_NR(a), Id, Ch, Rc, 0, 0); in isdn_rc()
385 e_no = a->IdTable[Id]; in isdn_rc()
388 xdi_xlog_rc_event(XDI_A_NR(a), Id, Ch, Rc, 0, a->IdTypeTable[this->No]); in isdn_rc()
398 XDI_A_NR(a), Id)); in isdn_rc()
409 if (a->FlowControlIdTable[i] == Id) in isdn_rc()
412 a->IdTable[Id] = 0; in isdn_rc()
413 this->Id = 0; in isdn_rc()
426 XDI_A_NR(a), Id)); in isdn_rc()
430 a->FlowControlIdTable[Ch] = Id; in isdn_rc()
435 xdi_xlog_rc_event(XDI_A_NR(a), Id, Ch, Rc, 1, a->IdTypeTable[this->No]); in isdn_rc()
453 xdi_xlog_rc_event(XDI_A_NR(a), Id, Ch, Rc, 1, a->IdTypeTable[this->No]); in isdn_rc()
455 XDI_A_NR(a), Id, Ch, Rc)) in isdn_rc()
460 if (cancel_rc && (a->FlowControlIdTable[Ch] == Id)) in isdn_rc()
471 xdi_xlog_rc_event(XDI_A_NR(a), Id, Ch, Rc, 1, a->IdTypeTable[this->No]); in isdn_rc()
483 xdi_xlog_rc_event(XDI_A_NR(a), Id, Ch, Rc, 1, a->IdTypeTable[this->No]); in isdn_rc()
494 this->Id = Id; in isdn_rc()
495 xdi_xlog_rc_event(XDI_A_NR(a), Id, Ch, Rc, 2, a->IdTypeTable[this->No]); in isdn_rc()
514 a->tx_stream[Id] = tmp[0]; in isdn_rc()
515 a->rx_stream[Id] = tmp[1]; in isdn_rc()
518 Id, a->tx_stream[Id], a->rx_stream[Id])) in isdn_rc()
522 Id, a->tx_stream[Id], a->rx_stream[Id])) in isdn_rc()
524 a->rx_pos[Id] = 0; in isdn_rc()
525 a->rx_stream[Id] -= offset; in isdn_rc()
527 a->tx_pos[Id] = 0; in isdn_rc()
528 a->tx_stream[Id] -= offset; in isdn_rc()
530 a->tx_stream[Id] = 0; in isdn_rc()
531 a->rx_stream[Id] = 0; in isdn_rc()
537 a->IdTable[Id] = e_no; in isdn_rc()
544 if (a->FlowControlIdTable[i] == Id) in isdn_rc()
547 a->IdTable[Id] = 0; in isdn_rc()
548 this->Id = 0; in isdn_rc()
560 byte Id, in isdn_ind() argument
573 DBG_TRC(("<A%d Id=0x%x Ind=0x%x", ((ISDN_ADAPTER *)a->io)->ANum, Id, Ind)) in isdn_ind()
576 dbug(dprintf("isdn_ind(Ind=%x,Id=%x,Ch=%x)", Ind, Id, Ch)); in isdn_ind()
578 if (a->IdTable[Id]) { in isdn_ind()
579 this = entity_ptr(a, a->IdTable[Id]); in isdn_ind()
581 xdi_xlog_ind(XDI_A_NR(a), Id, Ch, Ind, in isdn_ind()
599 if ((a->rx_stream[this->Id] || in isdn_ind()
609 (int)a->rx_stream[this->Id], (void **)&cma, &d); in isdn_ind()
620 Id, in isdn_ind()
642 this = entity_ptr(a, a->IdTable[Id]); in isdn_ind()
643 xdi_xlog_ind(XDI_A_NR(a), Id, Ch, Ind, in isdn_ind()
654 xdi_xlog_ind(XDI_A_NR(a), Id, Ch, Ind, in isdn_ind()
715 xdi_xlog_ind(XDI_A_NR(a), Id, Ch, Ind, in isdn_ind()
758 byte Id, byte Ch, byte Rc, byte cb, byte type) { in xdi_xlog_rc_event() argument
762 PUT_WORD(&LogInfo[1], ((word)Id | (word)(Ch << 8))); in xdi_xlog_rc_event()
781 static void xdi_xlog_request(byte Adapter, byte Id, in xdi_xlog_request() argument
786 PUT_WORD(&LogInfo[1], ((word)Id | (word)(Ch << 8))); in xdi_xlog_request()
821 byte Id, in xdi_xlog_ind() argument
830 PUT_WORD(&LogInfo[1], ((word)Id | (word)(Ch << 8))); in xdi_xlog_ind()