vpi 690 arch/powerpc/mm/book3s64/hash_native.c unsigned long avpn, pteg, vpi; vpi 725 arch/powerpc/mm/book3s64/hash_native.c vpi = (vsid ^ pteg) & htab_hash_mask; vpi 726 arch/powerpc/mm/book3s64/hash_native.c seg_off |= vpi << shift; vpi 735 arch/powerpc/mm/book3s64/hash_native.c vpi = (vsid ^ (vsid << 25) ^ pteg) & htab_hash_mask; vpi 736 arch/powerpc/mm/book3s64/hash_native.c seg_off |= vpi << shift; vpi 92 drivers/atm/adummy.c short vpi = vcc->vpi; vpi 95 drivers/atm/adummy.c if (vci == ATM_VCI_UNSPEC || vpi == ATM_VPI_UNSPEC) vpi 1012 drivers/atm/ambassador.c short vpi = atm_vcc->vpi; vpi 1015 drivers/atm/ambassador.c PRINTD (DBG_FLOW|DBG_VCC, "amb_open %x %x", vpi, vci); vpi 1019 drivers/atm/ambassador.c if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) { vpi 1025 drivers/atm/ambassador.c if (!(0 <= vpi && vpi < (1<<NUM_VPI_BITS) && vpi 1027 drivers/atm/ambassador.c PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci); vpi 93 drivers/atm/atmtcp.c vcc->vpi = msg->addr.sap_addr.vpi; vpi 124 drivers/atm/atmtcp.c short vpi = vcc->vpi; vpi 129 drivers/atm/atmtcp.c msg.hdr.vpi = htons(vpi); vpi 130 drivers/atm/atmtcp.c msg.addr.sap_addr.vpi = vpi; vpi 133 drivers/atm/atmtcp.c if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) return 0; vpi 150 drivers/atm/atmtcp.c msg.addr.sap_addr.vpi = vcc->vpi; vpi 178 drivers/atm/atmtcp.c if ((vcc->vpi >> ci.vpi_bits) || vpi 222 drivers/atm/atmtcp.c hdr->vpi = htons(vcc->vpi); vpi 263 drivers/atm/atmtcp.c static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) vpi 274 drivers/atm/atmtcp.c vcc->vci == vci && vcc->vpi == vpi && vpi 300 drivers/atm/atmtcp.c out_vcc = find_vcc(dev, ntohs(hdr->vpi), ntohs(hdr->vci)); vpi 851 drivers/atm/eni.c if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) { vpi 1916 drivers/atm/eni.c short vpi = vcc->vpi; vpi 1923 drivers/atm/eni.c if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) vpi 1927 drivers/atm/eni.c DPRINTK(DEV_LABEL "(itf %d): open %d.%d\n",vcc->dev->number,vcc->vpi, vpi 1943 drivers/atm/eni.c if (vci == ATM_VPI_UNSPEC || vpi == ATM_VCI_UNSPEC) return 0; vpi 861 drivers/atm/firestream.c short vpi = atm_vcc->vpi; vpi 870 drivers/atm/firestream.c if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) vpi 878 drivers/atm/firestream.c atm_vcc->dev->number, atm_vcc->vpi, atm_vcc->vci); vpi 922 drivers/atm/firestream.c vcc->channo = (vpi << FS155_VCI_BITS) | (vci); vpi 973 drivers/atm/firestream.c tc->atm_hdr = (vpi << 20) | (vci << 4); vpi 1081 drivers/atm/firestream.c (vpi << 16) | vci, 0 ); /* XXX -- Use defines. */ vpi 981 drivers/atm/fore200e.c (rpd->atm_header.vpi << ATM_HDR_VPI_SHIFT) | vpi 1038 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci); vpi 1102 drivers/atm/fore200e.c vc_map = FORE200E_VC_MAP(fore200e, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); vpi 1109 drivers/atm/fore200e.c entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); vpi 1122 drivers/atm/fore200e.c entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); vpi 1218 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, scheme); vpi 1251 drivers/atm/fore200e.c vpvc.vpi = vcc->vpi; vpi 1276 drivers/atm/fore200e.c activate ? "open" : "close", vcc->itf, vcc->vpi, vcc->vci); vpi 1280 drivers/atm/fore200e.c DPRINTK(1, "VC %d.%d.%d %sed\n", vcc->itf, vcc->vpi, vcc->vci, vpi 1313 drivers/atm/fore200e.c short vpi = vcc->vpi; vpi 1315 drivers/atm/fore200e.c ASSERT((vpi >= 0) && (vpi < 1<<FORE200E_VPI_BITS)); vpi 1320 drivers/atm/fore200e.c vc_map = FORE200E_VC_MAP(fore200e, vpi, vci); vpi 1326 drivers/atm/fore200e.c fore200e->atm_dev->number, vpi, vci); vpi 1343 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), vpi 1395 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), vpi 1425 drivers/atm/fore200e.c ASSERT((vcc->vpi >= 0) && (vcc->vpi < 1<<FORE200E_VPI_BITS)); vpi 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)); vpi 1436 drivers/atm/fore200e.c vc_map = FORE200E_VC_MAP(fore200e, vcc->vpi, vcc->vci); vpi 1441 drivers/atm/fore200e.c vcc->itf = vcc->vci = vcc->vpi = 0; vpi 1499 drivers/atm/fore200e.c DPRINTK(1, "VC %d.%d.%d not ready for tx\n", vcc->itf, vcc->vpi, vcc->vpi); vpi 1554 drivers/atm/fore200e.c vc_map = FORE200E_VC_MAP(fore200e, vcc->vpi, vcc->vci); vpi 1621 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), vpi 1638 drivers/atm/fore200e.c tpd->atm_header.vpi = (*cell_header & ATM_HDR_VPI_MASK) >> ATM_HDR_VPI_SHIFT; vpi 1646 drivers/atm/fore200e.c tpd->atm_header.vpi = vcc->vpi; vpi 1720 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, level, optname, optval, optlen); vpi 1732 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, level, optname, optval, optlen); vpi 1916 drivers/atm/fore200e.c DPRINTK(1, "VC %d.%d.%d not ready for QoS change\n", vcc->itf, vcc->vpi, vcc->vpi); vpi 1924 drivers/atm/fore200e.c vcc->itf, vcc->vpi, vcc->vci, vpi 3003 drivers/atm/fore200e.c vcc->vpi, vcc->vci, fore200e_atm2fore_aal(vcc->qos.aal), vpi 94 drivers/atm/fore200e.h u32 vpi : 8, /* virtual path identifier */ vpi 272 drivers/atm/fore200e.h u32 vpi : 8, /* virtual path identifier */ vpi 826 drivers/atm/fore200e.h #define FORE200E_VC_MAP(fore200e, vpi, vci) \ vpi 827 drivers/atm/fore200e.h (& (fore200e)->vc_map[ ((vpi) << FORE200E_VCI_BITS) | (vci) ]) vpi 220 drivers/atm/he.c #define he_mkcid(dev, vpi, vci) (((vpi << (dev)->vcibits) | vci) & 0x1fff) vpi 333 drivers/atm/he.c short vpi; vpi 336 drivers/atm/he.c vpi = cid >> he_dev->vcibits; vpi 343 drivers/atm/he.c vcc->vci == vci && vcc->vpi == vpi && vpi 1719 drivers/atm/he.c vcc->vpi, vcc->vci); vpi 1727 drivers/atm/he.c HPRINTK("charge failed (%d.%d)\n", vcc->vpi, vcc->vci); vpi 1751 drivers/atm/he.c if (vcc->vpi == 0 && vcc->vci >= ATM_NOT_RSV_VCI) { vpi 1838 drivers/atm/he.c he_mkcid(he_dev, tpd->vcc->vpi, tpd->vcc->vci)); vpi 2125 drivers/atm/he.c short vpi = vcc->vpi; vpi 2128 drivers/atm/he.c if (vci == ATM_VCI_UNSPEC || vpi == ATM_VPI_UNSPEC) vpi 2131 drivers/atm/he.c HPRINTK("open vcc %p %d.%d\n", vcc, vpi, vci); vpi 2135 drivers/atm/he.c cid = he_mkcid(he_dev, vpi, vci); vpi 2303 drivers/atm/he.c if (vpi == 0 && vci >= ATM_NOT_RSV_VCI) vpi 2342 drivers/atm/he.c HPRINTK("close vcc %p %d.%d\n", vcc, vcc->vpi, vcc->vci); vpi 2345 drivers/atm/he.c cid = he_mkcid(he_dev, vcc->vpi, vcc->vci); vpi 2493 drivers/atm/he.c unsigned cid = he_mkcid(he_dev, vcc->vpi, vcc->vci); vpi 2501 drivers/atm/he.c HPRINTK("send %d.%d\n", vcc->vpi, vcc->vci); vpi 496 drivers/atm/horizon.c static inline int vpivci_to_channel (u16 * channel, const short vpi, const int vci) { vpi 498 drivers/atm/horizon.c if (0 <= vpi && vpi < 1<<vpi_bits && 0 <= vci && vci < 1<<vci_bits) { vpi 499 drivers/atm/horizon.c *channel = vpi<<vci_bits | vci; vpi 2105 drivers/atm/horizon.c short vpi = atm_vcc->vpi; vpi 2107 drivers/atm/horizon.c PRINTD (DBG_FLOW|DBG_VCC, "hrz_open %x %x", vpi, vci); vpi 2111 drivers/atm/horizon.c if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) { vpi 2117 drivers/atm/horizon.c error = vpivci_to_channel (&channel, vpi, vci); vpi 2119 drivers/atm/horizon.c PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci); vpi 779 drivers/atm/idt77252.c card->name, vc->tx_vcc->vpi, vc->tx_vcc->vci); vpi 901 drivers/atm/idt77252.c tbd->word_4 = (vcc->vpi << SAR_TBD_VPI_SHIFT) | vpi 1016 drivers/atm/idt77252.c u32 header, vpi, vci; vpi 1038 drivers/atm/idt77252.c vpi = (header >> 16) & 0x00ff; vpi 1042 drivers/atm/idt77252.c card->name, vpi, vci, skb, skb->data); vpi 1044 drivers/atm/idt77252.c if ((vpi >= (1 << card->vpibits)) || (vci != (vci & card->vcimask))) { vpi 1046 drivers/atm/idt77252.c card->name, vpi, vci); vpi 1051 drivers/atm/idt77252.c vc = card->vcs[VPCI2VC(card, vpi, vci)]; vpi 1054 drivers/atm/idt77252.c card->name, vpi, vci); vpi 1086 drivers/atm/idt77252.c aal0 = (vpi << ATM_HDR_VPI_SHIFT) | vpi 1261 drivers/atm/idt77252.c unsigned int vpi, vci; vpi 1266 drivers/atm/idt77252.c vpi = (header & ATM_HDR_VPI_MASK) >> ATM_HDR_VPI_SHIFT; vpi 1285 drivers/atm/idt77252.c if (vpi >= (1<<card->vpibits) || vci >= (1<<card->vcibits)) { vpi 1287 drivers/atm/idt77252.c card->name, vpi, vci); vpi 1291 drivers/atm/idt77252.c vc = card->vcs[VPCI2VC(card, vpi, vci)]; vpi 1294 drivers/atm/idt77252.c card->name, vpi, vci); vpi 1302 drivers/atm/idt77252.c card->name, vpi, vci); vpi 1406 drivers/atm/idt77252.c unsigned int vpi, vci; vpi 1482 drivers/atm/idt77252.c vpi = (conn >> SAR_TBD_VPI_SHIFT) & 0x00ff; vpi 1485 drivers/atm/idt77252.c if (vpi >= (1 << card->vpibits) || vpi 1489 drivers/atm/idt77252.c card->name, vpi, vci); vpi 1493 drivers/atm/idt77252.c vc = card->vcs[VPCI2VC(card, vpi, vci)]; vpi 1497 drivers/atm/idt77252.c card->name, vpi, vci); vpi 2394 drivers/atm/idt77252.c short vpi = vcc->vpi; vpi 2396 drivers/atm/idt77252.c if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) vpi 2399 drivers/atm/idt77252.c if (vpi >= (1 << card->vpibits)) { vpi 2400 drivers/atm/idt77252.c printk("%s: unsupported VPI: %d\n", card->name, vpi); vpi 2413 drivers/atm/idt77252.c OPRINTK("%s: opening vpi.vci: %d.%d\n", card->name, vpi, vci); vpi 2426 drivers/atm/idt77252.c index = VPCI2VC(card, vpi, vci); vpi 2444 drivers/atm/idt77252.c card->name, vc->index, vcc->vpi, vcc->vci, vpi 2499 drivers/atm/idt77252.c card->name, vc->index, vcc->vpi, vcc->vci); vpi 2685 drivers/atm/idt77252.c p += sprintf(p, " %4u: %u.%u: ", i, vcc->vpi, vcc->vci); vpi 2851 drivers/atm/idt77252.c int vpi, vci; vpi 2855 drivers/atm/idt77252.c for (vpi = 0; vpi < (1 << card->vpibits); vpi++) { vpi 2857 drivers/atm/idt77252.c index = VPCI2VC(card, vpi, vci); vpi 2894 drivers/atm/idt77252.c int vpi, vci; vpi 2897 drivers/atm/idt77252.c for (vpi = 0; vpi < (1 << card->vpibits); vpi++) { vpi 2899 drivers/atm/idt77252.c index = VPCI2VC(card, vpi, vci); vpi 43 drivers/atm/idt77252.h #define VPCI2VC(card, vpi, vci) \ vpi 44 drivers/atm/idt77252.h (((vpi) << card->vcibits) | ((vci) & card->vcimask)) vpi 1379 drivers/atm/iphase.c IF_EVENT(printk("iadev: open_rx %d.%d\n", vcc->vpi, vcc->vci);) vpi 2700 drivers/atm/iphase.c if (vcc->vci != ATM_VPI_UNSPEC && vcc->vpi != ATM_VCI_UNSPEC) vpi 2708 drivers/atm/iphase.c vcc->dev->number, vcc->vpi, vcc->vci);) vpi 318 drivers/atm/iphase.h unsigned short vpi; vpi 2313 drivers/atm/lanai.c short vpi = atmvcc->vpi; vpi 2316 drivers/atm/lanai.c (vpi == ATM_VPI_UNSPEC) || (vci == ATM_VCI_UNSPEC)) vpi 2319 drivers/atm/lanai.c result = lanai_normalize_ci(lanai, atmvcc, &vpi, &vci); vpi 2326 drivers/atm/lanai.c (int) vpi, vci); vpi 1242 drivers/atm/nicstar.c short vpi = vcc->vpi; vpi 1246 drivers/atm/nicstar.c PRINTK("nicstar%d: opening vpi.vci %d.%d \n", card->index, (int)vpi, vpi 1253 drivers/atm/nicstar.c vc = &(card->vcmap[vpi << card->vcibits | vci]); vpi 1400 drivers/atm/nicstar.c (vpi << card->vcibits | vci) * vpi 1420 drivers/atm/nicstar.c (int)vcc->vpi, vcc->vci); vpi 1430 drivers/atm/nicstar.c (vcc->vpi << card->vcibits | vcc->vci) * NS_RCT_ENTRY_SIZE; vpi 1676 drivers/atm/nicstar.c ns_tbd_mkword_4(0, (u32) vcc->vpi, (u32) vcc->vci, 0, vpi 1693 drivers/atm/nicstar.c vpi) << NS_TBD_VPI_SHIFT | ((u32) vcc-> vpi 1966 drivers/atm/nicstar.c u32 vpi, vci; vpi 1998 drivers/atm/nicstar.c vpi = ns_rsqe_vpi(rsqe); vpi 2000 drivers/atm/nicstar.c if (vpi >= 1UL << card->vpibits || vci >= 1UL << card->vcibits) { vpi 2002 drivers/atm/nicstar.c card->index, vpi, vci); vpi 2007 drivers/atm/nicstar.c vc = &(card->vcmap[vpi << card->vcibits | vci]); vpi 2010 drivers/atm/nicstar.c card->index, vpi, vci); vpi 2457 drivers/atm/nicstar.c card->tste2vc[left + 1]->tx_vcc->vpi, vpi 237 drivers/atm/nicstar.h #define ns_tbd_mkword_4(gfc, vpi, vci, pt, clp) \ vpi 238 drivers/atm/nicstar.h (cpu_to_le32((gfc) << 28 | (vpi) << 20 | (vci) << 4 | (pt) << 1 | (clp))) vpi 86 drivers/atm/solos-pci.c __le16 vpi; vpi 166 drivers/atm/solos-pci.c static struct atm_vcc* find_vcc(struct atm_dev *dev, short vpi, int vci); vpi 206 drivers/atm/solos-pci.c header->vpi = cpu_to_le16(0); vpi 262 drivers/atm/solos-pci.c header->vpi = cpu_to_le16(0); vpi 483 drivers/atm/solos-pci.c header->vpi = cpu_to_le16(0); vpi 821 drivers/atm/solos-pci.c size, le16_to_cpu(header->vpi), vpi 828 drivers/atm/solos-pci.c vcc = find_vcc(card->atmdev[port], le16_to_cpu(header->vpi), vpi 833 drivers/atm/solos-pci.c le16_to_cpu(header->vpi), le16_to_cpu(header->vci), vpi 897 drivers/atm/solos-pci.c static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) vpi 908 drivers/atm/solos-pci.c vcc->vpi == vpi && vcc->qos.rxtp.traffic_class != ATM_NONE && vpi 939 drivers/atm/solos-pci.c header->vpi = cpu_to_le16(vcc->vpi); vpi 976 drivers/atm/solos-pci.c header->vpi = cpu_to_le16(vcc->vpi); vpi 1113 drivers/atm/solos-pci.c size, le16_to_cpu(header->vpi), vpi 1169 drivers/atm/solos-pci.c header->vpi = cpu_to_le16(vcc->vpi); vpi 1393 drivers/atm/solos-pci.c header->vpi = cpu_to_le16(0); vpi 570 drivers/atm/zatm.c if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) { vpi 988 drivers/atm/zatm.c uPD98401_TXVC_SHP_SHIFT) | (vcc->vpi << uPD98401_TXVC_VPI_SHIFT) | vpi 1390 drivers/atm/zatm.c short vpi = vcc->vpi; vpi 1397 drivers/atm/zatm.c if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) vpi 1400 drivers/atm/zatm.c DPRINTK(DEV_LABEL "(itf %d): open %d.%d\n",vcc->dev->number,vcc->vpi, vpi 1419 drivers/atm/zatm.c if (vci == ATM_VPI_UNSPEC || vpi == ATM_VCI_UNSPEC) return 0; vpi 716 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c struct virtchnl_promisc_info vpi; vpi 749 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c vpi.vsi_id = adapter->vsi_res->vsi_id; vpi 750 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c vpi.flags = flags; vpi 752 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c (u8 *)&vpi, sizeof(vpi)); vpi 359 drivers/scsi/lpfc/lpfc.h uint16_t vpi; vpi 2121 drivers/scsi/lpfc/lpfc_attr.c return scnprintf(buf, PAGE_SIZE, "NPIV Virtual (VPI %d)\n", vport->vpi); vpi 2044 drivers/scsi/lpfc/lpfc_bsg.c phba->vpi_ids[phba->pport->vpi]); vpi 2563 drivers/scsi/lpfc/lpfc_bsg.c status = lpfc_reg_rpi(phba, phba->pport->vpi, vpi 2620 drivers/scsi/lpfc/lpfc_bsg.c lpfc_unreg_login(phba, phba->pport->vpi, vpi 2912 drivers/scsi/lpfc/lpfc_ct.c if (vport->vpi) vpi 5896 drivers/scsi/lpfc/lpfc_debugfs.c snprintf(name, sizeof(name), "vport%d", vport->vpi); vpi 276 drivers/scsi/lpfc/lpfc_els.c icmd->ulpContext = phba->vpi_ids[vport->vpi]; vpi 408 drivers/scsi/lpfc/lpfc_els.c rc = lpfc_reg_rpi(phba, vport->vpi, Fabric_DID, (uint8_t *)sp, mbox, vpi 8799 drivers/scsi/lpfc/lpfc_els.c if (icmd->unsli3.rcvsli3.vpi == 0xffff) vpi 8803 drivers/scsi/lpfc/lpfc_els.c icmd->unsli3.rcvsli3.vpi); vpi 9003 drivers/scsi/lpfc/lpfc_els.c lpfc_init_vpi(phba, pmb, vport->vpi); vpi 10028 drivers/scsi/lpfc/lpfc_els.c vport->vpi, ndlp->nlp_rpi, ndlp->nlp_state, vpi 2883 drivers/scsi/lpfc/lpfc_hbadisc.c int rc, vpi; vpi 2885 drivers/scsi/lpfc/lpfc_hbadisc.c if ((vport->port_type != LPFC_PHYSICAL_PORT) && (!vport->vpi)) { vpi 2886 drivers/scsi/lpfc/lpfc_hbadisc.c vpi = lpfc_alloc_vpi(vport->phba); vpi 2887 drivers/scsi/lpfc/lpfc_hbadisc.c if (!vpi) { vpi 2894 drivers/scsi/lpfc/lpfc_hbadisc.c vport->vpi = vpi; vpi 2904 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_init_vpi(vport->phba, mboxq, vport->vpi); vpi 2934 drivers/scsi/lpfc/lpfc_hbadisc.c if (vports[i]->vpi > phba->max_vpi) { vpi 3620 drivers/scsi/lpfc/lpfc_hbadisc.c vport->vpi, mb->mbxStatus); vpi 3651 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_unreg_vpi(phba, vport->vpi, mbox); vpi 4949 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_unreg_login(phba, vport->vpi, rpi, mbox); vpi 5040 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_unreg_login(phba, vport->vpi, LPFC_UNREG_ALL_RPIS_VPORT, vpi 5069 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_unreg_did(phba, vport->vpi, LPFC_UNREG_ALL_DFLT_RPIS, vpi 5225 drivers/scsi/lpfc/lpfc_hbadisc.c rc = lpfc_reg_rpi(phba, vport->vpi, ndlp->nlp_DID, vpi 5868 drivers/scsi/lpfc/lpfc_hbadisc.c vport->vpi ? "FDISC" : "FLOGI"); vpi 6182 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_find_vport_by_vpid(struct lpfc_hba *phba, uint16_t vpi) vpi 6189 drivers/scsi/lpfc/lpfc_hbadisc.c if (vpi > 0) { vpi 6195 drivers/scsi/lpfc/lpfc_hbadisc.c if (vpi == phba->vpi_ids[i]) vpi 6202 drivers/scsi/lpfc/lpfc_hbadisc.c "to vpi %d\n", vpi); vpi 6209 drivers/scsi/lpfc/lpfc_hbadisc.c if (vport->vpi == i) { vpi 2542 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2544 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2791 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2793 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2826 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2834 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2849 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2857 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2877 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2879 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2894 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 2896 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 3953 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 3960 drivers/scsi/lpfc/lpfc_hw.h uint16_t vpi; vpi 3385 drivers/scsi/lpfc/lpfc_init.c vports[i]->vpi = 0; vpi 53 drivers/scsi/lpfc/lpfc_logmsg.h fmt, (vport)->phba->brd_no, vport->vpi, ##arg); } \ vpi 602 drivers/scsi/lpfc/lpfc_mbox.c lpfc_read_sparam(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, int vpi) vpi 631 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRdSparm.vpi = phba->vpi_ids[vpi]; vpi 655 drivers/scsi/lpfc/lpfc_mbox.c lpfc_unreg_did(struct lpfc_hba * phba, uint16_t vpi, uint32_t did, vpi 664 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregDID.vpi = vpi; vpi 665 drivers/scsi/lpfc/lpfc_mbox.c if ((vpi != 0xffff) && vpi 667 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregDID.vpi = phba->vpi_ids[vpi]; vpi 750 drivers/scsi/lpfc/lpfc_mbox.c lpfc_reg_rpi(struct lpfc_hba *phba, uint16_t vpi, uint32_t did, vpi 763 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegLogin.vpi = phba->vpi_ids[vpi]; vpi 776 drivers/scsi/lpfc/lpfc_mbox.c "rpi x%x\n", vpi, did, rpi); vpi 814 drivers/scsi/lpfc/lpfc_mbox.c lpfc_unreg_login(struct lpfc_hba *phba, uint16_t vpi, uint32_t rpi, vpi 825 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregLogin.vpi = phba->vpi_ids[vpi]; vpi 856 drivers/scsi/lpfc/lpfc_mbox.c lpfc_unreg_login(phba, vport->vpi, phba->vpi_ids[vport->vpi], vpi 897 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegVpi.vpi = phba->vpi_ids[vport->vpi]; vpi 931 drivers/scsi/lpfc/lpfc_mbox.c lpfc_unreg_vpi(struct lpfc_hba *phba, uint16_t vpi, LPFC_MBOXQ_t *pmb) vpi 937 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregVpi.vpi = phba->vpi_ids[vpi]; vpi 939 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregVpi.sli4_vpi = phba->vpi_ids[vpi]; vpi 2130 drivers/scsi/lpfc/lpfc_mbox.c vport->phba->vpi_ids[vport->vpi]); vpi 2160 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_reg_vfi_vpi, reg_vfi, phba->vpi_ids[vport->vpi]); vpi 2208 drivers/scsi/lpfc/lpfc_mbox.c phba->vpi_ids[vport->vpi], vpi 2227 drivers/scsi/lpfc/lpfc_mbox.c lpfc_init_vpi(struct lpfc_hba *phba, struct lpfcMboxq *mbox, uint16_t vpi) vpi 2232 drivers/scsi/lpfc/lpfc_mbox.c phba->vpi_ids[vpi]); vpi 459 drivers/scsi/lpfc/lpfc_nportdisc.c rc = lpfc_reg_rpi(phba, vport->vpi, icmd->un.rcvels.remoteID, vpi 909 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_unreg_login(phba, vport->vpi, rpi, pmb); vpi 1282 drivers/scsi/lpfc/lpfc_nportdisc.c if (lpfc_reg_rpi(phba, vport->vpi, irsp->un.elsreq64.remoteID, vpi 1759 drivers/scsi/lpfc/lpfc_nportdisc.c mb->un.varRegLogin.vpi, vpi 2465 drivers/scsi/lpfc/lpfc_sli.c uint16_t rpi, vpi; vpi 2483 drivers/scsi/lpfc/lpfc_sli.c vpi = pmb->u.mb.un.varRegLogin.vpi; vpi 2485 drivers/scsi/lpfc/lpfc_sli.c vpi -= phba->sli4_hba.max_cfg_param.vpi_base; vpi 2486 drivers/scsi/lpfc/lpfc_sli.c lpfc_unreg_login(phba, vpi, rpi, pmb); vpi 2581 drivers/scsi/lpfc/lpfc_sli.c vport->vpi, ndlp->nlp_rpi, vpi 2680 drivers/scsi/lpfc/lpfc_sli.c pmb->vport ? pmb->vport->vpi : 0, vpi 2701 drivers/scsi/lpfc/lpfc_sli.c pmb->vport ? pmb->vport->vpi : 0, vpi 2723 drivers/scsi/lpfc/lpfc_sli.c pmb->vport ? pmb->vport->vpi : 0, vpi 5233 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 7309 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 7434 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_read_sparam(phba, mboxq, vport->vpi); vpi 8075 drivers/scsi/lpfc/lpfc_sli.c pmbox->vport ? pmbox->vport->vpi : 0, vpi 8087 drivers/scsi/lpfc/lpfc_sli.c pmbox->vport ? pmbox->vport->vpi : 0, vpi 8106 drivers/scsi/lpfc/lpfc_sli.c pmbox->vport ? pmbox->vport->vpi : 0, vpi 8118 drivers/scsi/lpfc/lpfc_sli.c pmbox->vport ? pmbox->vport->vpi : 0, vpi 8133 drivers/scsi/lpfc/lpfc_sli.c pmbox->vport ? pmbox->vport->vpi : 0xffffff, vpi 8171 drivers/scsi/lpfc/lpfc_sli.c pmbox->vport ? pmbox->vport->vpi : 0, vpi 8186 drivers/scsi/lpfc/lpfc_sli.c pmbox->vport ? pmbox->vport->vpi : 0, vpi 8562 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 8633 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mbx_cmnd, vpi 8683 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 8703 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 8720 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 8737 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 8760 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 8776 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0xffffff, vpi 8861 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mbx_cmnd, vpi 8889 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, vpi 9399 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_ids[iocbq->vport->vpi]); vpi 9709 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_ids[iocbq->vport->vpi]); vpi 9726 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_ids[phba->pport->vpi]); vpi 9805 drivers/scsi/lpfc/lpfc_sli.c phba->vpi_ids[phba->pport->vpi]); vpi 10154 drivers/scsi/lpfc/lpfc_sli.c uint16_t rpi = 0, vpi = 0; vpi 10158 drivers/scsi/lpfc/lpfc_sli.c vpi = iocbq->iocb.un.asyncstat.sub_ctxt_tag; vpi 10164 drivers/scsi/lpfc/lpfc_sli.c vpi, rpi, iocbq->iocb.ulpStatus); vpi 10166 drivers/scsi/lpfc/lpfc_sli.c vport = lpfc_find_vport_by_vpid(phba, vpi); vpi 10182 drivers/scsi/lpfc/lpfc_sli.c vpi, rpi); vpi 10214 drivers/scsi/lpfc/lpfc_sli.c ndlp->vport->vpi, phba->sli4_hba.rpi_ids[ndlp->nlp_rpi], vpi 12515 drivers/scsi/lpfc/lpfc_sli.c (vport ? vport->vpi : 0), vpi 12557 drivers/scsi/lpfc/lpfc_sli.c vport->vpi, vpi 13144 drivers/scsi/lpfc/lpfc_sli.c lpfc_unreg_login(phba, vport->vpi, vpi 17792 drivers/scsi/lpfc/lpfc_sli.c first_iocbq->iocb.unsli3.rcvsli3.vpi = vpi 17793 drivers/scsi/lpfc/lpfc_sli.c vport->phba->vpi_ids[vport->vpi]; vpi 18456 drivers/scsi/lpfc/lpfc_sli.c lpfc_init_vpi(phba, mboxq, vport->vpi); vpi 90 drivers/scsi/lpfc/lpfc_vport.c unsigned long vpi; vpi 94 drivers/scsi/lpfc/lpfc_vport.c vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); vpi 95 drivers/scsi/lpfc/lpfc_vport.c if (vpi > phba->max_vpi) vpi 96 drivers/scsi/lpfc/lpfc_vport.c vpi = 0; vpi 98 drivers/scsi/lpfc/lpfc_vport.c set_bit(vpi, phba->vpi_bmask); vpi 102 drivers/scsi/lpfc/lpfc_vport.c return vpi; vpi 106 drivers/scsi/lpfc/lpfc_vport.c lpfc_free_vpi(struct lpfc_hba *phba, int vpi) vpi 108 drivers/scsi/lpfc/lpfc_vport.c if (vpi == 0) vpi 111 drivers/scsi/lpfc/lpfc_vport.c clear_bit(vpi, phba->vpi_bmask); vpi 131 drivers/scsi/lpfc/lpfc_vport.c rc = lpfc_read_sparam(phba, pmb, vport->vpi); vpi 303 drivers/scsi/lpfc/lpfc_vport.c int vpi; vpi 325 drivers/scsi/lpfc/lpfc_vport.c vpi = lpfc_alloc_vpi(phba); vpi 326 drivers/scsi/lpfc/lpfc_vport.c if (vpi == 0) { vpi 340 drivers/scsi/lpfc/lpfc_vport.c lpfc_free_vpi(phba, vpi); vpi 348 drivers/scsi/lpfc/lpfc_vport.c "1811 Create VPORT failed: vpi x%x\n", vpi); vpi 349 drivers/scsi/lpfc/lpfc_vport.c lpfc_free_vpi(phba, vpi); vpi 354 drivers/scsi/lpfc/lpfc_vport.c vport->vpi = vpi; vpi 368 drivers/scsi/lpfc/lpfc_vport.c lpfc_free_vpi(phba, vpi); vpi 384 drivers/scsi/lpfc/lpfc_vport.c lpfc_free_vpi(phba, vpi); vpi 394 drivers/scsi/lpfc/lpfc_vport.c lpfc_free_vpi(phba, vpi); vpi 431 drivers/scsi/lpfc/lpfc_vport.c "status %d\n", vpi, rc); vpi 433 drivers/scsi/lpfc/lpfc_vport.c lpfc_free_vpi(phba, vpi); vpi 815 drivers/scsi/lpfc/lpfc_vport.c lpfc_free_vpi(phba, vport->vpi); vpi 133 drivers/usb/atm/usbatm.c short vpi; vpi 281 drivers/usb/atm/usbatm.c short vpi, int vci) vpi 286 drivers/usb/atm/usbatm.c if ((vcc_data->vci == vci) && (vcc_data->vpi == vpi)) vpi 295 drivers/usb/atm/usbatm.c short vpi = ((source[0] & 0x0f) << 4) | (source[1] >> 4); vpi 299 drivers/usb/atm/usbatm.c if ((vci != instance->cached_vci) || (vpi != instance->cached_vpi)) { vpi 300 drivers/usb/atm/usbatm.c instance->cached_vpi = vpi; vpi 303 drivers/usb/atm/usbatm.c instance->cached_vcc = usbatm_find_vcc(instance, vpi, vci); vpi 306 drivers/usb/atm/usbatm.c atm_rldbg(instance, "%s: unknown vpi/vci (%hd/%d)!\n", __func__, vpi, vci); vpi 318 drivers/usb/atm/usbatm.c __func__, vpi, vci); vpi 469 drivers/usb/atm/usbatm.c ptr[0] = vcc->vpi >> 4; vpi 470 drivers/usb/atm/usbatm.c ptr[1] = (vcc->vpi << 4) | (vcc->vci >> 12); vpi 774 drivers/usb/atm/usbatm.c short vpi = vcc->vpi; vpi 799 drivers/usb/atm/usbatm.c if (usbatm_find_vcc(instance, vpi, vci)) { vpi 800 drivers/usb/atm/usbatm.c atm_dbg(instance, "%s: %hd/%d already in use!\n", __func__, vpi, vci); vpi 812 drivers/usb/atm/usbatm.c new->vpi = vpi; vpi 826 drivers/usb/atm/usbatm.c instance->cached_vpi = vpi; vpi 874 drivers/usb/atm/usbatm.c vcc->vpi = ATM_VPI_UNSPEC; vpi 96 include/linux/atmdev.h short vpi; /* VPI and VCI (types must be equal */ vpi 180 include/uapi/linux/atm.h short vpi; /* VPI (only 8 bits at UNI) */ vpi 226 include/uapi/linux/atm.h return addr.sap_addr.itf || addr.sap_addr.vpi || addr.sap_addr.vci; vpi 22 include/uapi/linux/atm_tcp.h __u16 vpi; vpi 800 net/atm/br2684.c brvcc->atmvcc->vpi, brvcc->atmvcc->vci, vpi 774 net/atm/clip.c clip_vcc->vcc->vpi, clip_vcc->vcc->vci); vpi 167 net/atm/common.c vcc->vpi = vcc->vci = 0; /* no VCI/VPI yet */ vpi 313 net/atm/common.c static int check_ci(const struct atm_vcc *vcc, short vpi, int vci) vpi 323 net/atm/common.c if (test_bit(ATM_VF_ADDR, &walk->flags) && walk->vpi == vpi && vpi 338 net/atm/common.c static int find_ci(const struct atm_vcc *vcc, short *vpi, int *vci) vpi 346 net/atm/common.c if (*vpi != ATM_VPI_ANY && *vci != ATM_VCI_ANY) { vpi 347 net/atm/common.c err = check_ci(vcc, *vpi, *vci); vpi 351 net/atm/common.c if (*vpi != ATM_VPI_ANY) vpi 352 net/atm/common.c p = *vpi; vpi 363 net/atm/common.c *vpi = p; vpi 373 net/atm/common.c *vpi == ATM_VPI_ANY) { vpi 382 net/atm/common.c static int __vcc_connect(struct atm_vcc *vcc, struct atm_dev *dev, short vpi, vpi 388 net/atm/common.c if ((vpi != ATM_VPI_UNSPEC && vpi != ATM_VPI_ANY && vpi 389 net/atm/common.c vpi >> dev->ci_range.vpi_bits) || (vci != ATM_VCI_UNSPEC && vpi 400 net/atm/common.c (error = find_ci(vcc, &vpi, &vci))) { vpi 404 net/atm/common.c vcc->vpi = vpi; vpi 434 net/atm/common.c pr_debug("VCC %d.%d, AAL %d\n", vpi, vci, vcc->qos.aal); vpi 462 net/atm/common.c int vcc_connect(struct socket *sock, int itf, short vpi, int vci) vpi 468 net/atm/common.c pr_debug("(vpi %d, vci %d)\n", vpi, vci); vpi 473 net/atm/common.c if (!(vpi || vci)) vpi 476 net/atm/common.c if (vpi != ATM_VPI_UNSPEC && vci != ATM_VCI_UNSPEC) vpi 510 net/atm/common.c error = __vcc_connect(vcc, dev, vpi, vci); vpi 515 net/atm/common.c if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) vpi 824 net/atm/common.c pvc.sap_addr.vpi = vcc->vpi; vpi 16 net/atm/common.h int vcc_connect(struct socket *sock, int itf, short vpi, int vci); vpi 301 net/atm/lec.c dev->name, vcc->vpi, vcc->vci); vpi 590 net/atm/lec.c dev->name, vcc->vpi, vcc->vci); vpi 812 net/atm/lec.c seq_printf(seq, "%3d %3d ", entry->vcc->vpi, entry->vcc->vci); vpi 816 net/atm/lec.c seq_printf(seq, " %3d %3d", entry->recv_vcc->vpi, vpi 1375 net/atm/lec.c rulla->vcc ? rulla->vcc->vpi : 0, vpi 1378 net/atm/lec.c vpi : 0, vpi 1403 net/atm/lec.c rulla->vcc ? rulla->vcc->vpi : 0, vpi 1405 net/atm/lec.c rulla->recv_vcc ? rulla->recv_vcc->vpi : 0, vpi 1428 net/atm/lec.c rulla->vcc ? rulla->vcc->vpi : 0, vpi 1430 net/atm/lec.c rulla->recv_vcc ? rulla->recv_vcc->vpi : 0, vpi 1453 net/atm/lec.c rulla->vcc ? rulla->vcc->vpi : 0, vpi 1455 net/atm/lec.c rulla->recv_vcc ? rulla->recv_vcc->vpi : 0, vpi 1598 net/atm/lec.c to_remove->vcc ? to_remove->recv_vcc->vpi : 0, vpi 2188 net/atm/lec.c pr_debug("LEC_ARP: lec_vcc_close vpi:%d vci:%d\n", vcc->vpi, vcc->vci); vpi 164 net/atm/mpoa_proc.c in_entry->shortcut->vpi, vpi 189 net/atm/mpoa_proc.c eg_entry->shortcut->vpi, vpi 153 net/atm/proc.c vcc->dev->number, vcc->vpi, vcc->vci, vpi 186 net/atm/proc.c seq_printf(seq, "%3d %3d %5d ", vcc->dev->number, vcc->vpi, vpi 212 net/atm/proc.c vcc->dev->number, vcc->vpi, vcc->vci); vpi 47 net/atm/pvc.c if (vcc->vpi != ATM_VPI_UNSPEC) vpi 48 net/atm/pvc.c addr->sap_addr.vpi = vcc->vpi; vpi 52 net/atm/pvc.c error = vcc_connect(sock, addr->sap_addr.itf, addr->sap_addr.vpi, vpi 101 net/atm/pvc.c addr->sap_addr.vpi = vcc->vpi; vpi 52 net/atm/raw.c ((vcc->vpi << ATM_HDR_VPI_SHIFT) | vpi 88 net/atm/signaling.c if (session_vcc->vpi || session_vcc->vci) vpi 91 net/atm/signaling.c session_vcc->vpi = msg->pvc.sap_addr.vpi; vpi 93 net/atm/signaling.c if (session_vcc->vpi || session_vcc->vci) vpi 272 net/atm/svc.c error = vcc_connect(sock, vcc->itf, vcc->vpi, vcc->vci); vpi 381 net/atm/svc.c msg->pvc.sap_addr.vpi, vpi 627 net/sched/sch_atm.c pvc.sap_addr.vpi = flow->vcc->vpi;