/linux-master/drivers/dma/sh/ |
H A D | rz-dmac.c | 63 struct virt_dma_chan vc; member in struct:rz_dmac_chan 90 #define to_rz_dmac_chan(c) container_of(c, struct rz_dmac_chan, vc.chan) 255 struct dma_chan *chan = &channel->vc.chan; 286 struct dma_chan *chan = &channel->vc.chan; 312 struct dma_chan *chan = &channel->vc.chan; 335 struct dma_chan *chan = &channel->vc.chan; 387 vd = vchan_next_desc(&chan->vc); 446 spin_lock_irqsave(&channel->vc.lock, flags); 460 spin_unlock_irqrestore(&channel->vc.lock, flags); 468 vchan_free_chan_resources(&channel->vc); [all...] |
/linux-master/drivers/dma/ |
H A D | tegra186-gpc-dma.c | 238 struct virt_dma_chan vc; member in struct:tegra_dma_channel 273 return container_of(dc, struct tegra_dma_channel, vc.chan); 283 return tdc->vc.chan.device->dev; 408 spin_lock_irqsave(&tdc->vc.lock, flags); 410 spin_unlock_irqrestore(&tdc->vc.lock, flags); 432 spin_lock_irqsave(&tdc->vc.lock, flags); 434 spin_unlock_irqrestore(&tdc->vc.lock, flags); 512 vdesc = vchan_next_desc(&tdc->vc); 605 spin_lock(&tdc->vc.lock); 631 spin_unlock(&tdc->vc [all...] |
H A D | at_hdmac.c | 268 * @vc: virtual dma channel entry. 284 struct virt_dma_chan vc; member in struct:at_dma_chan 373 return container_of(chan, struct at_dma_chan, vc.chan); 392 struct at_dma *atdma = to_at_dma(atchan->vc.chan.device); 394 dev_err(chan2dev(&atchan->vc.chan), 396 atchan->vc.chan.chan_id, 400 dev_err(chan2dev(&atchan->vc.chan), 415 dev_crit(chan2dev(&atchan->vc.chan), 452 struct at_dma *atdma = to_at_dma(atchan->vc.chan.device); 560 struct virt_dma_desc *vd = vchan_next_desc(&atchan->vc); [all...] |
H A D | hisi_dma.c | 145 struct virt_dma_chan vc; member in struct:hisi_dma_chan 322 return container_of(c, struct hisi_dma_chan, vc.chan); 467 vchan_free_chan_resources(&chan->vc); 496 return vchan_tx_prep(&chan->vc, &desc->vd, flags); 513 vd = vchan_next_desc(&chan->vc); 544 spin_lock_irqsave(&chan->vc.lock, flags); 546 if (vchan_issue_pending(&chan->vc) && !chan->desc) 549 spin_unlock_irqrestore(&chan->vc.lock, flags); 558 spin_lock_irqsave(&chan->vc.lock, flags); 566 vchan_get_all_descriptors(&chan->vc, [all...] |
H A D | amba-pl08x.c | 234 * @vc: wrapped virtual channel 248 struct virt_dma_chan vc; member in struct:pl08x_dma_chan 317 return container_of(chan, struct pl08x_dma_chan, vc.chan); 531 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); 917 list_for_each_entry(p, &pl08x->memcpy.channels, vc.chan.device_node) 925 list_for_each_entry(p, &pl08x->slave.channels, vc.chan.device_node) 943 spin_lock(&next->vc.lock); 948 spin_unlock(&next->vc.lock); 1525 vchan_get_all_descriptors(&plchan->vc, &head); 1526 vchan_dma_desc_free_list(&plchan->vc, [all...] |
/linux-master/drivers/dma/qcom/ |
H A D | qcom_adm.c | 136 struct virt_dma_chan vc; member in struct:adm_chan 154 return container_of(common, struct adm_chan, vc.chan); 459 return vchan_tx_prep(&achan->vc, &async_desc->vd, flags); 481 spin_lock_irqsave(&achan->vc.lock, flags); 482 vchan_get_all_descriptors(&achan->vc, &head); 488 spin_unlock_irqrestore(&achan->vc.lock, flags); 490 vchan_dma_desc_free_list(&achan->vc, &head); 501 spin_lock_irqsave(&achan->vc.lock, flag); 505 spin_unlock_irqrestore(&achan->vc.lock, flag); 516 struct virt_dma_desc *vd = vchan_next_desc(&achan->vc); [all...] |
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 501 struct v4l2_queryctrl *vc) 508 if (vc->id & V4L2_CTRL_FLAG_NEXT_CTRL) { 510 hdw, (vc->id & ~V4L2_CTRL_FLAG_NEXT_CTRL)); 512 vc->id = pvr2_ctrl_get_v4lid(cptr); 514 cptr = pvr2_hdw_get_ctrl_v4l(hdw, vc->id); 519 vc->id); 525 vc->id, pvr2_ctrl_get_name(cptr), 527 strscpy(vc->name, pvr2_ctrl_get_desc(cptr), sizeof(vc->name)); 528 vc 500 pvr2_queryctrl(struct file *file, void *priv, struct v4l2_queryctrl *vc) argument 574 pvr2_g_ctrl(struct file *file, void *priv, struct v4l2_control *vc) argument 587 pvr2_s_ctrl(struct file *file, void *priv, struct v4l2_control *vc) argument [all...] |
/linux-master/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 34 return &chan->vc.chan.dev->device; 192 vd = vchan_next_desc(&chan->vc); 316 spin_lock_irqsave(&chan->vc.lock, flags); 317 if (vchan_issue_pending(&chan->vc) && chan->request == EDMA_REQ_NONE && 322 spin_unlock_irqrestore(&chan->vc.lock, flags); 346 spin_lock_irqsave(&chan->vc.lock, flags); 347 vd = vchan_find_desc(&chan->vc, cookie); 353 spin_unlock_irqrestore(&chan->vc.lock, flags); 536 return vchan_tx_prep(&chan->vc, &desc->vd, xfer->flags); 604 spin_lock_irqsave(&chan->vc [all...] |
/linux-master/drivers/staging/fbtft/ |
H A D | fb_ili9325.c | 29 static unsigned int vc = 0x03; /* Vci1=Vci*0.80 */ variable 30 module_param(vc, uint, 0000); 31 MODULE_PARM_DESC(vc, "Sets the ratio factor of Vci to generate the reference voltages Vci1"); 88 vc &= 0x07; 117 write_reg(par, 0x0011, 0x220 | vc); /* DC1[2:0], DC0[2:0], VC[2:0] */
|
/linux-master/net/ax25/ |
H A D | ax25_subr.c | 81 unsigned short vc = ax25->va; local 83 while (vc != ax25->vs) { 84 if (nr == vc) return 1; 85 vc = (vc + 1) % ax25->modulus;
|
/linux-master/drivers/dma/dw-axi-dmac/ |
H A D | dw-axi-dmac.h | 47 struct virt_dma_chan vc; member in struct:axi_dma_chan 53 /* these other elements are all protected by vc.lock */ 127 return &chan->vc.chan.dev->device; 135 static inline struct axi_dma_chan *vc_to_axi_dma_chan(struct virt_dma_chan *vc) argument 137 return container_of(vc, struct axi_dma_chan, vc);
|
H A D | dw-axi-dmac-platform.c | 289 return dma_chan_name(&chan->vc.chan); 371 spin_lock_irqsave(&chan->vc.lock, flags); 373 vdesc = vchan_find_desc(&chan->vc, cookie); 382 spin_unlock_irqrestore(&chan->vc.lock, flags); 487 vd = vchan_next_desc(&chan->vc); 502 spin_lock_irqsave(&chan->vc.lock, flags); 503 if (vchan_issue_pending(&chan->vc)) 505 spin_unlock_irqrestore(&chan->vc.lock, flags); 512 vchan_synchronize(&chan->vc); 554 vchan_free_chan_resources(&chan->vc); [all...] |
/linux-master/drivers/media/pci/tw686x/ |
H A D | tw686x.h | 106 int (*alloc)(struct tw686x_video_channel *vc, unsigned int pb); 107 void (*free)(struct tw686x_video_channel *vc, unsigned int pb); 108 void (*buf_refill)(struct tw686x_video_channel *vc, unsigned int pb);
|
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-capture.c | 469 struct fimc_vid_cap *vc = &fimc->vid_cap; local 470 struct exynos_video_entity *ve = &vc->ve; 518 struct fimc_vid_cap *vc = &fimc->vid_cap; local 526 if (close && vc->streaming) { 527 video_device_pipeline_stop(&vc->ve.vdev); 528 vc->streaming = false; 535 fimc_pipeline_call(&vc->ve, close); 538 fimc_md_graph_lock(&vc->ve); 539 vc->ve.vdev.entity.use_count--; 540 fimc_md_graph_unlock(&vc 910 struct fimc_vid_cap *vc = &fimc->vid_cap; local 1011 struct fimc_vid_cap *vc = &fimc->vid_cap; local 1105 struct fimc_vid_cap *vc = &fimc->vid_cap; local 1182 struct fimc_vid_cap *vc = &fimc->vid_cap; local 1232 struct fimc_vid_cap *vc = &fimc->vid_cap; local 1371 struct fimc_vid_cap *vc = &fimc->vid_cap; local 1519 struct fimc_vid_cap *vc = &fimc->vid_cap; local [all...] |
/linux-master/drivers/dma/ti/ |
H A D | omap-dma.c | 64 struct virt_dma_chan vc; member in struct:omap_chan 240 return container_of(c, struct omap_chan, vc.chan); 424 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); 480 dev_err(c->vc.chan.device->dev, 487 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); 566 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); 616 spin_lock_irqsave(&c->vc.lock, flags); 628 spin_unlock_irqrestore(&c->vc.lock, flags); 774 vchan_free_chan_resources(&c->vc); 825 struct omap_dmadev *od = to_omap_dma_dev(c->vc [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_entry.c | 222 struct kvmppc_vcore *vc = vcpu->arch.vcore; local 224 u64 tb = mftb() - vc->tb_offset_applied; 537 struct kvmppc_vcore *vc = vcpu->arch.vcore; local 596 if (vc->tb_offset) { 597 u64 new_tb = *tb + vc->tb_offset; 604 vc->tb_offset_applied = vc->tb_offset; 607 mtspr(SPRN_VTB, vc->vtb); 611 if (vc->pcr) 612 mtspr(SPRN_PCR, vc [all...] |
H A D | book3s_hv_nested.c | 32 struct kvmppc_vcore *vc = vcpu->arch.vcore; local 34 hr->pcr = vc->pcr | PCR_MASK; 35 hr->dpdes = vc->dpdes; 37 hr->tb_offset = vc->tb_offset; 44 hr->vtb = vc->vtb; 106 struct kvmppc_vcore *vc = vcpu->arch.vcore; local 108 hr->dpdes = vc->dpdes; 112 hr->vtb = vc->vtb; 143 struct kvmppc_vcore *vc = vcpu->arch.vcore; local 145 vc 171 struct kvmppc_vcore *vc = vcpu->arch.vcore; local 257 struct kvmppc_vcore *vc = vcpu->arch.vcore; local 295 struct kvmppc_vcore *vc = vcpu->arch.vcore; local [all...] |
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-csid-4-7.c | 207 u8 vc = 0; /* Virtual Channel 0 */ local 208 u8 cid = vc * 4; /* id of Virtual Channel and Data Type set */ 261 val = readl_relaxed(csid->base + CAMSS_CSID_CID_LUT_VC_n(vc)); 264 writel_relaxed(val, csid->base + CAMSS_CSID_CID_LUT_VC_n(vc));
|
H A D | camss-csid-4-1.c | 178 u8 vc = 0; /* Virtual Channel 0 */ local 179 u8 cid = vc * 4; /* id of Virtual Channel and Data Type set */ 231 val = readl_relaxed(csid->base + CAMSS_CSID_CID_LUT_VC_n(vc)); 234 writel_relaxed(val, csid->base + CAMSS_CSID_CID_LUT_VC_n(vc));
|
/linux-master/net/lapb/ |
H A D | lapb_subr.c | 88 unsigned short vc = lapb->va; local 93 while (vc != lapb->vs) { 94 if (nr == vc) 96 vc = (vc + 1) % modulus;
|
/linux-master/net/x25/ |
H A D | x25_subr.c | 93 unsigned short vc = x25->va; local 96 while (vc != x25->vs) { 97 if (nr == vc) 99 vc = (vc + 1) % modulus;
|
/linux-master/arch/powerpc/kernel/ |
H A D | vecemu.c | 266 unsigned int va, vb, vc, vd; local 278 vc = (word >> 6) & 0x1f; 283 switch (vc) { 341 vmaddfp(&vrs[vd], &vrs[va], &vrs[vb], &vrs[vc]); 344 vnmsubfp(&vrs[vd], &vrs[va], &vrs[vb], &vrs[vc]);
|
/linux-master/drivers/atm/ |
H A D | nicstar.c | 131 static void fill_tst(ns_dev * card, int n, vc_map * vc); 134 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd, 1230 vc_map *vc; local 1240 int inuse; /* tx or rx vc already in use by another vcc */ 1252 vc = &(card->vcmap[vpi << card->vcibits | vci]); 1253 vcc->dev_data = vc; 1256 if (vcc->qos.txtp.traffic_class != ATM_NONE && vc->tx) 1258 if (vcc->qos.rxtp.traffic_class != ATM_NONE && vc->rx) 1280 ("nicstar%d: trying to open a CBR vc with cell rate = 0 \n", 1338 card->scd2vc[frscdi] = vc; 1411 vc_map *vc; local 1572 fill_tst(ns_dev * card, int n, vc_map * vc) argument 1625 vc_map *vc; local 1728 push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd, struct sk_buff *skb, bool may_sleep) argument 1978 vc_map *vc; local [all...] |
/linux-master/drivers/media/platform/ti/cal/ |
H A D | cal.c | 315 cal_set_field(&val, ctx->vc, CAL_CSI2_CTX_VC_MASK); 481 ctx->vc = 0; 484 ctx_dbg(2, ctx, "Framedesc: len %u, vc %u, dt %#x\n", 485 entry.length, entry.bus.csi2.vc, entry.bus.csi2.dt); 487 ctx->vc = entry.bus.csi2.vc; 525 if (phy->vc_enable_count[ctx->vc]++ == 0) { 526 phy->vc_frame_number[ctx->vc] = 0; 527 phy->vc_sequence[ctx->vc] = 0; 554 WARN_ON(phy->vc_enable_count[ctx->vc] 606 u8 vc = ctx->vc; local [all...] |
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar-isp.c | 176 unsigned int vc; local 200 for (vc = 0; vc < 4; vc++) { 201 u8 ch = vc + 4; 204 risp_write(isp, ISPCS_FILTER_ID_CH_REG(ch), BIT(vc));
|