Lines Matching refs:vpi

125 static int idt77252_open(struct atm_vcc *vcc, short vpi, int vci);
784 card->name, vc->tx_vcc->vpi, vc->tx_vcc->vci); in push_on_scq()
906 tbd->word_4 = (vcc->vpi << SAR_TBD_VPI_SHIFT) | in queue_skb()
1022 u32 header, vpi, vci; in dequeue_rx() local
1044 vpi = (header >> 16) & 0x00ff; in dequeue_rx()
1048 card->name, vpi, vci, skb, skb->data); in dequeue_rx()
1050 if ((vpi >= (1 << card->vpibits)) || (vci != (vci & card->vcimask))) { in dequeue_rx()
1052 card->name, vpi, vci); in dequeue_rx()
1057 vc = card->vcs[VPCI2VC(card, vpi, vci)]; in dequeue_rx()
1060 card->name, vpi, vci); in dequeue_rx()
1091 aal0 = (vpi << ATM_HDR_VPI_SHIFT) | in dequeue_rx()
1273 unsigned int vpi, vci, pti; in idt77252_rx_raw() local
1278 vpi = (header & ATM_HDR_VPI_MASK) >> ATM_HDR_VPI_SHIFT; in idt77252_rx_raw()
1298 if (vpi >= (1<<card->vpibits) || vci >= (1<<card->vcibits)) { in idt77252_rx_raw()
1300 card->name, vpi, vci); in idt77252_rx_raw()
1304 vc = card->vcs[VPCI2VC(card, vpi, vci)]; in idt77252_rx_raw()
1307 card->name, vpi, vci); in idt77252_rx_raw()
1315 card->name, vpi, vci); in idt77252_rx_raw()
1420 unsigned int vpi, vci; in idt77252_tx() local
1496 vpi = (conn >> SAR_TBD_VPI_SHIFT) & 0x00ff; in idt77252_tx()
1499 if (vpi >= (1 << card->vpibits) || in idt77252_tx()
1503 card->name, vpi, vci); in idt77252_tx()
1507 vc = card->vcs[VPCI2VC(card, vpi, vci)]; in idt77252_tx()
1511 card->name, vpi, vci); in idt77252_tx()
2405 idt77252_find_vcc(struct atm_vcc *vcc, short *vpi, int *vci) in idt77252_find_vcc() argument
2411 if (*vpi == ATM_VPI_ANY) { in idt77252_find_vcc()
2412 *vpi = 0; in idt77252_find_vcc()
2418 if ((walk->vci == *vci) && (walk->vpi == *vpi)) { in idt77252_find_vcc()
2419 (*vpi)++; in idt77252_find_vcc()
2434 if ((walk->vci == *vci) && (walk->vpi == *vpi)) { in idt77252_find_vcc()
2448 idt77252_open(struct atm_vcc *vcc, short vpi, int vci) in idt77252_open() argument
2457 idt77252_find_vcc(vcc, &vpi, &vci); in idt77252_open()
2459 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) in idt77252_open()
2462 if (vpi >= (1 << card->vpibits)) { in idt77252_open()
2463 printk("%s: unsupported VPI: %d\n", card->name, vpi); in idt77252_open()
2472 vcc->vpi = vpi; in idt77252_open()
2478 OPRINTK("%s: opening vpi.vci: %d.%d\n", card->name, vpi, vci); in idt77252_open()
2491 index = VPCI2VC(card, vpi, vci); in idt77252_open()
2511 card->name, vc->index, vcc->vpi, vcc->vci, in idt77252_open()
2567 card->name, vc->index, vcc->vpi, vcc->vci); in idt77252_close()
2754 p += sprintf(p, " %4u: %u.%u: ", i, vcc->vpi, vcc->vci); in idt77252_proc_read()
2962 int vpi, vci; in open_card_oam() local
2966 for (vpi = 0; vpi < (1 << card->vpibits); vpi++) { in open_card_oam()
2968 index = VPCI2VC(card, vpi, vci); in open_card_oam()
3007 int vpi, vci; in close_card_oam() local
3010 for (vpi = 0; vpi < (1 << card->vpibits); vpi++) { in close_card_oam()
3012 index = VPCI2VC(card, vpi, vci); in close_card_oam()