/drivers/atm/ |
H A D | adummy.c | 91 short vpi = vcc->vpi; local 94 if (vci == ATM_VCI_UNSPEC || vpi == ATM_VPI_UNSPEC)
|
H A D | atmtcp.c | 92 vcc->vpi = msg->addr.sap_addr.vpi; 123 short vpi = vcc->vpi; local 128 msg.hdr.vpi = htons(vpi); 129 msg.addr.sap_addr.vpi = vpi; 132 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) return 0; 149 msg.addr.sap_addr.vpi 262 find_vcc(struct atm_dev *dev, short vpi, int vci) argument [all...] |
H A D | firestream.c | 872 short vpi = atm_vcc->vpi; local 881 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) 889 atm_vcc->dev->number, atm_vcc->vpi, atm_vcc->vci); 932 vcc->channo = (vpi << FS155_VCI_BITS) | (vci); 981 tc->atm_hdr = (vpi << 20) | (vci << 4); 1089 (vpi << 16) | vci, 0 ); /* XXX -- Use defines. */
|
H A D | nicstar.c | 1248 short vpi = vcc->vpi; local 1252 PRINTK("nicstar%d: opening vpi.vci %d.%d \n", card->index, (int)vpi, 1259 vc = &(card->vcmap[vpi << card->vcibits | vci]); 1406 (vpi << card->vcibits | vci) * 1425 PRINTK("nicstar%d: closing vpi.vci %d.%d \n", card->index, 1426 (int)vcc->vpi, vcc->vci); 1436 (vcc->vpi << card->vcibits | vcc->vci) * NS_RCT_ENTRY_SIZE; 1682 ns_tbd_mkword_4(0, (u32) vcc->vpi, (u3 1972 u32 vpi, vci; local [all...] |
H A D | zatm.c | 568 if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) { 985 uPD98401_TXVC_SHP_SHIFT) | (vcc->vpi << uPD98401_TXVC_VPI_SHIFT) | 1386 short vpi = vcc->vpi; local 1394 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) 1397 DPRINTK(DEV_LABEL "(itf %d): open %d.%d\n",vcc->dev->number,vcc->vpi, 1416 if (vci == ATM_VPI_UNSPEC || vpi == ATM_VCI_UNSPEC) return 0;
|
H A D | ambassador.c | 71 Only AAL5 is supported with vpi = 0 and vci in the range 0 to 1023. 1027 short vpi = atm_vcc->vpi; local 1030 PRINTD (DBG_FLOW|DBG_VCC, "amb_open %x %x", vpi, vci); 1034 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) { 1040 if (!(0 <= vpi && vpi < (1<<NUM_VPI_BITS) && 1042 PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci); 1161 cmd.args.modify_rate.vc = cpu_to_be32 (vci); // vpi 0 1167 cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi [all...] |
H A D | eni.c | 846 if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) { 1910 short vpi = vcc->vpi; local 1917 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) 1921 DPRINTK(DEV_LABEL "(itf %d): open %d.%d\n",vcc->dev->number,vcc->vpi, 1937 if (vci == ATM_VPI_UNSPEC || vpi == ATM_VCI_UNSPEC) return 0;
|
H A D | fore200e.c | 1069 (rpd->atm_header.vpi << ATM_HDR_VPI_SHIFT) | 1124 vcc->itf, vcc->vpi, vcc->vci); 1192 vc_map = FORE200E_VC_MAP(fore200e, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); 1199 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); 1212 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); 1308 vcc->itf, vcc->vpi, vcc->vci, scheme); 1341 vpvc.vpi = vcc->vpi; 1366 activate ? "open" : "close", vcc->itf, vcc->vpi, vcc->vci); 1370 DPRINTK(1, "VC %d.%d.%d %sed\n", vcc->itf, vcc->vpi, vc 1403 short vpi = vcc->vpi; local [all...] |
H A D | he.c | 220 #define he_mkcid(dev, vpi, vci) (((vpi << (dev)->vcibits) | vci) & 0x1fff) 333 short vpi; local 336 vpi = cid >> he_dev->vcibits; 343 vcc->vci == vci && vcc->vpi == vpi && 1718 vcc->vpi, vcc->vci); 1726 HPRINTK("charge failed (%d.%d)\n", vcc->vpi, vcc->vci); 1750 if (vcc->vpi == 0 && vcc->vci >= ATM_NOT_RSV_VCI) { 1837 he_mkcid(he_dev, tpd->vcc->vpi, tp 2124 short vpi = vcc->vpi; local [all...] |
H A D | horizon.c | 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) { argument 520 *vpi = channel >> vci_bits; 526 static inline int vpivci_to_channel (u16 * channel, const short vpi, const int vci) { argument 528 if (0 <= vpi && vpi < 1<<vpi_bits && 0 <= vci && vci < 1<<vci_bits) { 529 *channel = vpi<<vci_bits | vci; 2143 short vpi = atm_vcc->vpi; local 2145 PRINTD (DBG_FLOW|DBG_VCC, "hrz_open %x %x", vpi, vc [all...] |
H A D | idt77252.c | 778 card->name, vc->tx_vcc->vpi, vc->tx_vcc->vci); 900 tbd->word_4 = (vcc->vpi << SAR_TBD_VPI_SHIFT) | 1015 u32 header, vpi, vci; local 1037 vpi = (header >> 16) & 0x00ff; 1041 card->name, vpi, vci, skb, skb->data); 1043 if ((vpi >= (1 << card->vpibits)) || (vci != (vci & card->vcimask))) { 1045 card->name, vpi, vci); 1050 vc = card->vcs[VPCI2VC(card, vpi, vci)]; 1053 card->name, vpi, vci); 1085 aal0 = (vpi << ATM_HDR_VPI_SHIF 1262 unsigned int vpi, vci; local 1409 unsigned int vpi, vci; local 2398 short vpi = vcc->vpi; local 2855 int vpi, vci; local 2898 int vpi, vci; local [all...] |
H A D | solos-pci.c | 95 __le16 vpi; member in struct:pkt_hdr 175 static struct atm_vcc* find_vcc(struct atm_dev *dev, short vpi, int vci); 215 header->vpi = cpu_to_le16(0); 271 header->vpi = cpu_to_le16(0); 486 header->vpi = cpu_to_le16(0); 822 size, le16_to_cpu(header->vpi), 829 vcc = find_vcc(card->atmdev[port], le16_to_cpu(header->vpi), 834 le16_to_cpu(header->vpi), le16_to_cpu(header->vci), 895 static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) argument 906 vcc->vpi [all...] |
H A D | lanai.c | 2324 /* open a vcc on the card to vpi/vci */ 2331 short vpi = atmvcc->vpi; local 2334 (vpi == ATM_VPI_UNSPEC) || (vci == ATM_VCI_UNSPEC)) 2337 result = lanai_normalize_ci(lanai, atmvcc, &vpi, &vci); 2344 (int) vpi, vci);
|
H A D | iphase.h | 318 unsigned short vpi; member in struct:rx_buf_desc
|
/drivers/net/ethernet/intel/i40evf/ |
H A D | i40evf_virtchnl.c | 614 struct i40e_virtchnl_promisc_info vpi; local 623 vpi.vsi_id = adapter->vsi_res->vsi_id; 624 vpi.flags = flags; 626 (u8 *)&vpi, sizeof(vpi));
|
/drivers/scsi/lpfc/ |
H A D | lpfc_vport.c | 86 unsigned long vpi; local 89 /* Start at bit 1 because vpi zero is reserved for the physical port */ 90 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); 91 if (vpi > phba->max_vpi) 92 vpi = 0; 94 set_bit(vpi, phba->vpi_bmask); 98 return vpi; 102 lpfc_free_vpi(struct lpfc_hba *phba, int vpi) argument 104 if (vpi == 0) 107 clear_bit(vpi, phb 299 int vpi; local [all...] |
H A D | lpfc_mbox.c | 566 * @vpi: virtual N_Port identifier. 584 lpfc_read_sparam(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, int vpi) argument 615 mb->un.varRdSparm.vpi = phba->vpi_ids[vpi]; 626 * @vpi: virtual N_Port identifier. 639 lpfc_unreg_did(struct lpfc_hba * phba, uint16_t vpi, uint32_t did, argument 648 mb->un.varUnregDID.vpi = vpi; 649 if ((vpi != 0xffff) && 651 mb->un.varUnregDID.vpi 734 lpfc_reg_rpi(struct lpfc_hba *phba, uint16_t vpi, uint32_t did, uint8_t *param, LPFC_MBOXQ_t *pmb, uint16_t rpi) argument 798 lpfc_unreg_login(struct lpfc_hba *phba, uint16_t vpi, uint32_t rpi, LPFC_MBOXQ_t * pmb) argument 915 lpfc_unreg_vpi(struct lpfc_hba *phba, uint16_t vpi, LPFC_MBOXQ_t *pmb) argument 2183 lpfc_init_vpi(struct lpfc_hba *phba, struct lpfcMboxq *mbox, uint16_t vpi) argument [all...] |
H A D | lpfc_hbadisc.c | 2769 * This function handles completion of init vpi mailbox command. 2827 int rc, vpi; local 2829 if ((vport->port_type != LPFC_PHYSICAL_PORT) && (!vport->vpi)) { 2830 vpi = lpfc_alloc_vpi(vport->phba); 2831 if (!vpi) { 2834 "3303 Failed to obtain vport vpi\n"); 2838 vport->vpi = vpi; 2848 lpfc_init_vpi(vport->phba, mboxq, vport->vpi); 2877 /* There are no vpi fo 5607 lpfc_find_vport_by_vpid(struct lpfc_hba *phba, uint16_t vpi) argument [all...] |
H A D | lpfc.h | 307 uint16_t vpi; member in struct:lpfc_vport 332 #define FC_VPORT_NEEDS_REG_VPI 0x80000 /* Needs to have its vpi registered */ 872 unsigned long *vpi_bmask; /* vpi allocation table */
|
H A D | lpfc_sli.c | 2162 uint16_t rpi, vpi; local 2180 vpi = pmb->u.mb.un.varRegLogin.vpi; 2181 lpfc_unreg_login(phba, vpi, rpi, pmb); 2281 pmb->vport ? pmb->vport->vpi : 0, 2302 pmb->vport ? pmb->vport->vpi : 0, 2324 pmb->vport ? pmb->vport->vpi : 0, 4756 mboxq->vport ? mboxq->vport->vpi : 0, 5200 * @type - the extent type (rpi, xri, vfi, vpi). 5752 "vpi 8916 uint16_t rpi = 0, vpi = 0; local [all...] |
H A D | lpfc_hw.h | 2137 uint16_t vpi; member in struct:__anon5644 2139 uint16_t vpi; member in struct:__anon5644 2345 uint16_t vpi; member in struct:__anon5654 2347 uint16_t vpi; member in struct:__anon5654 2380 uint16_t vpi; member in struct:__anon5658 2388 uint16_t vpi; 2403 uint16_t vpi; member in struct:__anon5659 2411 uint16_t vpi; 2431 uint16_t vpi; member in struct:__anon5660 2433 uint16_t vpi; member in struct:__anon5660 2448 uint16_t vpi; member in struct:__anon5661 2450 uint16_t vpi; member in struct:__anon5661 3502 uint16_t vpi; member in struct:rcv_sli3 [all...] |
/drivers/usb/atm/ |
H A D | usbatm.c | 146 /* vpi/vci lookup */ 148 short vpi; member in struct:usbatm_vcc_data 296 short vpi, int vci) 301 if ((vcc_data->vci == vci) && (vcc_data->vpi == vpi)) 310 short vpi = ((source[0] & 0x0f) << 4) | (source[1] >> 4); local 314 if ((vci != instance->cached_vci) || (vpi != instance->cached_vpi)) { 315 instance->cached_vpi = vpi; 318 instance->cached_vcc = usbatm_find_vcc(instance, vpi, vci); 321 atm_rldbg(instance, "%s: unknown vpi/vc 295 usbatm_find_vcc(struct usbatm_data *instance, short vpi, int vci) argument 788 short vpi = vcc->vpi; local [all...] |