Lines Matching refs:vpi
141 only the vpi vs vci bit allocation can be specified at insmod.
516 static inline int channel_to_vpivci (const u16 channel, short * vpi, int * vci) {
520 *vpi = channel >> vci_bits;
526 static inline int vpivci_to_channel (u16 * channel, const short vpi, const int vci) {
528 if (0 <= vpi && vpi < 1<<vpi_bits && 0 <= vci && vci < 1<<vci_bits) {
529 *channel = vpi<<vci_bits | vci;
2142 short vpi = atm_vcc->vpi;
2144 PRINTD (DBG_FLOW|DBG_VCC, "hrz_open %x %x", vpi, vci);
2148 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) {
2154 error = vpivci_to_channel (&channel, vpi, vci);
2156 PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci);
2821 // vpi in 0..4, vci in 6..10