/drivers/atm/ |
D | atmtcp.c | 94 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 …]
|
D | lanai.c | 230 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 …]
|
D | eni.c | 322 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 …]
|
D | ambassador.c | 1013 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 …]
|
D | idt77252.c | 779 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 …]
|
D | iphase.c | 247 vcstatus = (vcstatus_t *) &(dev->testTable[vcc->vci]->vc_status); in clear_lockup() 251 abr_vc += vcc->vci; in clear_lockup() 252 eabr_vc += vcc->vci; in clear_lockup() 263 if((tempCellSlot == dev->testTable[vcc->vci]->lastTime) in clear_lockup() 264 && (tempFract == dev->testTable[vcc->vci]->fract)) in clear_lockup() 266 dev->testTable[vcc->vci]->lastTime = tempCellSlot; in clear_lockup() 267 dev->testTable[vcc->vci]->fract = tempFract; in clear_lockup() 283 shd_tbl[i] = vcc->vci; in clear_lockup() 285 IF_ERR(printk("ABR Seg. may not continue on VC %x\n",vcc->vci);) in clear_lockup() 386 f_abr_vc += vcc->vci; in ia_open_abr_vc() [all …]
|
D | solos-pci.c | 87 __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 …]
|
D | fore200e.c | 980 (rpd->atm_header.vci << ATM_HDR_VCI_SHIFT) | in fore200e_push_rpd() 1036 vcc->itf, vcc->vpi, vcc->vci); in fore200e_push_rpd() 1100 vc_map = FORE200E_VC_MAP(fore200e, entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq() 1107 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq() 1120 entry->rpd->atm_header.vpi, entry->rpd->atm_header.vci); in fore200e_rx_irq() 1213 int scheme = vcc->vci % 2 ? BUFFER_SCHEME_ONE : BUFFER_SCHEME_TWO; in fore200e_select_scheme() 1216 vcc->itf, vcc->vpi, vcc->vci, scheme); in fore200e_select_scheme() 1248 vpvc.vci = vcc->vci; in fore200e_activate_vcin() 1274 activate ? "open" : "close", vcc->itf, vcc->vpi, vcc->vci); in fore200e_activate_vcin() 1278 DPRINTK(1, "VC %d.%d.%d %sed\n", vcc->itf, vcc->vpi, vcc->vci, in fore200e_activate_vcin() [all …]
|
D | adummy.c | 93 int vci = vcc->vci; in adummy_open() local 95 if (vci == ATM_VCI_UNSPEC || vpi == ATM_VPI_UNSPEC) in adummy_open()
|
D | he.c | 220 #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 …]
|
D | zatm.c | 549 pos = vcc->vci >> 1; in open_rx_second() 550 shift = (1-(vcc->vci & 1)) << 4; in open_rx_second() 570 if (vcc->vpi != ATM_VPI_UNSPEC && vcc->vci != ATM_VCI_UNSPEC) { in close_rx() 572 pos = vcc->vci >> 1; in close_rx() 573 shift = (1-(vcc->vci & 1)) << 4; in close_rx() 989 vcc->vci,zatm_vcc->tx_chan*VC_SIZE/4+1); in open_tx_second() 1391 int vci = vcc->vci; in zatm_open() local 1397 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) in zatm_open() 1401 vcc->vci); in zatm_open() 1419 if (vci == ATM_VPI_UNSPEC || vpi == ATM_VCI_UNSPEC) return 0; in zatm_open()
|
D | fore200e.h | 93 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) ])
|
D | horizon.c | 496 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() 2106 int vci = atm_vcc->vci; 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()
|
D | nicstar.c | 1247 int vci = vcc->vci; in ns_open() local 1251 vci); in ns_open() 1257 vc = &(card->vcmap[vpi << card->vcibits | vci]); in ns_open() 1404 (vpi << card->vcibits | vci) * in ns_open() 1424 (int)vcc->vpi, vcc->vci); in ns_close() 1434 (vcc->vpi << card->vcibits | vcc->vci) * NS_RCT_ENTRY_SIZE; in ns_close() 1680 ns_tbd_mkword_4(0, (u32) vcc->vpi, (u32) vcc->vci, 0, in _ns_send() 1698 vci) << in _ns_send() 1982 u32 vpi, vci; in dequeue_rx() local 2015 vci = ns_rsqe_vci(rsqe); in dequeue_rx() [all …]
|
D | firestream.c | 863 int vci = atm_vcc->vci; in fs_open() local 871 if (vci != ATM_VPI_UNSPEC && vpi != ATM_VCI_UNSPEC) in fs_open() 879 atm_vcc->dev->number, atm_vcc->vpi, atm_vcc->vci); in fs_open() 923 vcc->channo = (vpi << FS155_VCI_BITS) | (vci); in fs_open() 974 tc->atm_hdr = (vpi << 20) | (vci << 4); in fs_open() 1083 (vpi << 16) | vci, 0 ); /* XXX -- Use defines. */ in fs_open()
|
D | eni.h | 80 void __iomem *vci; /* VCI table */ member
|
D | nicstar.h | 237 #define ns_tbd_mkword_4(gfc, vpi, vci, pt, clp) \ argument 238 (cpu_to_le32((gfc) << 28 | (vpi) << 20 | (vci) << 4 | (pt) << 1 | (clp)))
|
D | idt77252.h | 43 #define VPCI2VC(card, vpi, vci) \ argument 44 (((vpi) << card->vcibits) | ((vci) & card->vcimask))
|
D | iphase.h | 845 u16 vci; member
|
/drivers/gpu/drm/panel/ |
D | panel-xinpeng-xpp055c272.c | 53 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()
|
D | panel-leadtek-ltk050h3146w.c | 36 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()
|
/drivers/usb/atm/ |
D | usbatm.c | 134 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 …]
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 999 struct vortex_chip_info *vci; in vortex_init_one() local 1015 vci = &vortex_info_tbl[ent->driver_data]; in vortex_init_one() 1016 pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0; in vortex_init_one() 1098 struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx]; in vortex_probe1() local 1157 vci->name, in vortex_probe1() 1165 vp->drv_flags = vci->drv_flags; in vortex_probe1() 1166 vp->has_nway = (vci->drv_flags & HAS_NWAY) ? 1 : 0; in vortex_probe1() 1167 vp->io_size = vci->io_size; in vortex_probe1() 1179 if (vci->flags & PCI_USES_MASTER) in vortex_probe1() 1182 if (vci->drv_flags & IS_VORTEX) { in vortex_probe1() [all …]
|