Lines Matching refs:channo
738 unsigned int channo;
757 channo = qe->cmd & 0xffff;
759 if (channo < dev->nchannels)
760 atm_vcc = dev->atm_vccs[channo];
781 printk (KERN_ERR "Got a receive on a non-open channel %d.\n", channo);
865 for (to=33;to;to--, dev->channo++) {
867 if (dev->channo >= 32)
868 dev->channo = 0;
870 if (DO_DIRECTION(rxtp) && dev->atm_vccs[dev->channo])
873 if (DO_DIRECTION(txtp) && test_bit (dev->channo, dev->tx_inuse))
882 vcc->channo = dev->channo;
883 dev->channo &= dev->channel_mask;
886 vcc->channo = (vpi << FS155_VCI_BITS) | (vci);
887 if (((DO_DIRECTION(rxtp) && dev->atm_vccs[vcc->channo])) ||
888 ( DO_DIRECTION(txtp) && test_bit (vcc->channo, dev->tx_inuse))) {
894 vcc->channo, vcc->channo);
995 QE_CMD_CONFIG_TX | QE_CMD_IMM_INQ | vcc->channo,
999 QE_CMD_TX_EN | QE_CMD_IMM_INQ | vcc->channo,
1001 set_bit (vcc->channo, dev->tx_inuse);
1005 dev->atm_vccs[vcc->channo] = atm_vcc;
1013 dev->atm_vccs[vcc->channo] = NULL;
1022 QE_CMD_CONFIG_RX | QE_CMD_IMM_INQ | vcc->channo,
1029 QE_CMD_CONFIG_RX | QE_CMD_IMM_INQ | vcc->channo,
1038 0x80 + vcc->channo,
1042 QE_CMD_RX_EN | QE_CMD_IMM_INQ | vcc->channo,
1079 QE_CMD_TX_PURGE_INH | /*QE_CMD_IMM_INQ|*/ vcc->channo, 0,0,0);
1080 clear_bit (vcc->channo, dev->tx_inuse);
1085 QE_CMD_RX_PURGE_INH | QE_CMD_IMM_INQ | vcc->channo, 0,0,0);
1086 dev->atm_vccs [vcc->channo] = NULL;
1095 0x80 + vcc->channo, -1, 0 );
1153 QE_TRANSMIT_DE | vcc->channo,
1612 dev->channo = 0;
1831 QE_CMD_TX_PURGE_INH | QE_CMD_IMM_INQ | vcc->channo, 0,0,0);
1833 QE_CMD_RX_PURGE_INH | QE_CMD_IMM_INQ | vcc->channo, 0,0,0);