Home
last modified time | relevance | path

Searched refs:vci (Results 1 – 25 of 49) sorted by relevance

12

/Linux-v5.4/drivers/atm/
Datmtcp.c94 vcc->vci = msg->addr.sap_addr.vci; in atmtcp_recv_control()
125 int vci = vcc->vci; in atmtcp_v_open() local
131 msg.hdr.vci = htons(vci); in atmtcp_v_open()
132 msg.addr.sap_addr.vci = vci; in atmtcp_v_open()
133 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) return 0; in atmtcp_v_open()
151 msg.addr.sap_addr.vci = vcc->vci; in atmtcp_v_close()
179 (vcc->vci >> ci.vci_bits)) { in atmtcp_v_ioctl()
223 hdr->vci = htons(vcc->vci); in atmtcp_v_send()
263 static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) in find_vcc() argument
269 head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)]; in find_vcc()
[all …]
Dlanai.c230 vci_t vci; member
304 void (*func)(struct lanai_dev *,vci_t vci)) in vci_bitfield_iterate() argument
306 vci_t vci; in vci_bitfield_iterate() local
308 for_each_set_bit(vci, lp, NUM_VCI) in vci_bitfield_iterate()
309 func(lanai, vci); in vci_bitfield_iterate()
641 vci_t vci) in cardvcc_addr() argument
643 return sram_addr(lanai, vci * CARDVCC_SIZE); in cardvcc_addr()
653 lvcc->vci, (int) offset, val); in cardvcc_read()
663 (unsigned int) val, lvcc->vci, (unsigned int) offset); in cardvcc_write()
665 lvcc->vci, (unsigned int) offset, (unsigned int) val); in cardvcc_write()
[all …]
Deni.c328 printk(KERN_ALERT " VCI %d, rxing %d, words %ld\n",vcc->vci, in rx_ident_err()
367 vcc->vci,(unsigned long) paddr); in do_rx_dma()
375 dma[j++] = (here << MID_DMA_COUNT_SHIFT) | (vcc->vci in do_rx_dma()
396 (vcc->vci << MID_DMA_VCI_SHIFT); in do_rx_dma()
404 MID_DMA_COUNT_SHIFT) | (vcc->vci << in do_rx_dma()
414 MID_DMA_COUNT_SHIFT) | (vcc->vci << in do_rx_dma()
424 MID_DMA_COUNT_SHIFT) | (vcc->vci << in do_rx_dma()
434 MID_DMA_COUNT_SHIFT) | (vcc->vci << in do_rx_dma()
443 | (vcc->vci << MID_DMA_VCI_SHIFT); in do_rx_dma()
449 (vcc->vci << MID_DMA_VCI_SHIFT) | MID_DT_JK; in do_rx_dma()
[all …]
Dambassador.c1013 int vci = atm_vcc->vci; in amb_open() local
1015 PRINTD (DBG_FLOW|DBG_VCC, "amb_open %x %x", vpi, vci); in amb_open()
1019 if (vpi == ATM_VPI_UNSPEC || vci == ATM_VCI_UNSPEC) { in amb_open()
1026 0 <= vci && vci < (1<<NUM_VCI_BITS))) { in amb_open()
1027 PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci); in amb_open()
1143 if (dev->rxer[vci]) { in amb_open()
1146 cmd.args.modify_rate.vc = cpu_to_be32 (vci); // vpi 0 in amb_open()
1152 cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi 0 in amb_open()
1154 ( (AMB_VCC(dev->rxer[vci])->rx_info.pool << SRB_POOL_SHIFT) in amb_open()
1161 cmd.args.open.vc = cpu_to_be32 (vci); // vpi 0 in amb_open()
[all …]
Didt77252.c779 card->name, vc->tx_vcc->vpi, vc->tx_vcc->vci); in push_on_scq()
902 (vcc->vci << SAR_TBD_VCI_SHIFT); in queue_skb()
1016 u32 header, vpi, vci; in dequeue_rx() local
1039 vci = (header >> 0) & 0xffff; in dequeue_rx()
1042 card->name, vpi, vci, skb, skb->data); in dequeue_rx()
1044 if ((vpi >= (1 << card->vpibits)) || (vci != (vci & card->vcimask))) { in dequeue_rx()
1046 card->name, vpi, vci); in dequeue_rx()
1051 vc = card->vcs[VPCI2VC(card, vpi, vci)]; in dequeue_rx()
1054 card->name, vpi, vci); in dequeue_rx()
1087 (vci << ATM_HDR_VCI_SHIFT); in dequeue_rx()
[all …]
Dsolos-pci.c87 __le16 vci; member
166 static struct atm_vcc* find_vcc(struct atm_dev *dev, short vpi, int vci);
207 header->vci = cpu_to_le16(0); in solos_param_show()
263 header->vci = cpu_to_le16(0); in solos_param_store()
484 header->vci = cpu_to_le16(0); in send_command()
822 le16_to_cpu(header->vci)); in solos_bh()
829 le16_to_cpu(header->vci)); in solos_bh()
833 le16_to_cpu(header->vpi), le16_to_cpu(header->vci), in solos_bh()
897 static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) in find_vcc() argument
904 head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)]; in find_vcc()
[all …]
Diphase.c246 vcstatus = (vcstatus_t *) &(dev->testTable[vcc->vci]->vc_status); in clear_lockup()
250 abr_vc += vcc->vci; in clear_lockup()
251 eabr_vc += vcc->vci; in clear_lockup()
262 if((tempCellSlot == dev->testTable[vcc->vci]->lastTime) in clear_lockup()
263 && (tempFract == dev->testTable[vcc->vci]->fract)) in clear_lockup()
265 dev->testTable[vcc->vci]->lastTime = tempCellSlot; in clear_lockup()
266 dev->testTable[vcc->vci]->fract = tempFract; in clear_lockup()
282 shd_tbl[i] = vcc->vci; in clear_lockup()
284 IF_ERR(printk("ABR Seg. may not continue on VC %x\n",vcc->vci);) in clear_lockup()
385 f_abr_vc += vcc->vci; in ia_open_abr_vc()
[all …]
Dadummy.c93 int vci = vcc->vci; in adummy_open() local
95 if (vci == ATM_VCI_UNSPEC || vpi == ATM_VPI_UNSPEC) in adummy_open()
Dfore200e.c982 (rpd->atm_header.vci << ATM_HDR_VCI_SHIFT) | in fore200e_push_rpd()
1038 vcc->itf, vcc->vpi, vcc->vci); in fore200e_push_rpd()
1102 vc_map = FORE200E_VC_MAP(fore200e, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1109 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1122 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq()
1215 int scheme = vcc->vci % 2 ? BUFFER_SCHEME_ONE : BUFFER_SCHEME_TWO; in fore200e_select_scheme()
1218 vcc->itf, vcc->vpi, vcc->vci, scheme); in fore200e_select_scheme()
1250 vpvc.vci = vcc->vci; in fore200e_activate_vcin()
1276 activate ? "open" : "close", vcc->itf, vcc->vpi, vcc->vci); in fore200e_activate_vcin()
1280 DPRINTK(1, "VC %d.%d.%d %sed\n", vcc->itf, vcc->vpi, vcc->vci, in fore200e_activate_vcin()
[all …]
Dhe.c220 #define he_mkcid(dev, vpi, vci) (((vpi << (dev)->vcibits) | vci) & 0x1fff) argument
334 int vci; in __find_vcc() local
337 vci = cid & ((1 << he_dev->vcibits) - 1); in __find_vcc()
338 head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)]; in __find_vcc()
343 vcc->vci == vci && vcc->vpi == vpi && in __find_vcc()
1719 vcc->vpi, vcc->vci); in he_service_rbrq()
1727 HPRINTK("charge failed (%d.%d)\n", vcc->vpi, vcc->vci); in he_service_rbrq()
1751 if (vcc->vpi == 0 && vcc->vci >= ATM_NOT_RSV_VCI) { in he_service_rbrq()
1838 he_mkcid(he_dev, tpd->vcc->vpi, tpd->vcc->vci)); in he_service_tbrq()
2126 int vci = vcc->vci; in he_open() local
[all …]
/Linux-v5.4/net/atm/
Dcommon.c46 struct hlist_head *head = &vcc_hash[vcc->vci & (VCC_HTABLE_SIZE - 1)]; in __vcc_insert_socket()
47 sk->sk_hash = vcc->vci & (VCC_HTABLE_SIZE - 1); in __vcc_insert_socket()
167 vcc->vpi = vcc->vci = 0; /* no VCI/VPI yet */ in vcc_create()
313 static int check_ci(const struct atm_vcc *vcc, short vpi, int vci) in check_ci() argument
315 struct hlist_head *head = &vcc_hash[vci & (VCC_HTABLE_SIZE - 1)]; in check_ci()
324 walk->vci == vci && ((walk->qos.txtp.traffic_class != in check_ci()
338 static int find_ci(const struct atm_vcc *vcc, short *vpi, int *vci) in find_ci() argument
346 if (*vpi != ATM_VPI_ANY && *vci != ATM_VCI_ANY) { in find_ci()
347 err = check_ci(vcc, *vpi, *vci); in find_ci()
355 if (*vci != ATM_VCI_ANY) in find_ci()
[all …]
Dpvc.c49 if (vcc->vci != ATM_VCI_UNSPEC) in pvc_bind()
50 addr->sap_addr.vci = vcc->vci; in pvc_bind()
53 addr->sap_addr.vci); in pvc_bind()
102 addr->sap_addr.vci = vcc->vci; in pvc_getname()
Draw.c38 vcc->vci, sk_wmem_alloc_get(sk), ATM_SKB(skb)->acct_truesize); in atm_pop_raw()
53 (vcc->vci << ATM_HDR_VCI_SHIFT))) { in atm_send_aal0()
Dsignaling.c88 if (session_vcc->vpi || session_vcc->vci) in sigd_send()
92 session_vcc->vci = msg->pvc.sap_addr.vci; in sigd_send()
93 if (session_vcc->vpi || session_vcc->vci) in sigd_send()
Dlec.c301 dev->name, vcc->vpi, vcc->vci); in lec_start_xmit()
590 dev->name, vcc->vpi, vcc->vci); in lec_push()
812 seq_printf(seq, "%3d %3d ", entry->vcc->vpi, entry->vcc->vci); in lec_info()
817 entry->recv_vcc->vci); in lec_info()
1376 rulla->vcc ? rulla->vcc->vci : 0, in dump_arp_table()
1380 vci : 0, rulla->last_used, in dump_arp_table()
1404 rulla->vcc ? rulla->vcc->vci : 0, in dump_arp_table()
1406 rulla->recv_vcc ? rulla->recv_vcc->vci : 0, in dump_arp_table()
1429 rulla->vcc ? rulla->vcc->vci : 0, in dump_arp_table()
1431 rulla->recv_vcc ? rulla->recv_vcc->vci : 0, in dump_arp_table()
[all …]
Dproc.c153 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info()
187 vcc->vci); in vcc_info()
212 vcc->dev->number, vcc->vpi, vcc->vci); in svc_info()
/Linux-v5.4/drivers/usb/atm/
Dusbatm.c134 int vci; 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()
296 int vci = ((source[1] & 0x0f) << 12) | (source[2] << 4) | (source[3] >> 4); in usbatm_extract_one_cell() local
299 if ((vci != instance->cached_vci) || (vpi != instance->cached_vpi)) { in usbatm_extract_one_cell()
301 instance->cached_vci = vci; in usbatm_extract_one_cell()
303 instance->cached_vcc = usbatm_find_vcc(instance, vpi, vci); in usbatm_extract_one_cell()
306 atm_rldbg(instance, "%s: unknown vpi/vci (%hd/%d)!\n", __func__, vpi, vci); in usbatm_extract_one_cell()
318 __func__, vpi, vci); in usbatm_extract_one_cell()
470 ptr[1] = (vcc->vpi << 4) | (vcc->vci >> 12); in usbatm_write_cells()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/display/panel/
Dsamsung,s6e63j0x03.txt7 - vci-supply: voltage supply for analog circuits
20 vci-supply = <&ldo20_reg>;
Dsamsung,s6e3ha2.txt10 - vci-supply: voltage supply for analog circuits
26 vci-supply = <&ldo28_reg>;
Dsamsung,s6e63m0.txt7 - vci-supply: VCI regulator
25 vci-supply = <&ldo11_reg>;
Dsamsung,s6e8aa0.txt7 - vci-supply: voltage supply for analog circuits
33 vci-supply = <&vlcd_reg>;
Dsamsung,ld9040.txt7 - vci-supply: voltage supply for analog circuits
33 vci-supply = <&ldo17_reg>;
Dilitek,ili9322.txt17 - vci-supply: voltage supply for analog parts, see regulator/regulator.txt
42 vci-supply = <&vdisp>;
/Linux-v5.4/include/uapi/linux/
Datm.h181 int vci; /* VCI (only 16 bits at UNI) */ member
226 return addr.sap_addr.itf || addr.sap_addr.vpi || addr.sap_addr.vci; in atmpvc_addr_in_use()
Datm_tcp.h23 __u16 vci; member

12