• Home
  • Raw
  • Download

Lines Matching refs:bchan

871 	capidrv_bchan *bchan;  in handle_incoming_call()  local
879 bchan = &card->bchans[chan]; in handle_incoming_call()
884 bchan->incoming = 1; in handle_incoming_call()
1580 struct capidrv_bchan *bchan; in capidrv_command() local
1602 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1604 if (bchan->plcip) { in capidrv_command()
1612 bchan->plcip->plci); in capidrv_command()
1615 bchan->si1 = c->parm.setup.si1; in capidrv_command()
1616 bchan->si2 = c->parm.setup.si2; in capidrv_command()
1618 strncpy(bchan->num, c->parm.setup.phone, sizeof(bchan->num)); in capidrv_command()
1619 strncpy(bchan->mynum, c->parm.setup.eazmsn, sizeof(bchan->mynum)); in capidrv_command()
1620 rc = FVteln2capi20(bchan->num, AdditionalInfo); in capidrv_command()
1623 …KERN_ERR "capidrv-%d: WARNING: invalid leased linedefinition \"%s\"\n", card->contrnr, bchan->num); in capidrv_command()
1631 calling[0] = strlen(bchan->mynum) + 2; in capidrv_command()
1634 strncpy(calling + 3, bchan->mynum, ISDN_MSNLEN); in capidrv_command()
1635 called[0] = strlen(bchan->num) + 1; in capidrv_command()
1637 strncpy(called + 2, bchan->num, ISDN_MSNLEN); in capidrv_command()
1644 si2cip(bchan->si1, bchan->si2), /* cipvalue */ in capidrv_command()
1649 b1prot(bchan->l2, bchan->l3), /* B1protocol */ in capidrv_command()
1650 b2prot(bchan->l2, bchan->l3), /* B2protocol */ in capidrv_command()
1651 b3prot(bchan->l2, bchan->l3), /* B3protocol */ in capidrv_command()
1652 b1config(bchan->l2, bchan->l3), /* B1configuration */ in capidrv_command()
1680 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1684 c->arg, bchan->l2, bchan->l3); in capidrv_command()
1689 bchan->plcip->plci, /* adr */ in capidrv_command()
1691 b1prot(bchan->l2, bchan->l3), /* B1protocol */ in capidrv_command()
1692 b2prot(bchan->l2, bchan->l3), /* B2protocol */ in capidrv_command()
1693 b3prot(bchan->l2, bchan->l3), /* B3protocol */ in capidrv_command()
1694 b1config(bchan->l2, bchan->l3), /* B1configuration */ in capidrv_command()
1706 plci_change_state(card, bchan->plcip, EV_PLCI_CONNECT_RESP); in capidrv_command()
1722 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1724 if (bchan->disconnecting) { in capidrv_command()
1731 if (bchan->nccip) { in capidrv_command()
1732 bchan->disconnecting = 1; in capidrv_command()
1736 bchan->nccip->ncci, in capidrv_command()
1739 ncci_change_state(card, bchan->nccip, EV_NCCI_DISCONNECT_B3_REQ); in capidrv_command()
1742 } else if (bchan->plcip) { in capidrv_command()
1743 if (bchan->plcip->state == ST_PLCI_INCOMING) { in capidrv_command()
1750 bchan->disconnecting = 1; in capidrv_command()
1752 } else if (bchan->plcip->plci) { in capidrv_command()
1753 bchan->disconnecting = 1; in capidrv_command()
1757 bchan->plcip->plci, in capidrv_command()
1763 plci_change_state(card, bchan->plcip, EV_PLCI_DISCONNECT_REQ); in capidrv_command()
1784 bchan = &card->bchans[(c->arg & 0xff) % card->nbchan]; in capidrv_command()
1785 bchan->l2 = (c->arg >> 8); in capidrv_command()
1793 bchan = &card->bchans[(c->arg & 0xff) % card->nbchan]; in capidrv_command()
1794 bchan->l3 = (c->arg >> 8); in capidrv_command()
1802 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1803 strncpy(bchan->msn, c->parm.num, ISDN_MSNLEN); in capidrv_command()
1810 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1811 bchan->msn[0] = 0; in capidrv_command()
1840 capidrv_bchan *bchan; in if_sendbuf() local
1856 bchan = &card->bchans[channel % card->nbchan]; in if_sendbuf()
1857 nccip = bchan->nccip; in if_sendbuf()