Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
807 seq_printf(seq, "%3d %3d ", entry->vcc->vpi, entry->vcc->vci); in lec_info()
812 entry->recv_vcc->vci); in lec_info()
1372 rulla->vcc ? rulla->vcc->vci : 0, in dump_arp_table()
1376 vci : 0, rulla->last_used, in dump_arp_table()
1397 rulla->vcc ? rulla->vcc->vci : 0, in dump_arp_table()
1399 rulla->recv_vcc ? rulla->recv_vcc->vci : 0, in dump_arp_table()
1419 rulla->vcc ? rulla->vcc->vci : 0, in dump_arp_table()
1421 rulla->recv_vcc ? rulla->recv_vcc->vci : 0, in dump_arp_table()
[all …]
Dproc.c152 vcc->dev->number, vcc->vpi, vcc->vci, in pvc_info()
186 vcc->vci); in vcc_info()
211 vcc->dev->number, vcc->vpi, vcc->vci); in svc_info()
/kernel/linux/linux-5.10/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.c322 printk(KERN_ALERT " VCI %d, rxing %d, words %ld\n",vcc->vci, in rx_ident_err()
361 vcc->vci,(unsigned long) paddr); in do_rx_dma()
369 dma[j++] = (here << MID_DMA_COUNT_SHIFT) | (vcc->vci in do_rx_dma()
390 (vcc->vci << MID_DMA_VCI_SHIFT); in do_rx_dma()
398 MID_DMA_COUNT_SHIFT) | (vcc->vci << in do_rx_dma()
408 MID_DMA_COUNT_SHIFT) | (vcc->vci << in do_rx_dma()
418 MID_DMA_COUNT_SHIFT) | (vcc->vci << in do_rx_dma()
428 MID_DMA_COUNT_SHIFT) | (vcc->vci << in do_rx_dma()
437 | (vcc->vci << MID_DMA_VCI_SHIFT); in do_rx_dma()
443 (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()
903 (vcc->vci << SAR_TBD_VCI_SHIFT); in queue_skb()
1017 u32 header, vpi, vci; in dequeue_rx() local
1040 vci = (header >> 0) & 0xffff; in dequeue_rx()
1043 card->name, vpi, vci, skb, skb->data); in dequeue_rx()
1045 if ((vpi >= (1 << card->vpibits)) || (vci != (vci & card->vcimask))) { in dequeue_rx()
1047 card->name, vpi, vci); in dequeue_rx()
1052 vc = card->vcs[VPCI2VC(card, vpi, vci)]; in dequeue_rx()
1055 card->name, vpi, vci); in dequeue_rx()
1088 (vci << ATM_HDR_VCI_SHIFT); in dequeue_rx()
[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 …]
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 …]
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 …]
Dfore200e.h93 u32 vci : 16, /* virtual channel identifier */
271 u32 vci : 16, /* virtual channel identifier */
826 #define FORE200E_VC_MAP(fore200e, vpi, vci) \ argument
827 (& (fore200e)->vc_map[ ((vpi) << FORE200E_VCI_BITS) | (vci) ])
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-xinpeng-xpp055c272.c53 struct regulator *vci; member
161 regulator_disable(ctx->vci); in xpp055c272_unprepare()
178 ret = regulator_enable(ctx->vci); in xpp055c272_prepare()
227 regulator_disable(ctx->vci); in xpp055c272_prepare()
291 ctx->vci = devm_regulator_get(dev, "vci"); in xpp055c272_probe()
292 if (IS_ERR(ctx->vci)) { in xpp055c272_probe()
293 ret = PTR_ERR(ctx->vci); in xpp055c272_probe()
Dpanel-leadtek-ltk050h3146w.c36 struct regulator *vci; member
460 regulator_disable(ctx->vci); in ltk050h3146w_unprepare()
477 ret = regulator_enable(ctx->vci); in ltk050h3146w_prepare()
523 regulator_disable(ctx->vci); in ltk050h3146w_prepare()
573 ctx->vci = devm_regulator_get(dev, "vci"); in ltk050h3146w_probe()
574 if (IS_ERR(ctx->vci)) { in ltk050h3146w_probe()
575 ret = PTR_ERR(ctx->vci); in ltk050h3146w_probe()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Datm.h112 int vci; member
145 return addr.sap_addr.itf || addr.sap_addr.vpi || addr.sap_addr.vci; in atmpvc_addr_in_use()
Datm_tcp.h14 __u16 vci; member
/kernel/linux/linux-5.10/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
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Datm_tcp.h27 __u16 vci; member

123