Searched refs:bch (Results 1 – 9 of 9) sorted by relevance
97 card->bch[j].e.busy = 0; in eicon_pci_init_conf()98 card->bch[j].e.D3Id = 0; in eicon_pci_init_conf()99 card->bch[j].e.B2Id = 0; in eicon_pci_init_conf()100 card->bch[j].e.ref = 0; in eicon_pci_init_conf()101 card->bch[j].e.Req = 0; in eicon_pci_init_conf()102 card->bch[j].e.complete = 1; in eicon_pci_init_conf()103 card->bch[j].fsm_state = EICON_STATE_NULL; in eicon_pci_init_conf()
118 return &(card->bch[channel]); in find_channel()1056 if (!(card->bch = (eicon_chan *) kmalloc(sizeof(eicon_chan) * (card->nchannels + 1) in eicon_alloccard()1064 memset((char *)&card->bch[j], 0, sizeof(eicon_chan)); in eicon_alloccard()1065 card->bch[j].statectrl = 0; in eicon_alloccard()1066 card->bch[j].l2prot = ISDN_PROTO_L2_X75I; in eicon_alloccard()1067 card->bch[j].l3prot = ISDN_PROTO_L3_TRANS; in eicon_alloccard()1068 card->bch[j].e.D3Id = 0; in eicon_alloccard()1069 card->bch[j].e.B2Id = 0; in eicon_alloccard()1070 card->bch[j].e.Req = 0; in eicon_alloccard()1071 card->bch[j].No = j; in eicon_alloccard()[all …]
437 ((eicon_card *)card->card)->bch[j].e.busy = 0; in eicon_isa_load()438 ((eicon_card *)card->card)->bch[j].e.D3Id = 0; in eicon_isa_load()439 ((eicon_card *)card->card)->bch[j].e.B2Id = 0; in eicon_isa_load()440 ((eicon_card *)card->card)->bch[j].e.ref = 0; in eicon_isa_load()441 ((eicon_card *)card->card)->bch[j].e.Req = 0; in eicon_isa_load()442 ((eicon_card *)card->card)->bch[j].e.complete = 1; in eicon_isa_load()443 ((eicon_card *)card->card)->bch[j].fsm_state = EICON_STATE_NULL; in eicon_isa_load()
2865 if ((ccard->bch[j].e.ref == ack->Reference) && in idi_handle_ack()2866 (ccard->bch[j].e.Req == ASSIGN)) { in idi_handle_ack()2867 if (!ccard->bch[j].e.ReqCh) in idi_handle_ack()2868 ccard->bch[j].e.D3Id = ack->RcId; in idi_handle_ack()2870 ccard->bch[j].e.B2Id = ack->RcId; in idi_handle_ack()2871 ccard->IdTable[ack->RcId] = &ccard->bch[j]; in idi_handle_ack()2872 chan = &ccard->bch[j]; in idi_handle_ack()2878 ack->RcId, (ccard->bch[j].e.ReqCh)? "Net":"Sig"); in idi_handle_ack()3023 chan = &(card->bch[card->nchannels]); in eicon_idi_manage_assign()3065 chan = &(card->bch[card->nchannels]); in eicon_idi_manage_remove()[all …]
333 eicon_chan *bch; /* B-Channel status/control */ member
141 eazmask |= card->bch[i].eazmask; in actcapi_listen_req()508 if (card->bch[i].plci == 0x8000) { in new_plci()509 card->bch[i].plci = plci; in new_plci()520 if (card->bch[i].plci == plci) in find_plci()530 if (card->bch[i].ncci == ncci) in find_ncci()540 if ((card->bch[i].callref == callref) && in find_dialing()541 (card->bch[i].fsm_state == ACT2000_STATE_OCALL)) in find_dialing()559 if (card->bch[chan].fsm_state != ACT2000_STATE_ACTIVE) in actcapi_data_b3_ind()561 if (card->bch[chan].plci != plci) in actcapi_data_b3_ind()655 if ((chan >= 0) && (card->bch[chan].fsm_state == ACT2000_STATE_ACTIVE)) { in actcapi_dispatch()[all …]
54 return &(card->bch[channel]); in find_channel()639 card->bch[i].plci = 0x8000; in act2000_alloccard()640 card->bch[i].ncci = 0x8000; in act2000_alloccard()641 card->bch[i].l2prot = ISDN_PROTO_L2_X75I; in act2000_alloccard()642 card->bch[i].l3prot = ISDN_PROTO_L3_TRANS; in act2000_alloccard()
171 act2000_chan bch[ACT2000_BCH]; /* B-Channel status/control */ member
885 *selectfreechannel(struct PStack *st, int bch) in selectfreechannel() argument896 if (!bch) { in selectfreechannel()901 while (i < ((bch) ? cs->chanlimit : (2 + MAX_WAITING_CALLS))) { in selectfreechannel()908 if (bch) /* number of channels is limited */ { in selectfreechannel()