Home
last modified time | relevance | path

Searched refs:vpi (Results 1 – 25 of 58) sorted by relevance

123

/linux/drivers/scsi/lpfc/
A Dlpfc_vport.c90 unsigned long vpi; in lpfc_alloc_vpi() local
95 if (vpi > phba->max_vpi) in lpfc_alloc_vpi()
96 vpi = 0; in lpfc_alloc_vpi()
102 return vpi; in lpfc_alloc_vpi()
108 if (vpi == 0) in lpfc_free_vpi()
303 int vpi; in lpfc_vport_create() local
326 if (vpi == 0) { in lpfc_vport_create()
340 lpfc_free_vpi(phba, vpi); in lpfc_vport_create()
349 lpfc_free_vpi(phba, vpi); in lpfc_vport_create()
354 vport->vpi = vpi; in lpfc_vport_create()
[all …]
A Dlpfc_logmsg.h60 fmt, (vport)->phba->brd_no, vport->vpi, ##arg); }
79 fmt, (vport)->phba->brd_no, vport->vpi, ##arg); \
82 (vport)->phba->brd_no, (vport)->vpi, ##arg); \
A Dlpfc_mbox.c634 mb->un.varRdSparm.vpi = phba->vpi_ids[vpi]; in lpfc_read_sparam()
667 mb->un.varUnregDID.vpi = vpi; in lpfc_unreg_did()
668 if ((vpi != 0xffff) && in lpfc_unreg_did()
670 mb->un.varUnregDID.vpi = phba->vpi_ids[vpi]; in lpfc_unreg_did()
766 mb->un.varRegLogin.vpi = phba->vpi_ids[vpi]; in lpfc_reg_rpi()
828 mb->un.varUnregLogin.vpi = phba->vpi_ids[vpi]; in lpfc_unreg_login()
859 lpfc_unreg_login(phba, vport->vpi, phba->vpi_ids[vport->vpi], in lpfc_sli4_unreg_all_rpis()
898 mb->un.varRegVpi.vpi = phba->vpi_ids[vport->vpi]; in lpfc_reg_vpi()
938 mb->un.varUnregVpi.vpi = phba->vpi_ids[vpi]; in lpfc_unreg_vpi()
2218 phba->vpi_ids[vport->vpi], in lpfc_reg_vfi()
[all …]
A Dlpfc_hw.h2644 uint16_t vpi; member
2646 uint16_t vpi; member
2893 uint16_t vpi; member
2895 uint16_t vpi; member
2928 uint16_t vpi; member
2936 uint16_t vpi;
2951 uint16_t vpi; member
2959 uint16_t vpi;
2979 uint16_t vpi; member
2981 uint16_t vpi; member
[all …]
/linux/drivers/atm/
A Datmtcp.c93 vcc->vpi = msg->addr.sap_addr.vpi; in atmtcp_recv_control()
124 short vpi = vcc->vpi; in atmtcp_v_open() local
129 msg.hdr.vpi = htons(vpi); in atmtcp_v_open()
130 msg.addr.sap_addr.vpi = vpi; in atmtcp_v_open()
133 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) return 0; in atmtcp_v_open()
150 msg.addr.sap_addr.vpi = vcc->vpi; in atmtcp_v_close()
178 if ((vcc->vpi >> ci.vpi_bits) || in atmtcp_v_ioctl()
222 hdr->vpi = htons(vcc->vpi); in atmtcp_v_send()
263 static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) in find_vcc() argument
274 vcc->vci == vci && vcc->vpi == vpi && in find_vcc()
[all …]
A Didt77252.c1017 u32 header, vpi, vci; in dequeue_rx() local
1262 unsigned int vpi, vci; in idt77252_rx_raw() local
1288 card->name, vpi, vci); in idt77252_rx_raw()
1295 card->name, vpi, vci); in idt77252_rx_raw()
1303 card->name, vpi, vci); in idt77252_rx_raw()
1407 unsigned int vpi, vci; in idt77252_tx() local
2389 short vpi = vcc->vpi; in idt77252_open() local
2846 int vpi, vci; in open_card_oam() local
2850 for (vpi = 0; vpi < (1 << card->vpibits); vpi++) { in open_card_oam()
2889 int vpi, vci; in close_card_oam() local
[all …]
A Dsolos-pci.c86 __le16 vpi; member
206 header->vpi = cpu_to_le16(0); in solos_param_show()
262 header->vpi = cpu_to_le16(0); in solos_param_store()
483 header->vpi = cpu_to_le16(0); in send_command()
821 size, le16_to_cpu(header->vpi), in solos_bh()
908 vcc->vpi == vpi && vcc->qos.rxtp.traffic_class != ATM_NONE && in find_vcc()
939 header->vpi = cpu_to_le16(vcc->vpi); in popen()
976 header->vpi = cpu_to_le16(vcc->vpi); in pclose()
1113 size, le16_to_cpu(header->vpi), in fpga_tx()
1169 header->vpi = cpu_to_le16(vcc->vpi); in psend()
[all …]
A Dfore200e.c1036 vcc->itf, vcc->vpi, vcc->vci); in fore200e_push_rpd()
1216 vcc->itf, vcc->vpi, vcc->vci, scheme); in fore200e_select_scheme()
1249 vpvc.vpi = vcc->vpi; in fore200e_activate_vcin()
1311 short vpi = vcc->vpi; in fore200e_open() local
1313 ASSERT((vpi >= 0) && (vpi < 1<<FORE200E_VPI_BITS)); in fore200e_open()
1423 ASSERT((vcc->vpi >= 0) && (vcc->vpi < 1<<FORE200E_VPI_BITS)); in fore200e_close()
1439 vcc->itf = vcc->vci = vcc->vpi = 0; in fore200e_close()
1497 DPRINTK(1, "VC %d.%d.%d not ready for tx\n", vcc->itf, vcc->vpi, vcc->vpi); in fore200e_send()
1644 tpd->atm_header.vpi = vcc->vpi; in fore200e_send()
1889 DPRINTK(1, "VC %d.%d.%d not ready for QoS change\n", vcc->itf, vcc->vpi, vcc->vpi); in fore200e_change_qos()
[all …]
A Dadummy.c92 short vpi = vcc->vpi; in adummy_open() local
95 if (vci == ATM_VCI_UNSPEC || vpi == ATM_VPI_UNSPEC) in adummy_open()
A Dhe.c220 #define he_mkcid(dev, vpi, vci) (((vpi << (dev)->vcibits) | vci) & 0x1fff) argument
333 short vpi; in __find_vcc() local
336 vpi = cid >> he_dev->vcibits; in __find_vcc()
343 vcc->vci == vci && vcc->vpi == vpi && in __find_vcc()
1719 vcc->vpi, vcc->vci); in he_service_rbrq()
2125 short vpi = vcc->vpi; in he_open() local
2131 HPRINTK("open vcc %p %d.%d\n", vcc, vpi, vci); in he_open()
2135 cid = he_mkcid(he_dev, vpi, vci); in he_open()
2303 if (vpi == 0 && vci >= ATM_NOT_RSV_VCI) in he_open()
2345 cid = he_mkcid(he_dev, vcc->vpi, vcc->vci); in he_close()
[all …]
A Dfore200e.h94 u32 vpi : 8, /* virtual path identifier */
272 u32 vpi : 8, /* virtual path identifier */
826 #define FORE200E_VC_MAP(fore200e, vpi, vci) \ argument
827 (& (fore200e)->vc_map[ ((vpi) << FORE200E_VCI_BITS) | (vci) ])
A Dhorizon.c496 static inline int vpivci_to_channel (u16 * channel, const short vpi, const int vci) { in vpivci_to_channel() argument
498 if (0 <= vpi && vpi < 1<<vpi_bits && 0 <= vci && vci < 1<<vci_bits) { in vpivci_to_channel()
499 *channel = vpi<<vci_bits | vci; in vpivci_to_channel()
2105 short vpi = atm_vcc->vpi; in hrz_open() local
2107 PRINTD (DBG_FLOW|DBG_VCC, "hrz_open %x %x", vpi, vci); in hrz_open()
2111 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) { in hrz_open()
2117 error = vpivci_to_channel (&channel, vpi, vci); in hrz_open()
2119 PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci); in hrz_open()
/linux/net/atm/
A Dcommon.c323 if (test_bit(ATM_VF_ADDR, &walk->flags) && walk->vpi == vpi && in check_ci()
347 err = check_ci(vcc, *vpi, *vci); in find_ci()
351 if (*vpi != ATM_VPI_ANY) in find_ci()
352 p = *vpi; in find_ci()
363 *vpi = p; in find_ci()
373 *vpi == ATM_VPI_ANY) { in find_ci()
388 if ((vpi != ATM_VPI_UNSPEC && vpi != ATM_VPI_ANY && in __vcc_connect()
400 (error = find_ci(vcc, &vpi, &vci))) { in __vcc_connect()
404 vcc->vpi = vpi; in __vcc_connect()
473 if (!(vpi || vci)) in vcc_connect()
[all …]
A Dpvc.c47 if (vcc->vpi != ATM_VPI_UNSPEC) in pvc_bind()
48 addr->sap_addr.vpi = vcc->vpi; in pvc_bind()
52 error = vcc_connect(sock, addr->sap_addr.itf, addr->sap_addr.vpi, in pvc_bind()
101 addr->sap_addr.vpi = vcc->vpi; in pvc_getname()
A Dsignaling.c88 if (session_vcc->vpi || session_vcc->vci) in sigd_send()
91 session_vcc->vpi = msg->pvc.sap_addr.vpi; in sigd_send()
93 if (session_vcc->vpi || session_vcc->vci) in sigd_send()
A Dlec.c301 dev->name, vcc->vpi, vcc->vci); in lec_start_xmit()
588 dev->name, vcc->vpi, vcc->vci); in lec_push()
1369 rulla->vcc ? rulla->vcc->vpi : 0, in dump_arp_table()
1372 vpi : 0, in dump_arp_table()
1394 rulla->vcc ? rulla->vcc->vpi : 0, in dump_arp_table()
1396 rulla->recv_vcc ? rulla->recv_vcc->vpi : 0, in dump_arp_table()
1416 rulla->vcc ? rulla->vcc->vpi : 0, in dump_arp_table()
1418 rulla->recv_vcc ? rulla->recv_vcc->vpi : 0, in dump_arp_table()
1438 rulla->vcc ? rulla->vcc->vpi : 0, in dump_arp_table()
1440 rulla->recv_vcc ? rulla->recv_vcc->vpi : 0, in dump_arp_table()
[all …]
A Dproc.c152 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info()
185 seq_printf(seq, "%3d %3d %5d ", vcc->dev->number, vcc->vpi, in vcc_info()
211 vcc->dev->number, vcc->vpi, vcc->vci); in svc_info()
A Dmpoa_proc.c161 in_entry->shortcut->vpi, in mpc_show()
186 eg_entry->shortcut->vpi, in mpc_show()
/linux/drivers/usb/atm/
A Dusbatm.c133 short vpi; member
281 short vpi, int vci) in usbatm_find_vcc() argument
286 if ((vcc_data->vci == vci) && (vcc_data->vpi == vpi)) in usbatm_find_vcc()
300 instance->cached_vpi = vpi; in usbatm_extract_one_cell()
318 __func__, vpi, vci); in usbatm_extract_one_cell()
469 ptr[0] = vcc->vpi >> 4; in usbatm_write_cells()
776 short vpi = vcc->vpi; in usbatm_atm_open() local
801 if (usbatm_find_vcc(instance, vpi, vci)) { in usbatm_atm_open()
814 new->vpi = vpi; in usbatm_atm_open()
828 instance->cached_vpi = vpi; in usbatm_atm_open()
[all …]
/linux/include/uapi/linux/
A Datm.h180 short vpi; /* VPI (only 8 bits at UNI) */ member
226 return addr.sap_addr.itf || addr.sap_addr.vpi || addr.sap_addr.vci; in atmpvc_addr_in_use()
A Datm_tcp.h22 __u16 vpi; member
/linux/arch/powerpc/mm/book3s64/
A Dhash_native.c717 unsigned long avpn, pteg, vpi; in hpte_decode() local
752 vpi = (vsid ^ pteg) & htab_hash_mask; in hpte_decode()
753 seg_off |= vpi << shift; in hpte_decode()
762 vpi = (vsid ^ (vsid << 25) ^ pteg) & htab_hash_mask; in hpte_decode()
763 seg_off |= vpi << shift; in hpte_decode()
/linux/drivers/scsi/elx/libefc_sli/
A Dsli4.c2398 els->context_tag = cpu_to_le16(params->vpi); in sli_xmit_els_rsp64_wqe()
3130 if (vpi != U16_MAX) { in sli_cmd_init_vfi()
3133 init_vfi->vpi = cpu_to_le16(vpi); in sli_cmd_init_vfi()
3147 init_vpi->vpi = cpu_to_le16(vpi); in sli_cmd_init_vpi()
3256 if (vpi == U16_MAX) { in sli_cmd_read_sparm64()
3278 read_sparm64->vpi = cpu_to_le16(vpi); in sli_cmd_read_sparm64()
3434 reg_rpi->vpi = cpu_to_le16(vpi); in sli_cmd_reg_rpi()
3442 u16 vpi, __be64 sli_wwpn, u32 fc_id) in sli_cmd_reg_vfi() argument
3466 reg_vfi->vpi = cpu_to_le16(vpi); in sli_cmd_reg_vfi()
3475 u16 vpi, u16 vfi, bool update) in sli_cmd_reg_vpi() argument
[all …]
A Dsli4.h2173 __le16 vpi; member
2181 __le16 vpi; member
2350 __le16 vpi; member
2511 __le16 vpi; member
2530 __le16 vpi; member
2550 __le16 vpi; member
3555 u32 vpi; member
3567 u32 vpi; member
3585 u32 vpi; member
3597 u32 vpi; member
[all …]
/linux/drivers/scsi/elx/efct/
A Defct_scsi.c313 io->iparam.fcp_tgt.vpi = io->node->vpi; in efct_scsi_io_dispatch_hw_io()
883 bls->vpi = io->node->vpi; in efct_target_send_bls_resp()
937 bls->vpi = io->node->vpi; in efct_bls_send_rjt()

Completed in 151 milliseconds

123