/drivers/dma/ |
H A D | virt-dma.c | 25 struct virt_dma_desc *vd = to_virt_desc(tx); local 32 list_add_tail(&vd->node, &vc->desc_submitted); 36 vc, vd, cookie); 45 struct virt_dma_desc *vd; local 47 list_for_each_entry(vd, &vc->desc_issued, node) 48 if (vd->tx.cookie == cookie) 49 return vd; 62 struct virt_dma_desc *vd; local 69 vd = vc->cyclic; 70 if (vd) { 97 struct virt_dma_desc *vd = list_first_entry(head, local [all...] |
H A D | virt-dma.h | 51 * vd: virtual descriptor to prepare 55 struct virt_dma_desc *vd, unsigned long tx_flags) 59 dma_async_tx_descriptor_init(&vd->tx, &vc->chan); 60 vd->tx.flags = tx_flags; 61 vd->tx.tx_submit = vchan_tx_submit; 63 return &vd->tx; 80 * vd: virtual descriptor to update 84 static inline void vchan_cookie_complete(struct virt_dma_desc *vd) argument 86 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); 89 cookie = vd 54 vchan_tx_prep(struct virt_dma_chan *vc, struct virt_dma_desc *vd, unsigned long tx_flags) argument 102 vchan_cyclic_callback(struct virt_dma_desc *vd) argument [all...] |
H A D | bcm2835-dma.c | 81 struct virt_dma_desc vd; member in struct:bcm2835_desc 140 return container_of(t, struct bcm2835_desc, vd.tx); 143 static void bcm2835_dma_desc_free(struct virt_dma_desc *vd) argument 145 struct bcm2835_desc *desc = container_of(vd, struct bcm2835_desc, vd); 146 dma_free_coherent(desc->vd.tx.chan->device->dev, 190 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); local 193 if (!vd) { 198 list_del(&vd->node); 200 c->desc = d = to_bcm2835_dma_desc(&vd 287 struct virt_dma_desc *vd; local [all...] |
H A D | k3dma.c | 68 struct virt_dma_desc vd; member in struct:k3_dma_desc_sw 210 vchan_cookie_complete(&p->ds_run->vd); 234 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); local 242 if (vd) { 244 container_of(vd, struct k3_dma_desc_sw, vd); 249 list_del(&ds->vd.node); 341 struct virt_dma_desc *vd; local 358 vd = vchan_find_desc(&c->vc, cookie); 359 if (vd) { 635 k3_dma_free_desc(struct virt_dma_desc *vd) argument [all...] |
H A D | moxart-dma.c | 128 struct virt_dma_desc vd; member in struct:moxart_desc 177 return container_of(t, struct moxart_desc, vd.tx); 180 static void moxart_dma_desc_free(struct virt_dma_desc *vd) argument 182 kfree(container_of(vd, struct moxart_desc, vd)); 348 return vchan_tx_prep(&ch->vc, &d->vd, tx_flags); 441 struct virt_dma_desc *vd; local 443 vd = vchan_next_desc(&ch->vc); 445 if (!vd) { 450 list_del(&vd 501 struct virt_dma_desc *vd; local [all...] |
H A D | sa11x0-dma.c | 77 struct virt_dma_desc vd; member in struct:sa11x0_dma_desc 142 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); local 144 return vd ? container_of(vd, struct sa11x0_dma_desc, vd) : NULL; 147 static void sa11x0_dma_free_desc(struct virt_dma_desc *vd) argument 149 kfree(container_of(vd, struct sa11x0_dma_desc, vd)); 154 list_del(&txd->vd.node); 159 p->num, &txd->vd, tx 432 struct virt_dma_desc *vd; local [all...] |
H A D | sun6i-dma.c | 128 struct virt_dma_desc vd; member in struct:sun6i_desc 182 return container_of(tx, struct sun6i_desc, vd.tx); 329 static void sun6i_dma_free_desc(struct virt_dma_desc *vd) argument 331 struct sun6i_desc *txd = to_sun6i_desc(&vd->tx); 332 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(vd->tx.chan->device); 516 vchan_cookie_complete(&pchan->desc->vd); 581 return vchan_tx_prep(&vchan->vc, &txd->vd, flags); 663 return vchan_tx_prep(&vchan->vc, &txd->vd, flags); 734 struct virt_dma_desc *vd; local 746 vd [all...] |
H A D | amba-pl08x.c | 171 * @vd: virtual DMA descriptor 182 struct virt_dma_desc vd; member in struct:pl08x_txd 250 * @vd: vendor data for this PL08x variant 264 const struct vendor_data *vd; member in struct:pl08x_driver_data 302 return container_of(tx, struct pl08x_txd, vd.tx); 360 if (pl08x->vd->pl080s) 379 if (pl08x->vd->pl080s) 396 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); local 397 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); 400 list_del(&txd->vd 1168 pl08x_desc_free(struct virt_dma_desc *vd) argument 1220 struct virt_dma_desc *vd; local 2021 const struct vendor_data *vd = id->data; local [all...] |
H A D | fsl-edma.c | 224 static struct fsl_edma_desc *to_fsl_edma_desc(struct virt_dma_desc *vd) argument 226 return container_of(vd, struct fsl_edma_desc, vdesc);
|
H A D | omap-dma.c | 63 struct virt_dma_desc vd; member in struct:omap_desc 173 return container_of(t, struct omap_desc, vd.tx); 176 static void omap_dma_desc_free(struct virt_dma_desc *vd) argument 178 kfree(container_of(vd, struct omap_desc, vd)); 386 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); local 390 if (!vd) { 395 list_del(&vd->node); 397 c->desc = d = to_omap_dma_desc(&vd->tx); 444 vchan_cookie_complete(&d->vd); 699 struct virt_dma_desc *vd; local [all...] |
H A D | qcom_bam_dma.c | 67 struct virt_dma_desc vd; member in struct:bam_async_desc 533 return vchan_tx_prep(&bchan->vc, &async_desc->vd, flags); 556 list_add(&bchan->curr_txd->vd.node, &bchan->vc.desc_issued); 666 vchan_cookie_complete(&async_desc->vd); 668 list_add(&async_desc->vd.node, 719 struct virt_dma_desc *vd; local 733 vd = vchan_find_desc(&bchan->vc, cookie); 734 if (vd) 735 residue = container_of(vd, struct bam_async_desc, vd) 777 struct virt_dma_desc *vd = vchan_next_desc(&bchan->vc); local 885 bam_dma_free_desc(struct virt_dma_desc *vd) argument [all...] |
H A D | s3c24xx-dma.c | 160 * @vd: virtual DMA descriptor 170 struct virt_dma_desc vd; member in struct:s3c24xx_txd 410 return container_of(tx, struct s3c24xx_txd, vd.tx); 504 struct virt_dma_desc *vd = vchan_next_desc(&s3cchan->vc); local 505 struct s3c24xx_txd *txd = to_s3c24xx_txd(&vd->tx); 507 list_del(&txd->vd.node); 633 static void s3c24xx_dma_desc_free(struct virt_dma_desc *vd) argument 635 struct s3c24xx_txd *txd = to_s3c24xx_txd(&vd->tx); 636 struct s3c24xx_dma_chan *s3cchan = to_s3c24xx_dma_chan(vd->tx.chan); 639 dma_descriptor_unmap(&vd 772 struct virt_dma_desc *vd; local [all...] |
/drivers/media/radio/ |
H A D | radio-tea5777.h | 67 struct video_device vd; /* video device */ member in struct:radio_tea5777
|
/drivers/video/fbdev/ |
H A D | asiliantfb.c | 180 unsigned vd = p->var.yres; local 208 write_cr(0x12, (vd - 1) & 0xff); 209 write_cr(0x31, ((vd - 1) & 0xf00) >> 8);
|
H A D | tdfxfb.c | 569 u32 vd, vs, ve, vt, vbs, vbe; local 606 vd = (info->var.yres << 1) - 1; 607 vs = vd + (info->var.lower_margin << 1); 614 vd = info->var.yres - 1; 615 vs = vd + info->var.lower_margin; 621 vbs = vd; 668 ((vd & 0x200) >> 3) | 672 ((vd & 0x100) >> 7) | 677 reg.crt[0x12] = vd; 692 ((vd [all...] |
/drivers/video/fbdev/matrox/ |
H A D | matroxfb_misc.c | 192 unsigned int vd, vs, ve, vt, lc; local 267 vd = m->VDisplay - 1; 271 lc = vd; 296 ((vd & 0x400) >> 8) | /* disp end */ 297 ((vd & 0xC00) >> 7) | /* vblanking start */ 311 ((vd & 0x100) >> 7) | 313 ((vd & 0x100) >> 5) | 316 ((vd & 0x200) >> 3) | 319 hw->CRTC[9] = ((vd & 0x200) >> 4) | 327 hw->CRTC[18] = vd /* [all...] |
/drivers/media/pci/ttpci/ |
H A D | budget-av.c | 71 struct video_device *vd; member in struct:budget_av 1392 saa7146_unregister_device(&budget_av->vd, dev); 1490 if ((err = saa7146_register_device(&budget_av->vd, dev, "knc1", VFL_TYPE_GRABBER))) {
|
/drivers/media/usb/stkwebcam/ |
H A D | stk-webcam.c | 1241 static void stk_v4l_dev_release(struct video_device *vd) argument 1243 struct stk_camera *dev = vdev_to_camera(vd);
|
/drivers/acpi/ |
H A D | video.c | 259 struct acpi_video_device *vd = bl_get_data(bd); local 261 if (acpi_video_device_lcd_get_level_current(vd, &cur_level, false)) 263 for (i = 2; i < vd->brightness->count; i++) { 264 if (vd->brightness->levels[i] == cur_level) 277 struct acpi_video_device *vd = bl_get_data(bd); local 279 cancel_delayed_work(&vd->switch_brightness_work); 280 return acpi_video_device_lcd_set_level(vd, 281 vd->brightness->levels[request_level]);
|
/drivers/staging/media/bcm2048/ |
H A D | radio-bcm2048.c | 2677 struct video_device *vd; local 2683 vd = bdev->videodev; 2687 if (vd) 2688 video_unregister_device(vd);
|
/drivers/gpu/drm/i915/ |
H A D | intel_pm.c | 4679 u16 vd; /* in .1 mil */ member in struct:v_table 4814 return v_table[pxvid].vd;
|