Lines Matching refs:vpi
221 static int ns_open(struct atm_vcc *vcc, short vpi, int vci);
1376 static int ns_open(struct atm_vcc *vcc, short vpi, int vci) in ns_open() argument
1393 PRINTK("nicstar%d: opening vpi.vci %d.%d \n", card->index, (int) vpi, vci); in ns_open()
1400 if ((error = atm_find_ci(vcc, &vpi, &vci))) in ns_open()
1405 vc = &(card->vcmap[vpi << card->vcibits | vci]); in ns_open()
1406 vcc->vpi = vpi; in ns_open()
1555 ns_write_sram(card, NS_RCT + (vpi << card->vcibits | vci) * in ns_open()
1577 (int) vcc->vpi, vcc->vci); in ns_close()
1586 addr = NS_RCT + (vcc->vpi << card->vcibits | vcc->vci) * NS_RCT_ENTRY_SIZE; in ns_close()
1822 scqe.word_4 = ns_tbd_mkword_4(0, (u32) vcc->vpi, (u32) vcc->vci, 0, in ns_send()
1836 scqe.word_4 |= cpu_to_le32((((u32) vcc->vpi) << NS_TBD_VPI_SHIFT | in ns_send()
2125 u32 vpi, vci; in dequeue_rx() local
2140 vpi = ns_rsqe_vpi(rsqe); in dequeue_rx()
2142 if (vpi >= 1UL << card->vpibits || vci >= 1UL << card->vcibits) in dequeue_rx()
2145 card->index, vpi, vci); in dequeue_rx()
2150 vc = &(card->vcmap[vpi << card->vcibits | vci]); in dequeue_rx()
2154 card->index, vpi, vci); in dequeue_rx()
2748 card->tste2vc[left + 1]->tx_vcc->vpi, in ns_proc_read()