vci                93 drivers/atm/adummy.c 	int vci = vcc->vci;
vci                95 drivers/atm/adummy.c 	if (vci == ATM_VCI_UNSPEC || vpi == ATM_VPI_UNSPEC)
vci              1013 drivers/atm/ambassador.c   int vci = atm_vcc->vci;
vci              1015 drivers/atm/ambassador.c   PRINTD (DBG_FLOW|DBG_VCC, "amb_open %x %x", vpi, vci);
vci              1019 drivers/atm/ambassador.c   if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) {
vci              1026 drivers/atm/ambassador.c 	0 <= vci && vci < (1<<NUM_VCI_BITS))) {
vci              1027 drivers/atm/ambassador.c     PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci);
vci              1143 drivers/atm/ambassador.c     if (dev->rxer[vci]) {
vci              1146 drivers/atm/ambassador.c       cmd.args.modify_rate.vc = cpu_to_be32 (vci);  // vpi 0
vci              1152 drivers/atm/ambassador.c       cmd.args.modify_flags.vc = cpu_to_be32 (vci);  // vpi 0
vci              1154 drivers/atm/ambassador.c 	( (AMB_VCC(dev->rxer[vci])->rx_info.pool << SRB_POOL_SHIFT)
vci              1161 drivers/atm/ambassador.c       cmd.args.open.vc = cpu_to_be32 (vci);  // vpi 0
vci              1167 drivers/atm/ambassador.c     dev->txer[vci].tx_present = 1;
vci              1183 drivers/atm/ambassador.c     if (dev->txer[vci].tx_present) {
vci              1187 drivers/atm/ambassador.c       cmd.args.modify_flags.vc = cpu_to_be32 (vci);  // vpi 0
vci              1190 drivers/atm/ambassador.c 	  | (dev->txer[vci].tx_vc_bits << SRB_FLAGS_SHIFT) );
vci              1194 drivers/atm/ambassador.c       cmd.args.open.vc = cpu_to_be32 (vci);  // vpi 0
vci              1201 drivers/atm/ambassador.c     dev->rxer[vci] = atm_vcc;
vci              1216 drivers/atm/ambassador.c   u16 vci = atm_vcc->vci;
vci              1228 drivers/atm/ambassador.c     if (dev->rxer[vci]) {
vci              1231 drivers/atm/ambassador.c       cmd.args.modify_rate.vc = cpu_to_be32 (vci);  // vpi 0
vci              1237 drivers/atm/ambassador.c       cmd.args.close.vc = cpu_to_be32 (vci); // vpi 0
vci              1239 drivers/atm/ambassador.c     dev->txer[vci].tx_present = 0;
vci              1253 drivers/atm/ambassador.c     if (dev->txer[vci].tx_present) {
vci              1256 drivers/atm/ambassador.c       cmd.args.modify_flags.vc = cpu_to_be32 (vci);  // vpi 0
vci              1258 drivers/atm/ambassador.c 	(dev->txer[vci].tx_vc_bits << SRB_FLAGS_SHIFT);
vci              1262 drivers/atm/ambassador.c       cmd.args.close.vc = cpu_to_be32 (vci); // vpi 0
vci              1265 drivers/atm/ambassador.c     if (atm_vcc != dev->rxer[vci])
vci              1268 drivers/atm/ambassador.c 	      vcc, dev->rxer[vci]);
vci              1269 drivers/atm/ambassador.c     dev->rxer[vci] = NULL;
vci              1296 drivers/atm/ambassador.c   u16 vc = atm_vcc->vci;
vci                94 drivers/atm/atmtcp.c 	vcc->vci = msg->addr.sap_addr.vci;
vci               125 drivers/atm/atmtcp.c 	int vci = vcc->vci;
vci               131 drivers/atm/atmtcp.c 	msg.hdr.vci = htons(vci);
vci               132 drivers/atm/atmtcp.c 	msg.addr.sap_addr.vci = vci;
vci               133 drivers/atm/atmtcp.c 	if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) return 0;
vci               151 drivers/atm/atmtcp.c 	msg.addr.sap_addr.vci = vcc->vci;
vci               179 drivers/atm/atmtcp.c 			    (vcc->vci >> ci.vci_bits)) {
vci               223 drivers/atm/atmtcp.c 	hdr->vci = htons(vcc->vci);
vci               263 drivers/atm/atmtcp.c static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci)
vci               269 drivers/atm/atmtcp.c         head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)];
vci               274 drivers/atm/atmtcp.c                     vcc->vci == vci && vcc->vpi == vpi &&
vci               300 drivers/atm/atmtcp.c 	out_vcc = find_vcc(dev, ntohs(hdr->vpi), ntohs(hdr->vci));
vci               328 drivers/atm/eni.c 	printk(KERN_ALERT "  VCI %d, rxing %d, words %ld\n",vcc->vci,
vci               367 drivers/atm/eni.c 			    vcc->vci,(unsigned long) paddr);
vci               375 drivers/atm/eni.c 		dma[j++] = (here << MID_DMA_COUNT_SHIFT) | (vcc->vci
vci               396 drivers/atm/eni.c 			    (vcc->vci << MID_DMA_VCI_SHIFT);
vci               404 drivers/atm/eni.c 			    MID_DMA_COUNT_SHIFT) | (vcc->vci <<
vci               414 drivers/atm/eni.c 			    MID_DMA_COUNT_SHIFT) | (vcc->vci <<
vci               424 drivers/atm/eni.c 			    MID_DMA_COUNT_SHIFT) | (vcc->vci <<
vci               434 drivers/atm/eni.c 			    MID_DMA_COUNT_SHIFT) | (vcc->vci <<
vci               443 drivers/atm/eni.c 			    | (vcc->vci << MID_DMA_VCI_SHIFT);
vci               449 drivers/atm/eni.c 		    (vcc->vci << MID_DMA_VCI_SHIFT) | MID_DT_JK;
vci               600 drivers/atm/eni.c 			    vcc->dev->number,vcc->vci,length,size << 2,descr);
vci               625 drivers/atm/eni.c 	vci_dsc = ENI_DEV(vcc->dev)->vci+vcc->vci*16;
vci               686 drivers/atm/eni.c 	unsigned long vci;
vci               691 drivers/atm/eni.c 		vci = readl(eni_dev->service+eni_dev->serv_read*4);
vci               693 drivers/atm/eni.c 		vcc = eni_dev->rx_map[vci & 1023];
vci               696 drivers/atm/eni.c 			    "found\n",dev->number,vci);
vci               703 drivers/atm/eni.c 			DPRINTK("Grr, servicing VCC %ld twice\n",vci);
vci               753 drivers/atm/eni.c 		vci_dsc = eni_dev->vci+vcc->vci*16;
vci               823 drivers/atm/eni.c 	here = eni_dev->vci+vcc->vci*16;
vci               829 drivers/atm/eni.c 	if (eni_dev->rx_map[vcc->vci])
vci               831 drivers/atm/eni.c 		    "in use\n",vcc->dev->number,vcc->vci);
vci               832 drivers/atm/eni.c 	eni_dev->rx_map[vcc->vci] = vcc; /* now it counts */
vci               851 drivers/atm/eni.c 	if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) {
vci               852 drivers/atm/eni.c 		here = eni_dev->vci+vcc->vci*16;
vci               861 drivers/atm/eni.c 		eni_dev->rx_map[vcc->vci] = NULL;
vci               886 drivers/atm/eni.c 			tmp = readl(eni_dev->vci+vcc->vci*16+4) & MID_VCI_READ;
vci              1067 drivers/atm/eni.c 		    "TX data\n",vcc->dev->number,vcc->vci);
vci              1158 drivers/atm/eni.c 	writel((vcc->vci << MID_SEG_VCI_SHIFT) |
vci              1836 drivers/atm/eni.c 	eni_dev->vci = eni_dev->ram;
vci              1842 drivers/atm/eni.c 	     eni_dev->vci,eni_dev->rx_dma,eni_dev->tx_dma,
vci              1861 drivers/atm/eni.c 	memset_io(eni_dev->vci,0,16*NR_VCI); /* clear VCI table */
vci              1917 drivers/atm/eni.c 	int vci = vcc->vci;
vci              1923 drivers/atm/eni.c 	if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC)
vci              1928 drivers/atm/eni.c 	    vcc->vci);
vci              1943 drivers/atm/eni.c 	if (vci == ATM_VPI_UNSPEC || vpi == ATM_VCI_UNSPEC) return 0;
vci              2188 drivers/atm/eni.c 			length = sprintf(page,"vcc %4d: ",vcc->vci);
vci                80 drivers/atm/eni.h 	void __iomem *vci;		/* VCI table */
vci               862 drivers/atm/firestream.c 	int vci = atm_vcc->vci;
vci               870 drivers/atm/firestream.c 	if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC)
vci               878 drivers/atm/firestream.c 		    atm_vcc->dev->number, atm_vcc->vpi, atm_vcc->vci);	
vci               922 drivers/atm/firestream.c 			vcc->channo = (vpi << FS155_VCI_BITS) | (vci);
vci               973 drivers/atm/firestream.c 		tc->atm_hdr =  (vpi << 20) | (vci << 4); 
vci              1081 drivers/atm/firestream.c 					(vpi << 16) | vci, 0 ); /* XXX -- Use defines. */
vci               982 drivers/atm/fore200e.c                       (rpd->atm_header.vci << ATM_HDR_VCI_SHIFT) |
vci              1038 drivers/atm/fore200e.c 		vcc->itf, vcc->vpi, vcc->vci);
vci              1102 drivers/atm/fore200e.c 	vc_map = FORE200E_VC_MAP(fore200e, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci);
vci              1109 drivers/atm/fore200e.c 		    entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci);
vci              1122 drivers/atm/fore200e.c 			entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci);
vci              1215 drivers/atm/fore200e.c     int scheme = vcc->vci % 2 ? BUFFER_SCHEME_ONE : BUFFER_SCHEME_TWO;
vci              1218 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, scheme);
vci              1250 drivers/atm/fore200e.c     vpvc.vci = vcc->vci;
vci              1276 drivers/atm/fore200e.c 	       activate ? "open" : "close", vcc->itf, vcc->vpi, vcc->vci);
vci              1280 drivers/atm/fore200e.c     DPRINTK(1, "VC %d.%d.%d %sed\n", vcc->itf, vcc->vpi, vcc->vci, 
vci              1312 drivers/atm/fore200e.c     int			    vci = vcc->vci;
vci              1316 drivers/atm/fore200e.c     ASSERT((vci >= 0) && (vci < 1<<FORE200E_VCI_BITS));
vci              1320 drivers/atm/fore200e.c     vc_map = FORE200E_VC_MAP(fore200e, vpi, vci);
vci              1326 drivers/atm/fore200e.c 	       fore200e->atm_dev->number, vpi, vci);
vci              1343 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal),
vci              1395 drivers/atm/fore200e.c 		vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal),
vci              1426 drivers/atm/fore200e.c     ASSERT((vcc->vci >= 0) && (vcc->vci < 1<<FORE200E_VCI_BITS));
vci              1428 drivers/atm/fore200e.c     DPRINTK(2, "closing %d.%d.%d:%d\n", vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal));
vci              1436 drivers/atm/fore200e.c     vc_map = FORE200E_VC_MAP(fore200e, vcc->vpi, vcc->vci);
vci              1441 drivers/atm/fore200e.c     vcc->itf = vcc->vci = vcc->vpi = 0;
vci              1554 drivers/atm/fore200e.c     vc_map = FORE200E_VC_MAP(fore200e, vcc->vpi, vcc->vci);
vci              1621 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal),
vci              1637 drivers/atm/fore200e.c 	tpd->atm_header.vci = (*cell_header & ATM_HDR_VCI_MASK) >> ATM_HDR_VCI_SHIFT;
vci              1645 drivers/atm/fore200e.c 	tpd->atm_header.vci = vcc->vci;
vci              1720 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, level, optname, optval, optlen);
vci              1732 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, level, optname, optval, optlen);
vci              1924 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci,
vci              3003 drivers/atm/fore200e.c 			  vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal),
vci                93 drivers/atm/fore200e.h         u32 vci : 16,    /* virtual channel identifier */
vci               271 drivers/atm/fore200e.h         u32 vci : 16,    /* virtual channel identifier */
vci               826 drivers/atm/fore200e.h #define FORE200E_VC_MAP(fore200e, vpi, vci)  \
vci               827 drivers/atm/fore200e.h         (& (fore200e)->vc_map[ ((vpi) << FORE200E_VCI_BITS) | (vci) ])
vci               220 drivers/atm/he.c #define he_mkcid(dev, vpi, vci)		(((vpi << (dev)->vcibits) | vci) & 0x1fff)
vci               334 drivers/atm/he.c 	int vci;
vci               337 drivers/atm/he.c 	vci = cid & ((1 << he_dev->vcibits) - 1);
vci               338 drivers/atm/he.c 	head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)];
vci               343 drivers/atm/he.c 		    vcc->vci == vci && vcc->vpi == vpi &&
vci              1719 drivers/atm/he.c 							vcc->vpi, vcc->vci);
vci              1727 drivers/atm/he.c 			HPRINTK("charge failed (%d.%d)\n", vcc->vpi, vcc->vci);
vci              1751 drivers/atm/he.c 				if (vcc->vpi == 0 && vcc->vci >= ATM_NOT_RSV_VCI) {
vci              1838 drivers/atm/he.c 				he_mkcid(he_dev, tpd->vcc->vpi, tpd->vcc->vci));
vci              2126 drivers/atm/he.c 	int vci = vcc->vci;
vci              2128 drivers/atm/he.c 	if (vci == ATM_VCI_UNSPEC || vpi == ATM_VPI_UNSPEC)
vci              2131 drivers/atm/he.c 	HPRINTK("open vcc %p %d.%d\n", vcc, vpi, vci);
vci              2135 drivers/atm/he.c 	cid = he_mkcid(he_dev, vpi, vci);
vci              2303 drivers/atm/he.c 		if (vpi == 0 && vci >= ATM_NOT_RSV_VCI)
vci              2342 drivers/atm/he.c 	HPRINTK("close vcc %p %d.%d\n", vcc, vcc->vpi, vcc->vci);
vci              2345 drivers/atm/he.c 	cid = he_mkcid(he_dev, vcc->vpi, vcc->vci);
vci              2493 drivers/atm/he.c 	unsigned cid = he_mkcid(he_dev, vcc->vpi, vcc->vci);
vci              2501 drivers/atm/he.c 	HPRINTK("send %d.%d\n", vcc->vpi, vcc->vci);
vci               496 drivers/atm/horizon.c static inline int vpivci_to_channel (u16 * channel, const short vpi, const int vci) {
vci               498 drivers/atm/horizon.c   if (0 <= vpi && vpi < 1<<vpi_bits && 0 <= vci && vci < 1<<vci_bits) {
vci               499 drivers/atm/horizon.c     *channel = vpi<<vci_bits | vci;
vci              2106 drivers/atm/horizon.c   int vci = atm_vcc->vci;
vci              2107 drivers/atm/horizon.c   PRINTD (DBG_FLOW|DBG_VCC, "hrz_open %x %x", vpi, vci);
vci              2111 drivers/atm/horizon.c   if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) {
vci              2117 drivers/atm/horizon.c   error = vpivci_to_channel (&channel, vpi, vci);
vci              2119 drivers/atm/horizon.c     PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci);
vci               779 drivers/atm/idt77252.c 		       card->name, vc->tx_vcc->vpi, vc->tx_vcc->vci);
vci               902 drivers/atm/idt77252.c 			      (vcc->vci << SAR_TBD_VCI_SHIFT);
vci              1016 drivers/atm/idt77252.c 	u32 header, vpi, vci;
vci              1039 drivers/atm/idt77252.c 	vci = (header >>  0) & 0xffff;
vci              1042 drivers/atm/idt77252.c 		 card->name, vpi, vci, skb, skb->data);
vci              1044 drivers/atm/idt77252.c 	if ((vpi >= (1 << card->vpibits)) || (vci != (vci & card->vcimask))) {
vci              1046 drivers/atm/idt77252.c 		       card->name, vpi, vci);
vci              1051 drivers/atm/idt77252.c 	vc = card->vcs[VPCI2VC(card, vpi, vci)];
vci              1054 drivers/atm/idt77252.c 		       card->name, vpi, vci);
vci              1087 drivers/atm/idt77252.c 			       (vci << ATM_HDR_VCI_SHIFT);
vci              1261 drivers/atm/idt77252.c 		unsigned int vpi, vci;
vci              1267 drivers/atm/idt77252.c 		vci = (header & ATM_HDR_VCI_MASK) >> ATM_HDR_VCI_SHIFT;
vci              1285 drivers/atm/idt77252.c 		if (vpi >= (1<<card->vpibits) || vci >= (1<<card->vcibits)) {
vci              1287 drivers/atm/idt77252.c 				card->name, vpi, vci);
vci              1291 drivers/atm/idt77252.c 		vc = card->vcs[VPCI2VC(card, vpi, vci)];
vci              1294 drivers/atm/idt77252.c 				card->name, vpi, vci);
vci              1302 drivers/atm/idt77252.c 				card->name, vpi, vci);
vci              1406 drivers/atm/idt77252.c 	unsigned int vpi, vci;
vci              1483 drivers/atm/idt77252.c 			vci = (conn >> SAR_TBD_VCI_SHIFT) & 0xffff;
vci              1486 drivers/atm/idt77252.c 			    vci >= (1 << card->vcibits)) {
vci              1489 drivers/atm/idt77252.c 				       card->name, vpi, vci);
vci              1493 drivers/atm/idt77252.c 			vc = card->vcs[VPCI2VC(card, vpi, vci)];
vci              1497 drivers/atm/idt77252.c 				       card->name, vpi, vci);
vci              2334 drivers/atm/idt77252.c 	if ((vcc->vci == 3) || (vcc->vci == 4))
vci              2393 drivers/atm/idt77252.c 	int vci = vcc->vci;
vci              2396 drivers/atm/idt77252.c 	if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC)
vci              2404 drivers/atm/idt77252.c 	if (vci >= (1 << card->vcibits)) {
vci              2405 drivers/atm/idt77252.c 		printk("%s: unsupported VCI: %d\n", card->name, vci);
vci              2413 drivers/atm/idt77252.c 	OPRINTK("%s: opening vpi.vci: %d.%d\n", card->name, vpi, vci);
vci              2426 drivers/atm/idt77252.c 	index = VPCI2VC(card, vpi, vci);
vci              2444 drivers/atm/idt77252.c 	        card->name, vc->index, vcc->vpi, vcc->vci,
vci              2499 drivers/atm/idt77252.c 		card->name, vc->index, vcc->vpi, vcc->vci);
vci              2510 drivers/atm/idt77252.c 		if ((vcc->vci == 3) || (vcc->vci == 4))
vci              2685 drivers/atm/idt77252.c 		p += sprintf(p, "  %4u: %u.%u: ", i, vcc->vpi, vcc->vci);
vci              2851 drivers/atm/idt77252.c 	int vpi, vci;
vci              2856 drivers/atm/idt77252.c 		for (vci = 3; vci < 5; vci++) {
vci              2857 drivers/atm/idt77252.c 			index = VPCI2VC(card, vpi, vci);
vci              2894 drivers/atm/idt77252.c 	int vpi, vci;
vci              2898 drivers/atm/idt77252.c 		for (vci = 3; vci < 5; vci++) {
vci              2899 drivers/atm/idt77252.c 			index = VPCI2VC(card, vpi, vci);
vci                43 drivers/atm/idt77252.h #define VPCI2VC(card, vpi, vci) \
vci                44 drivers/atm/idt77252.h         (((vpi) << card->vcibits) | ((vci) & card->vcimask))
vci               246 drivers/atm/iphase.c      vcstatus = (vcstatus_t *) &(dev->testTable[vcc->vci]->vc_status);
vci               250 drivers/atm/iphase.c         abr_vc += vcc->vci;
vci               251 drivers/atm/iphase.c 	eabr_vc += vcc->vci;
vci               262 drivers/atm/iphase.c               if((tempCellSlot == dev->testTable[vcc->vci]->lastTime)
vci               263 drivers/atm/iphase.c                          && (tempFract == dev->testTable[vcc->vci]->fract))
vci               265 drivers/atm/iphase.c               dev->testTable[vcc->vci]->lastTime = tempCellSlot;   
vci               266 drivers/atm/iphase.c               dev->testTable[vcc->vci]->fract = tempFract; 
vci               282 drivers/atm/iphase.c            shd_tbl[i] = vcc->vci;
vci               284 drivers/atm/iphase.c            IF_ERR(printk("ABR Seg. may not continue on VC %x\n",vcc->vci);)
vci               385 drivers/atm/iphase.c   f_abr_vc += vcc->vci;       
vci               445 drivers/atm/iphase.c        *(ptr16 + vcc->vci) = NO_AAL5_PKT | REASS_ABR;
vci               447 drivers/atm/iphase.c        r_abr_vc += vcc->vci;
vci               452 drivers/atm/iphase.c        dev->testTable[vcc->vci]->vc_status = VC_ACTIVE | VC_ABR;
vci               507 drivers/atm/iphase.c    vcIndex  = vcc->vci;
vci               591 drivers/atm/iphase.c       if (*SchedTbl == vcc->vci) {
vci               628 drivers/atm/iphase.c          printk("Free the SKB on closed vci %d \n", vcc->vci);
vci               669 drivers/atm/iphase.c              printk("IA_tx_intr: Vci %d lost pkt!!!\n", vcc->vci);
vci               683 drivers/atm/iphase.c           IF_EVENT(printk("IA: Vci %d - skb not found requed\n",vcc->vci);)
vci              1060 drivers/atm/iphase.c   int vci, error = 1;  
vci              1070 drivers/atm/iphase.c 	vci = readw(iadev->reass_ram+excpq_rd_ptr);  
vci              1178 drivers/atm/iphase.c            if (vcc->vci < 32)
vci              1379 drivers/atm/iphase.c 	IF_EVENT(printk("iadev: open_rx %d.%d\n", vcc->vpi, vcc->vci);)
vci              1392 drivers/atm/iphase.c 	vc_table += vcc->vci;
vci              1395 drivers/atm/iphase.c         *vc_table = vcc->vci << 6;
vci              1407 drivers/atm/iphase.c            	reass_ptr += vcc->vci;
vci              1411 drivers/atm/iphase.c 	if (iadev->rx_open[vcc->vci])  
vci              1413 drivers/atm/iphase.c 			vcc->dev->number, vcc->vci);  
vci              1414 drivers/atm/iphase.c 	iadev->rx_open[vcc->vci] = vcc;  
vci              1753 drivers/atm/iphase.c 	IF_EVENT(printk("iadev: open_tx entered vcc->vci = %d\n", vcc->vci);)  
vci              1814 drivers/atm/iphase.c 	vc += vcc->vci;  
vci              1815 drivers/atm/iphase.c 	evc += vcc->vci;  
vci              1824 drivers/atm/iphase.c 	evc->atm_hdr1 = (vcc->vci >> 12) & 0x000f;  
vci              1825 drivers/atm/iphase.c 	evc->atm_hdr2 = (vcc->vci & 0x0fff) << 4;  
vci              1893 drivers/atm/iphase.c         iadev->testTable[vcc->vci]->vc_status |= VC_ACTIVE;
vci              2621 drivers/atm/iphase.c                                               ia_vcc->vc_desc_cnt,vcc->vci);)
vci              2649 drivers/atm/iphase.c            iadev->testTable[vcc->vci]->lastTime = 0;
vci              2650 drivers/atm/iphase.c            iadev->testTable[vcc->vci]->fract = 0; 
vci              2651 drivers/atm/iphase.c            iadev->testTable[vcc->vci]->vc_status = VC_UBR; 
vci              2667 drivers/atm/iphase.c            vc_table += vcc->vci; 
vci              2671 drivers/atm/iphase.c            vc_table += vcc->vci;
vci              2672 drivers/atm/iphase.c            *vc_table = (vcc->vci << 6) | 15;
vci              2676 drivers/atm/iphase.c               abr_vc_table +=  vcc->vci;
vci              2682 drivers/atm/iphase.c            iadev->rx_open[vcc->vci] = NULL;
vci              2700 drivers/atm/iphase.c 	if (vcc->vci != ATM_VPI_UNSPEC && vcc->vpi != ATM_VCI_UNSPEC)  
vci              2708 drivers/atm/iphase.c                                  vcc->dev->number, vcc->vpi, vcc->vci);)  
vci              3009 drivers/atm/iphase.c 	buf_desc_ptr->vc_index = vcc->vci;
vci              3050 drivers/atm/iphase.c         ATM_DESC(skb) = vcc->vci;
vci               846 drivers/atm/iphase.h 	u16 vci;
vci               230 drivers/atm/lanai.c 	vci_t vci;
vci               304 drivers/atm/lanai.c 	void (*func)(struct lanai_dev *,vci_t vci))
vci               306 drivers/atm/lanai.c 	vci_t vci;
vci               308 drivers/atm/lanai.c 	for_each_set_bit(vci, lp, NUM_VCI)
vci               309 drivers/atm/lanai.c 		func(lanai, vci);
vci               641 drivers/atm/lanai.c 	vci_t vci)
vci               643 drivers/atm/lanai.c 	return sram_addr(lanai, vci * CARDVCC_SIZE);
vci               653 drivers/atm/lanai.c 	    lvcc->vci, (int) offset, val);
vci               663 drivers/atm/lanai.c 	    (unsigned int) val, lvcc->vci, (unsigned int) offset);
vci               665 drivers/atm/lanai.c 	    lvcc->vci, (unsigned int) offset, (unsigned int) val);
vci               728 drivers/atm/lanai.c 		TXCBR_NEXT_BOZO | lvcc->vci : 0, vcc_txcbr_next);
vci               776 drivers/atm/lanai.c 	__clear_bit(lvcc->vci, lanai->backlog_vccs);
vci               800 drivers/atm/lanai.c 			    lvcc->tx.atmvcc->dev->number, lvcc->vci);
vci              1170 drivers/atm/lanai.c 	    "start,ptr,end=%p,%p,%p\n", pos, lvcc->vci,
vci              1175 drivers/atm/lanai.c 	    "start,ptr,end=%p,%p,%p\n", pos, lvcc->vci,
vci              1240 drivers/atm/lanai.c 	    ptr, lvcc->vci, lvcc->tx.buf.start, lvcc->tx.buf.ptr,
vci              1270 drivers/atm/lanai.c 	reg_write(lanai, (ptr << 12) | lvcc->vci, Butt_Reg);
vci              1306 drivers/atm/lanai.c 	    lvcc->vci);
vci              1322 drivers/atm/lanai.c 		__clear_bit(lvcc->vci, lanai->backlog_vccs);
vci              1338 drivers/atm/lanai.c 		__set_bit(lvcc->vci, lanai->backlog_vccs);
vci              1403 drivers/atm/lanai.c 		    lvcc->rx.atmvcc->dev->number, lvcc->vci, size, n);
vci              1472 drivers/atm/lanai.c 		lvcc->vci = -1;
vci              1525 drivers/atm/lanai.c 	struct lanai_vcc *lvcc, vci_t vci)
vci              1529 drivers/atm/lanai.c 	DPRINTK("Binding vci %d\n", vci);
vci              1538 drivers/atm/lanai.c 	lvcc->vbase = cardvcc_addr(lanai, vci);
vci              1539 drivers/atm/lanai.c 	lanai->vccs[lvcc->vci = vci] = lvcc;
vci              1547 drivers/atm/lanai.c 	DPRINTK("Unbinding vci %d\n", lvcc->vci);
vci              1549 drivers/atm/lanai.c 	lanai->vccs[lvcc->vci] = NULL;
vci              1619 drivers/atm/lanai.c 	vci_t vci = SERVICE_GET_VCI(s);
vci              1622 drivers/atm/lanai.c 	lvcc = lanai->vccs[vci];
vci              1626 drivers/atm/lanai.c 		    "vcc %d\n", lanai->number, (unsigned int) s, vci);
vci              1637 drivers/atm/lanai.c 			    "vcc %d\n", lanai->number, (unsigned int) s, vci);
vci              1641 drivers/atm/lanai.c 		__set_bit(vci, lanai->transmit_ready);
vci              1649 drivers/atm/lanai.c 		    "vcc %d\n", lanai->number, (unsigned int) s, vci);
vci              1656 drivers/atm/lanai.c 		    "vcc %d\n", lanai->number, (unsigned int) s, vci);
vci              1669 drivers/atm/lanai.c 		DPRINTK("got trashed rx pdu on vci %d\n", vci);
vci              1685 drivers/atm/lanai.c 		    "PDU on VCI %d!\n", lanai->number, vci);
vci              1689 drivers/atm/lanai.c 	DPRINTK("got rx crc error on vci %d\n", vci);
vci              1699 drivers/atm/lanai.c static void iter_transmit(struct lanai_dev *lanai, vci_t vci)
vci              1701 drivers/atm/lanai.c 	struct lanai_vcc *lvcc = lanai->vccs[vci];
vci              1746 drivers/atm/lanai.c static void iter_dequeue(struct lanai_dev *lanai, vci_t vci)
vci              1748 drivers/atm/lanai.c 	struct lanai_vcc *lvcc = lanai->vccs[vci];
vci              1752 drivers/atm/lanai.c 		__clear_bit(vci, lanai->backlog_vccs);
vci              1987 drivers/atm/lanai.c static int vci_is_ok(struct lanai_dev *lanai, vci_t vci,
vci              1991 drivers/atm/lanai.c 	const struct lanai_vcc *lvcc = lanai->vccs[vci];
vci              1992 drivers/atm/lanai.c 	if (vci == 0 && !vci0_is_ok(lanai, qos))
vci              2093 drivers/atm/lanai.c 	reg_write(lanai, lanai->cbrvcc->vci, CBR_PTR_Reg);
vci              2312 drivers/atm/lanai.c 	int vci = atmvcc->vci;
vci              2316 drivers/atm/lanai.c 	    (vpi == ATM_VPI_UNSPEC) || (vci == ATM_VCI_UNSPEC))
vci              2319 drivers/atm/lanai.c 	result = lanai_normalize_ci(lanai, atmvcc, &vpi, &vci);
vci              2326 drivers/atm/lanai.c 	    (int) vpi, vci);
vci              2327 drivers/atm/lanai.c 	lvcc = lanai->vccs[vci];
vci              2337 drivers/atm/lanai.c 		    vci);
vci              2357 drivers/atm/lanai.c 		    vci);
vci              2364 drivers/atm/lanai.c 			    "cbrvcc!=NULL, vci=%d\n", vci);
vci              2368 drivers/atm/lanai.c 	host_vcc_bind(lanai, lvcc, vci);
vci              2399 drivers/atm/lanai.c 		DPRINTK("lanai_send: skb==NULL for vci=%d\n", atmvcc->vci);
vci              2403 drivers/atm/lanai.c 		DPRINTK("lanai_send: lanai==NULL for vci=%d\n", atmvcc->vci);
vci              2425 drivers/atm/lanai.c 	    atmvcc->vci);
vci              1243 drivers/atm/nicstar.c 	int vci = vcc->vci;
vci              1247 drivers/atm/nicstar.c 	       vci);
vci              1253 drivers/atm/nicstar.c 	vc = &(card->vcmap[vpi << card->vcibits | vci]);
vci              1400 drivers/atm/nicstar.c 				      (vpi << card->vcibits | vci) *
vci              1420 drivers/atm/nicstar.c 	       (int)vcc->vpi, vcc->vci);
vci              1430 drivers/atm/nicstar.c 		    (vcc->vpi << card->vcibits | vcc->vci) * NS_RCT_ENTRY_SIZE;
vci              1676 drivers/atm/nicstar.c 		    ns_tbd_mkword_4(0, (u32) vcc->vpi, (u32) vcc->vci, 0,
vci              1694 drivers/atm/nicstar.c 							      vci) <<
vci              1966 drivers/atm/nicstar.c 	u32 vpi, vci;
vci              1999 drivers/atm/nicstar.c 	vci = ns_rsqe_vci(rsqe);
vci              2000 drivers/atm/nicstar.c 	if (vpi >= 1UL << card->vpibits || vci >= 1UL << card->vcibits) {
vci              2002 drivers/atm/nicstar.c 		       card->index, vpi, vci);
vci              2007 drivers/atm/nicstar.c 	vc = &(card->vcmap[vpi << card->vcibits | vci]);
vci              2010 drivers/atm/nicstar.c 			 card->index, vpi, vci);
vci              2458 drivers/atm/nicstar.c 				       card->tste2vc[left + 1]->tx_vcc->vci);
vci               237 drivers/atm/nicstar.h #define ns_tbd_mkword_4(gfc, vpi, vci, pt, clp) \
vci               238 drivers/atm/nicstar.h       (cpu_to_le32((gfc) << 28 | (vpi) << 20 | (vci) << 4 | (pt) << 1 | (clp)))
vci                87 drivers/atm/solos-pci.c 	__le16 vci;
vci               166 drivers/atm/solos-pci.c static struct atm_vcc* find_vcc(struct atm_dev *dev, short vpi, int vci);
vci               207 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(0);
vci               263 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(0);
vci               484 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(0);
vci               822 drivers/atm/solos-pci.c 					 le16_to_cpu(header->vci));
vci               829 drivers/atm/solos-pci.c 					       le16_to_cpu(header->vci));
vci               833 drivers/atm/solos-pci.c 							 le16_to_cpu(header->vpi), le16_to_cpu(header->vci),
vci               897 drivers/atm/solos-pci.c static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci)
vci               904 drivers/atm/solos-pci.c 	head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)];
vci               907 drivers/atm/solos-pci.c 		if (vcc->dev == dev && vcc->vci == vci &&
vci               940 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(vcc->vci);
vci               977 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(vcc->vci);
vci              1114 drivers/atm/solos-pci.c 					 le16_to_cpu(header->vci));
vci              1170 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(vcc->vci);
vci              1394 drivers/atm/solos-pci.c 		header->vci = cpu_to_le16(0);
vci               549 drivers/atm/zatm.c 	pos = vcc->vci >> 1;
vci               550 drivers/atm/zatm.c 	shift = (1-(vcc->vci & 1)) << 4;
vci               570 drivers/atm/zatm.c 	if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) {
vci               572 drivers/atm/zatm.c 		pos = vcc->vci >> 1;
vci               573 drivers/atm/zatm.c 		shift = (1-(vcc->vci & 1)) << 4;
vci               989 drivers/atm/zatm.c 	    vcc->vci,zatm_vcc->tx_chan*VC_SIZE/4+1);
vci              1391 drivers/atm/zatm.c 	int vci = vcc->vci;
vci              1397 drivers/atm/zatm.c 	if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC)
vci              1401 drivers/atm/zatm.c 	    vcc->vci);
vci              1419 drivers/atm/zatm.c 	if (vci == ATM_VPI_UNSPEC || vpi == ATM_VCI_UNSPEC) return 0;
vci               999 drivers/net/ethernet/3com/3c59x.c 	struct vortex_chip_info *vci;
vci              1015 drivers/net/ethernet/3com/3c59x.c 		vci = &vortex_info_tbl[ent->driver_data];
vci              1016 drivers/net/ethernet/3com/3c59x.c 		pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0;
vci              1098 drivers/net/ethernet/3com/3c59x.c 	struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx];
vci              1157 drivers/net/ethernet/3com/3c59x.c 	       vci->name,
vci              1165 drivers/net/ethernet/3com/3c59x.c 	vp->drv_flags = vci->drv_flags;
vci              1166 drivers/net/ethernet/3com/3c59x.c 	vp->has_nway = (vci->drv_flags & HAS_NWAY) ? 1 : 0;
vci              1167 drivers/net/ethernet/3com/3c59x.c 	vp->io_size = vci->io_size;
vci              1179 drivers/net/ethernet/3com/3c59x.c 		if (vci->flags & PCI_USES_MASTER)
vci              1182 drivers/net/ethernet/3com/3c59x.c 		if (vci->drv_flags & IS_VORTEX) {
vci              1256 drivers/net/ethernet/3com/3c59x.c 		if (vci->drv_flags & EEPROM_8BIT)
vci              1258 drivers/net/ethernet/3com/3c59x.c 		else if (vci->drv_flags & EEPROM_OFFSET)
vci              1284 drivers/net/ethernet/3com/3c59x.c 	if ((checksum != 0x00) && !(vci->drv_flags & IS_TORNADO))
vci              1315 drivers/net/ethernet/3com/3c59x.c 	if (pdev && vci->drv_flags & HAS_CB_FNS) {
vci              1385 drivers/net/ethernet/3com/3c59x.c 	if ((vp->available_media & 0x40) || (vci->drv_flags & HAS_NWAY) ||
vci               134 drivers/usb/atm/usbatm.c 	int vci;
vci               281 drivers/usb/atm/usbatm.c 						  short vpi, int vci)
vci               286 drivers/usb/atm/usbatm.c 		if ((vcc_data->vci == vci) && (vcc_data->vpi == vpi))
vci               296 drivers/usb/atm/usbatm.c 	int vci = ((source[1] & 0x0f) << 12) | (source[2] << 4) | (source[3] >> 4);
vci               299 drivers/usb/atm/usbatm.c 	if ((vci != instance->cached_vci) || (vpi != instance->cached_vpi)) {
vci               301 drivers/usb/atm/usbatm.c 		instance->cached_vci = vci;
vci               303 drivers/usb/atm/usbatm.c 		instance->cached_vcc = usbatm_find_vcc(instance, vpi, vci);
vci               306 drivers/usb/atm/usbatm.c 			atm_rldbg(instance, "%s: unknown vpi/vci (%hd/%d)!\n", __func__, vpi, vci);
vci               318 drivers/usb/atm/usbatm.c 				__func__, vpi, vci);
vci               470 drivers/usb/atm/usbatm.c 		ptr[1] = (vcc->vpi << 4) | (vcc->vci >> 12);
vci               471 drivers/usb/atm/usbatm.c 		ptr[2] = vcc->vci >> 4;
vci               472 drivers/usb/atm/usbatm.c 		ptr[3] = vcc->vci << 4;
vci               773 drivers/usb/atm/usbatm.c 	int vci = vcc->vci;
vci               799 drivers/usb/atm/usbatm.c 	if (usbatm_find_vcc(instance, vpi, vci)) {
vci               800 drivers/usb/atm/usbatm.c 		atm_dbg(instance, "%s: %hd/%d already in use!\n", __func__, vpi, vci);
vci               813 drivers/usb/atm/usbatm.c 	new->vci = vci;
vci               827 drivers/usb/atm/usbatm.c 	instance->cached_vci = vci;
vci               875 drivers/usb/atm/usbatm.c 	vcc->vci = ATM_VCI_UNSPEC;
vci                98 include/linux/atmdev.h 	int 		vci;
vci               181 include/uapi/linux/atm.h 		int	vci;		/* VCI (only 16 bits at UNI) */
vci               226 include/uapi/linux/atm.h 	return addr.sap_addr.itf || addr.sap_addr.vpi || addr.sap_addr.vci;
vci                23 include/uapi/linux/atm_tcp.h 	__u16	vci;
vci               800 net/atm/br2684.c 			   brvcc->atmvcc->vpi, brvcc->atmvcc->vci,
vci               774 net/atm/clip.c 			   clip_vcc->vcc->vpi, clip_vcc->vcc->vci);
vci                46 net/atm/common.c 	struct hlist_head *head = &vcc_hash[vcc->vci & (VCC_HTABLE_SIZE - 1)];
vci                47 net/atm/common.c 	sk->sk_hash = vcc->vci & (VCC_HTABLE_SIZE - 1);
vci               167 net/atm/common.c 	vcc->vpi = vcc->vci = 0; /* no VCI/VPI yet */
vci               313 net/atm/common.c static int check_ci(const struct atm_vcc *vcc, short vpi, int vci)
vci               315 net/atm/common.c 	struct hlist_head *head = &vcc_hash[vci & (VCC_HTABLE_SIZE - 1)];
vci               324 net/atm/common.c 		    walk->vci == vci && ((walk->qos.txtp.traffic_class !=
vci               338 net/atm/common.c static int find_ci(const struct atm_vcc *vcc, short *vpi, int *vci)
vci               346 net/atm/common.c 	if (*vpi != ATM_VPI_ANY && *vci != ATM_VCI_ANY) {
vci               347 net/atm/common.c 		err = check_ci(vcc, *vpi, *vci);
vci               355 net/atm/common.c 	if (*vci != ATM_VCI_ANY)
vci               356 net/atm/common.c 		c = *vci;
vci               364 net/atm/common.c 			*vci = c;
vci               367 net/atm/common.c 		if (*vci == ATM_VCI_ANY) {
vci               372 net/atm/common.c 		if ((c == ATM_NOT_RSV_VCI || *vci != ATM_VCI_ANY) &&
vci               383 net/atm/common.c 			 int vci)
vci               389 net/atm/common.c 	    vpi >> dev->ci_range.vpi_bits) || (vci != ATM_VCI_UNSPEC &&
vci               390 net/atm/common.c 	    vci != ATM_VCI_ANY && vci >> dev->ci_range.vci_bits))
vci               392 net/atm/common.c 	if (vci > 0 && vci < ATM_NOT_RSV_VCI && !capable(CAP_NET_BIND_SERVICE))
vci               400 net/atm/common.c 	    (error = find_ci(vcc, &vpi, &vci))) {
vci               405 net/atm/common.c 	vcc->vci = vci;
vci               434 net/atm/common.c 	pr_debug("VCC %d.%d, AAL %d\n", vpi, vci, vcc->qos.aal);
vci               462 net/atm/common.c int vcc_connect(struct socket *sock, int itf, short vpi, int vci)
vci               468 net/atm/common.c 	pr_debug("(vpi %d, vci %d)\n", vpi, vci);
vci               473 net/atm/common.c 	if (!(vpi || vci))
vci               476 net/atm/common.c 	if (vpi != ATM_VPI_UNSPEC && vci != ATM_VCI_UNSPEC)
vci               510 net/atm/common.c 	error = __vcc_connect(vcc, dev, vpi, vci);
vci               515 net/atm/common.c 	if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC)
vci               825 net/atm/common.c 		pvc.sap_addr.vci = vcc->vci;
vci                16 net/atm/common.h int vcc_connect(struct socket *sock, int itf, short vpi, int vci);
vci               301 net/atm/lec.c  	       dev->name, vcc->vpi, vcc->vci);
vci               590 net/atm/lec.c  	       dev->name, vcc->vpi, vcc->vci);
vci               812 net/atm/lec.c  		seq_printf(seq, "%3d %3d ", entry->vcc->vpi, entry->vcc->vci);
vci               817 net/atm/lec.c  			   entry->recv_vcc->vci);
vci              1376 net/atm/lec.c  					  rulla->vcc ? rulla->vcc->vci : 0,
vci              1380 net/atm/lec.c  					  vci : 0, rulla->last_used,
vci              1404 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vci : 0,
vci              1406 net/atm/lec.c  				  rulla->recv_vcc ? rulla->recv_vcc->vci : 0,
vci              1429 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vci : 0,
vci              1431 net/atm/lec.c  				  rulla->recv_vcc ? rulla->recv_vcc->vci : 0,
vci              1454 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vci : 0,
vci              1456 net/atm/lec.c  				  rulla->recv_vcc ? rulla->recv_vcc->vci : 0,
vci              1599 net/atm/lec.c  		 to_remove->vcc ? to_remove->recv_vcc->vci : 0);
vci              2021 net/atm/lec.c  					 entry->vcc ? entry->vcc->vci : 0,
vci              2023 net/atm/lec.c  					 vci : 0);
vci              2188 net/atm/lec.c  	pr_debug("LEC_ARP: lec_vcc_close vpi:%d vci:%d\n", vcc->vpi, vcc->vci);
vci               165 net/atm/mpoa_proc.c 				   in_entry->shortcut->vci);
vci               190 net/atm/mpoa_proc.c 				   eg_entry->shortcut->vci);
vci               153 net/atm/proc.c 		   vcc->dev->number, vcc->vpi, vcc->vci,
vci               187 net/atm/proc.c 			vcc->vci);
vci               212 net/atm/proc.c 			   vcc->dev->number, vcc->vpi, vcc->vci);
vci                49 net/atm/pvc.c  		if (vcc->vci != ATM_VCI_UNSPEC)
vci                50 net/atm/pvc.c  			addr->sap_addr.vci = vcc->vci;
vci                53 net/atm/pvc.c  			    addr->sap_addr.vci);
vci               102 net/atm/pvc.c  	addr->sap_addr.vci = vcc->vci;
vci                38 net/atm/raw.c  		 vcc->vci, sk_wmem_alloc_get(sk), ATM_SKB(skb)->acct_truesize);
vci                53 net/atm/raw.c  	     (vcc->vci << ATM_HDR_VCI_SHIFT))) {
vci                88 net/atm/signaling.c 		if (session_vcc->vpi || session_vcc->vci)
vci                92 net/atm/signaling.c 		session_vcc->vci = msg->pvc.sap_addr.vci;
vci                93 net/atm/signaling.c 		if (session_vcc->vpi || session_vcc->vci)
vci               272 net/atm/svc.c  	error = vcc_connect(sock, vcc->itf, vcc->vpi, vcc->vci);
vci               382 net/atm/svc.c  				    msg->pvc.sap_addr.vci);
vci               628 net/sched/sch_atm.c 		pvc.sap_addr.vci = flow->vcc->vci;