vcc                90 drivers/atm/adummy.c adummy_open(struct atm_vcc *vcc)
vcc                92 drivers/atm/adummy.c 	short vpi = vcc->vpi;
vcc                93 drivers/atm/adummy.c 	int vci = vcc->vci;
vcc                98 drivers/atm/adummy.c 	set_bit(ATM_VF_ADDR, &vcc->flags);
vcc                99 drivers/atm/adummy.c 	set_bit(ATM_VF_READY, &vcc->flags);
vcc               105 drivers/atm/adummy.c adummy_close(struct atm_vcc *vcc)
vcc               107 drivers/atm/adummy.c 	clear_bit(ATM_VF_READY, &vcc->flags);
vcc               108 drivers/atm/adummy.c 	clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc               112 drivers/atm/adummy.c adummy_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               114 drivers/atm/adummy.c 	if (vcc->pop)
vcc               115 drivers/atm/adummy.c 		vcc->pop(vcc, skb);
vcc               118 drivers/atm/adummy.c 	atomic_inc(&vcc->stats->tx);
vcc               426 drivers/atm/ambassador.c   if (ATM_SKB(skb)->vcc->pop) {
vcc               427 drivers/atm/ambassador.c     ATM_SKB(skb)->vcc->pop (ATM_SKB(skb)->vcc, skb);
vcc               442 drivers/atm/ambassador.c   atomic_inc(&ATM_SKB(skb)->vcc->stats->tx);
vcc               477 drivers/atm/ambassador.c 	  ATM_SKB(skb)->vcc = atm_vcc;
vcc              1010 drivers/atm/ambassador.c   amb_vcc * vcc;
vcc              1124 drivers/atm/ambassador.c   vcc = kmalloc (sizeof(amb_vcc), GFP_KERNEL);
vcc              1125 drivers/atm/ambassador.c   if (!vcc) {
vcc              1129 drivers/atm/ambassador.c   atm_vcc->dev_data = (void *) vcc;
vcc              1140 drivers/atm/ambassador.c     vcc->tx_frame_bits = tx_frame_bits;
vcc              1174 drivers/atm/ambassador.c     vcc->rx_info.pool = pool;
vcc              1215 drivers/atm/ambassador.c   amb_vcc * vcc = AMB_VCC (atm_vcc);
vcc              1250 drivers/atm/ambassador.c     unsigned char pool = vcc->rx_info.pool;
vcc              1268 drivers/atm/ambassador.c 	      vcc, dev->rxer[vci]);
vcc              1283 drivers/atm/ambassador.c   kfree (vcc);
vcc              1295 drivers/atm/ambassador.c   amb_vcc * vcc = AMB_VCC(atm_vcc);
vcc              1318 drivers/atm/ambassador.c   ATM_SKB(skb)->vcc = atm_vcc;
vcc              1357 drivers/atm/ambassador.c   tx.vc = cpu_to_be16 (vcc->tx_frame_bits | vc);
vcc              1375 drivers/atm/ambassador.c   amb_vcc * vcc = AMB_VCC (atm_vcc);
vcc              1376 drivers/atm/ambassador.c   unsigned char pool = vcc->rx_info.pool;
vcc              1385 drivers/atm/ambassador.c 	  skb, atm_vcc, vcc);
vcc                18 drivers/atm/atmtcp.c extern int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */
vcc                25 drivers/atm/atmtcp.c 	struct atm_vcc *vcc;	/* control VCC; NULL if detached */
vcc                43 drivers/atm/atmtcp.c static int atmtcp_send_control(struct atm_vcc *vcc,int type,
vcc                53 drivers/atm/atmtcp.c 	out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL;
vcc                58 drivers/atm/atmtcp.c 	out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL;
vcc                68 drivers/atm/atmtcp.c 	memset(&new_msg->vcc,0,sizeof(atm_kptr_t));
vcc                69 drivers/atm/atmtcp.c 	*(struct atm_vcc **) &new_msg->vcc = vcc;
vcc                70 drivers/atm/atmtcp.c 	old_test = test_bit(flag,&vcc->flags);
vcc                72 drivers/atm/atmtcp.c 	add_wait_queue(sk_sleep(sk_atm(vcc)), &wait);
vcc                73 drivers/atm/atmtcp.c 	while (test_bit(flag,&vcc->flags) == old_test) {
vcc                75 drivers/atm/atmtcp.c 		out_vcc = PRIV(vcc->dev) ? PRIV(vcc->dev)->vcc : NULL;
vcc                84 drivers/atm/atmtcp.c 	remove_wait_queue(sk_sleep(sk_atm(vcc)), &wait);
vcc                91 drivers/atm/atmtcp.c 	struct atm_vcc *vcc = *(struct atm_vcc **) &msg->vcc;
vcc                93 drivers/atm/atmtcp.c 	vcc->vpi = msg->addr.sap_addr.vpi;
vcc                94 drivers/atm/atmtcp.c 	vcc->vci = msg->addr.sap_addr.vci;
vcc                95 drivers/atm/atmtcp.c 	vcc->qos = msg->qos;
vcc                96 drivers/atm/atmtcp.c 	sk_atm(vcc)->sk_err = -msg->result;
vcc                99 drivers/atm/atmtcp.c 		change_bit(ATM_VF_READY,&vcc->flags);
vcc               102 drivers/atm/atmtcp.c 		change_bit(ATM_VF_ADDR,&vcc->flags);
vcc               109 drivers/atm/atmtcp.c 	wake_up(sk_sleep(sk_atm(vcc)));
vcc               120 drivers/atm/atmtcp.c static int atmtcp_v_open(struct atm_vcc *vcc)
vcc               124 drivers/atm/atmtcp.c 	short vpi = vcc->vpi;
vcc               125 drivers/atm/atmtcp.c 	int vci = vcc->vci;
vcc               135 drivers/atm/atmtcp.c 	msg.qos = vcc->qos;
vcc               136 drivers/atm/atmtcp.c 	set_bit(ATM_VF_ADDR,&vcc->flags);
vcc               137 drivers/atm/atmtcp.c 	clear_bit(ATM_VF_READY,&vcc->flags); /* just in case ... */
vcc               138 drivers/atm/atmtcp.c 	error = atmtcp_send_control(vcc,ATMTCP_CTRL_OPEN,&msg,ATM_VF_READY);
vcc               140 drivers/atm/atmtcp.c 	return -sk_atm(vcc)->sk_err;
vcc               144 drivers/atm/atmtcp.c static void atmtcp_v_close(struct atm_vcc *vcc)
vcc               150 drivers/atm/atmtcp.c 	msg.addr.sap_addr.vpi = vcc->vpi;
vcc               151 drivers/atm/atmtcp.c 	msg.addr.sap_addr.vci = vcc->vci;
vcc               152 drivers/atm/atmtcp.c 	clear_bit(ATM_VF_READY,&vcc->flags);
vcc               153 drivers/atm/atmtcp.c 	(void) atmtcp_send_control(vcc,ATMTCP_CTRL_CLOSE,&msg,ATM_VF_ADDR);
vcc               160 drivers/atm/atmtcp.c 	struct atm_vcc *vcc;
vcc               175 drivers/atm/atmtcp.c 			vcc = atm_sk(s);
vcc               176 drivers/atm/atmtcp.c 			if (vcc->dev != dev)
vcc               178 drivers/atm/atmtcp.c 			if ((vcc->vpi >> ci.vpi_bits) ||
vcc               179 drivers/atm/atmtcp.c 			    (vcc->vci >> ci.vci_bits)) {
vcc               191 drivers/atm/atmtcp.c static int atmtcp_v_send(struct atm_vcc *vcc,struct sk_buff *skb)
vcc               199 drivers/atm/atmtcp.c 	if (vcc->qos.txtp.traffic_class == ATM_NONE) {
vcc               200 drivers/atm/atmtcp.c 		if (vcc->pop) vcc->pop(vcc,skb);
vcc               204 drivers/atm/atmtcp.c 	dev_data = PRIV(vcc->dev);
vcc               205 drivers/atm/atmtcp.c 	if (dev_data) out_vcc = dev_data->vcc;
vcc               207 drivers/atm/atmtcp.c 		if (vcc->pop) vcc->pop(vcc,skb);
vcc               210 drivers/atm/atmtcp.c 		atomic_inc(&vcc->stats->tx_err);
vcc               216 drivers/atm/atmtcp.c 		if (vcc->pop) vcc->pop(vcc,skb);
vcc               218 drivers/atm/atmtcp.c 		atomic_inc(&vcc->stats->tx_err);
vcc               222 drivers/atm/atmtcp.c 	hdr->vpi = htons(vcc->vpi);
vcc               223 drivers/atm/atmtcp.c 	hdr->vci = htons(vcc->vci);
vcc               226 drivers/atm/atmtcp.c 	if (vcc->pop) vcc->pop(vcc,skb);
vcc               229 drivers/atm/atmtcp.c 	atomic_inc(&vcc->stats->tx);
vcc               242 drivers/atm/atmtcp.c 	    dev_data->vcc ? "" : "dis");
vcc               246 drivers/atm/atmtcp.c static void atmtcp_c_close(struct atm_vcc *vcc)
vcc               251 drivers/atm/atmtcp.c 	atmtcp_dev = (struct atm_dev *) vcc->dev_data;
vcc               253 drivers/atm/atmtcp.c 	dev_data->vcc = NULL;
vcc               258 drivers/atm/atmtcp.c 	vcc->dev_data = NULL;
vcc               266 drivers/atm/atmtcp.c         struct atm_vcc *vcc;
vcc               272 drivers/atm/atmtcp.c                 vcc = atm_sk(s);
vcc               273 drivers/atm/atmtcp.c                 if (vcc->dev == dev &&
vcc               274 drivers/atm/atmtcp.c                     vcc->vci == vci && vcc->vpi == vpi &&
vcc               275 drivers/atm/atmtcp.c                     vcc->qos.rxtp.traffic_class != ATM_NONE) {
vcc               276 drivers/atm/atmtcp.c                                 return vcc;
vcc               283 drivers/atm/atmtcp.c static int atmtcp_c_send(struct atm_vcc *vcc,struct sk_buff *skb)
vcc               292 drivers/atm/atmtcp.c 	dev = vcc->dev_data;
vcc               304 drivers/atm/atmtcp.c 		atomic_inc(&vcc->stats->tx_err);
vcc               316 drivers/atm/atmtcp.c 	atomic_inc(&vcc->stats->tx);
vcc               319 drivers/atm/atmtcp.c 	if (vcc->pop) vcc->pop(vcc,skb);
vcc               377 drivers/atm/atmtcp.c 	PRIV(dev)->vcc = NULL;
vcc               384 drivers/atm/atmtcp.c static int atmtcp_attach(struct atm_vcc *vcc,int itf)
vcc               395 drivers/atm/atmtcp.c 		if (PRIV(dev)->vcc) {
vcc               406 drivers/atm/atmtcp.c 	PRIV(dev)->vcc = vcc;
vcc               407 drivers/atm/atmtcp.c 	vcc->dev = &atmtcp_control_dev;
vcc               408 drivers/atm/atmtcp.c 	vcc_insert_socket(sk_atm(vcc));
vcc               409 drivers/atm/atmtcp.c 	set_bit(ATM_VF_META,&vcc->flags);
vcc               410 drivers/atm/atmtcp.c 	set_bit(ATM_VF_READY,&vcc->flags);
vcc               411 drivers/atm/atmtcp.c 	vcc->dev_data = dev;
vcc               412 drivers/atm/atmtcp.c 	(void) atm_init_aal5(vcc); /* @@@ losing AAL in transit ... */
vcc               413 drivers/atm/atmtcp.c 	vcc->stats = &atmtcp_control_dev.stats.aal5;
vcc               438 drivers/atm/atmtcp.c 	if (PRIV(dev)->vcc) return 0;
vcc               448 drivers/atm/atmtcp.c 	struct atm_vcc *vcc = ATM_SD(sock);
vcc               458 drivers/atm/atmtcp.c 			err = atmtcp_attach(vcc, (int) arg);
vcc               313 drivers/atm/eni.c static void rx_ident_err(struct atm_vcc *vcc)
vcc               319 drivers/atm/eni.c 	dev = vcc->dev;
vcc               325 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               328 drivers/atm/eni.c 	printk(KERN_ALERT "  VCI %d, rxing %d, words %ld\n",vcc->vci,
vcc               344 drivers/atm/eni.c static int do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb,
vcc               355 drivers/atm/eni.c 	eni_dev = ENI_DEV(vcc->dev);
vcc               356 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               366 drivers/atm/eni.c 			    "mis-aligned RX data (0x%lx)\n",vcc->dev->number,
vcc               367 drivers/atm/eni.c 			    vcc->vci,(unsigned long) paddr);
vcc               370 drivers/atm/eni.c 		ATM_SKB(skb)->vcc = vcc;
vcc               375 drivers/atm/eni.c 		dma[j++] = (here << MID_DMA_COUNT_SHIFT) | (vcc->vci
vcc               396 drivers/atm/eni.c 			    (vcc->vci << MID_DMA_VCI_SHIFT);
vcc               404 drivers/atm/eni.c 			    MID_DMA_COUNT_SHIFT) | (vcc->vci <<
vcc               414 drivers/atm/eni.c 			    MID_DMA_COUNT_SHIFT) | (vcc->vci <<
vcc               424 drivers/atm/eni.c 			    MID_DMA_COUNT_SHIFT) | (vcc->vci <<
vcc               434 drivers/atm/eni.c 			    MID_DMA_COUNT_SHIFT) | (vcc->vci <<
vcc               443 drivers/atm/eni.c 			    | (vcc->vci << MID_DMA_VCI_SHIFT);
vcc               449 drivers/atm/eni.c 		    (vcc->vci << MID_DMA_VCI_SHIFT) | MID_DT_JK;
vcc               466 drivers/atm/eni.c 		    vcc->dev->number);
vcc               494 drivers/atm/eni.c static void discard(struct atm_vcc *vcc,unsigned long size)
vcc               498 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               500 drivers/atm/eni.c 	while (do_rx_dma(vcc,NULL,1,size,0)) EVENT("BUSY LOOP",0,0);
vcc               512 drivers/atm/eni.c static int rx_aal0(struct atm_vcc *vcc)
vcc               520 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               523 drivers/atm/eni.c 		rx_ident_err(vcc);
vcc               528 drivers/atm/eni.c 		    vcc->dev->number);
vcc               530 drivers/atm/eni.c 		atomic_inc(&vcc->stats->rx_err);
vcc               535 drivers/atm/eni.c 	skb = length ? atm_alloc_charge(vcc,length,GFP_ATOMIC) : NULL;
vcc               537 drivers/atm/eni.c 		discard(vcc,length >> 2);
vcc               543 drivers/atm/eni.c 	if (do_rx_dma(vcc,skb,1,length >> 2,length >> 2)) return 1;
vcc               549 drivers/atm/eni.c static int rx_aal5(struct atm_vcc *vcc)
vcc               558 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               561 drivers/atm/eni.c 		rx_ident_err(vcc);
vcc               568 drivers/atm/eni.c 			    vcc->dev->number);
vcc               577 drivers/atm/eni.c 				    vcc->dev->number);
vcc               585 drivers/atm/eni.c 		atomic_inc(&vcc->stats->rx_err);
vcc               600 drivers/atm/eni.c 			    vcc->dev->number,vcc->vci,length,size << 2,descr);
vcc               602 drivers/atm/eni.c 			atomic_inc(&vcc->stats->rx_err);
vcc               605 drivers/atm/eni.c 	skb = eff ? atm_alloc_charge(vcc,eff << 2,GFP_ATOMIC) : NULL;
vcc               607 drivers/atm/eni.c 		discard(vcc,size);
vcc               612 drivers/atm/eni.c 	if (do_rx_dma(vcc,skb,1,size,eff)) return 1;
vcc               618 drivers/atm/eni.c static inline int rx_vcc(struct atm_vcc *vcc)
vcc               624 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               625 drivers/atm/eni.c 	vci_dsc = ENI_DEV(vcc->dev)->vci+vcc->vci*16;
vcc               631 drivers/atm/eni.c 		DPRINTK("CB_DESCR %ld REG_DESCR %d\n",ENI_VCC(vcc)->descr,
vcc               634 drivers/atm/eni.c 		if (ENI_VCC(vcc)->rx(vcc)) return 1;
vcc               644 drivers/atm/eni.c 	while (ENI_VCC(vcc)->descr != (tmp = (readl(vci_dsc+4) & MID_VCI_DESCR)
vcc               648 drivers/atm/eni.c 		DPRINTK("CB_DESCR %ld REG_DESCR %d\n",ENI_VCC(vcc)->descr,
vcc               651 drivers/atm/eni.c 		if (ENI_VCC(vcc)->rx(vcc)) return 1;
vcc               685 drivers/atm/eni.c 	struct atm_vcc *vcc;
vcc               693 drivers/atm/eni.c 		vcc = eni_dev->rx_map[vci & 1023];
vcc               694 drivers/atm/eni.c 		if (!vcc) {
vcc               701 drivers/atm/eni.c 		if (ENI_VCC(vcc)->next != ENI_VCC_NOS) {
vcc               706 drivers/atm/eni.c 		ENI_VCC(vcc)->timestamp = ktime_get_real();
vcc               707 drivers/atm/eni.c 		ENI_VCC(vcc)->next = NULL;
vcc               708 drivers/atm/eni.c 		if (vcc->qos.rxtp.traffic_class == ATM_CBR) {
vcc               710 drivers/atm/eni.c 				ENI_VCC(eni_dev->last_fast)->next = vcc;
vcc               711 drivers/atm/eni.c 			else eni_dev->fast = vcc;
vcc               712 drivers/atm/eni.c 			eni_dev->last_fast = vcc;
vcc               716 drivers/atm/eni.c 				ENI_VCC(eni_dev->last_slow)->next = vcc;
vcc               717 drivers/atm/eni.c 			else eni_dev->slow = vcc;
vcc               718 drivers/atm/eni.c 			eni_dev->last_slow = vcc;
vcc               721 drivers/atm/eni.c 		ENI_VCC(vcc)->servicing++;
vcc               730 drivers/atm/eni.c 	struct atm_vcc *vcc;
vcc               750 drivers/atm/eni.c 		vcc = ATM_SKB(skb)->vcc;
vcc               751 drivers/atm/eni.c 		eni_vcc = ENI_VCC(vcc);
vcc               753 drivers/atm/eni.c 		vci_dsc = eni_dev->vci+vcc->vci*16;
vcc               768 drivers/atm/eni.c 			if (vcc->qos.aal == ATM_AAL0)
vcc               772 drivers/atm/eni.c 			vcc->push(vcc,skb);
vcc               775 drivers/atm/eni.c 		atomic_inc(&vcc->stats->rx);
vcc               781 drivers/atm/eni.c static int open_rx_first(struct atm_vcc *vcc)
vcc               788 drivers/atm/eni.c 	eni_dev = ENI_DEV(vcc->dev);
vcc               789 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               791 drivers/atm/eni.c 	if (vcc->qos.rxtp.traffic_class == ATM_NONE) return 0;
vcc               792 drivers/atm/eni.c 	size = vcc->qos.rxtp.max_sdu*eni_dev->rx_mult/100;
vcc               793 drivers/atm/eni.c 	if (size > MID_MAX_BUF_SIZE && vcc->qos.rxtp.max_sdu <=
vcc               800 drivers/atm/eni.c 	eni_vcc->rx = vcc->qos.aal == ATM_AAL5 ? rx_aal5 : rx_aal0;
vcc               810 drivers/atm/eni.c static int open_rx_second(struct atm_vcc *vcc)
vcc               819 drivers/atm/eni.c 	eni_dev = ENI_DEV(vcc->dev);
vcc               820 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               823 drivers/atm/eni.c 	here = eni_dev->vci+vcc->vci*16;
vcc               829 drivers/atm/eni.c 	if (eni_dev->rx_map[vcc->vci])
vcc               831 drivers/atm/eni.c 		    "in use\n",vcc->dev->number,vcc->vci);
vcc               832 drivers/atm/eni.c 	eni_dev->rx_map[vcc->vci] = vcc; /* now it counts */
vcc               833 drivers/atm/eni.c 	writel(((vcc->qos.aal != ATM_AAL5 ? MID_MODE_RAW : MID_MODE_AAL5) <<
vcc               841 drivers/atm/eni.c static void close_rx(struct atm_vcc *vcc)
vcc               848 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc               850 drivers/atm/eni.c 	eni_dev = ENI_DEV(vcc->dev);
vcc               851 drivers/atm/eni.c 	if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) {
vcc               852 drivers/atm/eni.c 		here = eni_dev->vci+vcc->vci*16;
vcc               861 drivers/atm/eni.c 		eni_dev->rx_map[vcc->vci] = NULL;
vcc               886 drivers/atm/eni.c 			tmp = readl(eni_dev->vci+vcc->vci*16+4) & MID_VCI_READ;
vcc              1035 drivers/atm/eni.c 	struct atm_vcc *vcc;
vcc              1047 drivers/atm/eni.c 	vcc = ATM_SKB(skb)->vcc;
vcc              1048 drivers/atm/eni.c 	NULLCHECK(vcc);
vcc              1049 drivers/atm/eni.c 	eni_dev = ENI_DEV(vcc->dev);
vcc              1051 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc              1067 drivers/atm/eni.c 		    "TX data\n",vcc->dev->number,vcc->vci);
vcc              1075 drivers/atm/eni.c 	aal5 = vcc->qos.aal == ATM_AAL5;
vcc              1095 drivers/atm/eni.c 		    vcc->dev->number,size);
vcc              1108 drivers/atm/eni.c 		    "(got only %d)\n",vcc->dev->number,dma_size,TX_DMA_BUF);
vcc              1114 drivers/atm/eni.c 		    vcc->dev->number);
vcc              1158 drivers/atm/eni.c 	writel((vcc->vci << MID_SEG_VCI_SHIFT) |
vcc              1174 drivers/atm/eni.c 	ENI_VCC(vcc)->txing += size;
vcc              1211 drivers/atm/eni.c 	struct atm_vcc *vcc;
vcc              1219 drivers/atm/eni.c 		vcc = ATM_SKB(skb)->vcc;
vcc              1220 drivers/atm/eni.c 		NULLCHECK(vcc);
vcc              1221 drivers/atm/eni.c 		tx = ENI_VCC(vcc)->tx;
vcc              1222 drivers/atm/eni.c 		NULLCHECK(ENI_VCC(vcc)->tx);
vcc              1225 drivers/atm/eni.c 		if (ENI_VCC(vcc)->txing < tx->words && ENI_PRV_POS(skb) ==
vcc              1230 drivers/atm/eni.c 		ENI_VCC(vcc)->txing -= ENI_PRV_SIZE(skb);
vcc              1233 drivers/atm/eni.c 		if (vcc->pop) vcc->pop(vcc,skb);
vcc              1235 drivers/atm/eni.c 		atomic_inc(&vcc->stats->tx);
vcc              1289 drivers/atm/eni.c static int reserve_or_set_tx(struct atm_vcc *vcc,struct atm_trafprm *txtp,
vcc              1292 drivers/atm/eni.c 	struct eni_dev *eni_dev = ENI_DEV(vcc->dev);
vcc              1293 drivers/atm/eni.c 	struct eni_vcc *eni_vcc = ENI_VCC(vcc);
vcc              1377 drivers/atm/eni.c static int open_tx_first(struct atm_vcc *vcc)
vcc              1379 drivers/atm/eni.c 	ENI_VCC(vcc)->tx = NULL;
vcc              1380 drivers/atm/eni.c 	if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0;
vcc              1381 drivers/atm/eni.c 	ENI_VCC(vcc)->txing = 0;
vcc              1382 drivers/atm/eni.c 	return reserve_or_set_tx(vcc,&vcc->qos.txtp,1,1);
vcc              1386 drivers/atm/eni.c static int open_tx_second(struct atm_vcc *vcc)
vcc              1392 drivers/atm/eni.c static void close_tx(struct atm_vcc *vcc)
vcc              1398 drivers/atm/eni.c 	eni_vcc = ENI_VCC(vcc);
vcc              1400 drivers/atm/eni.c 	eni_dev = ENI_DEV(vcc->dev);
vcc              1896 drivers/atm/eni.c static void eni_close(struct atm_vcc *vcc)
vcc              1899 drivers/atm/eni.c 	if (!ENI_VCC(vcc)) return;
vcc              1900 drivers/atm/eni.c 	clear_bit(ATM_VF_READY,&vcc->flags);
vcc              1901 drivers/atm/eni.c 	close_rx(vcc);
vcc              1902 drivers/atm/eni.c 	close_tx(vcc);
vcc              1905 drivers/atm/eni.c 	kfree(ENI_VCC(vcc));
vcc              1906 drivers/atm/eni.c 	vcc->dev_data = NULL;
vcc              1907 drivers/atm/eni.c 	clear_bit(ATM_VF_ADDR,&vcc->flags);
vcc              1912 drivers/atm/eni.c static int eni_open(struct atm_vcc *vcc)
vcc              1916 drivers/atm/eni.c 	short vpi = vcc->vpi;
vcc              1917 drivers/atm/eni.c 	int vci = vcc->vci;
vcc              1921 drivers/atm/eni.c 	if (!test_bit(ATM_VF_PARTIAL,&vcc->flags))
vcc              1922 drivers/atm/eni.c 		vcc->dev_data = NULL;
vcc              1924 drivers/atm/eni.c 		set_bit(ATM_VF_ADDR,&vcc->flags);
vcc              1925 drivers/atm/eni.c 	if (vcc->qos.aal != ATM_AAL0 && vcc->qos.aal != ATM_AAL5)
vcc              1927 drivers/atm/eni.c 	DPRINTK(DEV_LABEL "(itf %d): open %d.%d\n",vcc->dev->number,vcc->vpi,
vcc              1928 drivers/atm/eni.c 	    vcc->vci);
vcc              1929 drivers/atm/eni.c 	if (!test_bit(ATM_VF_PARTIAL,&vcc->flags)) {
vcc              1932 drivers/atm/eni.c 		vcc->dev_data = eni_vcc;
vcc              1934 drivers/atm/eni.c 		if ((error = open_rx_first(vcc))) {
vcc              1935 drivers/atm/eni.c 			eni_close(vcc);
vcc              1938 drivers/atm/eni.c 		if ((error = open_tx_first(vcc))) {
vcc              1939 drivers/atm/eni.c 			eni_close(vcc);
vcc              1944 drivers/atm/eni.c 	if ((error = open_rx_second(vcc))) {
vcc              1945 drivers/atm/eni.c 		eni_close(vcc);
vcc              1948 drivers/atm/eni.c 	if ((error = open_tx_second(vcc))) {
vcc              1949 drivers/atm/eni.c 		eni_close(vcc);
vcc              1952 drivers/atm/eni.c 	set_bit(ATM_VF_READY,&vcc->flags);
vcc              1958 drivers/atm/eni.c static int eni_change_qos(struct atm_vcc *vcc,struct atm_qos *qos,int flgs)
vcc              1960 drivers/atm/eni.c 	struct eni_dev *eni_dev = ENI_DEV(vcc->dev);
vcc              1961 drivers/atm/eni.c 	struct eni_tx *tx = ENI_VCC(vcc)->tx;
vcc              1975 drivers/atm/eni.c 	error = reserve_or_set_tx(vcc,&qos->txtp,rsv,shp);
vcc              1986 drivers/atm/eni.c 		if (ATM_SKB(skb)->vcc != vcc) continue;
vcc              2037 drivers/atm/eni.c static int eni_getsockopt(struct atm_vcc *vcc,int level,int optname,
vcc              2044 drivers/atm/eni.c static int eni_setsockopt(struct atm_vcc *vcc,int level,int optname,
vcc              2051 drivers/atm/eni.c static int eni_send(struct atm_vcc *vcc,struct sk_buff *skb)
vcc              2056 drivers/atm/eni.c 	if (!ENI_VCC(vcc)->tx) {
vcc              2057 drivers/atm/eni.c 		if (vcc->pop) vcc->pop(vcc,skb);
vcc              2063 drivers/atm/eni.c 		if (vcc->pop) vcc->pop(vcc,skb);
vcc              2066 drivers/atm/eni.c 	if (vcc->qos.aal == ATM_AAL0) {
vcc              2068 drivers/atm/eni.c 			if (vcc->pop) vcc->pop(vcc,skb);
vcc              2075 drivers/atm/eni.c 	ATM_SKB(skb)->vcc = vcc;
vcc              2076 drivers/atm/eni.c 	tasklet_disable(&ENI_DEV(vcc->dev)->task);
vcc              2078 drivers/atm/eni.c 	tasklet_enable(&ENI_DEV(vcc->dev)->task);
vcc              2080 drivers/atm/eni.c 	skb_queue_tail(&ENI_VCC(vcc)->tx->backlog,skb);
vcc              2082 drivers/atm/eni.c 	tasklet_schedule(&ENI_DEV(vcc->dev)->task);
vcc              2105 drivers/atm/eni.c 	struct atm_vcc *vcc;
vcc              2183 drivers/atm/eni.c 			vcc = atm_sk(s);
vcc              2184 drivers/atm/eni.c 			if (vcc->dev != dev)
vcc              2186 drivers/atm/eni.c 			eni_vcc = ENI_VCC(vcc);
vcc              2188 drivers/atm/eni.c 			length = sprintf(page,"vcc %4d: ",vcc->vci);
vcc                54 drivers/atm/eni.h 	int (*rx)(struct atm_vcc *vcc);	/* RX function, NULL if none */
vcc               365 drivers/atm/firestream.c 	if (ATM_SKB(skb)->vcc->pop)
vcc               366 drivers/atm/firestream.c 		ATM_SKB(skb)->vcc->pop (ATM_SKB(skb)->vcc, skb);
vcc               727 drivers/atm/firestream.c 			if (skb == FS_VCC (ATM_SKB(skb)->vcc)->last_skb) {
vcc               728 drivers/atm/firestream.c 				FS_VCC (ATM_SKB(skb)->vcc)->last_skb = NULL;
vcc               729 drivers/atm/firestream.c 				wake_up_interruptible (& FS_VCC (ATM_SKB(skb)->vcc)->close_wait);
vcc               741 drivers/atm/firestream.c 			atomic_inc(&ATM_SKB(skb)->vcc->stats->tx);
vcc               807 drivers/atm/firestream.c 				ATM_SKB(skb)->vcc = atm_vcc;
vcc               851 drivers/atm/firestream.c 	struct fs_vcc *vcc;
vcc               882 drivers/atm/firestream.c 	vcc = kmalloc(sizeof(struct fs_vcc), GFP_KERNEL);
vcc               883 drivers/atm/firestream.c 	fs_dprintk (FS_DEBUG_ALLOC, "Alloc VCC: %p(%zd)\n", vcc, sizeof(struct fs_vcc));
vcc               884 drivers/atm/firestream.c 	if (!vcc) {
vcc               889 drivers/atm/firestream.c 	atm_vcc->dev_data = vcc;
vcc               890 drivers/atm/firestream.c 	vcc->last_skb = NULL;
vcc               892 drivers/atm/firestream.c 	init_waitqueue_head (&vcc->close_wait);
vcc               915 drivers/atm/firestream.c 				kfree(vcc);
vcc               918 drivers/atm/firestream.c 			vcc->channo = dev->channo;
vcc               922 drivers/atm/firestream.c 			vcc->channo = (vpi << FS155_VCI_BITS) | (vci);
vcc               923 drivers/atm/firestream.c 			if (((DO_DIRECTION(rxtp) && dev->atm_vccs[vcc->channo])) ||
vcc               924 drivers/atm/firestream.c 			    ( DO_DIRECTION(txtp) && test_bit (vcc->channo, dev->tx_inuse))) {
vcc               926 drivers/atm/firestream.c 				kfree(vcc);
vcc               931 drivers/atm/firestream.c 			    vcc->channo, vcc->channo);
vcc               940 drivers/atm/firestream.c 			kfree(vcc);
vcc              1035 drivers/atm/firestream.c 				QE_CMD_CONFIG_TX | QE_CMD_IMM_INQ | vcc->channo,
vcc              1039 drivers/atm/firestream.c 				QE_CMD_TX_EN | QE_CMD_IMM_INQ | vcc->channo,
vcc              1041 drivers/atm/firestream.c 		set_bit (vcc->channo, dev->tx_inuse);
vcc              1045 drivers/atm/firestream.c 		dev->atm_vccs[vcc->channo] = atm_vcc;
vcc              1055 drivers/atm/firestream.c 			dev->atm_vccs[vcc->channo] = NULL;
vcc              1056 drivers/atm/firestream.c 			kfree (vcc);
vcc              1064 drivers/atm/firestream.c 					QE_CMD_CONFIG_RX | QE_CMD_IMM_INQ | vcc->channo,
vcc              1071 drivers/atm/firestream.c 					QE_CMD_CONFIG_RX | QE_CMD_IMM_INQ | vcc->channo,
vcc              1080 drivers/atm/firestream.c 					0x80 + vcc->channo,
vcc              1084 drivers/atm/firestream.c 				QE_CMD_RX_EN | QE_CMD_IMM_INQ | vcc->channo,
vcc              1099 drivers/atm/firestream.c 	struct fs_vcc *vcc = FS_VCC (atm_vcc);
vcc              1108 drivers/atm/firestream.c 	if (vcc->last_skb) {
vcc              1110 drivers/atm/firestream.c 			    vcc->last_skb);
vcc              1118 drivers/atm/firestream.c 		wait_event_interruptible(vcc->close_wait, !vcc->last_skb);
vcc              1130 drivers/atm/firestream.c 				QE_CMD_TX_PURGE_INH | /*QE_CMD_IMM_INQ|*/ vcc->channo, 0,0,0);
vcc              1131 drivers/atm/firestream.c 		clear_bit (vcc->channo, dev->tx_inuse);
vcc              1136 drivers/atm/firestream.c 				QE_CMD_RX_PURGE_INH | QE_CMD_IMM_INQ | vcc->channo, 0,0,0);
vcc              1137 drivers/atm/firestream.c 		dev->atm_vccs [vcc->channo] = NULL;
vcc              1146 drivers/atm/firestream.c 					0x80 + vcc->channo, -1, 0 ); 
vcc              1150 drivers/atm/firestream.c 	fs_dprintk (FS_DEBUG_ALLOC, "Free vcc: %p\n", vcc);
vcc              1151 drivers/atm/firestream.c 	kfree (vcc);
vcc              1160 drivers/atm/firestream.c 	struct fs_vcc *vcc = FS_VCC (atm_vcc);
vcc              1167 drivers/atm/firestream.c 		    atm_vcc, skb, vcc, dev);
vcc              1171 drivers/atm/firestream.c 	ATM_SKB(skb)->vcc = atm_vcc;
vcc              1173 drivers/atm/firestream.c 	vcc->last_skb = skb;
vcc              1204 drivers/atm/firestream.c 		      QE_TRANSMIT_DE | vcc->channo,
vcc              1230 drivers/atm/firestream.c static int fs_getsockopt(struct atm_vcc *vcc,int level,int optname,
vcc              1239 drivers/atm/firestream.c static int fs_setsockopt(struct atm_vcc *vcc,int level,int optname,
vcc              1264 drivers/atm/firestream.c static int fs_change_qos(struct atm_vcc *vcc,struct atm_qos *qos,int flags)
vcc              1931 drivers/atm/firestream.c 	struct fs_vcc *vcc;
vcc              1961 drivers/atm/firestream.c 				vcc = FS_VCC (dev->atm_vccs[i]);
vcc              1963 drivers/atm/firestream.c 						QE_CMD_TX_PURGE_INH | QE_CMD_IMM_INQ | vcc->channo, 0,0,0);
vcc              1965 drivers/atm/firestream.c 						QE_CMD_RX_PURGE_INH | QE_CMD_IMM_INQ | vcc->channo, 0,0,0);
vcc               774 drivers/atm/fore200e.c     struct atm_vcc*         vcc;
vcc               801 drivers/atm/fore200e.c 	if ((vc_map->vcc == NULL) ||
vcc               802 drivers/atm/fore200e.c 	    (test_bit(ATM_VF_READY, &vc_map->vcc->flags) == 0)) {
vcc               810 drivers/atm/fore200e.c 	    ASSERT(vc_map->vcc);
vcc               833 drivers/atm/fore200e.c 		vcc = vc_map->vcc;
vcc               834 drivers/atm/fore200e.c 		ASSERT(vcc);
vcc               837 drivers/atm/fore200e.c 		if (vcc->pop) {
vcc               838 drivers/atm/fore200e.c 		    vcc->pop(vcc, entry->skb);
vcc               846 drivers/atm/fore200e.c 		    atomic_inc(&vcc->stats->tx_err);
vcc               848 drivers/atm/fore200e.c 		    atomic_inc(&vcc->stats->tx);
vcc               962 drivers/atm/fore200e.c fore200e_push_rpd(struct fore200e* fore200e, struct atm_vcc* vcc, struct rpd* rpd)
vcc               972 drivers/atm/fore200e.c     ASSERT(vcc);
vcc               974 drivers/atm/fore200e.c     fore200e_vcc = FORE200E_VCC(vcc);
vcc               978 drivers/atm/fore200e.c     if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) {
vcc               997 drivers/atm/fore200e.c 	atomic_inc(&vcc->stats->rx_drop);
vcc              1035 drivers/atm/fore200e.c     if (atm_charge(vcc, skb->truesize) == 0) {
vcc              1038 drivers/atm/fore200e.c 		vcc->itf, vcc->vpi, vcc->vci);
vcc              1042 drivers/atm/fore200e.c 	atomic_inc(&vcc->stats->rx_drop);
vcc              1046 drivers/atm/fore200e.c     vcc->push(vcc, skb);
vcc              1047 drivers/atm/fore200e.c     atomic_inc(&vcc->stats->rx);
vcc              1091 drivers/atm/fore200e.c     struct atm_vcc*         vcc;
vcc              1104 drivers/atm/fore200e.c 	if ((vc_map->vcc == NULL) ||
vcc              1105 drivers/atm/fore200e.c 	    (test_bit(ATM_VF_READY, &vc_map->vcc->flags) == 0)) {
vcc              1112 drivers/atm/fore200e.c 	    vcc = vc_map->vcc;
vcc              1113 drivers/atm/fore200e.c 	    ASSERT(vcc);
vcc              1117 drivers/atm/fore200e.c 		fore200e_push_rpd(fore200e, vcc, entry->rpd);
vcc              1123 drivers/atm/fore200e.c 		atomic_inc(&vcc->stats->rx_err);
vcc              1212 drivers/atm/fore200e.c fore200e_select_scheme(struct atm_vcc* vcc)
vcc              1215 drivers/atm/fore200e.c     int scheme = vcc->vci % 2 ? BUFFER_SCHEME_ONE : BUFFER_SCHEME_TWO;
vcc              1218 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, scheme);
vcc              1225 drivers/atm/fore200e.c fore200e_activate_vcin(struct fore200e* fore200e, int activate, struct atm_vcc* vcc, int mtu)
vcc              1233 drivers/atm/fore200e.c     enum fore200e_aal        aal = fore200e_atm2fore_aal(vcc->qos.aal);
vcc              1238 drivers/atm/fore200e.c 	FORE200E_VCC(vcc)->scheme = fore200e_select_scheme(vcc);
vcc              1242 drivers/atm/fore200e.c 	activ_opcode.scheme = FORE200E_VCC(vcc)->scheme;
vcc              1250 drivers/atm/fore200e.c     vpvc.vci = vcc->vci;
vcc              1251 drivers/atm/fore200e.c     vpvc.vpi = vcc->vpi;
vcc              1276 drivers/atm/fore200e.c 	       activate ? "open" : "close", vcc->itf, vcc->vpi, vcc->vci);
vcc              1280 drivers/atm/fore200e.c     DPRINTK(1, "VC %d.%d.%d %sed\n", vcc->itf, vcc->vpi, vcc->vci, 
vcc              1306 drivers/atm/fore200e.c fore200e_open(struct atm_vcc *vcc)
vcc              1308 drivers/atm/fore200e.c     struct fore200e*        fore200e = FORE200E_DEV(vcc->dev);
vcc              1312 drivers/atm/fore200e.c     int			    vci = vcc->vci;
vcc              1313 drivers/atm/fore200e.c     short		    vpi = vcc->vpi;
vcc              1321 drivers/atm/fore200e.c     if (vc_map->vcc) {
vcc              1331 drivers/atm/fore200e.c     vc_map->vcc = vcc;
vcc              1337 drivers/atm/fore200e.c 	vc_map->vcc = NULL;
vcc              1343 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal),
vcc              1344 drivers/atm/fore200e.c 	    fore200e_traffic_class[ vcc->qos.txtp.traffic_class ],
vcc              1345 drivers/atm/fore200e.c 	    vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu,
vcc              1346 drivers/atm/fore200e.c 	    fore200e_traffic_class[ vcc->qos.rxtp.traffic_class ],
vcc              1347 drivers/atm/fore200e.c 	    vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu);
vcc              1350 drivers/atm/fore200e.c     if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) {
vcc              1353 drivers/atm/fore200e.c 	if (fore200e->available_cell_rate < vcc->qos.txtp.max_pcr) {
vcc              1357 drivers/atm/fore200e.c 	    vc_map->vcc = NULL;
vcc              1362 drivers/atm/fore200e.c 	fore200e->available_cell_rate -= vcc->qos.txtp.max_pcr;
vcc              1366 drivers/atm/fore200e.c     vcc->itf = vcc->dev->number;
vcc              1368 drivers/atm/fore200e.c     set_bit(ATM_VF_PARTIAL,&vcc->flags);
vcc              1369 drivers/atm/fore200e.c     set_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1371 drivers/atm/fore200e.c     vcc->dev_data = fore200e_vcc;
vcc              1373 drivers/atm/fore200e.c     if (fore200e_activate_vcin(fore200e, 1, vcc, vcc->qos.rxtp.max_sdu) < 0) {
vcc              1375 drivers/atm/fore200e.c 	vc_map->vcc = NULL;
vcc              1377 drivers/atm/fore200e.c 	clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1378 drivers/atm/fore200e.c 	clear_bit(ATM_VF_PARTIAL,&vcc->flags);
vcc              1380 drivers/atm/fore200e.c 	vcc->dev_data = NULL;
vcc              1382 drivers/atm/fore200e.c 	fore200e->available_cell_rate += vcc->qos.txtp.max_pcr;
vcc              1389 drivers/atm/fore200e.c     if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) {
vcc              1391 drivers/atm/fore200e.c 	fore200e_rate_ctrl(&vcc->qos, &fore200e_vcc->rate);
vcc              1392 drivers/atm/fore200e.c 	set_bit(ATM_VF_HASQOS, &vcc->flags);
vcc              1395 drivers/atm/fore200e.c 		vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal),
vcc              1396 drivers/atm/fore200e.c 		vcc->qos.txtp.max_pcr, vcc->qos.rxtp.max_pcr, 
vcc              1408 drivers/atm/fore200e.c     set_bit(ATM_VF_READY, &vcc->flags);
vcc              1415 drivers/atm/fore200e.c fore200e_close(struct atm_vcc* vcc)
vcc              1422 drivers/atm/fore200e.c     ASSERT(vcc);
vcc              1423 drivers/atm/fore200e.c     fore200e = FORE200E_DEV(vcc->dev);
vcc              1425 drivers/atm/fore200e.c     ASSERT((vcc->vpi >= 0) && (vcc->vpi < 1<<FORE200E_VPI_BITS));
vcc              1426 drivers/atm/fore200e.c     ASSERT((vcc->vci >= 0) && (vcc->vci < 1<<FORE200E_VCI_BITS));
vcc              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));
vcc              1430 drivers/atm/fore200e.c     clear_bit(ATM_VF_READY, &vcc->flags);
vcc              1432 drivers/atm/fore200e.c     fore200e_activate_vcin(fore200e, 0, vcc, 0);
vcc              1436 drivers/atm/fore200e.c     vc_map = FORE200E_VC_MAP(fore200e, vcc->vpi, vcc->vci);
vcc              1439 drivers/atm/fore200e.c     vc_map->vcc = NULL;
vcc              1441 drivers/atm/fore200e.c     vcc->itf = vcc->vci = vcc->vpi = 0;
vcc              1443 drivers/atm/fore200e.c     fore200e_vcc = FORE200E_VCC(vcc);
vcc              1444 drivers/atm/fore200e.c     vcc->dev_data = NULL;
vcc              1449 drivers/atm/fore200e.c     if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) {
vcc              1452 drivers/atm/fore200e.c 	fore200e->available_cell_rate += vcc->qos.txtp.max_pcr;
vcc              1455 drivers/atm/fore200e.c 	clear_bit(ATM_VF_HASQOS, &vcc->flags);
vcc              1458 drivers/atm/fore200e.c     clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1459 drivers/atm/fore200e.c     clear_bit(ATM_VF_PARTIAL,&vcc->flags);
vcc              1467 drivers/atm/fore200e.c fore200e_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc              1485 drivers/atm/fore200e.c     if (!vcc)
vcc              1488 drivers/atm/fore200e.c     fore200e = FORE200E_DEV(vcc->dev);
vcc              1489 drivers/atm/fore200e.c     fore200e_vcc = FORE200E_VCC(vcc);
vcc              1498 drivers/atm/fore200e.c     if (!test_bit(ATM_VF_READY, &vcc->flags)) {
vcc              1499 drivers/atm/fore200e.c 	DPRINTK(1, "VC %d.%d.%d not ready for tx\n", vcc->itf, vcc->vpi, vcc->vpi);
vcc              1505 drivers/atm/fore200e.c     if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) {
vcc              1526 drivers/atm/fore200e.c     if ((vcc->qos.aal == ATM_AAL0) && (skb_len % ATM_CELL_PAYLOAD)) {
vcc              1537 drivers/atm/fore200e.c 	    if (vcc->pop) {
vcc              1538 drivers/atm/fore200e.c 		vcc->pop(vcc, skb);
vcc              1554 drivers/atm/fore200e.c     vc_map = FORE200E_VC_MAP(fore200e, vcc->vpi, vcc->vci);
vcc              1555 drivers/atm/fore200e.c     ASSERT(vc_map->vcc == vcc);
vcc              1578 drivers/atm/fore200e.c 	    atomic_inc(&vcc->stats->tx_err);
vcc              1583 drivers/atm/fore200e.c 	    if (vcc->pop) {
vcc              1584 drivers/atm/fore200e.c 		vcc->pop(vcc, skb);
vcc              1621 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal),
vcc              1645 drivers/atm/fore200e.c 	tpd->atm_header.vci = vcc->vci;
vcc              1646 drivers/atm/fore200e.c 	tpd->atm_header.vpi = vcc->vpi;
vcc              1652 drivers/atm/fore200e.c     tpd->spec.aal    = fore200e_atm2fore_aal(vcc->qos.aal);
vcc              1715 drivers/atm/fore200e.c fore200e_getsockopt(struct atm_vcc* vcc, int level, int optname, void __user *optval, int optlen)
vcc              1720 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, level, optname, optval, optlen);
vcc              1727 drivers/atm/fore200e.c fore200e_setsockopt(struct atm_vcc* vcc, int level, int optname, void __user *optval, unsigned int optlen)
vcc              1732 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci, level, optname, optval, optlen);
vcc              1910 drivers/atm/fore200e.c fore200e_change_qos(struct atm_vcc* vcc,struct atm_qos* qos, int flags)
vcc              1912 drivers/atm/fore200e.c     struct fore200e_vcc* fore200e_vcc = FORE200E_VCC(vcc);
vcc              1913 drivers/atm/fore200e.c     struct fore200e*     fore200e     = FORE200E_DEV(vcc->dev);
vcc              1915 drivers/atm/fore200e.c     if (!test_bit(ATM_VF_READY, &vcc->flags)) {
vcc              1916 drivers/atm/fore200e.c 	DPRINTK(1, "VC %d.%d.%d not ready for QoS change\n", vcc->itf, vcc->vpi, vcc->vpi);
vcc              1924 drivers/atm/fore200e.c 	    vcc->itf, vcc->vpi, vcc->vci,
vcc              1934 drivers/atm/fore200e.c 	if (fore200e->available_cell_rate + vcc->qos.txtp.max_pcr < qos->txtp.max_pcr) {
vcc              1939 drivers/atm/fore200e.c 	fore200e->available_cell_rate += vcc->qos.txtp.max_pcr;
vcc              1944 drivers/atm/fore200e.c 	memcpy(&vcc->qos, qos, sizeof(struct atm_qos));
vcc              1949 drivers/atm/fore200e.c 	set_bit(ATM_VF_HASQOS, &vcc->flags);
vcc              2738 drivers/atm/fore200e.c     struct atm_vcc*      vcc;
vcc              2988 drivers/atm/fore200e.c 	vcc = fore200e->vc_map[i].vcc;
vcc              2990 drivers/atm/fore200e.c 	if (vcc == NULL)
vcc              2995 drivers/atm/fore200e.c 	if (vcc && test_bit(ATM_VF_READY, &vcc->flags) && !left--) {
vcc              2997 drivers/atm/fore200e.c 	    fore200e_vcc = FORE200E_VCC(vcc);
vcc              3002 drivers/atm/fore200e.c 			  vcc,
vcc              3003 drivers/atm/fore200e.c 			  vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal),
vcc               822 drivers/atm/fore200e.h     struct atm_vcc* vcc;       /* vcc entry              */
vcc                98 drivers/atm/he.c static int he_open(struct atm_vcc *vcc);
vcc                99 drivers/atm/he.c static void he_close(struct atm_vcc *vcc);
vcc               100 drivers/atm/he.c static int he_send(struct atm_vcc *vcc, struct sk_buff *skb);
vcc               331 drivers/atm/he.c 	struct atm_vcc *vcc;
vcc               341 drivers/atm/he.c 		vcc = atm_sk(s);
vcc               342 drivers/atm/he.c 		if (vcc->dev == he_dev->atm_dev &&
vcc               343 drivers/atm/he.c 		    vcc->vci == vci && vcc->vpi == vpi &&
vcc               344 drivers/atm/he.c 		    vcc->qos.rxtp.traffic_class != ATM_NONE) {
vcc               345 drivers/atm/he.c 				return vcc;
vcc              1649 drivers/atm/he.c 	struct atm_vcc *vcc = NULL;
vcc              1677 drivers/atm/he.c 			vcc = __find_vcc(he_dev, cid);
vcc              1680 drivers/atm/he.c 		if (vcc == NULL || (he_vcc = HE_VCC(vcc)) == NULL) {
vcc              1693 drivers/atm/he.c 			atomic_inc(&vcc->stats->rx_drop);
vcc              1719 drivers/atm/he.c 							vcc->vpi, vcc->vci);
vcc              1720 drivers/atm/he.c 			atomic_inc(&vcc->stats->rx_err);
vcc              1724 drivers/atm/he.c 		skb = atm_alloc_charge(vcc, he_vcc->pdu_len + rx_skb_reserve,
vcc              1727 drivers/atm/he.c 			HPRINTK("charge failed (%d.%d)\n", vcc->vpi, vcc->vci);
vcc              1739 drivers/atm/he.c 		switch (vcc->qos.aal) {
vcc              1751 drivers/atm/he.c 				if (vcc->vpi == 0 && vcc->vci >= ATM_NOT_RSV_VCI) {
vcc              1761 drivers/atm/he.c 		if (skb->len > vcc->qos.rxtp.max_sdu)
vcc              1762 drivers/atm/he.c 			hprintk("pdu_len (%d) > vcc->qos.rxtp.max_sdu (%d)!  cid 0x%x\n", skb->len, vcc->qos.rxtp.max_sdu, cid);
vcc              1766 drivers/atm/he.c 		ATM_SKB(skb)->vcc = vcc;
vcc              1769 drivers/atm/he.c 		vcc->push(vcc, skb);
vcc              1772 drivers/atm/he.c 		atomic_inc(&vcc->stats->rx);
vcc              1838 drivers/atm/he.c 				he_mkcid(he_dev, tpd->vcc->vpi, tpd->vcc->vci));
vcc              1839 drivers/atm/he.c 			if (tpd->vcc)
vcc              1840 drivers/atm/he.c 				wake_up(&HE_VCC(tpd->vcc)->tx_waitq);
vcc              1857 drivers/atm/he.c 			if (tpd->vcc && tpd->vcc->pop)
vcc              1858 drivers/atm/he.c 				tpd->vcc->pop(tpd->vcc, tpd->skb);
vcc              2094 drivers/atm/he.c 				if (tpd->vcc->pop)
vcc              2095 drivers/atm/he.c 					tpd->vcc->pop(tpd->vcc, tpd->skb);
vcc              2098 drivers/atm/he.c 				atomic_inc(&tpd->vcc->stats->tx_err);
vcc              2118 drivers/atm/he.c he_open(struct atm_vcc *vcc)
vcc              2121 drivers/atm/he.c 	struct he_dev *he_dev = HE_DEV(vcc->dev);
vcc              2125 drivers/atm/he.c 	short vpi = vcc->vpi;
vcc              2126 drivers/atm/he.c 	int vci = vcc->vci;
vcc              2131 drivers/atm/he.c 	HPRINTK("open vcc %p %d.%d\n", vcc, vpi, vci);
vcc              2133 drivers/atm/he.c 	set_bit(ATM_VF_ADDR, &vcc->flags);
vcc              2150 drivers/atm/he.c 	vcc->dev_data = he_vcc;
vcc              2152 drivers/atm/he.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE) {
vcc              2155 drivers/atm/he.c 		pcr_goal = atm_pcr_goal(&vcc->qos.txtp);
vcc              2163 drivers/atm/he.c 		switch (vcc->qos.aal) {
vcc              2187 drivers/atm/he.c 		switch (vcc->qos.txtp.traffic_class) {
vcc              2268 drivers/atm/he.c 	if (vcc->qos.rxtp.traffic_class != ATM_NONE) {
vcc              2272 drivers/atm/he.c 		 				&HE_VCC(vcc)->rx_waitq);
vcc              2274 drivers/atm/he.c 		switch (vcc->qos.aal) {
vcc              2299 drivers/atm/he.c 		rsr0 = vcc->qos.rxtp.traffic_class == ATM_UBR ? 
vcc              2322 drivers/atm/he.c 		clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              2325 drivers/atm/he.c 		set_bit(ATM_VF_READY, &vcc->flags);
vcc              2331 drivers/atm/he.c he_close(struct atm_vcc *vcc)
vcc              2335 drivers/atm/he.c 	struct he_dev *he_dev = HE_DEV(vcc->dev);
vcc              2338 drivers/atm/he.c 	struct he_vcc *he_vcc = HE_VCC(vcc);
vcc              2342 drivers/atm/he.c 	HPRINTK("close vcc %p %d.%d\n", vcc, vcc->vpi, vcc->vci);
vcc              2344 drivers/atm/he.c 	clear_bit(ATM_VF_READY, &vcc->flags);
vcc              2345 drivers/atm/he.c 	cid = he_mkcid(he_dev, vcc->vpi, vcc->vci);
vcc              2347 drivers/atm/he.c 	if (vcc->qos.rxtp.traffic_class != ATM_NONE) {
vcc              2382 drivers/atm/he.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE) {
vcc              2397 drivers/atm/he.c 		while (((tx_inuse = refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) > 1) &&
vcc              2415 drivers/atm/he.c 		switch (vcc->qos.txtp.traffic_class) {
vcc              2434 drivers/atm/he.c 		tpd->vcc = vcc;
vcc              2466 drivers/atm/he.c 		if (vcc->qos.txtp.traffic_class == ATM_CBR) {
vcc              2485 drivers/atm/he.c 	clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              2489 drivers/atm/he.c he_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc              2492 drivers/atm/he.c 	struct he_dev *he_dev = HE_DEV(vcc->dev);
vcc              2493 drivers/atm/he.c 	unsigned cid = he_mkcid(he_dev, vcc->vpi, vcc->vci);
vcc              2501 drivers/atm/he.c 	HPRINTK("send %d.%d\n", vcc->vpi, vcc->vci);
vcc              2504 drivers/atm/he.c 	    ((vcc->qos.aal == ATM_AAL0) && (skb->len != ATM_AAL0_SDU))) {
vcc              2506 drivers/atm/he.c 		if (vcc->pop)
vcc              2507 drivers/atm/he.c 			vcc->pop(vcc, skb);
vcc              2510 drivers/atm/he.c 		atomic_inc(&vcc->stats->tx_err);
vcc              2517 drivers/atm/he.c 		if (vcc->pop)
vcc              2518 drivers/atm/he.c 			vcc->pop(vcc, skb);
vcc              2521 drivers/atm/he.c 		atomic_inc(&vcc->stats->tx_err);
vcc              2529 drivers/atm/he.c 		if (vcc->pop)
vcc              2530 drivers/atm/he.c 			vcc->pop(vcc, skb);
vcc              2533 drivers/atm/he.c 		atomic_inc(&vcc->stats->tx_err);
vcc              2538 drivers/atm/he.c 	if (vcc->qos.aal == ATM_AAL5)
vcc              2563 drivers/atm/he.c 			tpd->vcc = vcc;
vcc              2571 drivers/atm/he.c 				if (vcc->pop)
vcc              2572 drivers/atm/he.c 					vcc->pop(vcc, skb);
vcc              2575 drivers/atm/he.c 				atomic_inc(&vcc->stats->tx_err);
vcc              2597 drivers/atm/he.c 	tpd->vcc = vcc;
vcc              2600 drivers/atm/he.c 	ATM_SKB(skb)->vcc = vcc;
vcc              2605 drivers/atm/he.c 	atomic_inc(&vcc->stats->tx);
vcc               134 drivers/atm/he.h 	struct atm_vcc *vcc;
vcc               237 drivers/atm/he.h #define HE_LOOKUP_VCC(dev, cid) ((dev)->he_vcc_table[(cid)].vcc)
vcc               241 drivers/atm/he.h 	struct atm_vcc *vcc;
vcc               329 drivers/atm/he.h #define HE_VCC(vcc)	((struct he_vcc *)(vcc->dev_data))
vcc               771 drivers/atm/horizon.c   if (ATM_SKB(skb)->vcc->pop) {
vcc               772 drivers/atm/horizon.c     ATM_SKB(skb)->vcc->pop (ATM_SKB(skb)->vcc, skb);
vcc              1005 drivers/atm/horizon.c 	  struct atm_vcc * vcc = ATM_SKB(skb)->vcc;
vcc              1007 drivers/atm/horizon.c 	  atomic_inc(&vcc->stats->rx);
vcc              1010 drivers/atm/horizon.c 	  vcc->push (vcc, skb);
vcc              1159 drivers/atm/horizon.c 	atomic_inc(&ATM_SKB(skb)->vcc->stats->tx);
vcc              1300 drivers/atm/horizon.c 	    ATM_SKB(skb)->vcc = atm_vcc;
vcc              1424 drivers/atm/horizon.c static short setup_idle_tx_channel (hrz_dev * dev, hrz_vcc * vcc) {
vcc              1469 drivers/atm/horizon.c     u16 channel = vcc->channel;
vcc              1479 drivers/atm/horizon.c 			      vcc->tx_xbr_bits);
vcc              1483 drivers/atm/horizon.c 			      vcc->tx_pcr_bits);
vcc              1486 drivers/atm/horizon.c     if (vcc->tx_xbr_bits == VBR_RATE_TYPE) {
vcc              1489 drivers/atm/horizon.c 				vcc->tx_scr_bits);
vcc              1493 drivers/atm/horizon.c 				vcc->tx_bucket_bits);
vcc              1497 drivers/atm/horizon.c 				vcc->tx_bucket_bits);
vcc              1514 drivers/atm/horizon.c     switch (vcc->aal) {
vcc              1552 drivers/atm/horizon.c   hrz_vcc * vcc = HRZ_VCC(atm_vcc);
vcc              1553 drivers/atm/horizon.c   u16 channel = vcc->channel;
vcc              1572 drivers/atm/horizon.c   ATM_SKB(skb)->vcc = atm_vcc;
vcc              1663 drivers/atm/horizon.c       tx_channel = setup_idle_tx_channel (dev, vcc);
vcc              2103 drivers/atm/horizon.c   hrz_vcc vcc;
vcc              2123 drivers/atm/horizon.c   vcc.channel = channel;
vcc              2125 drivers/atm/horizon.c   vcc.tx_rate = 0x0;
vcc              2134 drivers/atm/horizon.c       vcc.aal = aal0;
vcc              2139 drivers/atm/horizon.c       vcc.aal = aal34;
vcc              2143 drivers/atm/horizon.c       vcc.aal = aal5;
vcc              2189 drivers/atm/horizon.c   vcc.tx_rate = 0;
vcc              2191 drivers/atm/horizon.c   vcc.tx_xbr_bits = IDLE_RATE_TYPE;
vcc              2192 drivers/atm/horizon.c   vcc.tx_pcr_bits = CLOCK_DISABLE;
vcc              2194 drivers/atm/horizon.c   vcc.tx_scr_bits = CLOCK_DISABLE;
vcc              2195 drivers/atm/horizon.c   vcc.tx_bucket_bits = 0;
vcc              2199 drivers/atm/horizon.c     error = check_max_sdu (vcc.aal, txtp, max_tx_size);
vcc              2209 drivers/atm/horizon.c 	vcc.tx_rate = 0;
vcc              2210 drivers/atm/horizon.c 	make_rate (dev, 1<<30, round_nearest, &vcc.tx_pcr_bits, NULL);
vcc              2211 drivers/atm/horizon.c 	vcc.tx_xbr_bits = ABR_RATE_TYPE;
vcc              2217 drivers/atm/horizon.c 	vcc.tx_rate = 0; // ?
vcc              2218 drivers/atm/horizon.c 	make_rate (dev, 1<<30, round_nearest, &vcc.tx_pcr_bits, 0);
vcc              2219 drivers/atm/horizon.c 	vcc.tx_xbr_bits = ABR_RATE_TYPE;
vcc              2244 drivers/atm/horizon.c 					  &vcc.tx_pcr_bits, &vcc.tx_rate);
vcc              2250 drivers/atm/horizon.c 	error = atm_pcr_check (txtp, vcc.tx_rate);
vcc              2255 drivers/atm/horizon.c 	vcc.tx_xbr_bits = CBR_RATE_TYPE;
vcc              2277 drivers/atm/horizon.c 					  &vcc.tx_pcr_bits, 0);
vcc              2292 drivers/atm/horizon.c 					  &vcc.tx_scr_bits, &vcc.tx_rate);
vcc              2314 drivers/atm/horizon.c 	vcc.tx_xbr_bits = VBR_RATE_TYPE;
vcc              2315 drivers/atm/horizon.c 	vcc.tx_bucket_bits = bucket;
vcc              2333 drivers/atm/horizon.c   vcc.rx_rate = 0;
vcc              2336 drivers/atm/horizon.c     error = check_max_sdu (vcc.aal, rxtp, max_rx_size);
vcc              2349 drivers/atm/horizon.c 	vcc.rx_rate = 0; // ?
vcc              2363 drivers/atm/horizon.c 	vcc.rx_rate = pcr;
vcc              2365 drivers/atm/horizon.c 	error = atm_pcr_check (rxtp, vcc.rx_rate);
vcc              2384 drivers/atm/horizon.c 	vcc.rx_rate = scr;
vcc              2403 drivers/atm/horizon.c   if (vcc.aal != aal5) {
vcc              2414 drivers/atm/horizon.c   *vccp = vcc;
vcc              2420 drivers/atm/horizon.c   if (vcc.tx_rate > dev->tx_avail) {
vcc              2425 drivers/atm/horizon.c   if (vcc.rx_rate > dev->rx_avail) {
vcc              2432 drivers/atm/horizon.c     dev->tx_avail -= vcc.tx_rate;
vcc              2433 drivers/atm/horizon.c     dev->rx_avail -= vcc.rx_rate;
vcc              2435 drivers/atm/horizon.c 	    vcc.tx_rate, vcc.rx_rate);
vcc              2480 drivers/atm/horizon.c   hrz_vcc * vcc = HRZ_VCC(atm_vcc);
vcc              2481 drivers/atm/horizon.c   u16 channel = vcc->channel;
vcc              2519 drivers/atm/horizon.c 	  vcc->tx_rate, vcc->rx_rate);
vcc              2520 drivers/atm/horizon.c   dev->tx_avail += vcc->tx_rate;
vcc              2521 drivers/atm/horizon.c   dev->rx_avail += vcc->rx_rate;
vcc              2525 drivers/atm/horizon.c   kfree (vcc);
vcc              2590 drivers/atm/horizon.c   hrz_dev * dev = HRZ_DEV(vcc->dev);
vcc               122 drivers/atm/idt77252.c static int idt77252_open(struct atm_vcc *vcc);
vcc               123 drivers/atm/idt77252.c static void idt77252_close(struct atm_vcc *vcc);
vcc               124 drivers/atm/idt77252.c static int idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb);
vcc               125 drivers/atm/idt77252.c static int idt77252_send_oam(struct atm_vcc *vcc, void *cell,
vcc               130 drivers/atm/idt77252.c static int idt77252_change_qos(struct atm_vcc *vcc, struct atm_qos *qos,
vcc               549 drivers/atm/idt77252.c 	struct atm_vcc *vcc;
vcc               559 drivers/atm/idt77252.c 		vcc = NULL;
vcc               561 drivers/atm/idt77252.c 			vcc = vc->rx_vcc;
vcc               563 drivers/atm/idt77252.c 			vcc = vc->tx_vcc;
vcc               565 drivers/atm/idt77252.c 		if (!vcc)
vcc               671 drivers/atm/idt77252.c 	struct atm_vcc *vcc;
vcc               680 drivers/atm/idt77252.c 		vcc = ATM_SKB(skb)->vcc;
vcc               681 drivers/atm/idt77252.c 		if (vcc->pop)
vcc               682 drivers/atm/idt77252.c 			vcc->pop(vcc, skb);
vcc               691 drivers/atm/idt77252.c 		vcc = ATM_SKB(skb)->vcc;
vcc               692 drivers/atm/idt77252.c 		if (vcc->pop)
vcc               693 drivers/atm/idt77252.c 			vcc->pop(vcc, skb);
vcc               723 drivers/atm/idt77252.c 		struct atm_vcc *vcc = vc->tx_vcc;
vcc               724 drivers/atm/idt77252.c 		struct sock *sk = sk_atm(vcc);
vcc               795 drivers/atm/idt77252.c 	struct atm_vcc *vcc;
vcc               807 drivers/atm/idt77252.c 		vcc = ATM_SKB(skb)->vcc;
vcc               809 drivers/atm/idt77252.c 		if (vcc->pop)
vcc               810 drivers/atm/idt77252.c 			vcc->pop(vcc, skb);
vcc               814 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->tx);
vcc               833 drivers/atm/idt77252.c 	struct atm_vcc *vcc;
vcc               848 drivers/atm/idt77252.c 	vcc = ATM_SKB(skb)->vcc;
vcc               876 drivers/atm/idt77252.c 	aal = vcc->qos.aal;
vcc               901 drivers/atm/idt77252.c 		tbd->word_4 = (vcc->vpi << SAR_TBD_VPI_SHIFT) |
vcc               902 drivers/atm/idt77252.c 			      (vcc->vci << SAR_TBD_VCI_SHIFT);
vcc              1012 drivers/atm/idt77252.c 	struct atm_vcc *vcc;
vcc              1059 drivers/atm/idt77252.c 	vcc = vc->rx_vcc;
vcc              1065 drivers/atm/idt77252.c 	if ((vcc->qos.aal == ATM_AAL0) ||
vcc              1066 drivers/atm/idt77252.c 	    (vcc->qos.aal == ATM_AAL34)) {
vcc              1076 drivers/atm/idt77252.c 				atomic_add(i, &vcc->stats->rx_drop);
vcc              1079 drivers/atm/idt77252.c 			if (!atm_charge(vcc, sb->truesize)) {
vcc              1082 drivers/atm/idt77252.c 				atomic_add(i - 1, &vcc->stats->rx_drop);
vcc              1095 drivers/atm/idt77252.c 			ATM_SKB(sb)->vcc = vcc;
vcc              1097 drivers/atm/idt77252.c 			vcc->push(vcc, sb);
vcc              1098 drivers/atm/idt77252.c 			atomic_inc(&vcc->stats->rx);
vcc              1106 drivers/atm/idt77252.c 	if (vcc->qos.aal != ATM_AAL5) {
vcc              1108 drivers/atm/idt77252.c 		       card->name, vcc->qos.aal);
vcc              1135 drivers/atm/idt77252.c 			atomic_inc(&vcc->stats->rx_err);
vcc              1141 drivers/atm/idt77252.c 			atomic_inc(&vcc->stats->rx_err);
vcc              1152 drivers/atm/idt77252.c 				atomic_inc(&vcc->stats->rx_err);
vcc              1155 drivers/atm/idt77252.c 			if (!atm_charge(vcc, skb->truesize)) {
vcc              1166 drivers/atm/idt77252.c 			ATM_SKB(skb)->vcc = vcc;
vcc              1169 drivers/atm/idt77252.c 			vcc->push(vcc, skb);
vcc              1170 drivers/atm/idt77252.c 			atomic_inc(&vcc->stats->rx);
vcc              1177 drivers/atm/idt77252.c 		if (!atm_charge(vcc, skb->truesize)) {
vcc              1188 drivers/atm/idt77252.c 		ATM_SKB(skb)->vcc = vcc;
vcc              1191 drivers/atm/idt77252.c 		vcc->push(vcc, skb);
vcc              1192 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->rx);
vcc              1240 drivers/atm/idt77252.c 	struct atm_vcc	*vcc;
vcc              1298 drivers/atm/idt77252.c 		vcc = vc->rx_vcc;
vcc              1300 drivers/atm/idt77252.c 		if (vcc->qos.aal != ATM_AAL0) {
vcc              1303 drivers/atm/idt77252.c 			atomic_inc(&vcc->stats->rx_drop);
vcc              1310 drivers/atm/idt77252.c 			atomic_inc(&vcc->stats->rx_err);
vcc              1314 drivers/atm/idt77252.c 		if (!atm_charge(vcc, sb->truesize)) {
vcc              1325 drivers/atm/idt77252.c 		ATM_SKB(sb)->vcc = vcc;
vcc              1327 drivers/atm/idt77252.c 		vcc->push(vcc, sb);
vcc              1328 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->rx);
vcc              1943 drivers/atm/idt77252.c idt77252_send_skb(struct atm_vcc *vcc, struct sk_buff *skb, int oam)
vcc              1945 drivers/atm/idt77252.c 	struct atm_dev *dev = vcc->dev;
vcc              1947 drivers/atm/idt77252.c 	struct vc_map *vc = vcc->dev_data;
vcc              1952 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1958 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1963 drivers/atm/idt77252.c 	switch (vcc->qos.aal) {
vcc              1969 drivers/atm/idt77252.c 		printk("%s: Unsupported AAL: %d\n", card->name, vcc->qos.aal);
vcc              1970 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1977 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1981 drivers/atm/idt77252.c 	ATM_SKB(skb)->vcc = vcc;
vcc              1985 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1993 drivers/atm/idt77252.c static int idt77252_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc              1995 drivers/atm/idt77252.c 	return idt77252_send_skb(vcc, skb, 0);
vcc              1999 drivers/atm/idt77252.c idt77252_send_oam(struct atm_vcc *vcc, void *cell, int flags)
vcc              2001 drivers/atm/idt77252.c 	struct atm_dev *dev = vcc->dev;
vcc              2008 drivers/atm/idt77252.c 		atomic_inc(&vcc->stats->tx_err);
vcc              2011 drivers/atm/idt77252.c 	refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc);
vcc              2015 drivers/atm/idt77252.c 	return idt77252_send_skb(vcc, skb, 1);
vcc              2138 drivers/atm/idt77252.c 		  struct atm_vcc *vcc, struct atm_qos *qos)
vcc              2208 drivers/atm/idt77252.c 		  struct atm_vcc *vcc, struct atm_qos *qos)
vcc              2244 drivers/atm/idt77252.c 		 struct atm_vcc *vcc, struct atm_qos *qos)
vcc              2292 drivers/atm/idt77252.c 			error = idt77252_init_cbr(card, vc, vcc, qos);
vcc              2304 drivers/atm/idt77252.c 			error = idt77252_init_ubr(card, vc, vcc, qos);
vcc              2315 drivers/atm/idt77252.c 	vc->tx_vcc = vcc;
vcc              2322 drivers/atm/idt77252.c 		 struct atm_vcc *vcc, struct atm_qos *qos)
vcc              2331 drivers/atm/idt77252.c 	vc->rx_vcc = vcc;
vcc              2334 drivers/atm/idt77252.c 	if ((vcc->vci == 3) || (vcc->vci == 4))
vcc              2385 drivers/atm/idt77252.c idt77252_open(struct atm_vcc *vcc)
vcc              2387 drivers/atm/idt77252.c 	struct atm_dev *dev = vcc->dev;
vcc              2393 drivers/atm/idt77252.c 	int vci = vcc->vci;
vcc              2394 drivers/atm/idt77252.c 	short vpi = vcc->vpi;
vcc              2409 drivers/atm/idt77252.c 	set_bit(ATM_VF_ADDR, &vcc->flags);
vcc              2415 drivers/atm/idt77252.c 	switch (vcc->qos.aal) {
vcc              2421 drivers/atm/idt77252.c 		printk("%s: Unsupported AAL: %d\n", card->name, vcc->qos.aal);
vcc              2441 drivers/atm/idt77252.c 	vcc->dev_data = vc;
vcc              2444 drivers/atm/idt77252.c 	        card->name, vc->index, vcc->vpi, vcc->vci,
vcc              2445 drivers/atm/idt77252.c 	        vcc->qos.rxtp.traffic_class != ATM_NONE ? "rx" : "--",
vcc              2446 drivers/atm/idt77252.c 	        vcc->qos.txtp.traffic_class != ATM_NONE ? "tx" : "--",
vcc              2447 drivers/atm/idt77252.c 	        vcc->qos.rxtp.max_sdu);
vcc              2450 drivers/atm/idt77252.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE &&
vcc              2453 drivers/atm/idt77252.c 	if (vcc->qos.rxtp.traffic_class != ATM_NONE &&
vcc              2464 drivers/atm/idt77252.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE) {
vcc              2465 drivers/atm/idt77252.c 		error = idt77252_init_tx(card, vc, vcc, &vcc->qos);
vcc              2472 drivers/atm/idt77252.c 	if (vcc->qos.rxtp.traffic_class != ATM_NONE) {
vcc              2473 drivers/atm/idt77252.c 		error = idt77252_init_rx(card, vc, vcc, &vcc->qos);
vcc              2480 drivers/atm/idt77252.c 	set_bit(ATM_VF_READY, &vcc->flags);
vcc              2487 drivers/atm/idt77252.c idt77252_close(struct atm_vcc *vcc)
vcc              2489 drivers/atm/idt77252.c 	struct atm_dev *dev = vcc->dev;
vcc              2491 drivers/atm/idt77252.c 	struct vc_map *vc = vcc->dev_data;
vcc              2499 drivers/atm/idt77252.c 		card->name, vc->index, vcc->vpi, vcc->vci);
vcc              2501 drivers/atm/idt77252.c 	clear_bit(ATM_VF_READY, &vcc->flags);
vcc              2503 drivers/atm/idt77252.c 	if (vcc->qos.rxtp.traffic_class != ATM_NONE) {
vcc              2510 drivers/atm/idt77252.c 		if ((vcc->vci == 3) || (vcc->vci == 4))
vcc              2529 drivers/atm/idt77252.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE) {
vcc              2571 drivers/atm/idt77252.c idt77252_change_qos(struct atm_vcc *vcc, struct atm_qos *qos, int flags)
vcc              2573 drivers/atm/idt77252.c 	struct atm_dev *dev = vcc->dev;
vcc              2575 drivers/atm/idt77252.c 	struct vc_map *vc = vcc->dev_data;
vcc              2582 drivers/atm/idt77252.c 			error = idt77252_init_tx(card, vc, vcc, qos);
vcc              2588 drivers/atm/idt77252.c 				error = idt77252_init_cbr(card, vc, vcc, qos);
vcc              2594 drivers/atm/idt77252.c 				error = idt77252_init_ubr(card, vc, vcc, qos);
vcc              2614 drivers/atm/idt77252.c 		error = idt77252_init_rx(card, vc, vcc, qos);
vcc              2619 drivers/atm/idt77252.c 	memcpy(&vcc->qos, qos, sizeof(struct atm_qos));
vcc              2621 drivers/atm/idt77252.c 	set_bit(ATM_VF_HASQOS, &vcc->flags);
vcc              2668 drivers/atm/idt77252.c 		struct atm_vcc *vcc;
vcc              2676 drivers/atm/idt77252.c 		vcc = NULL;
vcc              2678 drivers/atm/idt77252.c 			vcc = vc->tx_vcc;
vcc              2679 drivers/atm/idt77252.c 		if (!vcc)
vcc              2685 drivers/atm/idt77252.c 		p += sprintf(p, "  %4u: %u.%u: ", i, vcc->vpi, vcc->vci);
vcc               236 drivers/atm/iphase.c static void clear_lockup (struct atm_vcc *vcc, IADEV *dev) {
vcc               245 drivers/atm/iphase.c   if (vcc->qos.txtp.traffic_class == ATM_ABR) {
vcc               246 drivers/atm/iphase.c      vcstatus = (vcstatus_t *) &(dev->testTable[vcc->vci]->vc_status);
vcc               250 drivers/atm/iphase.c         abr_vc += vcc->vci;
vcc               251 drivers/atm/iphase.c 	eabr_vc += vcc->vci;
vcc               262 drivers/atm/iphase.c               if((tempCellSlot == dev->testTable[vcc->vci]->lastTime)
vcc               263 drivers/atm/iphase.c                          && (tempFract == dev->testTable[vcc->vci]->fract))
vcc               265 drivers/atm/iphase.c               dev->testTable[vcc->vci]->lastTime = tempCellSlot;   
vcc               266 drivers/atm/iphase.c               dev->testTable[vcc->vci]->fract = tempFract; 
vcc               282 drivers/atm/iphase.c            shd_tbl[i] = vcc->vci;
vcc               284 drivers/atm/iphase.c            IF_ERR(printk("ABR Seg. may not continue on VC %x\n",vcc->vci);)
vcc               377 drivers/atm/iphase.c                                                 struct atm_vcc *vcc, u8 flag)
vcc               385 drivers/atm/iphase.c   f_abr_vc += vcc->vci;       
vcc               445 drivers/atm/iphase.c        *(ptr16 + vcc->vci) = NO_AAL5_PKT | REASS_ABR;
vcc               447 drivers/atm/iphase.c        r_abr_vc += vcc->vci;
vcc               452 drivers/atm/iphase.c        dev->testTable[vcc->vci]->vc_status = VC_ACTIVE | VC_ABR;
vcc               461 drivers/atm/iphase.c static int ia_cbr_setup (IADEV *dev, struct atm_vcc *vcc) {
vcc               475 drivers/atm/iphase.c    if (vcc->qos.txtp.max_pcr <= 0) {
vcc               479 drivers/atm/iphase.c    rate = vcc->qos.txtp.max_pcr;
vcc               496 drivers/atm/iphase.c    ia_vcc = INPH_IA_VCC(vcc);
vcc               507 drivers/atm/iphase.c    vcIndex  = vcc->vci;
vcc               576 drivers/atm/iphase.c static void ia_cbrVc_close (struct atm_vcc *vcc) {
vcc               581 drivers/atm/iphase.c    iadev = INPH_IA_DEV(vcc->dev);
vcc               591 drivers/atm/iphase.c       if (*SchedTbl == vcc->vci) {
vcc               612 drivers/atm/iphase.c static int ia_pkt_tx (struct atm_vcc *vcc, struct sk_buff *skb);
vcc               617 drivers/atm/iphase.c    struct atm_vcc *vcc;
vcc               621 drivers/atm/iphase.c       if (!(vcc = ATM_SKB(skb)->vcc)) {
vcc               626 drivers/atm/iphase.c       if (!test_bit(ATM_VF_READY,&vcc->flags)) {
vcc               628 drivers/atm/iphase.c          printk("Free the SKB on closed vci %d \n", vcc->vci);
vcc               631 drivers/atm/iphase.c       if (ia_pkt_tx (vcc, skb)) {
vcc               640 drivers/atm/iphase.c    struct atm_vcc *vcc = NULL;
vcc               652 drivers/atm/iphase.c        vcc = ATM_SKB(skb)->vcc;
vcc               653 drivers/atm/iphase.c        if (!vcc) {
vcc               659 drivers/atm/iphase.c        iavcc = INPH_IA_VCC(vcc);
vcc               669 drivers/atm/iphase.c              printk("IA_tx_intr: Vci %d lost pkt!!!\n", vcc->vci);
vcc               672 drivers/atm/iphase.c           if ((vcc->pop) && (skb1->len != 0))
vcc               674 drivers/atm/iphase.c              vcc->pop(vcc, skb1);
vcc               683 drivers/atm/iphase.c           IF_EVENT(printk("IA: Vci %d - skb not found requed\n",vcc->vci);)
vcc               687 drivers/atm/iphase.c        if ((vcc->pop) && (skb->len != 0))
vcc               689 drivers/atm/iphase.c           vcc->pop(vcc, skb);
vcc              1097 drivers/atm/iphase.c 	struct atm_vcc *vcc;  
vcc              1137 drivers/atm/iphase.c 	vcc = iadev->rx_open[buf_desc_ptr->vc_index & 0xffff];  
vcc              1138 drivers/atm/iphase.c 	if (!vcc)  
vcc              1150 drivers/atm/iphase.c                 atomic_inc(&vcc->stats->rx_err);
vcc              1173 drivers/atm/iphase.c            atomic_inc(&vcc->stats->rx_err);
vcc              1177 drivers/atm/iphase.c         if (!(skb = atm_alloc_charge(vcc, len, GFP_ATOMIC))) {
vcc              1178 drivers/atm/iphase.c            if (vcc->vci < 32)
vcc              1184 drivers/atm/iphase.c         ATM_SKB(skb)->vcc = vcc;
vcc              1274 drivers/atm/iphase.c   struct atm_vcc *vcc;   
vcc              1314 drivers/atm/iphase.c           vcc = ATM_SKB(skb)->vcc;
vcc              1315 drivers/atm/iphase.c 	  if (!vcc) {
vcc              1320 drivers/atm/iphase.c           ia_vcc = INPH_IA_VCC(vcc);
vcc              1323 drivers/atm/iphase.c              atomic_inc(&vcc->stats->rx_err);
vcc              1324 drivers/atm/iphase.c              atm_return(vcc, skb->truesize);
vcc              1335 drivers/atm/iphase.c              atomic_inc(&vcc->stats->rx_err);
vcc              1338 drivers/atm/iphase.c              atm_return(vcc, skb->truesize);
vcc              1350 drivers/atm/iphase.c 	  vcc->push(vcc,skb);  
vcc              1351 drivers/atm/iphase.c 	  atomic_inc(&vcc->stats->rx);
vcc              1374 drivers/atm/iphase.c static int open_rx(struct atm_vcc *vcc)  
vcc              1379 drivers/atm/iphase.c 	IF_EVENT(printk("iadev: open_rx %d.%d\n", vcc->vpi, vcc->vci);)
vcc              1381 drivers/atm/iphase.c 	if (vcc->qos.rxtp.traffic_class == ATM_NONE) return 0;    
vcc              1382 drivers/atm/iphase.c 	iadev = INPH_IA_DEV(vcc->dev);  
vcc              1383 drivers/atm/iphase.c         if (vcc->qos.rxtp.traffic_class == ATM_ABR) {  
vcc              1392 drivers/atm/iphase.c 	vc_table += vcc->vci;
vcc              1395 drivers/atm/iphase.c         *vc_table = vcc->vci << 6;
vcc              1398 drivers/atm/iphase.c 	if ((vcc->qos.rxtp.traffic_class == ATM_ABR) || 
vcc              1399 drivers/atm/iphase.c                                 (vcc->qos.txtp.traffic_class == ATM_ABR))  
vcc              1403 drivers/atm/iphase.c                 ia_open_abr_vc(iadev, &srv_p, vcc, 0);
vcc              1407 drivers/atm/iphase.c            	reass_ptr += vcc->vci;
vcc              1411 drivers/atm/iphase.c 	if (iadev->rx_open[vcc->vci])  
vcc              1413 drivers/atm/iphase.c 			vcc->dev->number, vcc->vci);  
vcc              1414 drivers/atm/iphase.c 	iadev->rx_open[vcc->vci] = vcc;  
vcc              1688 drivers/atm/iphase.c         struct atm_vcc *vcc;
vcc              1710 drivers/atm/iphase.c             vcc = ATM_SKB(skb)->vcc;
vcc              1711 drivers/atm/iphase.c             if (!vcc) {
vcc              1718 drivers/atm/iphase.c             iavcc = INPH_IA_VCC(vcc);
vcc              1725 drivers/atm/iphase.c             if (vcc->qos.txtp.pcr >= iadev->rate_limit) {
vcc              1726 drivers/atm/iphase.c                if ((vcc->pop) && (skb->len != 0))
vcc              1728 drivers/atm/iphase.c                  vcc->pop(vcc, skb);
vcc              1746 drivers/atm/iphase.c static int open_tx(struct atm_vcc *vcc)  
vcc              1753 drivers/atm/iphase.c 	IF_EVENT(printk("iadev: open_tx entered vcc->vci = %d\n", vcc->vci);)  
vcc              1754 drivers/atm/iphase.c 	if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0;  
vcc              1755 drivers/atm/iphase.c 	iadev = INPH_IA_DEV(vcc->dev);  
vcc              1758 drivers/atm/iphase.c            if (vcc->qos.txtp.traffic_class == ATM_ABR) {
vcc              1762 drivers/atm/iphase.c 	  if (vcc->qos.txtp.traffic_class == ATM_CBR) {
vcc              1767 drivers/atm/iphase.c         ia_vcc =  INPH_IA_VCC(vcc);
vcc              1769 drivers/atm/iphase.c         if (vcc->qos.txtp.max_sdu > 
vcc              1772 drivers/atm/iphase.c 		  vcc->qos.txtp.max_sdu,iadev->tx_buf_sz);
vcc              1773 drivers/atm/iphase.c 	   vcc->dev_data = NULL;
vcc              1781 drivers/atm/iphase.c         if (vcc->qos.txtp.max_pcr == ATM_MAX_PCR) 
vcc              1782 drivers/atm/iphase.c            vcc->qos.txtp.pcr = iadev->LineRate;
vcc              1783 drivers/atm/iphase.c         else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0))
vcc              1784 drivers/atm/iphase.c            vcc->qos.txtp.pcr = iadev->LineRate;
vcc              1785 drivers/atm/iphase.c         else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0)) 
vcc              1786 drivers/atm/iphase.c            vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr;
vcc              1787 drivers/atm/iphase.c         if (vcc->qos.txtp.pcr > iadev->LineRate)
vcc              1788 drivers/atm/iphase.c              vcc->qos.txtp.pcr = iadev->LineRate;
vcc              1789 drivers/atm/iphase.c         ia_vcc->pcr = vcc->qos.txtp.pcr;
vcc              1798 drivers/atm/iphase.c 	   struct sock *sk = sk_atm(vcc);
vcc              1800 drivers/atm/iphase.c 	   if (vcc->qos.txtp.max_sdu != 0) {
vcc              1802 drivers/atm/iphase.c                   sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 5;
vcc              1804 drivers/atm/iphase.c                   sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 4;
vcc              1806 drivers/atm/iphase.c                  sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 3;
vcc              1814 drivers/atm/iphase.c 	vc += vcc->vci;  
vcc              1815 drivers/atm/iphase.c 	evc += vcc->vci;  
vcc              1824 drivers/atm/iphase.c 	evc->atm_hdr1 = (vcc->vci >> 12) & 0x000f;  
vcc              1825 drivers/atm/iphase.c 	evc->atm_hdr2 = (vcc->vci & 0x0fff) << 4;  
vcc              1828 drivers/atm/iphase.c 	if (vcc->qos.txtp.traffic_class == ATM_UBR)  
vcc              1833 drivers/atm/iphase.c                 if (vcc->qos.txtp.pcr > 0) 
vcc              1834 drivers/atm/iphase.c                    vc->acr = cellrate_to_float(vcc->qos.txtp.pcr);  
vcc              1836 drivers/atm/iphase.c                                              vcc->qos.txtp.max_pcr,vc->acr);)
vcc              1838 drivers/atm/iphase.c 	else if (vcc->qos.txtp.traffic_class == ATM_ABR)  
vcc              1842 drivers/atm/iphase.c                 if (vcc->qos.txtp.pcr > 0) 
vcc              1843 drivers/atm/iphase.c                    srv_p.pcr = vcc->qos.txtp.pcr;
vcc              1844 drivers/atm/iphase.c                 if (vcc->qos.txtp.min_pcr > 0) {
vcc              1845 drivers/atm/iphase.c                    int tmpsum = iadev->sum_mcr+iadev->sum_cbr+vcc->qos.txtp.min_pcr;
vcc              1848 drivers/atm/iphase.c                    srv_p.mcr = vcc->qos.txtp.min_pcr;
vcc              1849 drivers/atm/iphase.c                    iadev->sum_mcr += vcc->qos.txtp.min_pcr;
vcc              1852 drivers/atm/iphase.c                 if (vcc->qos.txtp.icr)
vcc              1853 drivers/atm/iphase.c                    srv_p.icr = vcc->qos.txtp.icr;
vcc              1854 drivers/atm/iphase.c                 if (vcc->qos.txtp.tbe)
vcc              1855 drivers/atm/iphase.c                    srv_p.tbe = vcc->qos.txtp.tbe;
vcc              1856 drivers/atm/iphase.c                 if (vcc->qos.txtp.frtt)
vcc              1857 drivers/atm/iphase.c                    srv_p.frtt = vcc->qos.txtp.frtt;
vcc              1858 drivers/atm/iphase.c                 if (vcc->qos.txtp.rif)
vcc              1859 drivers/atm/iphase.c                    srv_p.rif = vcc->qos.txtp.rif;
vcc              1860 drivers/atm/iphase.c                 if (vcc->qos.txtp.rdf)
vcc              1861 drivers/atm/iphase.c                    srv_p.rdf = vcc->qos.txtp.rdf;
vcc              1862 drivers/atm/iphase.c                 if (vcc->qos.txtp.nrm_pres)
vcc              1863 drivers/atm/iphase.c                    srv_p.nrm = vcc->qos.txtp.nrm;
vcc              1864 drivers/atm/iphase.c                 if (vcc->qos.txtp.trm_pres)
vcc              1865 drivers/atm/iphase.c                    srv_p.trm = vcc->qos.txtp.trm;
vcc              1866 drivers/atm/iphase.c                 if (vcc->qos.txtp.adtf_pres)
vcc              1867 drivers/atm/iphase.c                    srv_p.adtf = vcc->qos.txtp.adtf;
vcc              1868 drivers/atm/iphase.c                 if (vcc->qos.txtp.cdf_pres)
vcc              1869 drivers/atm/iphase.c                    srv_p.cdf = vcc->qos.txtp.cdf;    
vcc              1874 drivers/atm/iphase.c 		ia_open_abr_vc(iadev, &srv_p, vcc, 1);
vcc              1875 drivers/atm/iphase.c 	} else if (vcc->qos.txtp.traffic_class == ATM_CBR) {
vcc              1880 drivers/atm/iphase.c                 if (vcc->qos.txtp.max_pcr > iadev->LineRate) {
vcc              1886 drivers/atm/iphase.c                 if ((ret = ia_cbr_setup (iadev, vcc)) < 0) {     
vcc              1893 drivers/atm/iphase.c         iadev->testTable[vcc->vci]->vc_status |= VC_ACTIVE;
vcc              2606 drivers/atm/iphase.c static void ia_close(struct atm_vcc *vcc)  
vcc              2616 drivers/atm/iphase.c         iadev = INPH_IA_DEV(vcc->dev);
vcc              2617 drivers/atm/iphase.c         ia_vcc = INPH_IA_VCC(vcc);
vcc              2621 drivers/atm/iphase.c                                               ia_vcc->vc_desc_cnt,vcc->vci);)
vcc              2622 drivers/atm/iphase.c 	clear_bit(ATM_VF_READY,&vcc->flags);
vcc              2625 drivers/atm/iphase.c         if (vcc->qos.txtp.traffic_class != ATM_NONE) {
vcc              2632 drivers/atm/iphase.c               if (ATM_SKB(skb)->vcc == vcc){ 
vcc              2633 drivers/atm/iphase.c                  if (vcc->pop) vcc->pop(vcc, skb);
vcc              2649 drivers/atm/iphase.c            iadev->testTable[vcc->vci]->lastTime = 0;
vcc              2650 drivers/atm/iphase.c            iadev->testTable[vcc->vci]->fract = 0; 
vcc              2651 drivers/atm/iphase.c            iadev->testTable[vcc->vci]->vc_status = VC_UBR; 
vcc              2652 drivers/atm/iphase.c            if (vcc->qos.txtp.traffic_class == ATM_ABR) {
vcc              2653 drivers/atm/iphase.c               if (vcc->qos.txtp.min_pcr > 0)
vcc              2654 drivers/atm/iphase.c                  iadev->sum_mcr -= vcc->qos.txtp.min_pcr;
vcc              2656 drivers/atm/iphase.c            if (vcc->qos.txtp.traffic_class == ATM_CBR) {
vcc              2657 drivers/atm/iphase.c               ia_vcc = INPH_IA_VCC(vcc); 
vcc              2659 drivers/atm/iphase.c               ia_cbrVc_close (vcc);
vcc              2664 drivers/atm/iphase.c         if (vcc->qos.rxtp.traffic_class != ATM_NONE) {   
vcc              2667 drivers/atm/iphase.c            vc_table += vcc->vci; 
vcc              2671 drivers/atm/iphase.c            vc_table += vcc->vci;
vcc              2672 drivers/atm/iphase.c            *vc_table = (vcc->vci << 6) | 15;
vcc              2673 drivers/atm/iphase.c            if (vcc->qos.rxtp.traffic_class == ATM_ABR) {
vcc              2676 drivers/atm/iphase.c               abr_vc_table +=  vcc->vci;
vcc              2681 drivers/atm/iphase.c            rx_dle_intr(vcc->dev); 
vcc              2682 drivers/atm/iphase.c            iadev->rx_open[vcc->vci] = NULL;
vcc              2684 drivers/atm/iphase.c 	kfree(INPH_IA_VCC(vcc));  
vcc              2686 drivers/atm/iphase.c         vcc->dev_data = NULL;
vcc              2687 drivers/atm/iphase.c         clear_bit(ATM_VF_ADDR,&vcc->flags);
vcc              2691 drivers/atm/iphase.c static int ia_open(struct atm_vcc *vcc)
vcc              2695 drivers/atm/iphase.c 	if (!test_bit(ATM_VF_PARTIAL,&vcc->flags))  
vcc              2698 drivers/atm/iphase.c 		vcc->dev_data = NULL;
vcc              2700 drivers/atm/iphase.c 	if (vcc->vci != ATM_VPI_UNSPEC && vcc->vpi != ATM_VCI_UNSPEC)  
vcc              2703 drivers/atm/iphase.c 		set_bit(ATM_VF_ADDR,&vcc->flags);
vcc              2705 drivers/atm/iphase.c 	if (vcc->qos.aal != ATM_AAL5)  
vcc              2708 drivers/atm/iphase.c                                  vcc->dev->number, vcc->vpi, vcc->vci);)  
vcc              2713 drivers/atm/iphase.c 	vcc->dev_data = ia_vcc;
vcc              2715 drivers/atm/iphase.c 	if ((error = open_rx(vcc)))  
vcc              2718 drivers/atm/iphase.c 		ia_close(vcc);  
vcc              2722 drivers/atm/iphase.c 	if ((error = open_tx(vcc)))  
vcc              2725 drivers/atm/iphase.c 		ia_close(vcc);  
vcc              2729 drivers/atm/iphase.c 	set_bit(ATM_VF_READY,&vcc->flags);
vcc              2745 drivers/atm/iphase.c static int ia_change_qos(struct atm_vcc *vcc, struct atm_qos *qos, int flags)  
vcc              2883 drivers/atm/iphase.c static int ia_getsockopt(struct atm_vcc *vcc, int level, int optname,   
vcc              2890 drivers/atm/iphase.c static int ia_setsockopt(struct atm_vcc *vcc, int level, int optname,   
vcc              2897 drivers/atm/iphase.c static int ia_pkt_tx (struct atm_vcc *vcc, struct sk_buff *skb) {
vcc              2907 drivers/atm/iphase.c         iadev = INPH_IA_DEV(vcc->dev);  
vcc              2908 drivers/atm/iphase.c         iavcc = INPH_IA_VCC(vcc);
vcc              2911 drivers/atm/iphase.c            if (vcc->pop)
vcc              2912 drivers/atm/iphase.c 		vcc->pop(vcc, skb);
vcc              2920 drivers/atm/iphase.c            if (vcc->pop)
vcc              2921 drivers/atm/iphase.c                  vcc->pop(vcc, skb);
vcc              2928 drivers/atm/iphase.c            if (vcc->pop)
vcc              2929 drivers/atm/iphase.c                  vcc->pop(vcc, skb);
vcc              2948 drivers/atm/iphase.c                 atomic_inc(&vcc->stats->tx);
vcc              2949 drivers/atm/iphase.c 		if (vcc->pop)   
vcc              2950 drivers/atm/iphase.c 		    vcc->pop(vcc, skb);   
vcc              3009 drivers/atm/iphase.c 	buf_desc_ptr->vc_index = vcc->vci;
vcc              3012 drivers/atm/iphase.c         if (vcc->qos.txtp.traffic_class == ATM_ABR)  
vcc              3013 drivers/atm/iphase.c 	   clear_lockup (vcc, iadev);
vcc              3050 drivers/atm/iphase.c         ATM_DESC(skb) = vcc->vci;
vcc              3053 drivers/atm/iphase.c         atomic_inc(&vcc->stats->tx);
vcc              3060 drivers/atm/iphase.c         if (atomic_read(&vcc->stats->tx) % 20 == 0) {
vcc              3062 drivers/atm/iphase.c              vcc->tx_quota =  vcc->tx_quota * 3 / 4;
vcc              3063 drivers/atm/iphase.c             printk("Tx1:  vcc->tx_quota = %d \n", (u32)vcc->tx_quota );
vcc              3065 drivers/atm/iphase.c               iavcc->saved_tx_quota = vcc->tx_quota;
vcc              3068 drivers/atm/iphase.c              printk("Tx2:  vcc->tx_quota = %d \n", (u32)vcc->tx_quota ); 
vcc              3077 drivers/atm/iphase.c static int ia_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc              3082 drivers/atm/iphase.c         iadev = INPH_IA_DEV(vcc->dev);
vcc              3091 drivers/atm/iphase.c         if (!test_bit(ATM_VF_READY,&vcc->flags)){ 
vcc              3096 drivers/atm/iphase.c         ATM_SKB(skb)->vcc = vcc;
vcc              3102 drivers/atm/iphase.c            if (ia_pkt_tx (vcc, skb)) {
vcc              1414 drivers/atm/lanai.c 	ATM_SKB(skb)->vcc = lvcc->rx.atmvcc;
vcc              2407 drivers/atm/lanai.c 	ATM_SKB(skb)->vcc = atmvcc;
vcc               126 drivers/atm/nicstar.c static void free_scq(ns_dev *card, scq_info * scq, struct atm_vcc *vcc);
vcc               129 drivers/atm/nicstar.c static int ns_open(struct atm_vcc *vcc);
vcc               130 drivers/atm/nicstar.c static void ns_close(struct atm_vcc *vcc);
vcc               132 drivers/atm/nicstar.c static int ns_send(struct atm_vcc *vcc, struct sk_buff *skb);
vcc               902 drivers/atm/nicstar.c static void free_scq(ns_dev *card, scq_info *scq, struct atm_vcc *vcc)
vcc               909 drivers/atm/nicstar.c 				vcc = ATM_SKB(scq->skb[i])->vcc;
vcc               910 drivers/atm/nicstar.c 				if (vcc->pop != NULL)
vcc               911 drivers/atm/nicstar.c 					vcc->pop(vcc, scq->skb[i]);
vcc               917 drivers/atm/nicstar.c 		if (vcc == NULL) {
vcc               925 drivers/atm/nicstar.c 					if (vcc->pop != NULL)
vcc               926 drivers/atm/nicstar.c 						vcc->pop(vcc, scq->skb[i]);
vcc              1228 drivers/atm/nicstar.c static int ns_open(struct atm_vcc *vcc)
vcc              1242 drivers/atm/nicstar.c 	short vpi = vcc->vpi;
vcc              1243 drivers/atm/nicstar.c 	int vci = vcc->vci;
vcc              1245 drivers/atm/nicstar.c 	card = (ns_dev *) vcc->dev->dev_data;
vcc              1248 drivers/atm/nicstar.c 	if (vcc->qos.aal != ATM_AAL5 && vcc->qos.aal != ATM_AAL0) {
vcc              1254 drivers/atm/nicstar.c 	vcc->dev_data = vc;
vcc              1257 drivers/atm/nicstar.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE && vc->tx)
vcc              1259 drivers/atm/nicstar.c 	if (vcc->qos.rxtp.traffic_class != ATM_NONE && vc->rx)
vcc              1267 drivers/atm/nicstar.c 	set_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1272 drivers/atm/nicstar.c 	if (!test_bit(ATM_VF_PARTIAL, &vcc->flags)) {
vcc              1275 drivers/atm/nicstar.c 		set_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc              1276 drivers/atm/nicstar.c 		if (vcc->qos.txtp.traffic_class == ATM_CBR) {
vcc              1278 drivers/atm/nicstar.c 			if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0
vcc              1279 drivers/atm/nicstar.c 			    && vcc->qos.txtp.min_pcr == 0) {
vcc              1283 drivers/atm/nicstar.c 				clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc              1284 drivers/atm/nicstar.c 				clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1288 drivers/atm/nicstar.c 			tcr = atm_pcr_goal(&(vcc->qos.txtp));
vcc              1292 drivers/atm/nicstar.c 			       card->index, vcc->qos.txtp.max_pcr);
vcc              1310 drivers/atm/nicstar.c 					clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc              1311 drivers/atm/nicstar.c 					clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1320 drivers/atm/nicstar.c 				clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc              1321 drivers/atm/nicstar.c 				clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1329 drivers/atm/nicstar.c 				clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc              1330 drivers/atm/nicstar.c 				clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1348 drivers/atm/nicstar.c 				clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc              1349 drivers/atm/nicstar.c 				clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1361 drivers/atm/nicstar.c 				clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc              1362 drivers/atm/nicstar.c 				clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1373 drivers/atm/nicstar.c 		} else if (vcc->qos.txtp.traffic_class == ATM_UBR) {
vcc              1378 drivers/atm/nicstar.c 		if (vcc->qos.txtp.traffic_class != ATM_NONE) {
vcc              1380 drivers/atm/nicstar.c 			vc->tx_vcc = vcc;
vcc              1383 drivers/atm/nicstar.c 		if (vcc->qos.rxtp.traffic_class != ATM_NONE) {
vcc              1387 drivers/atm/nicstar.c 			vc->rx_vcc = vcc;
vcc              1391 drivers/atm/nicstar.c 			if (vcc->qos.aal == ATM_AAL5)
vcc              1406 drivers/atm/nicstar.c 	set_bit(ATM_VF_READY, &vcc->flags);
vcc              1410 drivers/atm/nicstar.c static void ns_close(struct atm_vcc *vcc)
vcc              1417 drivers/atm/nicstar.c 	vc = vcc->dev_data;
vcc              1418 drivers/atm/nicstar.c 	card = vcc->dev->dev_data;
vcc              1420 drivers/atm/nicstar.c 	       (int)vcc->vpi, vcc->vci);
vcc              1422 drivers/atm/nicstar.c 	clear_bit(ATM_VF_READY, &vcc->flags);
vcc              1424 drivers/atm/nicstar.c 	if (vcc->qos.rxtp.traffic_class != ATM_NONE) {
vcc              1430 drivers/atm/nicstar.c 		    (vcc->vpi << card->vcibits | vcc->vci) * NS_RCT_ENTRY_SIZE;
vcc              1460 drivers/atm/nicstar.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE) {
vcc              1464 drivers/atm/nicstar.c 	if (vcc->qos.txtp.traffic_class == ATM_CBR) {
vcc              1522 drivers/atm/nicstar.c 		free_scq(card, vc->scq, vcc);
vcc              1526 drivers/atm/nicstar.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE) {
vcc              1533 drivers/atm/nicstar.c 			if (scq->skb[i] && ATM_SKB(scq->skb[i])->vcc == vcc) {
vcc              1534 drivers/atm/nicstar.c 				ATM_SKB(scq->skb[i])->vcc = NULL;
vcc              1535 drivers/atm/nicstar.c 				atm_return(vcc, scq->skb[i]->truesize);
vcc              1544 drivers/atm/nicstar.c 	vcc->dev_data = NULL;
vcc              1545 drivers/atm/nicstar.c 	clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc              1546 drivers/atm/nicstar.c 	clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1623 drivers/atm/nicstar.c static int ns_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc              1632 drivers/atm/nicstar.c 	card = vcc->dev->dev_data;
vcc              1634 drivers/atm/nicstar.c 	if ((vc = (vc_map *) vcc->dev_data) == NULL) {
vcc              1637 drivers/atm/nicstar.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1645 drivers/atm/nicstar.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1650 drivers/atm/nicstar.c 	if (vcc->qos.aal != ATM_AAL5 && vcc->qos.aal != ATM_AAL0) {
vcc              1653 drivers/atm/nicstar.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1660 drivers/atm/nicstar.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1665 drivers/atm/nicstar.c 	ATM_SKB(skb)->vcc = vcc;
vcc              1670 drivers/atm/nicstar.c 	if (vcc->qos.aal == ATM_AAL5) {
vcc              1676 drivers/atm/nicstar.c 		    ns_tbd_mkword_4(0, (u32) vcc->vpi, (u32) vcc->vci, 0,
vcc              1692 drivers/atm/nicstar.c 		    cpu_to_le32((((u32) vcc->
vcc              1693 drivers/atm/nicstar.c 				  vpi) << NS_TBD_VPI_SHIFT | ((u32) vcc->
vcc              1698 drivers/atm/nicstar.c 	if (vcc->qos.txtp.traffic_class == ATM_CBR) {
vcc              1700 drivers/atm/nicstar.c 		scq = ((vc_map *) vcc->dev_data)->scq;
vcc              1708 drivers/atm/nicstar.c 		atomic_inc(&vcc->stats->tx_err);
vcc              1712 drivers/atm/nicstar.c 	atomic_inc(&vcc->stats->tx);
vcc              1906 drivers/atm/nicstar.c 	struct atm_vcc *vcc;
vcc              1931 drivers/atm/nicstar.c 			vcc = ATM_SKB(skb)->vcc;
vcc              1932 drivers/atm/nicstar.c 			if (vcc && vcc->pop != NULL) {
vcc              1933 drivers/atm/nicstar.c 				vcc->pop(vcc, skb);
vcc              1970 drivers/atm/nicstar.c 	struct atm_vcc *vcc;
vcc              2015 drivers/atm/nicstar.c 	vcc = vc->rx_vcc;
vcc              2017 drivers/atm/nicstar.c 	if (vcc->qos.aal == ATM_AAL0) {
vcc              2029 drivers/atm/nicstar.c 				atomic_add(i, &vcc->stats->rx_drop);
vcc              2032 drivers/atm/nicstar.c 			if (!atm_charge(vcc, sb->truesize)) {
vcc              2036 drivers/atm/nicstar.c 				atomic_add(i - 1, &vcc->stats->rx_drop);	/* already increased by 1 */
vcc              2048 drivers/atm/nicstar.c 			ATM_SKB(sb)->vcc = vcc;
vcc              2050 drivers/atm/nicstar.c 			vcc->push(vcc, sb);
vcc              2051 drivers/atm/nicstar.c 			atomic_inc(&vcc->stats->rx);
vcc              2068 drivers/atm/nicstar.c 				atomic_inc(&vcc->stats->rx_drop);
vcc              2092 drivers/atm/nicstar.c 		atomic_inc(&vcc->stats->rx_err);
vcc              2112 drivers/atm/nicstar.c 			atomic_inc(&vcc->stats->rx_err);
vcc              2125 drivers/atm/nicstar.c 			atomic_inc(&vcc->stats->rx_err);
vcc              2148 drivers/atm/nicstar.c 			atomic_inc(&vcc->stats->rx_err);
vcc              2160 drivers/atm/nicstar.c 			if (!atm_charge(vcc, skb->truesize)) {
vcc              2162 drivers/atm/nicstar.c 				atomic_inc(&vcc->stats->rx_drop);
vcc              2166 drivers/atm/nicstar.c 				ATM_SKB(skb)->vcc = vcc;
vcc              2168 drivers/atm/nicstar.c 				vcc->push(vcc, skb);
vcc              2169 drivers/atm/nicstar.c 				atomic_inc(&vcc->stats->rx);
vcc              2178 drivers/atm/nicstar.c 				if (!atm_charge(vcc, sb->truesize)) {
vcc              2180 drivers/atm/nicstar.c 					atomic_inc(&vcc->stats->rx_drop);
vcc              2184 drivers/atm/nicstar.c 					ATM_SKB(sb)->vcc = vcc;
vcc              2186 drivers/atm/nicstar.c 					vcc->push(vcc, sb);
vcc              2187 drivers/atm/nicstar.c 					atomic_inc(&vcc->stats->rx);
vcc              2194 drivers/atm/nicstar.c 				if (!atm_charge(vcc, skb->truesize)) {
vcc              2196 drivers/atm/nicstar.c 					atomic_inc(&vcc->stats->rx_drop);
vcc              2203 drivers/atm/nicstar.c 					ATM_SKB(skb)->vcc = vcc;
vcc              2205 drivers/atm/nicstar.c 					vcc->push(vcc, skb);
vcc              2206 drivers/atm/nicstar.c 					atomic_inc(&vcc->stats->rx);
vcc              2227 drivers/atm/nicstar.c 					atomic_inc(&vcc->stats->rx_drop);
vcc              2270 drivers/atm/nicstar.c 			if (!atm_charge(vcc, hb->truesize)) {
vcc              2278 drivers/atm/nicstar.c 				atomic_inc(&vcc->stats->rx_drop);
vcc              2309 drivers/atm/nicstar.c 				ATM_SKB(hb)->vcc = vcc;
vcc              2311 drivers/atm/nicstar.c 				vcc->push(vcc, hb);
vcc              2312 drivers/atm/nicstar.c 				atomic_inc(&vcc->stats->rx);
vcc                92 drivers/atm/solos-pci.c 	struct atm_vcc *vcc;
vcc               163 drivers/atm/solos-pci.c 		       struct atm_vcc *vcc);
vcc               173 drivers/atm/solos-pci.c static inline void solos_pop(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               175 drivers/atm/solos-pci.c         if (vcc->pop)
vcc               176 drivers/atm/solos-pci.c                 vcc->pop(vcc, skb);
vcc               775 drivers/atm/solos-pci.c 			struct atm_vcc *vcc;
vcc               828 drivers/atm/solos-pci.c 				vcc = find_vcc(card->atmdev[port], le16_to_cpu(header->vpi),
vcc               830 drivers/atm/solos-pci.c 				if (!vcc) {
vcc               838 drivers/atm/solos-pci.c 				atm_charge(vcc, skb->truesize);
vcc               839 drivers/atm/solos-pci.c 				vcc->push(vcc, skb);
vcc               840 drivers/atm/solos-pci.c 				atomic_inc(&vcc->stats->rx);
vcc               900 drivers/atm/solos-pci.c 	struct atm_vcc *vcc = NULL;
vcc               906 drivers/atm/solos-pci.c 		vcc = atm_sk(s);
vcc               907 drivers/atm/solos-pci.c 		if (vcc->dev == dev && vcc->vci == vci &&
vcc               908 drivers/atm/solos-pci.c 		    vcc->vpi == vpi && vcc->qos.rxtp.traffic_class != ATM_NONE &&
vcc               909 drivers/atm/solos-pci.c 		    test_bit(ATM_VF_READY, &vcc->flags))
vcc               912 drivers/atm/solos-pci.c 	vcc = NULL;
vcc               915 drivers/atm/solos-pci.c 	return vcc;
vcc               918 drivers/atm/solos-pci.c static int popen(struct atm_vcc *vcc)
vcc               920 drivers/atm/solos-pci.c 	struct solos_card *card = vcc->dev->dev_data;
vcc               924 drivers/atm/solos-pci.c 	if (vcc->qos.aal != ATM_AAL5) {
vcc               926 drivers/atm/solos-pci.c 			 vcc->qos.aal);
vcc               939 drivers/atm/solos-pci.c 	header->vpi = cpu_to_le16(vcc->vpi);
vcc               940 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(vcc->vci);
vcc               943 drivers/atm/solos-pci.c 	fpga_queue(card, SOLOS_CHAN(vcc->dev), skb, NULL);
vcc               945 drivers/atm/solos-pci.c 	set_bit(ATM_VF_ADDR, &vcc->flags);
vcc               946 drivers/atm/solos-pci.c 	set_bit(ATM_VF_READY, &vcc->flags);
vcc               951 drivers/atm/solos-pci.c static void pclose(struct atm_vcc *vcc)
vcc               953 drivers/atm/solos-pci.c 	struct solos_card *card = vcc->dev->dev_data;
vcc               954 drivers/atm/solos-pci.c 	unsigned char port = SOLOS_CHAN(vcc->dev);
vcc               961 drivers/atm/solos-pci.c 		if (SKB_CB(skb)->vcc == vcc) {
vcc               963 drivers/atm/solos-pci.c 			solos_pop(vcc, skb);
vcc               976 drivers/atm/solos-pci.c 	header->vpi = cpu_to_le16(vcc->vpi);
vcc               977 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(vcc->vci);
vcc               994 drivers/atm/solos-pci.c 	clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1029 drivers/atm/solos-pci.c 		       struct atm_vcc *vcc)
vcc              1034 drivers/atm/solos-pci.c 	SKB_CB(skb)->vcc = vcc;
vcc              1054 drivers/atm/solos-pci.c 	struct atm_vcc *vcc;
vcc              1118 drivers/atm/solos-pci.c 			vcc = SKB_CB(oldskb)->vcc;
vcc              1120 drivers/atm/solos-pci.c 			if (vcc) {
vcc              1121 drivers/atm/solos-pci.c 				atomic_inc(&vcc->stats->tx);
vcc              1122 drivers/atm/solos-pci.c 				solos_pop(vcc, oldskb);
vcc              1137 drivers/atm/solos-pci.c static int psend(struct atm_vcc *vcc, struct sk_buff *skb)
vcc              1139 drivers/atm/solos-pci.c 	struct solos_card *card = vcc->dev->dev_data;
vcc              1146 drivers/atm/solos-pci.c 		solos_pop(vcc, skb);
vcc              1160 drivers/atm/solos-pci.c 			solos_pop(vcc, skb);
vcc              1169 drivers/atm/solos-pci.c 	header->vpi = cpu_to_le16(vcc->vpi);
vcc              1170 drivers/atm/solos-pci.c 	header->vci = cpu_to_le16(vcc->vci);
vcc              1173 drivers/atm/solos-pci.c 	fpga_queue(card, SOLOS_CHAN(vcc->dev), skb, vcc);
vcc               318 drivers/atm/zatm.c static void exception(struct atm_vcc *vcc)
vcc               321 drivers/atm/zatm.c    struct zatm_dev *zatm_dev = ZATM_DEV(vcc->dev);
vcc               322 drivers/atm/zatm.c    struct zatm_vcc *zatm_vcc = ZATM_VCC(vcc);
vcc               374 drivers/atm/zatm.c 		struct atm_vcc *vcc;
vcc               422 drivers/atm/zatm.c 			vcc = zatm_dev->rx_map[chan];
vcc               423 drivers/atm/zatm.c 			pos = ZATM_VCC(vcc)->pool;
vcc               432 drivers/atm/zatm.c 			vcc = NULL;
vcc               464 drivers/atm/zatm.c 			if (vcc) atomic_inc(&vcc->stats->rx_err);
vcc               467 drivers/atm/zatm.c 		if (!atm_charge(vcc,skb->truesize)) {
vcc               472 drivers/atm/zatm.c 		ATM_SKB(skb)->vcc = vcc;
vcc               473 drivers/atm/zatm.c 		vcc->push(vcc,skb);
vcc               474 drivers/atm/zatm.c 		atomic_inc(&vcc->stats->rx);
vcc               484 drivers/atm/zatm.c static int open_rx_first(struct atm_vcc *vcc)
vcc               493 drivers/atm/zatm.c 	zatm_dev = ZATM_DEV(vcc->dev);
vcc               494 drivers/atm/zatm.c 	zatm_vcc = ZATM_VCC(vcc);
vcc               496 drivers/atm/zatm.c 	if (vcc->qos.rxtp.traffic_class == ATM_NONE) return 0;
vcc               497 drivers/atm/zatm.c 	if (vcc->qos.aal == ATM_AAL5) {
vcc               498 drivers/atm/zatm.c 		if (vcc->qos.rxtp.max_sdu > 65464)
vcc               499 drivers/atm/zatm.c 			vcc->qos.rxtp.max_sdu = 65464;
vcc               502 drivers/atm/zatm.c 		cells = DIV_ROUND_UP(vcc->qos.rxtp.max_sdu + ATM_AAL5_TRAILER,
vcc               520 drivers/atm/zatm.c 	use_pool(vcc->dev,zatm_vcc->pool);
vcc               526 drivers/atm/zatm.c 	zpokel(zatm_dev,uPD98401_RXVC_OD | (vcc->qos.aal == ATM_AAL5 ?
vcc               530 drivers/atm/zatm.c 	zatm_dev->rx_map[chan] = vcc;
vcc               536 drivers/atm/zatm.c static int open_rx_second(struct atm_vcc *vcc)
vcc               544 drivers/atm/zatm.c 	zatm_dev = ZATM_DEV(vcc->dev);
vcc               545 drivers/atm/zatm.c 	zatm_vcc = ZATM_VCC(vcc);
vcc               549 drivers/atm/zatm.c 	pos = vcc->vci >> 1;
vcc               550 drivers/atm/zatm.c 	shift = (1-(vcc->vci & 1)) << 4;
vcc               558 drivers/atm/zatm.c static void close_rx(struct atm_vcc *vcc)
vcc               565 drivers/atm/zatm.c 	zatm_vcc = ZATM_VCC(vcc);
vcc               566 drivers/atm/zatm.c 	zatm_dev = ZATM_DEV(vcc->dev);
vcc               570 drivers/atm/zatm.c 	if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) {
vcc               572 drivers/atm/zatm.c 		pos = vcc->vci >> 1;
vcc               573 drivers/atm/zatm.c 		shift = (1-(vcc->vci & 1)) << 4;
vcc               592 drivers/atm/zatm.c 		    "%d\n",vcc->dev->number,zatm_vcc->rx_chan);
vcc               596 drivers/atm/zatm.c 	unuse_pool(vcc->dev,zatm_vcc->pool);
vcc               634 drivers/atm/zatm.c 	struct atm_vcc *vcc;
vcc               642 drivers/atm/zatm.c 	vcc = ATM_SKB(skb)->vcc;
vcc               643 drivers/atm/zatm.c 	zatm_dev = ZATM_DEV(vcc->dev);
vcc               644 drivers/atm/zatm.c 	zatm_vcc = ZATM_VCC(vcc);
vcc               661 drivers/atm/zatm.c 		    | (vcc->qos.aal == ATM_AAL5 ? uPD98401_TXPD_AAL5 : 0 |
vcc               676 drivers/atm/zatm.c 			if (vcc->pop)
vcc               677 drivers/atm/zatm.c 				vcc->pop(vcc, skb);
vcc               685 drivers/atm/zatm.c 		    (vcc->aal == ATM_AAL5 ? uPD98401_TXPD_AAL5 : 0 |
vcc               712 drivers/atm/zatm.c static inline void dequeue_tx(struct atm_vcc *vcc)
vcc               718 drivers/atm/zatm.c 	zatm_vcc = ZATM_VCC(vcc);
vcc               722 drivers/atm/zatm.c 		    "txing\n",vcc->dev->number);
vcc               732 drivers/atm/zatm.c 	if (vcc->pop) vcc->pop(vcc,skb);
vcc               739 drivers/atm/zatm.c 	atomic_inc(&vcc->stats->tx);
vcc               871 drivers/atm/zatm.c static void close_tx(struct atm_vcc *vcc)
vcc               878 drivers/atm/zatm.c 	zatm_vcc = ZATM_VCC(vcc);
vcc               879 drivers/atm/zatm.c 	zatm_dev = ZATM_DEV(vcc->dev);
vcc               903 drivers/atm/zatm.c 		    "%d\n",vcc->dev->number,chan);
vcc               908 drivers/atm/zatm.c 		zatm_dev->tx_bw += vcc->qos.txtp.min_pcr;
vcc               909 drivers/atm/zatm.c 		dealloc_shaper(vcc->dev,zatm_vcc->shaper);
vcc               915 drivers/atm/zatm.c static int open_tx_first(struct atm_vcc *vcc)
vcc               925 drivers/atm/zatm.c 	zatm_dev = ZATM_DEV(vcc->dev);
vcc               926 drivers/atm/zatm.c 	zatm_vcc = ZATM_VCC(vcc);
vcc               928 drivers/atm/zatm.c 	if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0;
vcc               938 drivers/atm/zatm.c 	unlimited = vcc->qos.txtp.traffic_class == ATM_UBR &&
vcc               939 drivers/atm/zatm.c 	    (!vcc->qos.txtp.max_pcr || vcc->qos.txtp.max_pcr == ATM_MAX_PCR ||
vcc               940 drivers/atm/zatm.c 	    vcc->qos.txtp.max_pcr >= ATM_OC3_PCR);
vcc               945 drivers/atm/zatm.c 		if (unlimited) vcc->qos.txtp.max_sdu = ATM_MAX_AAL5_PDU;
vcc               946 drivers/atm/zatm.c 		if ((zatm_vcc->shaper = alloc_shaper(vcc->dev,&pcr,
vcc               947 drivers/atm/zatm.c 		    vcc->qos.txtp.min_pcr,vcc->qos.txtp.max_pcr,unlimited))
vcc               949 drivers/atm/zatm.c 			close_tx(vcc);
vcc               953 drivers/atm/zatm.c 		vcc->qos.txtp.min_pcr = vcc->qos.txtp.max_pcr = pcr;
vcc               974 drivers/atm/zatm.c static int open_tx_second(struct atm_vcc *vcc)
vcc               981 drivers/atm/zatm.c 	zatm_dev = ZATM_DEV(vcc->dev);
vcc               982 drivers/atm/zatm.c 	zatm_vcc = ZATM_VCC(vcc);
vcc               988 drivers/atm/zatm.c 	    uPD98401_TXVC_SHP_SHIFT) | (vcc->vpi << uPD98401_TXVC_VPI_SHIFT) |
vcc               989 drivers/atm/zatm.c 	    vcc->vci,zatm_vcc->tx_chan*VC_SIZE/4+1);
vcc               992 drivers/atm/zatm.c 	zatm_dev->tx_map[zatm_vcc->tx_chan] = vcc;
vcc              1371 drivers/atm/zatm.c static void zatm_close(struct atm_vcc *vcc)
vcc              1374 drivers/atm/zatm.c         if (!ZATM_VCC(vcc)) return;
vcc              1375 drivers/atm/zatm.c 	clear_bit(ATM_VF_READY,&vcc->flags);
vcc              1376 drivers/atm/zatm.c         close_rx(vcc);
vcc              1378 drivers/atm/zatm.c         close_tx(vcc);
vcc              1381 drivers/atm/zatm.c         kfree(ZATM_VCC(vcc));
vcc              1382 drivers/atm/zatm.c 	vcc->dev_data = NULL;
vcc              1383 drivers/atm/zatm.c 	clear_bit(ATM_VF_ADDR,&vcc->flags);
vcc              1387 drivers/atm/zatm.c static int zatm_open(struct atm_vcc *vcc)
vcc              1390 drivers/atm/zatm.c 	short vpi = vcc->vpi;
vcc              1391 drivers/atm/zatm.c 	int vci = vcc->vci;
vcc              1395 drivers/atm/zatm.c 	if (!test_bit(ATM_VF_PARTIAL,&vcc->flags))
vcc              1396 drivers/atm/zatm.c 		vcc->dev_data = NULL;
vcc              1398 drivers/atm/zatm.c 		set_bit(ATM_VF_ADDR,&vcc->flags);
vcc              1399 drivers/atm/zatm.c 	if (vcc->qos.aal != ATM_AAL5) return -EINVAL; /* @@@ AAL0 */
vcc              1400 drivers/atm/zatm.c 	DPRINTK(DEV_LABEL "(itf %d): open %d.%d\n",vcc->dev->number,vcc->vpi,
vcc              1401 drivers/atm/zatm.c 	    vcc->vci);
vcc              1402 drivers/atm/zatm.c 	if (!test_bit(ATM_VF_PARTIAL,&vcc->flags)) {
vcc              1405 drivers/atm/zatm.c 			clear_bit(ATM_VF_ADDR,&vcc->flags);
vcc              1408 drivers/atm/zatm.c 		vcc->dev_data = zatm_vcc;
vcc              1409 drivers/atm/zatm.c 		ZATM_VCC(vcc)->tx_chan = 0; /* for zatm_close after open_rx */
vcc              1410 drivers/atm/zatm.c 		if ((error = open_rx_first(vcc))) {
vcc              1411 drivers/atm/zatm.c 	                zatm_close(vcc);
vcc              1414 drivers/atm/zatm.c 		if ((error = open_tx_first(vcc))) {
vcc              1415 drivers/atm/zatm.c 			zatm_close(vcc);
vcc              1420 drivers/atm/zatm.c 	if ((error = open_rx_second(vcc))) {
vcc              1421 drivers/atm/zatm.c 		zatm_close(vcc);
vcc              1424 drivers/atm/zatm.c 	if ((error = open_tx_second(vcc))) {
vcc              1425 drivers/atm/zatm.c 		zatm_close(vcc);
vcc              1428 drivers/atm/zatm.c 	set_bit(ATM_VF_READY,&vcc->flags);
vcc              1433 drivers/atm/zatm.c static int zatm_change_qos(struct atm_vcc *vcc,struct atm_qos *qos,int flags)
vcc              1519 drivers/atm/zatm.c static int zatm_getsockopt(struct atm_vcc *vcc,int level,int optname,
vcc              1526 drivers/atm/zatm.c static int zatm_setsockopt(struct atm_vcc *vcc,int level,int optname,
vcc              1532 drivers/atm/zatm.c static int zatm_send(struct atm_vcc *vcc,struct sk_buff *skb)
vcc              1537 drivers/atm/zatm.c 	if (!ZATM_VCC(vcc)->tx_chan || !test_bit(ATM_VF_READY,&vcc->flags)) {
vcc              1538 drivers/atm/zatm.c 		if (vcc->pop) vcc->pop(vcc,skb);
vcc              1544 drivers/atm/zatm.c 		if (vcc->pop) vcc->pop(vcc,skb);
vcc              1547 drivers/atm/zatm.c 	ATM_SKB(skb)->vcc = vcc;
vcc              1550 drivers/atm/zatm.c 	skb_queue_tail(&ZATM_VCC(vcc)->backlog,skb);
vcc               121 drivers/bluetooth/btmtkuart.c 	struct regulator *vcc;
vcc               910 drivers/bluetooth/btmtkuart.c 		bdev->vcc = devm_regulator_get(&serdev->dev, "vcc");
vcc               911 drivers/bluetooth/btmtkuart.c 		if (IS_ERR(bdev->vcc)) {
vcc               912 drivers/bluetooth/btmtkuart.c 			err = PTR_ERR(bdev->vcc);
vcc              1030 drivers/bluetooth/btmtkuart.c 		err = regulator_enable(bdev->vcc);
vcc              1074 drivers/bluetooth/btmtkuart.c 		regulator_disable(bdev->vcc);
vcc              1085 drivers/bluetooth/btmtkuart.c 		regulator_disable(bdev->vcc);
vcc                21 drivers/gnss/mtk.c 	struct regulator *vcc;
vcc                29 drivers/gnss/mtk.c 	ret = regulator_enable(data->vcc);
vcc                41 drivers/gnss/mtk.c 	ret = regulator_disable(data->vcc);
vcc                84 drivers/gnss/mtk.c 	data->vcc = devm_regulator_get(&serdev->dev, "vcc");
vcc                85 drivers/gnss/mtk.c 	if (IS_ERR(data->vcc)) {
vcc                86 drivers/gnss/mtk.c 		ret = PTR_ERR(data->vcc);
vcc                42 drivers/gnss/sirf.c 	struct regulator *vcc;
vcc               299 drivers/gnss/sirf.c 		ret = regulator_disable(data->vcc);
vcc               314 drivers/gnss/sirf.c 		ret2 = regulator_enable(data->vcc);
vcc               336 drivers/gnss/sirf.c 		ret = regulator_enable(data->vcc);
vcc               428 drivers/gnss/sirf.c 	data->vcc = devm_regulator_get(dev, "vcc");
vcc               429 drivers/gnss/sirf.c 	if (IS_ERR(data->vcc)) {
vcc               430 drivers/gnss/sirf.c 		ret = PTR_ERR(data->vcc);
vcc               451 drivers/gnss/sirf.c 		ret = regulator_enable(data->vcc);
vcc               525 drivers/gnss/sirf.c 		regulator_disable(data->vcc);
vcc               547 drivers/gnss/sirf.c 		regulator_disable(data->vcc);
vcc                21 drivers/gnss/ubx.c 	struct regulator *vcc;
vcc                29 drivers/gnss/ubx.c 	ret = regulator_enable(data->vcc);
vcc                41 drivers/gnss/ubx.c 	ret = regulator_disable(data->vcc);
vcc                84 drivers/gnss/ubx.c 	data->vcc = devm_regulator_get(&serdev->dev, "vcc");
vcc                85 drivers/gnss/ubx.c 	if (IS_ERR(data->vcc)) {
vcc                86 drivers/gnss/ubx.c 		ret = PTR_ERR(data->vcc);
vcc                29 drivers/gpu/drm/bridge/thc63lvd1024.c 	struct regulator *vcc;
vcc                87 drivers/gpu/drm/bridge/thc63lvd1024.c 	ret = regulator_enable(thc63->vcc);
vcc               106 drivers/gpu/drm/bridge/thc63lvd1024.c 	ret = regulator_disable(thc63->vcc);
vcc               203 drivers/gpu/drm/bridge/thc63lvd1024.c 	thc63->vcc = devm_regulator_get_optional(thc63->dev, "vcc");
vcc               204 drivers/gpu/drm/bridge/thc63lvd1024.c 	if (IS_ERR(thc63->vcc)) {
vcc               205 drivers/gpu/drm/bridge/thc63lvd1024.c 		if (PTR_ERR(thc63->vcc) == -EPROBE_DEFER)
vcc               209 drivers/gpu/drm/bridge/thc63lvd1024.c 			PTR_ERR(thc63->vcc));
vcc               210 drivers/gpu/drm/bridge/thc63lvd1024.c 		return PTR_ERR(thc63->vcc);
vcc                51 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct regulator *vcc;
vcc               175 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	regulator_disable(ctx->vcc);
vcc               190 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	ret = regulator_enable(ctx->vcc);
vcc               213 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	regulator_disable(ctx->vcc);
vcc               327 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	ctx->vcc = devm_regulator_get(dev, "vcc");
vcc               328 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	if (IS_ERR(ctx->vcc)) {
vcc               329 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 		ret = PTR_ERR(ctx->vcc);
vcc                38 drivers/hwmon/ab8500.c 	int vcc;
vcc                62 drivers/hwmon/ab8500.c 	if (cfg->vcc < 0 || v_ntc >= cfg->vcc)
vcc                65 drivers/hwmon/ab8500.c 	r_ntc = v_ntc * cfg->r_up / (cfg->vcc - v_ntc);
vcc               178 drivers/hwmon/ab8500.c 	ab8500_data->cfg.vcc = THERMAL_VCC;
vcc               855 drivers/hwmon/lm87.c 	struct regulator *vcc = NULL;
vcc               864 drivers/hwmon/lm87.c 		vcc = devm_regulator_get_optional(&client->dev, "vcc");
vcc               865 drivers/hwmon/lm87.c 		if (!IS_ERR(vcc)) {
vcc               866 drivers/hwmon/lm87.c 			if (regulator_get_voltage(vcc) == 5000000)
vcc                25 drivers/iio/dac/m62332.c 	struct regulator	*vcc;
vcc                49 drivers/iio/dac/m62332.c 		res = regulator_enable(data->vcc);
vcc                63 drivers/iio/dac/m62332.c 		regulator_disable(data->vcc);
vcc                87 drivers/iio/dac/m62332.c 		ret = regulator_get_voltage(data->vcc);
vcc               203 drivers/iio/dac/m62332.c 	data->vcc = devm_regulator_get(&client->dev, "VCC");
vcc               204 drivers/iio/dac/m62332.c 	if (IS_ERR(data->vcc))
vcc               205 drivers/iio/dac/m62332.c 		return PTR_ERR(data->vcc);
vcc                30 drivers/input/misc/gpio-vibra.c 	struct regulator *vcc;
vcc                43 drivers/input/misc/gpio-vibra.c 		err = regulator_enable(vibrator->vcc);
vcc                61 drivers/input/misc/gpio-vibra.c 		regulator_disable(vibrator->vcc);
vcc               115 drivers/input/misc/gpio-vibra.c 	vibrator->vcc = devm_regulator_get(&pdev->dev, "vcc");
vcc               116 drivers/input/misc/gpio-vibra.c 	err = PTR_ERR_OR_ZERO(vibrator->vcc);
vcc                37 drivers/input/misc/msm-vibrator.c 	struct regulator *vcc;
vcc                71 drivers/input/misc/msm-vibrator.c 		ret = regulator_enable(vibrator->vcc);
vcc               107 drivers/input/misc/msm-vibrator.c 		regulator_disable(vibrator->vcc);
vcc               168 drivers/input/misc/msm-vibrator.c 	vibrator->vcc = devm_regulator_get(&pdev->dev, "vcc");
vcc               169 drivers/input/misc/msm-vibrator.c 	if (IS_ERR(vibrator->vcc)) {
vcc               170 drivers/input/misc/msm-vibrator.c 		if (PTR_ERR(vibrator->vcc) != -EPROBE_DEFER)
vcc               172 drivers/input/misc/msm-vibrator.c 				PTR_ERR(vibrator->vcc));
vcc               173 drivers/input/misc/msm-vibrator.c 		return PTR_ERR(vibrator->vcc);
vcc                28 drivers/input/misc/pwm-vibra.c 	struct regulator *vcc;
vcc                43 drivers/input/misc/pwm-vibra.c 		err = regulator_enable(vibrator->vcc);
vcc                84 drivers/input/misc/pwm-vibra.c 		regulator_disable(vibrator->vcc);
vcc               136 drivers/input/misc/pwm-vibra.c 	vibrator->vcc = devm_regulator_get(&pdev->dev, "vcc");
vcc               137 drivers/input/misc/pwm-vibra.c 	err = PTR_ERR_OR_ZERO(vibrator->vcc);
vcc              1245 drivers/input/mouse/cyapa.c 	regulator_disable(cyapa->vcc);
vcc              1281 drivers/input/mouse/cyapa.c 	cyapa->vcc = devm_regulator_get(dev, "vcc");
vcc              1282 drivers/input/mouse/cyapa.c 	if (IS_ERR(cyapa->vcc)) {
vcc              1283 drivers/input/mouse/cyapa.c 		error = PTR_ERR(cyapa->vcc);
vcc              1288 drivers/input/mouse/cyapa.c 	error = regulator_enable(cyapa->vcc);
vcc               336 drivers/input/mouse/cyapa.h 	struct regulator *vcc;
vcc                65 drivers/input/mouse/elan_i2c_core.c 	struct regulator	*vcc;
vcc               147 drivers/input/mouse/elan_i2c_core.c 	error = regulator_enable(data->vcc);
vcc               174 drivers/input/mouse/elan_i2c_core.c 			error = regulator_disable(data->vcc);
vcc              1138 drivers/input/mouse/elan_i2c_core.c 	regulator_disable(data->vcc);
vcc              1175 drivers/input/mouse/elan_i2c_core.c 	data->vcc = devm_regulator_get(dev, "vcc");
vcc              1176 drivers/input/mouse/elan_i2c_core.c 	if (IS_ERR(data->vcc)) {
vcc              1177 drivers/input/mouse/elan_i2c_core.c 		error = PTR_ERR(data->vcc);
vcc              1184 drivers/input/mouse/elan_i2c_core.c 	error = regulator_enable(data->vcc);
vcc                36 drivers/input/serio/ams_delta_serio.c 	struct regulator *vcc;
vcc                97 drivers/input/serio/ams_delta_serio.c 	return regulator_enable(priv->vcc);
vcc               105 drivers/input/serio/ams_delta_serio.c 	regulator_disable(priv->vcc);
vcc               122 drivers/input/serio/ams_delta_serio.c 	priv->vcc = devm_regulator_get(&pdev->dev, "vcc");
vcc               123 drivers/input/serio/ams_delta_serio.c 	if (IS_ERR(priv->vcc)) {
vcc               124 drivers/input/serio/ams_delta_serio.c 		err = PTR_ERR(priv->vcc);
vcc                28 drivers/input/touchscreen/zet6223.c 	struct regulator *vcc;
vcc                26 drivers/leds/leds-regulator.c 	struct regulator *vcc;
vcc                65 drivers/leds/leds-regulator.c 	ret = regulator_enable(led->vcc);
vcc                81 drivers/leds/leds-regulator.c 	ret = regulator_disable(led->vcc);
vcc               105 drivers/leds/leds-regulator.c 		voltage = led_regulator_get_voltage(led->vcc, value);
vcc               109 drivers/leds/leds-regulator.c 		ret = regulator_set_voltage(led->vcc, voltage, voltage);
vcc               127 drivers/leds/leds-regulator.c 	struct regulator *vcc;
vcc               135 drivers/leds/leds-regulator.c 	vcc = devm_regulator_get_exclusive(&pdev->dev, "vled");
vcc               136 drivers/leds/leds-regulator.c 	if (IS_ERR(vcc)) {
vcc               138 drivers/leds/leds-regulator.c 		return PTR_ERR(vcc);
vcc               145 drivers/leds/leds-regulator.c 	led->cdev.max_brightness = led_regulator_get_max_brightness(vcc);
vcc               155 drivers/leds/leds-regulator.c 	led->vcc = vcc;
vcc               158 drivers/leds/leds-regulator.c 	if (regulator_is_enabled(led->vcc))
vcc                91 drivers/memstick/core/ms_block.h 	unsigned char      vcc;
vcc                83 drivers/memstick/core/mspro_block.c 	unsigned char  vcc;
vcc               363 drivers/memstick/core/mspro_block.c 			x_sys->vcc);
vcc              1419 drivers/mfd/stmpe.c 	stmpe->vcc = devm_regulator_get_optional(ci->dev, "vcc");
vcc              1420 drivers/mfd/stmpe.c 	if (!IS_ERR(stmpe->vcc)) {
vcc              1421 drivers/mfd/stmpe.c 		ret = regulator_enable(stmpe->vcc);
vcc              1499 drivers/mfd/stmpe.c 	if (!IS_ERR(stmpe->vcc))
vcc              1500 drivers/mfd/stmpe.c 		regulator_disable(stmpe->vcc);
vcc              3339 drivers/mtd/nand/onenand/onenand_base.c 	int vcc, demuxed, ddp, density, flexonenand;
vcc              3341 drivers/mtd/nand/onenand/onenand_base.c         vcc = device & ONENAND_DEVICE_VCC_MASK;
vcc              3351 drivers/mtd/nand/onenand/onenand_base.c                 vcc ? "2.65/3.3" : "1.8",
vcc                96 drivers/pcmcia/at91_cf.c 		int vcc	= gpio_is_valid(cf->board->vcc_pin);
vcc               101 drivers/pcmcia/at91_cf.c 		if (!vcc || gpio_get_value(cf->board->vcc_pin))
vcc              1110 drivers/pcmcia/cistpl.c 		p = parse_power(p, q, &entry->vcc);
vcc              1114 drivers/pcmcia/cistpl.c 		entry->vcc.present = 0;
vcc               114 drivers/pcmcia/electra_cf.c 	unsigned int vcc;
vcc               120 drivers/pcmcia/electra_cf.c 	vcc = (s->flags & SS_RESET) ? 0 : s->Vcc;
vcc               122 drivers/pcmcia/electra_cf.c 	switch (vcc) {
vcc                68 drivers/pcmcia/max1600.c int max1600_configure(struct max1600 *m, unsigned int vcc, unsigned int vpp)
vcc                80 drivers/pcmcia/max1600.c 		} else if (vpp == vcc) {
vcc                89 drivers/pcmcia/max1600.c 	} else if (vpp != vcc && vpp != 0) {
vcc                94 drivers/pcmcia/max1600.c 	if (vcc == 0) {
vcc                97 drivers/pcmcia/max1600.c 	} else if (vcc == 33) { /* VY */
vcc               100 drivers/pcmcia/max1600.c 	} else if (vcc == 50) { /* VX */
vcc               105 drivers/pcmcia/max1600.c 			vcc / 10, vcc % 10);
vcc                30 drivers/pcmcia/max1600.h int max1600_configure(struct max1600 *, unsigned int vcc, unsigned int vpp);
vcc               160 drivers/pcmcia/pcmcia_cis.c 	unsigned int vcc = p_dev->socket->socket.Vcc;
vcc               172 drivers/pcmcia/pcmcia_cis.c 		if (cfg->vcc.present & (1 << CISTPL_POWER_VNOM)) {
vcc               173 drivers/pcmcia/pcmcia_cis.c 			if (vcc != cfg->vcc.param[CISTPL_POWER_VNOM] / 10000)
vcc               175 drivers/pcmcia/pcmcia_cis.c 		} else if (dflt->vcc.present & (1 << CISTPL_POWER_VNOM)) {
vcc               176 drivers/pcmcia/pcmcia_cis.c 			if (vcc != dflt->vcc.param[CISTPL_POWER_VNOM] / 10000)
vcc                67 drivers/pcmcia/sa1100_generic.c 	skt->vcc.reg = devm_regulator_get_optional(dev, "vcc");
vcc                68 drivers/pcmcia/sa1100_generic.c 	if (IS_ERR(skt->vcc.reg))
vcc                69 drivers/pcmcia/sa1100_generic.c 		return PTR_ERR(skt->vcc.reg);
vcc                71 drivers/pcmcia/sa1100_generic.c 	if (!skt->vcc.reg)
vcc                88 drivers/pcmcia/sa1100_generic.c 	return soc_pcmcia_regulator_set(skt, &skt->vcc, state->Vcc);
vcc               104 drivers/pcmcia/soc_common.c 				 r == &skt->vcc ? "Vcc" : "Vpp",
vcc                76 drivers/pcmcia/soc_common.h 	struct soc_pcmcia_regulator vcc;
vcc               430 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(vcc-droop-detected,		0x27),
vcc              5305 drivers/scsi/lpfc/lpfc_els.c 	uint16_t vcc;
vcc              5341 drivers/scsi/lpfc/lpfc_els.c 	vcc = (page_a2[SFF_VCC_B1] << 8 |
vcc              5353 drivers/scsi/lpfc/lpfc_els.c 	desc->sfp_info.vcc = cpu_to_be16(vcc);
vcc              1240 drivers/scsi/lpfc/lpfc_hw.h 	uint16_t	vcc;
vcc               523 drivers/scsi/ufs/ufs.h 	struct ufs_vreg *vcc;
vcc               204 drivers/scsi/ufs/ufshcd-pltfrm.c 	err = ufshcd_populate_vreg(dev, "vcc", &info->vcc);
vcc              6381 drivers/scsi/ufs/ufshcd.c 	if (!hba->vreg_info.vcc || !hba->vreg_info.vccq ||
vcc              6389 drivers/scsi/ufs/ufshcd.c 	if (hba->vreg_info.vcc && hba->vreg_info.vcc->max_uA)
vcc              6391 drivers/scsi/ufs/ufshcd.c 				hba->vreg_info.vcc->max_uA,
vcc              7202 drivers/scsi/ufs/ufshcd.c 	ret = ufshcd_toggle_vreg(dev, info->vcc, on);
vcc              7218 drivers/scsi/ufs/ufshcd.c 		ufshcd_toggle_vreg(dev, info->vcc, false);
vcc              7253 drivers/scsi/ufs/ufshcd.c 	ret = ufshcd_get_vreg(dev, info->vcc);
vcc              7689 drivers/scsi/ufs/ufshcd.c 		ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, false);
vcc              7713 drivers/scsi/ufs/ufshcd.c 		ret = ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, true);
vcc              7720 drivers/scsi/ufs/ufshcd.c 	ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, false);
vcc               135 drivers/usb/atm/usbatm.c 	struct atm_vcc *vcc;
vcc               156 drivers/usb/atm/usbatm.c static int usbatm_atm_open(struct atm_vcc *vcc);
vcc               157 drivers/usb/atm/usbatm.c static void usbatm_atm_close(struct atm_vcc *vcc);
vcc               159 drivers/usb/atm/usbatm.c static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb);
vcc               183 drivers/usb/atm/usbatm.c static inline void usbatm_pop(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               185 drivers/usb/atm/usbatm.c 	if (vcc->pop)
vcc               186 drivers/usb/atm/usbatm.c 		vcc->pop(vcc, skb);
vcc               293 drivers/usb/atm/usbatm.c 	struct atm_vcc *vcc;
vcc               312 drivers/usb/atm/usbatm.c 	vcc = instance->cached_vcc->vcc;
vcc               319 drivers/usb/atm/usbatm.c 		atomic_inc(&vcc->stats->rx_err);
vcc               327 drivers/usb/atm/usbatm.c 				__func__, sarb->len, vcc);
vcc               345 drivers/usb/atm/usbatm.c 				  __func__, length, vcc);
vcc               346 drivers/usb/atm/usbatm.c 			atomic_inc(&vcc->stats->rx_err);
vcc               354 drivers/usb/atm/usbatm.c 				  __func__, pdu_length, sarb->len, vcc);
vcc               355 drivers/usb/atm/usbatm.c 			atomic_inc(&vcc->stats->rx_err);
vcc               361 drivers/usb/atm/usbatm.c 				  __func__, vcc);
vcc               362 drivers/usb/atm/usbatm.c 			atomic_inc(&vcc->stats->rx_err);
vcc               368 drivers/usb/atm/usbatm.c 		     __func__, length, pdu_length, vcc);
vcc               375 drivers/usb/atm/usbatm.c 			atomic_inc(&vcc->stats->rx_drop);
vcc               383 drivers/usb/atm/usbatm.c 		if (!atm_charge(vcc, skb->truesize)) {
vcc               401 drivers/usb/atm/usbatm.c 		vcc->push(vcc, skb);
vcc               403 drivers/usb/atm/usbatm.c 		atomic_inc(&vcc->stats->rx);
vcc               459 drivers/usb/atm/usbatm.c 	struct atm_vcc *vcc = ctrl->atm.vcc;
vcc               469 drivers/usb/atm/usbatm.c 		ptr[0] = vcc->vpi >> 4;
vcc               470 drivers/usb/atm/usbatm.c 		ptr[1] = (vcc->vpi << 4) | (vcc->vci >> 12);
vcc               471 drivers/usb/atm/usbatm.c 		ptr[2] = vcc->vci >> 4;
vcc               472 drivers/usb/atm/usbatm.c 		ptr[3] = vcc->vci << 4;
vcc               598 drivers/usb/atm/usbatm.c 			struct atm_vcc *vcc = UDSL_SKB(skb)->atm.vcc;
vcc               600 drivers/usb/atm/usbatm.c 			usbatm_pop(vcc, skb);
vcc               601 drivers/usb/atm/usbatm.c 			atomic_inc(&vcc->stats->tx);
vcc               619 drivers/usb/atm/usbatm.c 			       struct atm_vcc *vcc)
vcc               625 drivers/usb/atm/usbatm.c 		if (UDSL_SKB(skb)->atm.vcc == vcc) {
vcc               628 drivers/usb/atm/usbatm.c 			usbatm_pop(vcc, skb);
vcc               634 drivers/usb/atm/usbatm.c 	if ((skb = instance->current_skb) && (UDSL_SKB(skb)->atm.vcc == vcc)) {
vcc               637 drivers/usb/atm/usbatm.c 		usbatm_pop(vcc, skb);
vcc               642 drivers/usb/atm/usbatm.c static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               644 drivers/usb/atm/usbatm.c 	struct usbatm_data *instance = vcc->dev->dev_data;
vcc               657 drivers/usb/atm/usbatm.c 	if (vcc->qos.aal != ATM_AAL5) {
vcc               658 drivers/usb/atm/usbatm.c 		atm_rldbg(instance, "%s: unsupported ATM type %d!\n", __func__, vcc->qos.aal);
vcc               673 drivers/usb/atm/usbatm.c 	ctrl->atm.vcc = vcc;
vcc               683 drivers/usb/atm/usbatm.c 	usbatm_pop(vcc, skb);
vcc               768 drivers/usb/atm/usbatm.c static int usbatm_atm_open(struct atm_vcc *vcc)
vcc               770 drivers/usb/atm/usbatm.c 	struct usbatm_data *instance = vcc->dev->dev_data;
vcc               773 drivers/usb/atm/usbatm.c 	int vci = vcc->vci;
vcc               774 drivers/usb/atm/usbatm.c 	short vpi = vcc->vpi;
vcc               780 drivers/usb/atm/usbatm.c 	if ((vcc->qos.aal != ATM_AAL5)) {
vcc               781 drivers/usb/atm/usbatm.c 		atm_warn(instance, "%s: unsupported ATM type %d!\n", __func__, vcc->qos.aal);
vcc               786 drivers/usb/atm/usbatm.c 	if ((vcc->qos.rxtp.max_sdu < 0) || (vcc->qos.rxtp.max_sdu > ATM_MAX_AAL5_PDU)) {
vcc               787 drivers/usb/atm/usbatm.c 		atm_dbg(instance, "%s: max_sdu %d out of range!\n", __func__, vcc->qos.rxtp.max_sdu);
vcc               811 drivers/usb/atm/usbatm.c 	new->vcc = vcc;
vcc               815 drivers/usb/atm/usbatm.c 	new->sarb = alloc_skb(usbatm_pdu_length(vcc->qos.rxtp.max_sdu), GFP_KERNEL);
vcc               822 drivers/usb/atm/usbatm.c 	vcc->dev_data = new;
vcc               831 drivers/usb/atm/usbatm.c 	set_bit(ATM_VF_ADDR, &vcc->flags);
vcc               832 drivers/usb/atm/usbatm.c 	set_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc               833 drivers/usb/atm/usbatm.c 	set_bit(ATM_VF_READY, &vcc->flags);
vcc               847 drivers/usb/atm/usbatm.c static void usbatm_atm_close(struct atm_vcc *vcc)
vcc               849 drivers/usb/atm/usbatm.c 	struct usbatm_data *instance = vcc->dev->dev_data;
vcc               850 drivers/usb/atm/usbatm.c 	struct usbatm_vcc_data *vcc_data = vcc->dev_data;
vcc               855 drivers/usb/atm/usbatm.c 	usbatm_cancel_send(instance, vcc);
vcc               872 drivers/usb/atm/usbatm.c 	vcc->dev_data = NULL;
vcc               874 drivers/usb/atm/usbatm.c 	vcc->vpi = ATM_VPI_UNSPEC;
vcc               875 drivers/usb/atm/usbatm.c 	vcc->vci = ATM_VCI_UNSPEC;
vcc               876 drivers/usb/atm/usbatm.c 	clear_bit(ATM_VF_READY, &vcc->flags);
vcc               877 drivers/usb/atm/usbatm.c 	clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc               878 drivers/usb/atm/usbatm.c 	clear_bit(ATM_VF_ADDR, &vcc->flags);
vcc              1226 drivers/usb/atm/usbatm.c 		vcc_release_async(vcc_data->vcc, -EPIPE);
vcc               141 drivers/usb/phy/phy-generic.c 	if (!IS_ERR(nop->vcc)) {
vcc               142 drivers/usb/phy/phy-generic.c 		if (regulator_enable(nop->vcc))
vcc               167 drivers/usb/phy/phy-generic.c 	if (!IS_ERR(nop->vcc)) {
vcc               168 drivers/usb/phy/phy-generic.c 		if (regulator_disable(nop->vcc))
vcc               278 drivers/usb/phy/phy-generic.c 	nop->vcc = devm_regulator_get(dev, "vcc");
vcc               279 drivers/usb/phy/phy-generic.c 	if (IS_ERR(nop->vcc)) {
vcc               281 drivers/usb/phy/phy-generic.c 					PTR_ERR(nop->vcc));
vcc                13 drivers/usb/phy/phy-generic.h 	struct regulator *vcc;
vcc                60 drivers/usb/serial/iuu_phoenix.c 	int vcc;		/* vcc (either 3 or 5 V) */
vcc                87 drivers/usb/serial/iuu_phoenix.c 	priv->vcc = vcc_default;
vcc              1073 drivers/usb/serial/iuu_phoenix.c static int iuu_vcc_set(struct usb_serial_port *port, unsigned int vcc)
vcc              1083 drivers/usb/serial/iuu_phoenix.c 	buf[1] = vcc & 0xFF;
vcc              1084 drivers/usb/serial/iuu_phoenix.c 	buf[2] = (vcc >> 8) & 0xFF;
vcc              1085 drivers/usb/serial/iuu_phoenix.c 	buf[3] = (vcc >> 16) & 0xFF;
vcc              1086 drivers/usb/serial/iuu_phoenix.c 	buf[4] = (vcc >> 24) & 0xFF;
vcc              1109 drivers/usb/serial/iuu_phoenix.c 	return sprintf(buf, "%d\n", priv->vcc);
vcc              1131 drivers/usb/serial/iuu_phoenix.c 		priv->vcc = v;
vcc                22 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	struct regulator *vcc;
vcc               101 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	if (ddata->vcc) {
vcc               102 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 		r = regulator_enable(ddata->vcc);
vcc               109 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 		regulator_disable(ddata->vcc);
vcc               147 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	if (ddata->vcc)
vcc               148 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 		regulator_disable(ddata->vcc);
vcc               218 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	ddata->vcc = devm_regulator_get(&pdev->dev, "envdd");
vcc               219 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	if (IS_ERR(ddata->vcc)) {
vcc               221 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 		return PTR_ERR(ddata->vcc);
vcc                14 include/linux/atm_tcp.h 	int (*attach)(struct atm_vcc *vcc,int itf);
vcc               104 include/linux/atmdev.h 	void (*release_cb)(struct atm_vcc *vcc); /* release_sock callback */
vcc               105 include/linux/atmdev.h 	void (*push)(struct atm_vcc *vcc,struct sk_buff *skb);
vcc               106 include/linux/atmdev.h 	void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */
vcc               107 include/linux/atmdev.h 	int (*push_oam)(struct atm_vcc *vcc,void *cell);
vcc               108 include/linux/atmdev.h 	int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
vcc               135 include/linux/atmdev.h static inline struct sock *sk_atm(struct atm_vcc *vcc)
vcc               137 include/linux/atmdev.h 	return (struct sock *)vcc;
vcc               186 include/linux/atmdev.h 	int (*open)(struct atm_vcc *vcc);
vcc               187 include/linux/atmdev.h 	void (*close)(struct atm_vcc *vcc);
vcc               193 include/linux/atmdev.h 	int (*getsockopt)(struct atm_vcc *vcc,int level,int optname,
vcc               195 include/linux/atmdev.h 	int (*setsockopt)(struct atm_vcc *vcc,int level,int optname,
vcc               197 include/linux/atmdev.h 	int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
vcc               198 include/linux/atmdev.h 	int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags);
vcc               202 include/linux/atmdev.h 	int (*change_qos)(struct atm_vcc *vcc,struct atm_qos *qos,int flags);
vcc               215 include/linux/atmdev.h 	struct atm_vcc	*vcc;		/* ATM VCC */
vcc               245 include/linux/atmdev.h static inline void atm_account_tx(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               255 include/linux/atmdev.h 	refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc);
vcc               257 include/linux/atmdev.h 	ATM_SKB(skb)->atm_options = vcc->atm_options;
vcc               260 include/linux/atmdev.h static inline void atm_force_charge(struct atm_vcc *vcc,int truesize)
vcc               262 include/linux/atmdev.h 	atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc);
vcc               266 include/linux/atmdev.h static inline void atm_return(struct atm_vcc *vcc,int truesize)
vcc               268 include/linux/atmdev.h 	atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc);
vcc               272 include/linux/atmdev.h static inline int atm_may_send(struct atm_vcc *vcc,unsigned int size)
vcc               274 include/linux/atmdev.h 	return (size + refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) <
vcc               275 include/linux/atmdev.h 	       sk_atm(vcc)->sk_sndbuf;
vcc               296 include/linux/atmdev.h int atm_charge(struct atm_vcc *vcc,int truesize);
vcc               297 include/linux/atmdev.h struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
vcc               301 include/linux/atmdev.h void vcc_release_async(struct atm_vcc *vcc, int reply);
vcc               142 include/linux/fsl_devices.h 	int(*voltage_set)(int slot, int vcc, int vpp);
vcc               123 include/linux/mfd/stmpe.h 	struct regulator *vcc;
vcc                18 include/net/atmclip.h #define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back))
vcc                23 include/net/atmclip.h 	struct atm_vcc	*vcc;		/* VCC descriptor */
vcc                30 include/net/atmclip.h 	void (*old_push)(struct atm_vcc *vcc,struct sk_buff *skb);
vcc                32 include/net/atmclip.h 	void (*old_pop)(struct atm_vcc *vcc,struct sk_buff *skb);
vcc               459 include/pcmcia/cistpl.h     cistpl_power_t	vcc, vpp1, vpp2;
vcc               480 include/pcmcia/cistpl.h     cistpl_power_t	vcc, vpp1, vpp2;
vcc                38 include/uapi/linux/atm_tcp.h 	atm_kptr_t vcc;		/* both directions */
vcc                25 include/uapi/linux/atmsvc.h 	atm_kptr_t vcc;
vcc                15 net/atm/atm_misc.c int atm_charge(struct atm_vcc *vcc, int truesize)
vcc                17 net/atm/atm_misc.c 	atm_force_charge(vcc, truesize);
vcc                18 net/atm/atm_misc.c 	if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf)
vcc                20 net/atm/atm_misc.c 	atm_return(vcc, truesize);
vcc                21 net/atm/atm_misc.c 	atomic_inc(&vcc->stats->rx_drop);
vcc                26 net/atm/atm_misc.c struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc, int pdu_size,
vcc                29 net/atm/atm_misc.c 	struct sock *sk = sk_atm(vcc);
vcc                32 net/atm/atm_misc.c 	atm_force_charge(vcc, guess);
vcc                42 net/atm/atm_misc.c 	atm_return(vcc, guess);
vcc                43 net/atm/atm_misc.c 	atomic_inc(&vcc->stats->rx_drop);
vcc                70 net/atm/br2684.c 	void (*old_push)(struct atm_vcc *vcc, struct sk_buff *skb);
vcc                71 net/atm/br2684.c 	void (*old_pop)(struct atm_vcc *vcc, struct sk_buff *skb);
vcc                72 net/atm/br2684.c 	void (*old_release_cb)(struct atm_vcc *vcc);
vcc               185 net/atm/br2684.c static void br2684_pop(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               187 net/atm/br2684.c 	struct br2684_vcc *brvcc = BR2684_VCC(vcc);
vcc               189 net/atm/br2684.c 	pr_debug("(vcc %p ; net_dev %p )\n", vcc, brvcc->device);
vcc               190 net/atm/br2684.c 	brvcc->old_pop(vcc, skb);
vcc               254 net/atm/br2684.c 	ATM_SKB(skb)->vcc = atmvcc = brvcc->atmvcc;
vcc               506 net/atm/br2684.c 	ATM_SKB(skb)->vcc = atmvcc;	/* needed ? */
vcc               133 net/atm/clip.c 				 cv, cv->vcc, entry);
vcc               134 net/atm/clip.c 			vcc_release_async(cv->vcc, -ETIMEDOUT);
vcc               167 net/atm/clip.c 	struct atm_vcc *vcc;
vcc               170 net/atm/clip.c 	vcc = ATM_SKB(skb)->vcc;
vcc               171 net/atm/clip.c 	if (!vcc || !atm_charge(vcc, skb->truesize)) {
vcc               175 net/atm/clip.c 	pr_debug("pushing to %p\n", vcc);
vcc               176 net/atm/clip.c 	pr_debug("using %p\n", CLIP_VCC(vcc)->old_push);
vcc               177 net/atm/clip.c 	CLIP_VCC(vcc)->old_push(vcc, skb);
vcc               190 net/atm/clip.c static void clip_push(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               192 net/atm/clip.c 	struct clip_vcc *clip_vcc = CLIP_VCC(vcc);
vcc               197 net/atm/clip.c 		atm_return(vcc, skb->truesize);
vcc               206 net/atm/clip.c 		clip_vcc->old_push(vcc, NULL);	/* pass on the bad news */
vcc               210 net/atm/clip.c 	atm_return(vcc, skb->truesize);
vcc               217 net/atm/clip.c 	ATM_SKB(skb)->vcc = vcc;
vcc               245 net/atm/clip.c static void clip_pop(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               247 net/atm/clip.c 	struct clip_vcc *clip_vcc = CLIP_VCC(vcc);
vcc               252 net/atm/clip.c 	pr_debug("(vcc %p)\n", vcc);
vcc               253 net/atm/clip.c 	clip_vcc->old_pop(vcc, skb);
vcc               258 net/atm/clip.c 	if (atm_may_send(vcc, 0)) {
vcc               319 net/atm/clip.c static int clip_encap(struct atm_vcc *vcc, int mode)
vcc               321 net/atm/clip.c 	if (!CLIP_VCC(vcc))
vcc               324 net/atm/clip.c 	CLIP_VCC(vcc)->encap = mode;
vcc               335 net/atm/clip.c 	struct atm_vcc *vcc;
vcc               376 net/atm/clip.c 	ATM_SKB(skb)->vcc = vcc = entry->vccs->vcc;
vcc               377 net/atm/clip.c 	pr_debug("using neighbour %p, vcc %p\n", n, vcc);
vcc               385 net/atm/clip.c 	atm_account_tx(vcc, skb);
vcc               387 net/atm/clip.c 	pr_debug("atm_skb(%p)->vcc(%p)->dev(%p)\n", skb, vcc, vcc->dev);
vcc               395 net/atm/clip.c 	vcc->send(vcc, skb);
vcc               396 net/atm/clip.c 	if (atm_may_send(vcc, 0)) {
vcc               415 net/atm/clip.c static int clip_mkip(struct atm_vcc *vcc, int timeout)
vcc               419 net/atm/clip.c 	if (!vcc->push)
vcc               424 net/atm/clip.c 	pr_debug("%p vcc %p\n", clip_vcc, vcc);
vcc               425 net/atm/clip.c 	clip_vcc->vcc = vcc;
vcc               426 net/atm/clip.c 	vcc->user_back = clip_vcc;
vcc               427 net/atm/clip.c 	set_bit(ATM_VF_IS_CLIP, &vcc->flags);
vcc               433 net/atm/clip.c 	clip_vcc->old_push = vcc->push;
vcc               434 net/atm/clip.c 	clip_vcc->old_pop = vcc->pop;
vcc               435 net/atm/clip.c 	vcc->push = clip_push;
vcc               436 net/atm/clip.c 	vcc->pop = clip_pop;
vcc               439 net/atm/clip.c 	vcc_process_recv_queue(vcc);
vcc               444 net/atm/clip.c static int clip_setentry(struct atm_vcc *vcc, __be32 ip)
vcc               452 net/atm/clip.c 	if (vcc->push != clip_push) {
vcc               456 net/atm/clip.c 	clip_vcc = CLIP_VCC(vcc);
vcc               607 net/atm/clip.c static void atmarpd_close(struct atm_vcc *vcc)
vcc               613 net/atm/clip.c 	skb_queue_purge(&sk_atm(vcc)->sk_receive_queue);
vcc               633 net/atm/clip.c static int atm_init_atmarp(struct atm_vcc *vcc)
vcc               643 net/atm/clip.c 	atmarpd = vcc;
vcc               644 net/atm/clip.c 	set_bit(ATM_VF_META, &vcc->flags);
vcc               645 net/atm/clip.c 	set_bit(ATM_VF_READY, &vcc->flags);
vcc               647 net/atm/clip.c 	vcc->dev = &atmarpd_dev;
vcc               648 net/atm/clip.c 	vcc_insert_socket(sk_atm(vcc));
vcc               649 net/atm/clip.c 	vcc->push = NULL;
vcc               650 net/atm/clip.c 	vcc->pop = NULL; /* crash */
vcc               651 net/atm/clip.c 	vcc->push_oam = NULL; /* crash */
vcc               658 net/atm/clip.c 	struct atm_vcc *vcc = ATM_SD(sock);
vcc               679 net/atm/clip.c 		err = atm_init_atmarp(vcc);
vcc               686 net/atm/clip.c 		err = clip_mkip(vcc, arg);
vcc               689 net/atm/clip.c 		err = clip_setentry(vcc, (__force __be32)arg);
vcc               692 net/atm/clip.c 		err = clip_encap(vcc, arg);
vcc               745 net/atm/clip.c 	       (sk_atm(clip_vcc->vcc)->sk_family == AF_ATMSVC));
vcc               773 net/atm/clip.c 			   clip_vcc->vcc->dev->number,
vcc               774 net/atm/clip.c 			   clip_vcc->vcc->vpi, clip_vcc->vcc->vci);
vcc               776 net/atm/clip.c 		svc_addr(seq, &clip_vcc->vcc->remote);
vcc               786 net/atm/clip.c 	struct clip_vcc *vcc;
vcc               809 net/atm/clip.c 	struct clip_vcc *vcc = state->vcc;
vcc               811 net/atm/clip.c 	vcc = clip_seq_next_vcc(e, vcc);
vcc               812 net/atm/clip.c 	if (vcc && pos != NULL) {
vcc               814 net/atm/clip.c 			vcc = clip_seq_next_vcc(e, vcc);
vcc               815 net/atm/clip.c 			if (!vcc)
vcc               820 net/atm/clip.c 	state->vcc = vcc;
vcc               822 net/atm/clip.c 	return vcc;
vcc               852 net/atm/clip.c 		struct clip_vcc *vcc = state->vcc;
vcc               855 net/atm/clip.c 		atmarp_info(seq, n, neighbour_priv(n), vcc);
vcc                45 net/atm/common.c 	struct atm_vcc *vcc = atm_sk(sk);
vcc                46 net/atm/common.c 	struct hlist_head *head = &vcc_hash[vcc->vci & (VCC_HTABLE_SIZE - 1)];
vcc                47 net/atm/common.c 	sk->sk_hash = vcc->vci & (VCC_HTABLE_SIZE - 1);
vcc                66 net/atm/common.c static bool vcc_tx_ready(struct atm_vcc *vcc, unsigned int size)
vcc                68 net/atm/common.c 	struct sock *sk = sk_atm(vcc);
vcc                70 net/atm/common.c 	if (sk_wmem_alloc_get(sk) && !atm_may_send(vcc, size)) {
vcc               102 net/atm/common.c 	struct atm_vcc *vcc = atm_sk(sk);
vcc               104 net/atm/common.c 	return (vcc->qos.txtp.max_sdu +
vcc               127 net/atm/common.c 	struct atm_vcc *vcc = atm_sk(sk);
vcc               129 net/atm/common.c 	if (vcc->release_cb)
vcc               130 net/atm/common.c 		vcc->release_cb(vcc);
vcc               143 net/atm/common.c 	struct atm_vcc *vcc;
vcc               155 net/atm/common.c 	vcc = atm_sk(sk);
vcc               156 net/atm/common.c 	vcc->dev = NULL;
vcc               157 net/atm/common.c 	memset(&vcc->local, 0, sizeof(struct sockaddr_atmsvc));
vcc               158 net/atm/common.c 	memset(&vcc->remote, 0, sizeof(struct sockaddr_atmsvc));
vcc               159 net/atm/common.c 	vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */
vcc               162 net/atm/common.c 	vcc->push = NULL;
vcc               163 net/atm/common.c 	vcc->pop = NULL;
vcc               164 net/atm/common.c 	vcc->owner = NULL;
vcc               165 net/atm/common.c 	vcc->push_oam = NULL;
vcc               166 net/atm/common.c 	vcc->release_cb = NULL;
vcc               167 net/atm/common.c 	vcc->vpi = vcc->vci = 0; /* no VCI/VPI yet */
vcc               168 net/atm/common.c 	vcc->atm_options = vcc->aal_options = 0;
vcc               175 net/atm/common.c 	struct atm_vcc *vcc = atm_sk(sk);
vcc               178 net/atm/common.c 	set_bit(ATM_VF_CLOSE, &vcc->flags);
vcc               179 net/atm/common.c 	clear_bit(ATM_VF_READY, &vcc->flags);
vcc               180 net/atm/common.c 	if (vcc->dev) {
vcc               181 net/atm/common.c 		if (vcc->dev->ops->close)
vcc               182 net/atm/common.c 			vcc->dev->ops->close(vcc);
vcc               183 net/atm/common.c 		if (vcc->push)
vcc               184 net/atm/common.c 			vcc->push(vcc, NULL); /* atmarpd has no push */
vcc               185 net/atm/common.c 		module_put(vcc->owner);
vcc               188 net/atm/common.c 			atm_return(vcc, skb->truesize);
vcc               192 net/atm/common.c 		module_put(vcc->dev->ops->owner);
vcc               193 net/atm/common.c 		atm_dev_put(vcc->dev);
vcc               213 net/atm/common.c void vcc_release_async(struct atm_vcc *vcc, int reply)
vcc               215 net/atm/common.c 	struct sock *sk = sk_atm(vcc);
vcc               217 net/atm/common.c 	set_bit(ATM_VF_CLOSE, &vcc->flags);
vcc               220 net/atm/common.c 	clear_bit(ATM_VF_WAITING, &vcc->flags);
vcc               225 net/atm/common.c void vcc_process_recv_queue(struct atm_vcc *vcc)
vcc               232 net/atm/common.c 	rq = &sk_atm(vcc)->sk_receive_queue;
vcc               240 net/atm/common.c 		vcc->push(vcc, skb);
vcc               271 net/atm/common.c 		struct atm_vcc *vcc;
vcc               274 net/atm/common.c 			vcc = atm_sk(s);
vcc               275 net/atm/common.c 			if (vcc->dev == dev) {
vcc               276 net/atm/common.c 				vcc_release_async(vcc, -EPIPE);
vcc               313 net/atm/common.c static int check_ci(const struct atm_vcc *vcc, short vpi, int vci)
vcc               321 net/atm/common.c 		if (walk->dev != vcc->dev)
vcc               325 net/atm/common.c 		    ATM_NONE && vcc->qos.txtp.traffic_class != ATM_NONE) ||
vcc               327 net/atm/common.c 		    vcc->qos.rxtp.traffic_class != ATM_NONE)))
vcc               338 net/atm/common.c static int find_ci(const struct atm_vcc *vcc, short *vpi, int *vci)
vcc               347 net/atm/common.c 		err = check_ci(vcc, *vpi, *vci);
vcc               353 net/atm/common.c 	else if (p >= 1 << vcc->dev->ci_range.vpi_bits)
vcc               357 net/atm/common.c 	else if (c < ATM_NOT_RSV_VCI || c >= 1 << vcc->dev->ci_range.vci_bits)
vcc               362 net/atm/common.c 		if (!check_ci(vcc, p, c)) {
vcc               369 net/atm/common.c 			if (c >= 1 << vcc->dev->ci_range.vci_bits)
vcc               375 net/atm/common.c 			if (p >= 1 << vcc->dev->ci_range.vpi_bits)
vcc               382 net/atm/common.c static int __vcc_connect(struct atm_vcc *vcc, struct atm_dev *dev, short vpi,
vcc               385 net/atm/common.c 	struct sock *sk = sk_atm(vcc);
vcc               397 net/atm/common.c 	vcc->dev = dev;
vcc               400 net/atm/common.c 	    (error = find_ci(vcc, &vpi, &vci))) {
vcc               404 net/atm/common.c 	vcc->vpi = vpi;
vcc               405 net/atm/common.c 	vcc->vci = vci;
vcc               408 net/atm/common.c 	switch (vcc->qos.aal) {
vcc               410 net/atm/common.c 		error = atm_init_aal0(vcc);
vcc               411 net/atm/common.c 		vcc->stats = &dev->stats.aal0;
vcc               414 net/atm/common.c 		error = atm_init_aal34(vcc);
vcc               415 net/atm/common.c 		vcc->stats = &dev->stats.aal34;
vcc               419 net/atm/common.c 		vcc->qos.aal = ATM_AAL5;
vcc               422 net/atm/common.c 		error = atm_init_aal5(vcc);
vcc               423 net/atm/common.c 		vcc->stats = &dev->stats.aal5;
vcc               429 net/atm/common.c 		error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal);
vcc               431 net/atm/common.c 		error = adjust_tp(&vcc->qos.rxtp, vcc->qos.aal);
vcc               434 net/atm/common.c 	pr_debug("VCC %d.%d, AAL %d\n", vpi, vci, vcc->qos.aal);
vcc               436 net/atm/common.c 		 vcc->qos.txtp.traffic_class,
vcc               437 net/atm/common.c 		 vcc->qos.txtp.min_pcr,
vcc               438 net/atm/common.c 		 vcc->qos.txtp.max_pcr,
vcc               439 net/atm/common.c 		 vcc->qos.txtp.max_sdu);
vcc               441 net/atm/common.c 		 vcc->qos.rxtp.traffic_class,
vcc               442 net/atm/common.c 		 vcc->qos.rxtp.min_pcr,
vcc               443 net/atm/common.c 		 vcc->qos.rxtp.max_pcr,
vcc               444 net/atm/common.c 		 vcc->qos.rxtp.max_sdu);
vcc               447 net/atm/common.c 		error = dev->ops->open(vcc);
vcc               458 net/atm/common.c 	vcc->dev = NULL;
vcc               465 net/atm/common.c 	struct atm_vcc *vcc = ATM_SD(sock);
vcc               477 net/atm/common.c 		clear_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc               479 net/atm/common.c 		if (test_bit(ATM_VF_PARTIAL, &vcc->flags))
vcc               483 net/atm/common.c 		 vcc->qos.txtp.traffic_class, vcc->qos.txtp.min_pcr,
vcc               484 net/atm/common.c 		 vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_sdu,
vcc               485 net/atm/common.c 		 vcc->qos.rxtp.traffic_class, vcc->qos.rxtp.min_pcr,
vcc               486 net/atm/common.c 		 vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_sdu,
vcc               487 net/atm/common.c 		 vcc->qos.aal == ATM_AAL5 ? "" :
vcc               488 net/atm/common.c 		 vcc->qos.aal == ATM_AAL0 ? "" : " ??? code ",
vcc               489 net/atm/common.c 		 vcc->qos.aal == ATM_AAL0 ? 0 : vcc->qos.aal);
vcc               490 net/atm/common.c 	if (!test_bit(ATM_VF_HASQOS, &vcc->flags))
vcc               492 net/atm/common.c 	if (vcc->qos.txtp.traffic_class == ATM_ANYCLASS ||
vcc               493 net/atm/common.c 	    vcc->qos.rxtp.traffic_class == ATM_ANYCLASS)
vcc               510 net/atm/common.c 	error = __vcc_connect(vcc, dev, vpi, vci);
vcc               516 net/atm/common.c 		set_bit(ATM_VF_PARTIAL, &vcc->flags);
vcc               526 net/atm/common.c 	struct atm_vcc *vcc;
vcc               537 net/atm/common.c 	vcc = ATM_SD(sock);
vcc               538 net/atm/common.c 	if (test_bit(ATM_VF_RELEASED, &vcc->flags) ||
vcc               539 net/atm/common.c 	    test_bit(ATM_VF_CLOSE, &vcc->flags) ||
vcc               540 net/atm/common.c 	    !test_bit(ATM_VF_READY, &vcc->flags))
vcc               561 net/atm/common.c 		atm_return(vcc, skb->truesize);
vcc               572 net/atm/common.c 	struct atm_vcc *vcc;
vcc               585 net/atm/common.c 	vcc = ATM_SD(sock);
vcc               586 net/atm/common.c 	if (test_bit(ATM_VF_RELEASED, &vcc->flags) ||
vcc               587 net/atm/common.c 	    test_bit(ATM_VF_CLOSE, &vcc->flags) ||
vcc               588 net/atm/common.c 	    !test_bit(ATM_VF_READY, &vcc->flags)) {
vcc               597 net/atm/common.c 	if (size > vcc->qos.txtp.max_sdu) {
vcc               605 net/atm/common.c 	while (!vcc_tx_ready(vcc, eff)) {
vcc               615 net/atm/common.c 		if (test_bit(ATM_VF_RELEASED, &vcc->flags) ||
vcc               616 net/atm/common.c 		    test_bit(ATM_VF_CLOSE, &vcc->flags) ||
vcc               617 net/atm/common.c 		    !test_bit(ATM_VF_READY, &vcc->flags)) {
vcc               634 net/atm/common.c 	atm_account_tx(vcc, skb);
vcc               644 net/atm/common.c 	error = vcc->dev->ops->send(vcc, skb);
vcc               654 net/atm/common.c 	struct atm_vcc *vcc;
vcc               660 net/atm/common.c 	vcc = ATM_SD(sock);
vcc               666 net/atm/common.c 	if (test_bit(ATM_VF_RELEASED, &vcc->flags) ||
vcc               667 net/atm/common.c 	    test_bit(ATM_VF_CLOSE, &vcc->flags))
vcc               676 net/atm/common.c 	    test_bit(ATM_VF_WAITING, &vcc->flags))
vcc               679 net/atm/common.c 	if (vcc->qos.txtp.traffic_class != ATM_NONE &&
vcc               686 net/atm/common.c static int atm_change_qos(struct atm_vcc *vcc, struct atm_qos *qos)
vcc               694 net/atm/common.c 	if (qos->aal != vcc->qos.aal ||
vcc               695 net/atm/common.c 	    qos->rxtp.traffic_class != vcc->qos.rxtp.traffic_class ||
vcc               696 net/atm/common.c 	    qos->txtp.traffic_class != vcc->qos.txtp.traffic_class)
vcc               703 net/atm/common.c 	if (!vcc->dev->ops->change_qos)
vcc               705 net/atm/common.c 	if (sk_atm(vcc)->sk_family == AF_ATMPVC)
vcc               706 net/atm/common.c 		return vcc->dev->ops->change_qos(vcc, qos, ATM_MF_SET);
vcc               707 net/atm/common.c 	return svc_change_qos(vcc, qos);
vcc               750 net/atm/common.c 	struct atm_vcc *vcc;
vcc               757 net/atm/common.c 	vcc = ATM_SD(sock);
vcc               769 net/atm/common.c 			return atm_change_qos(vcc, &qos);
vcc               772 net/atm/common.c 		vcc->qos = qos;
vcc               773 net/atm/common.c 		set_bit(ATM_VF_HASQOS, &vcc->flags);
vcc               780 net/atm/common.c 			vcc->atm_options |= ATM_ATMOPT_CLP;
vcc               782 net/atm/common.c 			vcc->atm_options &= ~ATM_ATMOPT_CLP;
vcc               789 net/atm/common.c 	if (!vcc->dev || !vcc->dev->ops->setsockopt)
vcc               791 net/atm/common.c 	return vcc->dev->ops->setsockopt(vcc, level, optname, optval, optlen);
vcc               797 net/atm/common.c 	struct atm_vcc *vcc;
vcc               805 net/atm/common.c 	vcc = ATM_SD(sock);
vcc               808 net/atm/common.c 		if (!test_bit(ATM_VF_HASQOS, &vcc->flags))
vcc               810 net/atm/common.c 		return copy_to_user(optval, &vcc->qos, sizeof(vcc->qos))
vcc               813 net/atm/common.c 		return put_user(vcc->atm_options & ATM_ATMOPT_CLP ? 1 : 0,
vcc               819 net/atm/common.c 		if (!vcc->dev || !test_bit(ATM_VF_ADDR, &vcc->flags))
vcc               823 net/atm/common.c 		pvc.sap_addr.itf = vcc->dev->number;
vcc               824 net/atm/common.c 		pvc.sap_addr.vpi = vcc->vpi;
vcc               825 net/atm/common.c 		pvc.sap_addr.vci = vcc->vci;
vcc               833 net/atm/common.c 	if (!vcc->dev || !vcc->dev->ops->getsockopt)
vcc               835 net/atm/common.c 	return vcc->dev->ops->getsockopt(vcc, level, optname, optval, len);
vcc                27 net/atm/common.h void vcc_process_recv_queue(struct atm_vcc *vcc);
vcc                52 net/atm/common.h int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos);
vcc                55 net/atm/ioctl.c 	struct atm_vcc *vcc;
vcc                60 net/atm/ioctl.c 	vcc = ATM_SD(sock);
vcc                64 net/atm/ioctl.c 		    !test_bit(ATM_VF_READY, &vcc->flags)) {
vcc               115 net/atm/ioctl.c 		error = sigd_attach(vcc);
vcc                82 net/atm/lec.c  				  struct atm_vcc *vcc, struct sk_buff *skb);
vcc                94 net/atm/lec.c  static int lec_mcast_make(struct lec_priv *priv, struct atm_vcc *vcc);
vcc               100 net/atm/lec.c  			  struct atm_vcc *vcc,
vcc               101 net/atm/lec.c  			  void (*old_push)(struct atm_vcc *vcc,
vcc               103 net/atm/lec.c  static void lec_vcc_close(struct lec_priv *priv, struct atm_vcc *vcc);
vcc               181 net/atm/lec.c  lec_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               185 net/atm/lec.c  	ATM_SKB(skb)->vcc = vcc;
vcc               186 net/atm/lec.c  	atm_account_tx(vcc, skb);
vcc               188 net/atm/lec.c  	if (vcc->send(vcc, skb) < 0) {
vcc               210 net/atm/lec.c  	struct atm_vcc *vcc;
vcc               283 net/atm/lec.c  	vcc = lec_arp_resolve(priv, dst, is_rdesc, &entry);
vcc               285 net/atm/lec.c  		 dev->name, vcc, vcc ? vcc->flags : 0, entry);
vcc               286 net/atm/lec.c  	if (!vcc || !test_bit(ATM_VF_READY, &vcc->flags)) {
vcc               301 net/atm/lec.c  	       dev->name, vcc->vpi, vcc->vci);
vcc               306 net/atm/lec.c  		lec_send(vcc, skb2);
vcc               309 net/atm/lec.c  	lec_send(vcc, skb);
vcc               311 net/atm/lec.c  	if (!atm_may_send(vcc, 0)) {
vcc               312 net/atm/lec.c  		struct lec_vcc_priv *vpriv = LEC_VCC_PRIV(vcc);
vcc               323 net/atm/lec.c  		if (atm_may_send(vcc, 0))
vcc               341 net/atm/lec.c  static int lec_atm_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               344 net/atm/lec.c  	struct net_device *dev = (struct net_device *)vcc->proto_data;
vcc               351 net/atm/lec.c  	WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc));
vcc               469 net/atm/lec.c  static void lec_atm_close(struct atm_vcc *vcc)
vcc               472 net/atm/lec.c  	struct net_device *dev = (struct net_device *)vcc->proto_data;
vcc               481 net/atm/lec.c  	if (skb_peek(&sk_atm(vcc)->sk_receive_queue))
vcc               483 net/atm/lec.c  	while ((skb = skb_dequeue(&sk_atm(vcc)->sk_receive_queue))) {
vcc               484 net/atm/lec.c  		atm_return(vcc, skb->truesize);
vcc               576 net/atm/lec.c  static int lec_is_data_direct(struct atm_vcc *vcc)
vcc               578 net/atm/lec.c  	return ((vcc->sap.blli[0].l3.tr9577.snap[4] == LEC_DATA_DIRECT_8023) ||
vcc               579 net/atm/lec.c  		(vcc->sap.blli[0].l3.tr9577.snap[4] == LEC_DATA_DIRECT_8025));
vcc               582 net/atm/lec.c  static void lec_push(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               585 net/atm/lec.c  	struct net_device *dev = (struct net_device *)vcc->proto_data;
vcc               590 net/atm/lec.c  	       dev->name, vcc->vpi, vcc->vci);
vcc               594 net/atm/lec.c  		lec_vcc_close(priv, vcc);
vcc               610 net/atm/lec.c  		struct sock *sk = sk_atm(vcc);
vcc               619 net/atm/lec.c  		atm_return(vcc, skb->truesize);
vcc               637 net/atm/lec.c  		if (lec_is_data_direct(vcc)) {
vcc               640 net/atm/lec.c  			if (entry && entry->vcc != vcc) {
vcc               654 net/atm/lec.c  			lec_arp_check_empties(priv, vcc, skb);
vcc               664 net/atm/lec.c  static void lec_pop(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               666 net/atm/lec.c  	struct lec_vcc_priv *vpriv = LEC_VCC_PRIV(vcc);
vcc               674 net/atm/lec.c  	vpriv->old_pop(vcc, skb);
vcc               676 net/atm/lec.c  	if (vpriv->xoff && atm_may_send(vcc, 0)) {
vcc               683 net/atm/lec.c  static int lec_vcc_attach(struct atm_vcc *vcc, void __user *arg)
vcc               702 net/atm/lec.c  	vpriv->old_pop = vcc->pop;
vcc               703 net/atm/lec.c  	vcc->user_back = vpriv;
vcc               704 net/atm/lec.c  	vcc->pop = lec_pop;
vcc               706 net/atm/lec.c  		      &ioc_data, vcc, vcc->push);
vcc               707 net/atm/lec.c  	vcc->proto_data = dev_lec[ioc_data.dev_num];
vcc               708 net/atm/lec.c  	vcc->push = lec_push;
vcc               712 net/atm/lec.c  static int lec_mcast_attach(struct atm_vcc *vcc, int arg)
vcc               719 net/atm/lec.c  	vcc->proto_data = dev_lec[arg];
vcc               720 net/atm/lec.c  	return lec_mcast_make(netdev_priv(dev_lec[arg]), vcc);
vcc               724 net/atm/lec.c  static int lecd_attach(struct atm_vcc *vcc, int arg)
vcc               757 net/atm/lec.c  	priv->lecd = vcc;
vcc               758 net/atm/lec.c  	vcc->dev = &lecatm_dev;
vcc               759 net/atm/lec.c  	vcc_insert_socket(sk_atm(vcc));
vcc               761 net/atm/lec.c  	vcc->proto_data = dev_lec[i];
vcc               762 net/atm/lec.c  	set_bit(ATM_VF_META, &vcc->flags);
vcc               763 net/atm/lec.c  	set_bit(ATM_VF_READY, &vcc->flags);
vcc               811 net/atm/lec.c  	if (entry->vcc)
vcc               812 net/atm/lec.c  		seq_printf(seq, "%3d %3d ", entry->vcc->vpi, entry->vcc->vci);
vcc               999 net/atm/lec.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc              1015 net/atm/lec.c  		err = lecd_attach(vcc, (int)arg);
vcc              1020 net/atm/lec.c  		err = lec_mcast_attach(vcc, (int)arg);
vcc              1023 net/atm/lec.c  		err = lec_vcc_attach(vcc, (void __user *)arg);
vcc              1257 net/atm/lec.c  	if (entry->vcc) {
vcc              1258 net/atm/lec.c  		struct atm_vcc *vcc = entry->vcc;
vcc              1259 net/atm/lec.c  		struct lec_vcc_priv *vpriv = LEC_VCC_PRIV(vcc);
vcc              1260 net/atm/lec.c  		struct net_device *dev = (struct net_device *)vcc->proto_data;
vcc              1262 net/atm/lec.c  		vcc->pop = vpriv->old_pop;
vcc              1266 net/atm/lec.c  		vcc->user_back = NULL;
vcc              1267 net/atm/lec.c  		vcc->push = entry->old_push;
vcc              1268 net/atm/lec.c  		vcc_release_async(vcc, -EPIPE);
vcc              1269 net/atm/lec.c  		entry->vcc = NULL;
vcc              1375 net/atm/lec.c  					  rulla->vcc ? rulla->vcc->vpi : 0,
vcc              1376 net/atm/lec.c  					  rulla->vcc ? rulla->vcc->vci : 0,
vcc              1403 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vpi : 0,
vcc              1404 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vci : 0,
vcc              1428 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vpi : 0,
vcc              1429 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vci : 0,
vcc              1453 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vpi : 0,
vcc              1454 net/atm/lec.c  				  rulla->vcc ? rulla->vcc->vci : 0,
vcc              1598 net/atm/lec.c  		 to_remove->vcc ? to_remove->recv_vcc->vpi : 0,
vcc              1599 net/atm/lec.c  		 to_remove->vcc ? to_remove->recv_vcc->vci : 0);
vcc              1688 net/atm/lec.c  				struct atm_vcc *vcc = entry->vcc;
vcc              1693 net/atm/lec.c  					lec_send(vcc, skb);
vcc              1742 net/atm/lec.c  			found = entry->vcc;
vcc              1773 net/atm/lec.c  			 entry->vcc);
vcc              1868 net/atm/lec.c  					tmp->vcc = entry->vcc;
vcc              1914 net/atm/lec.c  					entry->vcc = tmp->vcc;
vcc              1941 net/atm/lec.c  	      struct atm_vcc *vcc,
vcc              1942 net/atm/lec.c  	      void (*old_push) (struct atm_vcc *vcc, struct sk_buff *skb))
vcc              1959 net/atm/lec.c  		entry->recv_vcc = vcc;
vcc              1967 net/atm/lec.c  		entry->recv_vcc = vcc;
vcc              1992 net/atm/lec.c  		entry->recv_vcc = vcc;
vcc              2021 net/atm/lec.c  					 entry->vcc ? entry->vcc->vci : 0,
vcc              2026 net/atm/lec.c  				entry->vcc = vcc;
vcc              2073 net/atm/lec.c  	entry->vcc = vcc;
vcc              2103 net/atm/lec.c  				struct atm_vcc *vcc = entry->vcc;
vcc              2109 net/atm/lec.c  					lec_send(vcc, skb);
vcc              2143 net/atm/lec.c  static int lec_mcast_make(struct lec_priv *priv, struct atm_vcc *vcc)
vcc              2157 net/atm/lec.c  	vpriv->old_pop = vcc->pop;
vcc              2158 net/atm/lec.c  	vcc->user_back = vpriv;
vcc              2159 net/atm/lec.c  	vcc->pop = lec_pop;
vcc              2163 net/atm/lec.c  		vcc->pop = vpriv->old_pop;
vcc              2168 net/atm/lec.c  	memcpy(to_add->atm_addr, vcc->remote.sas_addr.prv, ATM_ESA_LEN);
vcc              2171 net/atm/lec.c  	to_add->vcc = vcc;
vcc              2172 net/atm/lec.c  	to_add->old_push = vcc->push;
vcc              2173 net/atm/lec.c  	vcc->push = lec_push;
vcc              2174 net/atm/lec.c  	priv->mcast_vcc = vcc;
vcc              2181 net/atm/lec.c  static void lec_vcc_close(struct lec_priv *priv, struct atm_vcc *vcc)
vcc              2188 net/atm/lec.c  	pr_debug("LEC_ARP: lec_vcc_close vpi:%d vci:%d\n", vcc->vpi, vcc->vci);
vcc              2196 net/atm/lec.c  			if (vcc == entry->vcc) {
vcc              2199 net/atm/lec.c  				if (priv->mcast_vcc == vcc)
vcc              2207 net/atm/lec.c  		if (entry->vcc == vcc) {
vcc              2217 net/atm/lec.c  		if (entry->recv_vcc == vcc) {
vcc              2226 net/atm/lec.c  		if (entry->recv_vcc == vcc) {
vcc              2240 net/atm/lec.c  		      struct atm_vcc *vcc, struct sk_buff *skb)
vcc              2251 net/atm/lec.c  		if (vcc == entry->vcc) {
vcc               149 net/atm/lec.h  	void (*old_pop) (struct atm_vcc *vcc, struct sk_buff *skb);
vcc               153 net/atm/lec.h  #define LEC_VCC_PRIV(vcc)	((struct lec_vcc_priv *)((vcc)->user_back))
vcc                19 net/atm/lec_arpc.h 	struct atm_vcc *vcc;		/* Vcc this entry is attached */
vcc                22 net/atm/lec_arpc.h 	void (*old_push) (struct atm_vcc *vcc, struct sk_buff *skb);
vcc                25 net/atm/lec_arpc.h 	void (*old_recv_push) (struct atm_vcc *vcc, struct sk_buff *skb);
vcc                87 net/atm/mpc.c  static void purge_egress_shortcut(struct atm_vcc *vcc, eg_cache_entry *entry);
vcc                90 net/atm/mpc.c  static void mpoad_close(struct atm_vcc *vcc);
vcc                91 net/atm/mpc.c  static int msg_from_mpoad(struct atm_vcc *vcc, struct sk_buff *skb);
vcc                93 net/atm/mpc.c  static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb);
vcc               142 net/atm/mpc.c  static struct mpoa_client *find_mpc_by_vcc(struct atm_vcc *vcc)
vcc               148 net/atm/mpc.c  		if (mpc->mpoad_vcc == vcc)
vcc               605 net/atm/mpc.c  static int atm_mpoa_vcc_attach(struct atm_vcc *vcc, void __user *arg)
vcc               639 net/atm/mpc.c  		in_entry->shortcut = vcc;
vcc               645 net/atm/mpc.c  	vcc->proto_data = mpc->dev;
vcc               646 net/atm/mpc.c  	vcc->push = mpc_push;
vcc               654 net/atm/mpc.c  static void mpc_vcc_close(struct atm_vcc *vcc, struct net_device *dev)
vcc               667 net/atm/mpc.c  	in_entry = mpc->in_ops->get_by_vcc(vcc, mpc);
vcc               674 net/atm/mpc.c  	eg_entry = mpc->eg_ops->get_by_vcc(vcc, mpc);
vcc               685 net/atm/mpc.c  static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               687 net/atm/mpc.c  	struct net_device *dev = (struct net_device *)vcc->proto_data;
vcc               697 net/atm/mpc.c  		mpc_vcc_close(vcc, dev);
vcc               704 net/atm/mpc.c  		struct sock *sk = sk_atm(vcc);
vcc               714 net/atm/mpc.c  	atm_return(vcc, skb->truesize);
vcc               745 net/atm/mpc.c  		purge_egress_shortcut(vcc, NULL);
vcc               755 net/atm/mpc.c  		eg->shortcut = vcc;
vcc               795 net/atm/mpc.c  static int atm_mpoa_mpoad_attach(struct atm_vcc *vcc, int arg)
vcc               836 net/atm/mpc.c  	mpc->mpoad_vcc = vcc;
vcc               837 net/atm/mpc.c  	vcc->dev = &mpc_dev;
vcc               838 net/atm/mpc.c  	vcc_insert_socket(sk_atm(vcc));
vcc               839 net/atm/mpc.c  	set_bit(ATM_VF_META, &vcc->flags);
vcc               840 net/atm/mpc.c  	set_bit(ATM_VF_READY, &vcc->flags);
vcc               869 net/atm/mpc.c  static void mpoad_close(struct atm_vcc *vcc)
vcc               874 net/atm/mpc.c  	mpc = find_mpc_by_vcc(vcc);
vcc               895 net/atm/mpc.c  	while ((skb = skb_dequeue(&sk_atm(vcc)->sk_receive_queue))) {
vcc               896 net/atm/mpc.c  		atm_return(vcc, skb->truesize);
vcc               908 net/atm/mpc.c  static int msg_from_mpoad(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               911 net/atm/mpc.c  	struct mpoa_client *mpc = find_mpc_by_vcc(vcc);
vcc               913 net/atm/mpc.c  	WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc));
vcc              1247 net/atm/mpc.c  static void purge_egress_shortcut(struct atm_vcc *vcc, eg_cache_entry *entry)
vcc              1254 net/atm/mpc.c  	if (vcc == NULL) {
vcc              1272 net/atm/mpc.c  	atm_force_charge(vcc, skb->truesize);
vcc              1274 net/atm/mpc.c  	sk = sk_atm(vcc);
vcc              1448 net/atm/mpc.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc              1458 net/atm/mpc.c  		err = atm_mpoa_mpoad_attach(vcc, (int)arg);
vcc              1463 net/atm/mpc.c  		err = atm_mpoa_vcc_attach(vcc, (void __user *)arg);
vcc                77 net/atm/mpoa_caches.c static in_cache_entry *in_cache_get_by_vcc(struct atm_vcc *vcc,
vcc                85 net/atm/mpoa_caches.c 		if (entry->shortcut == vcc) {
vcc               193 net/atm/mpoa_caches.c 	struct atm_vcc *vcc;
vcc               196 net/atm/mpoa_caches.c 	vcc = entry->shortcut;
vcc               213 net/atm/mpoa_caches.c 	if (vcc != NULL) {
vcc               214 net/atm/mpoa_caches.c 		eg_cache_entry *eg_entry = client->eg_ops->get_by_vcc(vcc,
vcc               220 net/atm/mpoa_caches.c 		vcc_release_async(vcc, -EPIPE);
vcc               374 net/atm/mpoa_caches.c static eg_cache_entry *eg_cache_get_by_vcc(struct atm_vcc *vcc,
vcc               383 net/atm/mpoa_caches.c 		if (entry->shortcut == vcc) {
vcc               428 net/atm/mpoa_caches.c 	struct atm_vcc *vcc;
vcc               431 net/atm/mpoa_caches.c 	vcc = entry->shortcut;
vcc               446 net/atm/mpoa_caches.c 	if (vcc != NULL) {
vcc               447 net/atm/mpoa_caches.c 		in_cache_entry *in_entry = client->in_ops->get_by_vcc(vcc, client);
vcc               452 net/atm/mpoa_caches.c 		vcc_release_async(vcc, -EPIPE);
vcc                41 net/atm/mpoa_caches.h 	in_cache_entry *(*get_by_vcc)(struct atm_vcc *vcc,
vcc                71 net/atm/mpoa_caches.h 	eg_cache_entry *(*get_by_vcc)(struct atm_vcc *vcc, struct mpoa_client *client);
vcc               290 net/atm/pppoatm.c 	struct atm_vcc *vcc;
vcc               293 net/atm/pppoatm.c 	ATM_SKB(skb)->vcc = pvcc->atmvcc;
vcc               298 net/atm/pppoatm.c 	vcc = ATM_SKB(skb)->vcc;
vcc               299 net/atm/pppoatm.c 	bh_lock_sock(sk_atm(vcc));
vcc               300 net/atm/pppoatm.c 	if (sock_owned_by_user(sk_atm(vcc))) {
vcc               309 net/atm/pppoatm.c 	if (test_bit(ATM_VF_RELEASED, &vcc->flags) ||
vcc               310 net/atm/pppoatm.c 	    test_bit(ATM_VF_CLOSE, &vcc->flags) ||
vcc               311 net/atm/pppoatm.c 	    !test_bit(ATM_VF_READY, &vcc->flags)) {
vcc               312 net/atm/pppoatm.c 		bh_unlock_sock(sk_atm(vcc));
vcc               330 net/atm/pppoatm.c 				bh_unlock_sock(sk_atm(vcc));
vcc               342 net/atm/pppoatm.c 		bh_unlock_sock(sk_atm(vcc));
vcc               348 net/atm/pppoatm.c 	atm_account_tx(vcc, skb);
vcc               350 net/atm/pppoatm.c 		 skb, ATM_SKB(skb)->vcc, ATM_SKB(skb)->vcc->dev);
vcc               351 net/atm/pppoatm.c 	ret = ATM_SKB(skb)->vcc->send(ATM_SKB(skb)->vcc, skb)
vcc               353 net/atm/pppoatm.c 	bh_unlock_sock(sk_atm(vcc));
vcc               356 net/atm/pppoatm.c 	bh_unlock_sock(sk_atm(vcc));
vcc               142 net/atm/proc.c static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc)
vcc               153 net/atm/proc.c 		   vcc->dev->number, vcc->vpi, vcc->vci,
vcc               154 net/atm/proc.c 		   vcc->qos.aal >= ARRAY_SIZE(aal_name) ? "err" :
vcc               155 net/atm/proc.c 		   aal_name[vcc->qos.aal], vcc->qos.rxtp.min_pcr,
vcc               156 net/atm/proc.c 		   class_name[vcc->qos.rxtp.traffic_class],
vcc               157 net/atm/proc.c 		   vcc->qos.txtp.min_pcr,
vcc               158 net/atm/proc.c 		   class_name[vcc->qos.txtp.traffic_class]);
vcc               159 net/atm/proc.c 	if (test_bit(ATM_VF_IS_CLIP, &vcc->flags)) {
vcc               160 net/atm/proc.c 		struct clip_vcc *clip_vcc = CLIP_VCC(vcc);
vcc               171 net/atm/proc.c static const char *vcc_state(struct atm_vcc *vcc)
vcc               175 net/atm/proc.c 	return map[ATM_VF2VS(vcc->flags)];
vcc               178 net/atm/proc.c static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc)
vcc               180 net/atm/proc.c 	struct sock *sk = sk_atm(vcc);
vcc               182 net/atm/proc.c 	seq_printf(seq, "%pK ", vcc);
vcc               183 net/atm/proc.c 	if (!vcc->dev)
vcc               186 net/atm/proc.c 		seq_printf(seq, "%3d %3d %5d ", vcc->dev->number, vcc->vpi,
vcc               187 net/atm/proc.c 			vcc->vci);
vcc               199 net/atm/proc.c 		   vcc->flags, sk->sk_err,
vcc               205 net/atm/proc.c static void svc_info(struct seq_file *seq, struct atm_vcc *vcc)
vcc               207 net/atm/proc.c 	if (!vcc->dev)
vcc               209 net/atm/proc.c 			   "N/A@%pK%10s" : "N/A@%pK%2s", vcc, "");
vcc               212 net/atm/proc.c 			   vcc->dev->number, vcc->vpi, vcc->vci);
vcc               213 net/atm/proc.c 	seq_printf(seq, "%-10s ", vcc_state(vcc));
vcc               214 net/atm/proc.c 	seq_printf(seq, "%s%s", vcc->remote.sas_addr.pub,
vcc               215 net/atm/proc.c 	    *vcc->remote.sas_addr.pub && *vcc->remote.sas_addr.prv ? "+" : "");
vcc               216 net/atm/proc.c 	if (*vcc->remote.sas_addr.prv) {
vcc               220 net/atm/proc.c 			seq_printf(seq, "%02x", vcc->remote.sas_addr.prv[i]);
vcc               257 net/atm/proc.c 		struct atm_vcc *vcc = atm_sk(state->sk);
vcc               259 net/atm/proc.c 		pvc_info(seq, vcc);
vcc               279 net/atm/proc.c 		struct atm_vcc *vcc = atm_sk(state->sk);
vcc               281 net/atm/proc.c 		vcc_info(seq, vcc);
vcc               302 net/atm/proc.c 		struct atm_vcc *vcc = atm_sk(state->sk);
vcc               304 net/atm/proc.c 		svc_info(seq, vcc);
vcc                10 net/atm/protocols.h int atm_init_aal0(struct atm_vcc *vcc);	/* "raw" AAL0 */
vcc                11 net/atm/protocols.h int atm_init_aal34(struct atm_vcc *vcc);/* "raw" AAL3/4 transport */
vcc                12 net/atm/protocols.h int atm_init_aal5(struct atm_vcc *vcc);	/* "raw" AAL5 transport */
vcc                32 net/atm/pvc.c  	struct atm_vcc *vcc;
vcc                41 net/atm/pvc.c  	vcc = ATM_SD(sock);
vcc                42 net/atm/pvc.c  	if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) {
vcc                46 net/atm/pvc.c  	if (test_bit(ATM_VF_PARTIAL, &vcc->flags)) {
vcc                47 net/atm/pvc.c  		if (vcc->vpi != ATM_VPI_UNSPEC)
vcc                48 net/atm/pvc.c  			addr->sap_addr.vpi = vcc->vpi;
vcc                49 net/atm/pvc.c  		if (vcc->vci != ATM_VCI_UNSPEC)
vcc                50 net/atm/pvc.c  			addr->sap_addr.vci = vcc->vci;
vcc                93 net/atm/pvc.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc                95 net/atm/pvc.c  	if (!vcc->dev || !test_bit(ATM_VF_ADDR, &vcc->flags))
vcc               100 net/atm/pvc.c  	addr->sap_addr.itf = vcc->dev->number;
vcc               101 net/atm/pvc.c  	addr->sap_addr.vpi = vcc->vpi;
vcc               102 net/atm/pvc.c  	addr->sap_addr.vci = vcc->vci;
vcc                23 net/atm/raw.c  static void atm_push_raw(struct atm_vcc *vcc, struct sk_buff *skb)
vcc                26 net/atm/raw.c  		struct sock *sk = sk_atm(vcc);
vcc                33 net/atm/raw.c  static void atm_pop_raw(struct atm_vcc *vcc, struct sk_buff *skb)
vcc                35 net/atm/raw.c  	struct sock *sk = sk_atm(vcc);
vcc                38 net/atm/raw.c  		 vcc->vci, sk_wmem_alloc_get(sk), ATM_SKB(skb)->acct_truesize);
vcc                44 net/atm/raw.c  static int atm_send_aal0(struct atm_vcc *vcc, struct sk_buff *skb)
vcc                52 net/atm/raw.c  	    ((vcc->vpi << ATM_HDR_VPI_SHIFT) |
vcc                53 net/atm/raw.c  	     (vcc->vci << ATM_HDR_VCI_SHIFT))) {
vcc                57 net/atm/raw.c  	return vcc->dev->ops->send(vcc, skb);
vcc                60 net/atm/raw.c  int atm_init_aal0(struct atm_vcc *vcc)
vcc                62 net/atm/raw.c  	vcc->push = atm_push_raw;
vcc                63 net/atm/raw.c  	vcc->pop = atm_pop_raw;
vcc                64 net/atm/raw.c  	vcc->push_oam = NULL;
vcc                65 net/atm/raw.c  	vcc->send = atm_send_aal0;
vcc                69 net/atm/raw.c  int atm_init_aal34(struct atm_vcc *vcc)
vcc                71 net/atm/raw.c  	vcc->push = atm_push_raw;
vcc                72 net/atm/raw.c  	vcc->pop = atm_pop_raw;
vcc                73 net/atm/raw.c  	vcc->push_oam = NULL;
vcc                74 net/atm/raw.c  	vcc->send = vcc->dev->ops->send;
vcc                78 net/atm/raw.c  int atm_init_aal5(struct atm_vcc *vcc)
vcc                80 net/atm/raw.c  	vcc->push = atm_push_raw;
vcc                81 net/atm/raw.c  	vcc->pop = atm_pop_raw;
vcc                82 net/atm/raw.c  	vcc->push_oam = NULL;
vcc                83 net/atm/raw.c  	vcc->send = vcc->dev->ops->send;
vcc                37 net/atm/signaling.c static void modify_qos(struct atm_vcc *vcc, struct atmsvc_msg *msg)
vcc                41 net/atm/signaling.c 	if (test_bit(ATM_VF_RELEASED, &vcc->flags) ||
vcc                42 net/atm/signaling.c 	    !test_bit(ATM_VF_READY, &vcc->flags))
vcc                45 net/atm/signaling.c 	if (!vcc->dev->ops->change_qos)
vcc                49 net/atm/signaling.c 		msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos,
vcc                64 net/atm/signaling.c static int sigd_send(struct atm_vcc *vcc, struct sk_buff *skb)
vcc                71 net/atm/signaling.c 	WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc));
vcc                72 net/atm/signaling.c 	vcc = *(struct atm_vcc **) &msg->vcc;
vcc                73 net/atm/signaling.c 	pr_debug("%d (0x%lx)\n", (int)msg->type, (unsigned long)vcc);
vcc                74 net/atm/signaling.c 	sk = sk_atm(vcc);
vcc                79 net/atm/signaling.c 		clear_bit(ATM_VF_WAITING, &vcc->flags);
vcc                80 net/atm/signaling.c 		if (!*vcc->local.sas_addr.prv && !*vcc->local.sas_addr.pub) {
vcc                81 net/atm/signaling.c 			vcc->local.sas_family = AF_ATMSVC;
vcc                82 net/atm/signaling.c 			memcpy(vcc->local.sas_addr.prv,
vcc                84 net/atm/signaling.c 			memcpy(vcc->local.sas_addr.pub,
vcc                87 net/atm/signaling.c 		session_vcc = vcc->session ? vcc->session : vcc;
vcc                97 net/atm/signaling.c 		clear_bit(ATM_VF_REGIS, &vcc->flags);
vcc                98 net/atm/signaling.c 		clear_bit(ATM_VF_READY, &vcc->flags);
vcc               100 net/atm/signaling.c 		clear_bit(ATM_VF_WAITING, &vcc->flags);
vcc               103 net/atm/signaling.c 		vcc = *(struct atm_vcc **)&msg->listen_vcc;
vcc               104 net/atm/signaling.c 		sk = sk_atm(vcc);
vcc               108 net/atm/signaling.c 			sigd_enq(NULL, as_reject, vcc, NULL, NULL);
vcc               120 net/atm/signaling.c 		set_bit(ATM_VF_RELEASED, &vcc->flags);
vcc               121 net/atm/signaling.c 		vcc_release_async(vcc, msg->reply);
vcc               124 net/atm/signaling.c 		modify_qos(vcc, msg);
vcc               130 net/atm/signaling.c 		clear_bit(ATM_VF_WAITING, &vcc->flags);
vcc               142 net/atm/signaling.c void sigd_enq2(struct atm_vcc *vcc, enum atmsvc_msg_type type,
vcc               151 net/atm/signaling.c 	pr_debug("%d (0x%p)\n", (int)type, vcc);
vcc               156 net/atm/signaling.c 	*(struct atm_vcc **) &msg->vcc = vcc;
vcc               161 net/atm/signaling.c 	if (vcc)
vcc               162 net/atm/signaling.c 		msg->sap = vcc->sap;
vcc               165 net/atm/signaling.c 	if (vcc)
vcc               166 net/atm/signaling.c 		msg->local = vcc->local;
vcc               169 net/atm/signaling.c 	if (vcc) {
vcc               170 net/atm/signaling.c 		if (type == as_connect && test_bit(ATM_VF_SESSION, &vcc->flags))
vcc               175 net/atm/signaling.c 	if (vcc)
vcc               176 net/atm/signaling.c 		set_bit(ATM_VF_REGIS, &vcc->flags);
vcc               179 net/atm/signaling.c void sigd_enq(struct atm_vcc *vcc, enum atmsvc_msg_type type,
vcc               183 net/atm/signaling.c 	sigd_enq2(vcc, type, listen_vcc, pvc, svc, vcc ? &vcc->qos : NULL, 0);
vcc               187 net/atm/signaling.c static void purge_vcc(struct atm_vcc *vcc)
vcc               189 net/atm/signaling.c 	if (sk_atm(vcc)->sk_family == PF_ATMSVC &&
vcc               190 net/atm/signaling.c 	    !test_bit(ATM_VF_META, &vcc->flags)) {
vcc               191 net/atm/signaling.c 		set_bit(ATM_VF_RELEASED, &vcc->flags);
vcc               192 net/atm/signaling.c 		clear_bit(ATM_VF_REGIS, &vcc->flags);
vcc               193 net/atm/signaling.c 		vcc_release_async(vcc, -EUNATCH);
vcc               197 net/atm/signaling.c static void sigd_close(struct atm_vcc *vcc)
vcc               204 net/atm/signaling.c 	if (skb_peek(&sk_atm(vcc)->sk_receive_queue))
vcc               206 net/atm/signaling.c 	skb_queue_purge(&sk_atm(vcc)->sk_receive_queue);
vcc               213 net/atm/signaling.c 			vcc = atm_sk(s);
vcc               215 net/atm/signaling.c 			purge_vcc(vcc);
vcc               233 net/atm/signaling.c int sigd_attach(struct atm_vcc *vcc)
vcc               238 net/atm/signaling.c 	sigd = vcc;
vcc               239 net/atm/signaling.c 	vcc->dev = &sigd_dev;
vcc               240 net/atm/signaling.c 	vcc_insert_socket(sk_atm(vcc));
vcc               241 net/atm/signaling.c 	set_bit(ATM_VF_META, &vcc->flags);
vcc               242 net/atm/signaling.c 	set_bit(ATM_VF_READY, &vcc->flags);
vcc                23 net/atm/signaling.h void sigd_enq2(struct atm_vcc *vcc,enum atmsvc_msg_type type,
vcc                26 net/atm/signaling.h void sigd_enq(struct atm_vcc *vcc,enum atmsvc_msg_type type,
vcc                29 net/atm/signaling.h int sigd_attach(struct atm_vcc *vcc);
vcc                46 net/atm/svc.c  static void svc_disconnect(struct atm_vcc *vcc)
vcc                50 net/atm/svc.c  	struct sock *sk = sk_atm(vcc);
vcc                52 net/atm/svc.c  	pr_debug("%p\n", vcc);
vcc                53 net/atm/svc.c  	if (test_bit(ATM_VF_REGIS, &vcc->flags)) {
vcc                54 net/atm/svc.c  		sigd_enq(vcc, as_close, NULL, NULL, NULL);
vcc                57 net/atm/svc.c  			if (test_bit(ATM_VF_RELEASED, &vcc->flags) || !sigd)
vcc                66 net/atm/svc.c  		atm_return(vcc, skb->truesize);
vcc                68 net/atm/svc.c  		sigd_enq2(NULL, as_reject, vcc, NULL, NULL, &vcc->qos, 0);
vcc                71 net/atm/svc.c  	clear_bit(ATM_VF_REGIS, &vcc->flags);
vcc                78 net/atm/svc.c  	struct atm_vcc *vcc;
vcc                81 net/atm/svc.c  		vcc = ATM_SD(sock);
vcc                82 net/atm/svc.c  		pr_debug("%p\n", vcc);
vcc                83 net/atm/svc.c  		clear_bit(ATM_VF_READY, &vcc->flags);
vcc                89 net/atm/svc.c  		svc_disconnect(vcc);
vcc               101 net/atm/svc.c  	struct atm_vcc *vcc;
vcc               115 net/atm/svc.c  	vcc = ATM_SD(sock);
vcc               121 net/atm/svc.c  	clear_bit(ATM_VF_BOUND, &vcc->flags);
vcc               124 net/atm/svc.c  	if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) {
vcc               128 net/atm/svc.c  	vcc->local = *addr;
vcc               129 net/atm/svc.c  	set_bit(ATM_VF_WAITING, &vcc->flags);
vcc               130 net/atm/svc.c  	sigd_enq(vcc, as_bind, NULL, NULL, &vcc->local);
vcc               133 net/atm/svc.c  		if (!test_bit(ATM_VF_WAITING, &vcc->flags) || !sigd)
vcc               138 net/atm/svc.c  	clear_bit(ATM_VF_REGIS, &vcc->flags); /* doesn't count */
vcc               144 net/atm/svc.c  		set_bit(ATM_VF_BOUND, &vcc->flags);
vcc               157 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc               160 net/atm/svc.c  	pr_debug("%p\n", vcc);
vcc               175 net/atm/svc.c  		if (test_bit(ATM_VF_WAITING, &vcc->flags)) {
vcc               191 net/atm/svc.c  		if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) {
vcc               195 net/atm/svc.c  		if (vcc->qos.txtp.traffic_class == ATM_ANYCLASS ||
vcc               196 net/atm/svc.c  		    vcc->qos.rxtp.traffic_class == ATM_ANYCLASS) {
vcc               200 net/atm/svc.c  		if (!vcc->qos.txtp.traffic_class &&
vcc               201 net/atm/svc.c  		    !vcc->qos.rxtp.traffic_class) {
vcc               205 net/atm/svc.c  		vcc->remote = *addr;
vcc               206 net/atm/svc.c  		set_bit(ATM_VF_WAITING, &vcc->flags);
vcc               207 net/atm/svc.c  		sigd_enq(vcc, as_connect, NULL, NULL, &vcc->remote);
vcc               215 net/atm/svc.c  		while (test_bit(ATM_VF_WAITING, &vcc->flags) && sigd) {
vcc               235 net/atm/svc.c  			sigd_enq(vcc, as_close, NULL, NULL, NULL);
vcc               236 net/atm/svc.c  			while (test_bit(ATM_VF_WAITING, &vcc->flags) && sigd) {
vcc               242 net/atm/svc.c  				while (!test_bit(ATM_VF_RELEASED, &vcc->flags) &&
vcc               248 net/atm/svc.c  			clear_bit(ATM_VF_REGIS, &vcc->flags);
vcc               249 net/atm/svc.c  			clear_bit(ATM_VF_RELEASED, &vcc->flags);
vcc               250 net/atm/svc.c  			clear_bit(ATM_VF_CLOSE, &vcc->flags);
vcc               268 net/atm/svc.c  	vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp);
vcc               269 net/atm/svc.c  	vcc->qos.txtp.pcr = 0;
vcc               270 net/atm/svc.c  	vcc->qos.txtp.min_pcr = 0;
vcc               272 net/atm/svc.c  	error = vcc_connect(sock, vcc->itf, vcc->vpi, vcc->vci);
vcc               276 net/atm/svc.c  		(void)svc_disconnect(vcc);
vcc               286 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc               289 net/atm/svc.c  	pr_debug("%p\n", vcc);
vcc               292 net/atm/svc.c  	if (test_bit(ATM_VF_SESSION, &vcc->flags)) {
vcc               296 net/atm/svc.c  	if (test_bit(ATM_VF_LISTEN, &vcc->flags)) {
vcc               300 net/atm/svc.c  	set_bit(ATM_VF_WAITING, &vcc->flags);
vcc               301 net/atm/svc.c  	sigd_enq(vcc, as_listen, NULL, NULL, &vcc->local);
vcc               304 net/atm/svc.c  		if (!test_bit(ATM_VF_WAITING, &vcc->flags) || !sigd)
vcc               313 net/atm/svc.c  	set_bit(ATM_VF_LISTEN, &vcc->flags);
vcc               432 net/atm/svc.c  int svc_change_qos(struct atm_vcc *vcc, struct atm_qos *qos)
vcc               434 net/atm/svc.c  	struct sock *sk = sk_atm(vcc);
vcc               437 net/atm/svc.c  	set_bit(ATM_VF_WAITING, &vcc->flags);
vcc               438 net/atm/svc.c  	sigd_enq2(vcc, as_modify, NULL, NULL, &vcc->local, qos, 0);
vcc               441 net/atm/svc.c  		if (!test_bit(ATM_VF_WAITING, &vcc->flags) ||
vcc               442 net/atm/svc.c  		    test_bit(ATM_VF_RELEASED, &vcc->flags) || !sigd) {
vcc               457 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc               467 net/atm/svc.c  		if (copy_from_user(&vcc->sap, optval, optlen)) {
vcc               471 net/atm/svc.c  		set_bit(ATM_VF_HASSAP, &vcc->flags);
vcc               483 net/atm/svc.c  			set_bit(ATM_VF_SESSION, &vcc->flags);
vcc               485 net/atm/svc.c  			clear_bit(ATM_VF_SESSION, &vcc->flags);
vcc               531 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc               535 net/atm/svc.c  	set_bit(ATM_VF_WAITING, &vcc->flags);
vcc               536 net/atm/svc.c  	sigd_enq(vcc, as_addparty, NULL, NULL,
vcc               545 net/atm/svc.c  		if (!test_bit(ATM_VF_WAITING, &vcc->flags) || !sigd)
vcc               560 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc               564 net/atm/svc.c  	set_bit(ATM_VF_WAITING, &vcc->flags);
vcc               565 net/atm/svc.c  	sigd_enq2(vcc, as_dropparty, NULL, NULL, NULL, NULL, ep_ref);
vcc               568 net/atm/svc.c  		if (!test_bit(ATM_VF_WAITING, &vcc->flags) || !sigd)
vcc               587 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
vcc               591 net/atm/svc.c  		if (!test_bit(ATM_VF_SESSION, &vcc->flags))
vcc               599 net/atm/svc.c  		if (!test_bit(ATM_VF_SESSION, &vcc->flags))
vcc                42 net/sched/sch_atm.c #define VCC2FLOW(vcc) ((struct atm_flow_data *) ((vcc)->user_back))
vcc                49 net/sched/sch_atm.c 	struct atm_vcc		*vcc;	/* VCC; NULL if VCC is closed */
vcc                50 net/sched/sch_atm.c 	void			(*old_pop)(struct atm_vcc *vcc,
vcc               159 net/sched/sch_atm.c 		flow->vcc->pop = flow->old_pop;
vcc               172 net/sched/sch_atm.c static void sch_atm_pop(struct atm_vcc *vcc, struct sk_buff *skb)
vcc               174 net/sched/sch_atm.c 	struct atm_qdisc_data *p = VCC2FLOW(vcc)->parent;
vcc               176 net/sched/sch_atm.c 	pr_debug("sch_atm_pop(vcc %p,skb %p,[qdisc %p])\n", vcc, skb, p);
vcc               177 net/sched/sch_atm.c 	VCC2FLOW(vcc)->old_pop(vcc, skb);
vcc               301 net/sched/sch_atm.c 	flow->vcc = ATM_SD(sock);	/* speedup */
vcc               302 net/sched/sch_atm.c 	flow->vcc->user_back = flow;
vcc               303 net/sched/sch_atm.c 	pr_debug("atm_tc_change: vcc %p\n", flow->vcc);
vcc               304 net/sched/sch_atm.c 	flow->old_pop = flow->vcc->pop;
vcc               306 net/sched/sch_atm.c 	flow->vcc->pop = sch_atm_pop;
vcc               412 net/sched/sch_atm.c 		if (flow->vcc)
vcc               413 net/sched/sch_atm.c 			ATM_SKB(skb)->atm_options = flow->vcc->atm_options;
vcc               485 net/sched/sch_atm.c 			if (!atm_may_send(flow->vcc, skb->truesize))
vcc               508 net/sched/sch_atm.c 			ATM_SKB(skb)->vcc = flow->vcc;
vcc               512 net/sched/sch_atm.c 				   &sk_atm(flow->vcc)->sk_wmem_alloc);
vcc               514 net/sched/sch_atm.c 			flow->vcc->send(flow->vcc, skb);
vcc               562 net/sched/sch_atm.c 	p->link.vcc = NULL;
vcc               620 net/sched/sch_atm.c 	if (flow->vcc) {
vcc               626 net/sched/sch_atm.c 		pvc.sap_addr.itf = flow->vcc->dev ? flow->vcc->dev->number : -1;
vcc               627 net/sched/sch_atm.c 		pvc.sap_addr.vpi = flow->vcc->vpi;
vcc               628 net/sched/sch_atm.c 		pvc.sap_addr.vci = flow->vcc->vci;
vcc               631 net/sched/sch_atm.c 		state = ATM_VF2VS(flow->vcc->flags);