Lines Matching refs:ch

622 			printk(KERN_DEBUG "hfcpci rec ch(%x) f1(%d) f2(%d)\n",
632 "hfcpci rec ch(%x) z1(%x) z2(%x) cnt(%d)\n",
771 printk(KERN_DEBUG "hfcpci_fill_fifo_trans ch(%x) "
849 "%s: ch(%x) f1(%d) f2(%d) z1(f1)(%x)\n",
868 printk(KERN_DEBUG "hfcpci_fill_fifo ch(%x) count(%d/%d)\n",
1245 "HFCPCI bchannel protocol %x-->%x ch %x-->%x\n",
1436 "HFCPCI bchannel test rx protocol %x-->%x ch %x-->%x\n",
1525 hfc_bctrl(struct mISDNchannel *ch, u_int cmd, void *arg)
1527 struct bchannel *bch = container_of(ch, struct bchannel, ch);
1554 ch->protocol = ISDN_P_NONE;
1555 ch->peer = NULL;
1573 hfcpci_l2l1D(struct mISDNchannel *ch, struct sk_buff *skb)
1575 struct mISDNdevice *dev = container_of(ch, struct mISDNdevice, D);
1592 queue_ch_frame(ch, PH_DATA_CNF, id, NULL);
1662 hfcpci_l2l1B(struct mISDNchannel *ch, struct sk_buff *skb)
1664 struct bchannel *bch = container_of(ch, struct bchannel, ch);
1683 ret = mode_hfcpci(bch, bch->nr, ch->protocol);
1688 _queue_data(ch, PH_ACTIVATE_IND, MISDN_ID_ANY, 0,
1693 _queue_data(ch, PH_DEACTIVATE_IND, MISDN_ID_ANY, 0,
1878 open_dchannel(struct hfc_pci *hc, struct mISDNchannel *ch,
1899 ch->protocol = rq->protocol;
1904 if (rq->protocol != ch->protocol) {
1913 ch->protocol = rq->protocol;
1918 if (((ch->protocol == ISDN_P_NT_S0) && (hc->dch.state == 3)) ||
1919 ((ch->protocol == ISDN_P_TE_S0) && (hc->dch.state == 7))) {
1920 _queue_data(ch, PH_ACTIVATE_IND, MISDN_ID_ANY,
1923 rq->ch = ch;
1941 bch->ch.protocol = rq->protocol;
1942 rq->ch = &bch->ch; /* TODO: E-channel */
1952 hfc_dctrl(struct mISDNchannel *ch, u_int cmd, void *arg)
1954 struct mISDNdevice *dev = container_of(ch, struct mISDNdevice, D);
1968 err = open_dchannel(hc, ch, rq);
2106 card->bch[i].ch.send = hfcpci_l2l1B;
2107 card->bch[i].ch.ctrl = hfc_bctrl;
2108 card->bch[i].ch.nr = i + 1;
2109 list_add(&card->bch[i].ch.list, &card->dch.dev.bchannels);