Home
last modified time | relevance | path

Searched refs:vd (Results 1 – 71 of 71) sorted by relevance

/linux-4.4.14/drivers/dma/
Dvirt-dma.c25 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_submit() local
32 list_add_tail(&vd->node, &vc->desc_submitted); in vchan_tx_submit()
36 vc, vd, cookie); in vchan_tx_submit()
45 struct virt_dma_desc *vd; in vchan_find_desc() local
47 list_for_each_entry(vd, &vc->desc_issued, node) in vchan_find_desc()
48 if (vd->tx.cookie == cookie) in vchan_find_desc()
49 return vd; in vchan_find_desc()
62 struct virt_dma_desc *vd; in vchan_complete() local
69 vd = vc->cyclic; in vchan_complete()
70 if (vd) { in vchan_complete()
[all …]
Dvirt-dma.h55 struct virt_dma_desc *vd, unsigned long tx_flags) in vchan_tx_prep() argument
59 dma_async_tx_descriptor_init(&vd->tx, &vc->chan); in vchan_tx_prep()
60 vd->tx.flags = tx_flags; in vchan_tx_prep()
61 vd->tx.tx_submit = vchan_tx_submit; in vchan_tx_prep()
63 return &vd->tx; in vchan_tx_prep()
84 static inline void vchan_cookie_complete(struct virt_dma_desc *vd) in vchan_cookie_complete() argument
86 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_cookie_complete()
89 cookie = vd->tx.cookie; in vchan_cookie_complete()
90 dma_cookie_complete(&vd->tx); in vchan_cookie_complete()
92 vd, cookie); in vchan_cookie_complete()
[all …]
Dpxa_dma.c86 struct virt_dma_desc vd; /* Virtual descriptor */ member
143 container_of((_vd), struct pxad_desc_sw, vd)
593 static bool is_desc_completed(struct virt_dma_desc *vd) in is_desc_completed() argument
595 struct pxad_desc_sw *sw_desc = to_pxad_sw_desc(vd); in is_desc_completed()
614 struct virt_dma_desc *vd) in pxad_try_hotchain() argument
630 to_pxad_sw_desc(vd)->misaligned) in pxad_try_hotchain()
635 pxad_desc_chain(vd_last_issued, vd); in pxad_try_hotchain()
666 struct virt_dma_desc *vd, *tmp; in pxad_chan_handler() local
677 list_for_each_entry_safe(vd, tmp, &chan->vc.desc_issued, node) { in pxad_chan_handler()
680 __func__, vd, vd->tx.cookie, is_desc_completed(vd)); in pxad_chan_handler()
[all …]
Dmoxart-dma.c128 struct virt_dma_desc vd; member
177 return container_of(t, struct moxart_desc, vd.tx); in to_moxart_dma_desc()
180 static void moxart_dma_desc_free(struct virt_dma_desc *vd) in moxart_dma_desc_free() argument
182 kfree(container_of(vd, struct moxart_desc, vd)); in moxart_dma_desc_free()
197 moxart_dma_desc_free(&ch->desc->vd); in moxart_terminate_all()
328 return vchan_tx_prep(&ch->vc, &d->vd, tx_flags); in moxart_prep_slave_sg()
421 struct virt_dma_desc *vd; in moxart_dma_start_desc() local
423 vd = vchan_next_desc(&ch->vc); in moxart_dma_start_desc()
425 if (!vd) { in moxart_dma_start_desc()
430 list_del(&vd->node); in moxart_dma_start_desc()
[all …]
Dbcm2835-dma.c89 struct virt_dma_desc vd; member
146 return container_of(t, struct bcm2835_desc, vd.tx); in to_bcm2835_dma_desc()
149 static void bcm2835_dma_desc_free(struct virt_dma_desc *vd) in bcm2835_dma_desc_free() argument
151 struct bcm2835_desc *desc = container_of(vd, struct bcm2835_desc, vd); in bcm2835_dma_desc_free()
199 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in bcm2835_dma_start_desc() local
202 if (!vd) { in bcm2835_dma_start_desc()
207 list_del(&vd->node); in bcm2835_dma_start_desc()
209 c->desc = d = to_bcm2835_dma_desc(&vd->tx); in bcm2835_dma_start_desc()
230 vchan_cyclic_callback(&d->vd); in bcm2835_dma_callback()
303 struct virt_dma_desc *vd; in bcm2835_dma_tx_status() local
[all …]
Dimg-mdc-dma.c108 struct virt_dma_desc vd; member
180 return container_of(vdesc, struct mdc_tx_desc, vd); in to_mdc_desc()
279 static void mdc_desc_free(struct virt_dma_desc *vd) in mdc_desc_free() argument
281 struct mdc_tx_desc *mdesc = to_mdc_desc(&vd->tx); in mdc_desc_free()
335 return vchan_tx_prep(&mchan->vc, &mdesc->vd, flags); in mdc_prep_dma_memcpy()
338 mdc_desc_free(&mdesc->vd); in mdc_prep_dma_memcpy()
443 return vchan_tx_prep(&mchan->vc, &mdesc->vd, flags); in mdc_prep_dma_cyclic()
446 mdc_desc_free(&mdesc->vd); in mdc_prep_dma_cyclic()
521 return vchan_tx_prep(&mchan->vc, &mdesc->vd, flags); in mdc_prep_slave_sg()
524 mdc_desc_free(&mdesc->vd); in mdc_prep_slave_sg()
[all …]
Damba-pl08x.c186 struct virt_dma_desc vd; member
268 const struct vendor_data *vd; member
306 return container_of(tx, struct pl08x_txd, vd.tx); in to_pl08x_txd()
364 if (pl08x->vd->pl080s) in pl08x_write_lli()
383 if (pl08x->vd->pl080s) in pl08x_write_lli()
400 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); in pl08x_start_next_txd() local
401 struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); in pl08x_start_next_txd()
404 list_del(&txd->vd.node); in pl08x_start_next_txd()
552 if (pl08x->vd->pl080s) in pl08x_getbytes_chan()
578 if (pl08x->vd->pl080s) in pl08x_getbytes_chan()
[all …]
Dsa11x0-dma.c77 struct virt_dma_desc vd; member
142 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in sa11x0_dma_next_desc() local
144 return vd ? container_of(vd, struct sa11x0_dma_desc, vd) : NULL; in sa11x0_dma_next_desc()
147 static void sa11x0_dma_free_desc(struct virt_dma_desc *vd) in sa11x0_dma_free_desc() argument
149 kfree(container_of(vd, struct sa11x0_dma_desc, vd)); in sa11x0_dma_free_desc()
154 list_del(&txd->vd.node); in sa11x0_dma_start_desc()
159 p->num, &txd->vd, txd->vd.tx.cookie, txd->ddar); in sa11x0_dma_start_desc()
233 vchan_cookie_complete(&txd->vd); in sa11x0_dma_complete()
242 vchan_cyclic_callback(&txd->vd); in sa11x0_dma_complete()
427 struct virt_dma_desc *vd; in sa11x0_dma_tx_status() local
[all …]
Dsun4i-dma.c159 struct virt_dma_desc vd; member
186 static struct sun4i_dma_contract *to_sun4i_dma_contract(struct virt_dma_desc *vd) in to_sun4i_dma_contract() argument
188 return container_of(vd, struct sun4i_dma_contract, vd); in to_sun4i_dma_contract()
329 struct virt_dma_desc *vd; in __execute_vchan_pending() local
352 vd = vchan_next_desc(&vchan->vc); in __execute_vchan_pending()
353 if (!vd) { in __execute_vchan_pending()
360 contract = to_sun4i_dma_contract(vd); in __execute_vchan_pending()
363 list_del(&contract->vd.node); in __execute_vchan_pending()
364 vchan_cookie_complete(&contract->vd); in __execute_vchan_pending()
599 static void sun4i_dma_free_contract(struct virt_dma_desc *vd) in sun4i_dma_free_contract() argument
[all …]
Dqcom_bam_dma.c67 struct virt_dma_desc vd; member
651 return vchan_tx_prep(&bchan->vc, &async_desc->vd, flags); in bam_prep_slave_sg()
675 list_add(&bchan->curr_txd->vd.node, &bchan->vc.desc_issued); in bam_dma_terminate_all()
773 vchan_cookie_complete(&async_desc->vd); in process_channel_irqs()
775 list_add(&async_desc->vd.node, in process_channel_irqs()
826 struct virt_dma_desc *vd; in bam_tx_status() local
840 vd = vchan_find_desc(&bchan->vc, cookie); in bam_tx_status()
841 if (vd) in bam_tx_status()
842 residue = container_of(vd, struct bam_async_desc, vd)->length; in bam_tx_status()
843 else if (bchan->curr_txd && bchan->curr_txd->vd.tx.cookie == cookie) in bam_tx_status()
[all …]
Dzx296702_dma.c91 struct virt_dma_desc vd; member
193 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in zx_dma_start_txd() local
201 if (vd) { in zx_dma_start_txd()
203 container_of(vd, struct zx_dma_desc_sw, vd); in zx_dma_start_txd()
208 list_del(&ds->vd.node); in zx_dma_start_txd()
295 vchan_cyclic_callback(&p->ds_run->vd); in zx_dma_int_handler()
297 vchan_cookie_complete(&p->ds_run->vd); in zx_dma_int_handler()
340 struct virt_dma_desc *vd; in zx_dma_tx_status() local
357 vd = vchan_find_desc(&c->vc, cookie); in zx_dma_tx_status()
358 if (vd) { in zx_dma_tx_status()
[all …]
Ds3c24xx-dma.c170 struct virt_dma_desc vd; member
420 return container_of(tx, struct s3c24xx_txd, vd.tx); in to_s3c24xx_txd()
514 struct virt_dma_desc *vd = vchan_next_desc(&s3cchan->vc); in s3c24xx_dma_start_next_txd() local
515 struct s3c24xx_txd *txd = to_s3c24xx_txd(&vd->tx); in s3c24xx_dma_start_next_txd()
517 list_del(&txd->vd.node); in s3c24xx_dma_start_next_txd()
643 static void s3c24xx_dma_desc_free(struct virt_dma_desc *vd) in s3c24xx_dma_desc_free() argument
645 struct s3c24xx_txd *txd = to_s3c24xx_txd(&vd->tx); in s3c24xx_dma_desc_free()
646 struct s3c24xx_dma_chan *s3cchan = to_s3c24xx_dma_chan(vd->tx.chan); in s3c24xx_dma_desc_free()
649 dma_descriptor_unmap(&vd->tx); in s3c24xx_dma_desc_free()
685 vchan_cyclic_callback(&txd->vd); in s3c24xx_dma_irq()
[all …]
Dk3dma.c67 struct virt_dma_desc vd; member
209 vchan_cookie_complete(&p->ds_run->vd); in k3_dma_int_handler()
233 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in k3_dma_start_txd() local
241 if (vd) { in k3_dma_start_txd()
243 container_of(vd, struct k3_dma_desc_sw, vd); in k3_dma_start_txd()
248 list_del(&ds->vd.node); in k3_dma_start_txd()
335 struct virt_dma_desc *vd; in k3_dma_tx_status() local
352 vd = vchan_find_desc(&c->vc, cookie); in k3_dma_tx_status()
353 if (vd) { in k3_dma_tx_status()
354 bytes = container_of(vd, struct k3_dma_desc_sw, vd)->size; in k3_dma_tx_status()
[all …]
Domap-dma.c67 struct virt_dma_desc vd; member
177 return container_of(t, struct omap_desc, vd.tx); in to_omap_dma_desc()
180 static void omap_dma_desc_free(struct virt_dma_desc *vd) in omap_dma_desc_free() argument
182 kfree(container_of(vd, struct omap_desc, vd)); in omap_dma_desc_free()
390 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in omap_dma_start_desc() local
394 if (!vd) { in omap_dma_start_desc()
399 list_del(&vd->node); in omap_dma_start_desc()
401 c->desc = d = to_omap_dma_desc(&vd->tx); in omap_dma_start_desc()
448 vchan_cookie_complete(&d->vd); in omap_dma_callback()
451 vchan_cyclic_callback(&d->vd); in omap_dma_callback()
[all …]
Dsun6i-dma.c130 struct virt_dma_desc vd; member
185 return container_of(tx, struct sun6i_desc, vd.tx); in to_sun6i_desc()
332 static void sun6i_dma_free_desc(struct virt_dma_desc *vd) in sun6i_dma_free_desc() argument
334 struct sun6i_desc *txd = to_sun6i_desc(&vd->tx); in sun6i_dma_free_desc()
335 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(vd->tx.chan->device); in sun6i_dma_free_desc()
488 vchan_cookie_complete(&pchan->desc->vd); in sun6i_dma_interrupt()
553 return vchan_tx_prep(&vchan->vc, &txd->vd, flags); in sun6i_dma_prep_dma_memcpy()
635 return vchan_tx_prep(&vchan->vc, &txd->vd, flags); in sun6i_dma_prep_slave_sg()
741 struct virt_dma_desc *vd; in sun6i_dma_tx_status() local
753 vd = vchan_find_desc(&vchan->vc, cookie); in sun6i_dma_tx_status()
[all …]
Dfsl-edma.c223 static struct fsl_edma_desc *to_fsl_edma_desc(struct virt_dma_desc *vd) in to_fsl_edma_desc() argument
225 return container_of(vd, struct fsl_edma_desc, vdesc); in to_fsl_edma_desc()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dmobility.c71 const char *name, u32 vd, char *value) in update_dt_property() argument
82 if (vd & 0x80000000) { in update_dt_property()
83 vd = ~vd + 1; in update_dt_property()
89 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property()
94 memcpy(new_data + new_prop->length, value, vd); in update_dt_property()
98 new_prop->length += vd; in update_dt_property()
110 new_prop->length = vd; in update_dt_property()
118 memcpy(new_prop->value, value, vd); in update_dt_property()
140 u32 vd; in update_dt_node() local
175 vd = be32_to_cpu(*(__be32 *)prop_data); in update_dt_node()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dvecemu.c262 unsigned int va, vb, vc, vd; in emulate_altivec() local
269 vd = (instr >> 21) & 0x1f; in emulate_altivec()
279 vaddfp(&vrs[vd], &vrs[va], &vrs[vb]); in emulate_altivec()
282 vsubfp(&vrs[vd], &vrs[va], &vrs[vb]); in emulate_altivec()
285 vrefp(&vrs[vd], &vrs[vb]); in emulate_altivec()
288 vrsqrtefp(&vrs[vd], &vrs[vb]); in emulate_altivec()
292 vrs[vd].u[i] = eexp2(vrs[vb].u[i]); in emulate_altivec()
296 vrs[vd].u[i] = elog2(vrs[vb].u[i]); in emulate_altivec()
300 vrs[vd].u[i] = rfin(vrs[vb].u[i]); in emulate_altivec()
304 vrs[vd].u[i] = rfiz(vrs[vb].u[i]); in emulate_altivec()
[all …]
/linux-4.4.14/arch/arm/common/
Dicst.c79 unsigned int vd; in icst_hz_to_vco() local
84 vd = (f + fref_div / 2) / fref_div; in icst_hz_to_vco()
85 if (vd < p->vd_min || vd > p->vd_max) in icst_hz_to_vco()
88 f_pll = fref_div * vd; in icst_hz_to_vco()
94 vco.v = vd - 8; in icst_hz_to_vco()
/linux-4.4.14/arch/arm/vfp/
Dvfpdouble.c54 static void vfp_double_normalise_denormal(struct vfp_double *vd) in vfp_double_normalise_denormal() argument
56 int bits = 31 - fls(vd->significand >> 32); in vfp_double_normalise_denormal()
58 bits = 63 - fls(vd->significand); in vfp_double_normalise_denormal()
60 vfp_double_dump("normalise_denormal: in", vd); in vfp_double_normalise_denormal()
63 vd->exponent -= bits - 1; in vfp_double_normalise_denormal()
64 vd->significand <<= bits; in vfp_double_normalise_denormal()
67 vfp_double_dump("normalise_denormal: out", vd); in vfp_double_normalise_denormal()
70 u32 vfp_double_normaliseround(int dd, struct vfp_double *vd, u32 fpscr, u32 exceptions, const char … in vfp_double_normaliseround() argument
76 vfp_double_dump("pack: in", vd); in vfp_double_normaliseround()
81 if (vd->exponent == 2047 && (vd->significand == 0 || exceptions)) in vfp_double_normaliseround()
[all …]
Dvfp.h346 u32 vfp_double_normaliseround(int dd, struct vfp_double *vd, u32 fpscr, u32 exceptions, const char …
/linux-4.4.14/sound/core/
Dcontrol.c133 if (control->vd[idx].owner == ctl) in snd_ctl_release()
134 control->vd[idx].owner = NULL; in snd_ctl_release()
224 (*kctl)->vd[idx].access = access; in snd_ctl_new()
225 (*kctl)->vd[idx].owner = file; in snd_ctl_new()
555 if (!(kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_USER)) { in snd_ctl_remove_user_ctl()
560 if (kctl->vd[idx].owner != NULL && kctl->vd[idx].owner != file) { in snd_ctl_remove_user_ctl()
589 struct snd_kcontrol_volatile *vd; in snd_ctl_activate_id() local
600 vd = &kctl->vd[index_offset]; in snd_ctl_activate_id()
603 if (!(vd->access & SNDRV_CTL_ELEM_ACCESS_INACTIVE)) in snd_ctl_activate_id()
605 vd->access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ctl_activate_id()
[all …]
Dvmaster.c260 slave->count * sizeof(*slave->vd), GFP_KERNEL); in _snd_ctl_add_slave()
265 memcpy(srec->slave.vd, slave->vd, slave->count * sizeof(*slave->vd)); in _snd_ctl_add_slave()
273 if (slave->vd[0].access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) in _snd_ctl_add_slave()
366 memcpy(sctl->vd, slave->slave.vd, in master_free()
367 sctl->count * sizeof(*sctl->vd)); in master_free()
425 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in snd_ctl_make_virtual_master()
/linux-4.4.14/drivers/dma/sh/
Dusb-dmac.c55 struct virt_dma_desc vd; member
66 #define to_usb_dmac_desc(vd) container_of(vd, struct usb_dmac_desc, vd) argument
227 struct virt_dma_desc *vd; in usb_dmac_chan_start_desc() local
229 vd = vchan_next_desc(&chan->vc); in usb_dmac_chan_start_desc()
230 if (!vd) { in usb_dmac_chan_start_desc()
240 list_del(&vd->node); in usb_dmac_chan_start_desc()
242 chan->desc = to_usb_dmac_desc(vd); in usb_dmac_chan_start_desc()
445 return vchan_tx_prep(&uchan->vc, &desc->vd, dma_flags); in usb_dmac_prep_slave_sg()
510 struct virt_dma_desc *vd; in usb_dmac_chan_get_residue() local
515 vd = vchan_find_desc(&chan->vc, cookie); in usb_dmac_chan_get_residue()
[all …]
/linux-4.4.14/drivers/media/radio/
Dtea575x.c540 tea->vd = tea575x_radio; in snd_tea575x_init()
541 video_set_drvdata(&tea->vd, tea); in snd_tea575x_init()
543 strlcpy(tea->vd.name, tea->v4l2_dev->name, sizeof(tea->vd.name)); in snd_tea575x_init()
544 tea->vd.lock = &tea->mutex; in snd_tea575x_init()
545 tea->vd.v4l2_dev = tea->v4l2_dev; in snd_tea575x_init()
548 tea->vd.fops = &tea->fops; in snd_tea575x_init()
551 v4l2_disable_ioctl(&tea->vd, VIDIOC_S_HW_FREQ_SEEK); in snd_tea575x_init()
554 tea->vd.ctrl_handler = &tea->ctrl_handler; in snd_tea575x_init()
576 retval = video_register_device(&tea->vd, VFL_TYPE_RADIO, tea->radio_nr); in snd_tea575x_init()
579 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in snd_tea575x_init()
[all …]
Dradio-tea5777.c564 tea->vd = tea575x_radio; in radio_tea5777_init()
565 video_set_drvdata(&tea->vd, tea); in radio_tea5777_init()
567 strlcpy(tea->vd.name, tea->v4l2_dev->name, sizeof(tea->vd.name)); in radio_tea5777_init()
568 tea->vd.lock = &tea->mutex; in radio_tea5777_init()
569 tea->vd.v4l2_dev = tea->v4l2_dev; in radio_tea5777_init()
572 tea->vd.fops = &tea->fops; in radio_tea5777_init()
574 tea->vd.ctrl_handler = &tea->ctrl_handler; in radio_tea5777_init()
586 res = video_register_device(&tea->vd, VFL_TYPE_RADIO, -1); in radio_tea5777_init()
589 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in radio_tea5777_init()
599 video_unregister_device(&tea->vd); in radio_tea5777_exit()
[all …]
Dradio-tea5777.h67 struct video_device vd; /* video device */ member
/linux-4.4.14/arch/arm/boot/dts/
Dtegra114-tn7.dts86 regulator-name = "vd-cpu";
94 regulator-name = "vd-soc";
110 regulator-name = "vd-ddr";
134 regulator-name = "vd-smps10-out1";
142 regulator-name = "vd-smps10-out2";
166 regulator-name = "vd-fuse";
174 regulator-name = "vd-ts-hv";
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dak5386.txt14 - vd-supply : a regulator spec, providing 3.3V
22 vd-supply = <&vdd_3v3_reg>;
/linux-4.4.14/arch/arm/mach-omap2/
Dvc.c229 struct voltagedomain *vd; member
239 struct voltagedomain *vd = vc.vd; in omap3_vc_set_pmic_signaling() local
268 vd->write(voltctrl, OMAP3_PRM_VOLTCTRL_OFFSET); in omap3_vc_set_pmic_signaling()
272 vd->write(c->voltsetup1, in omap3_vc_set_pmic_signaling()
277 vd->write(c->voltsetup2, in omap3_vc_set_pmic_signaling()
292 if (vc.vd) in omap3_vc_init_pmic_signaling()
295 vc.vd = voltdm; in omap3_vc_init_pmic_signaling()
/linux-4.4.14/drivers/gpu/drm/i2c/
Dch7006_mode.c105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
108 .name = #hd "x" #vd, \
117 .vdisplay = vd, \
118 .vsync_start = vd + 10, \
119 .vsync_end = vd + 26, \
135 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
137 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \
138 scale_mask, norm_mask, hd, vd)
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c192 unsigned int vd, vs, ve, vt, lc; in matroxfb_vgaHWinit() local
267 vd = m->VDisplay - 1; in matroxfb_vgaHWinit()
271 lc = vd; in matroxfb_vgaHWinit()
296 ((vd & 0x400) >> 8) | /* disp end */ in matroxfb_vgaHWinit()
297 ((vd & 0xC00) >> 7) | /* vblanking start */ in matroxfb_vgaHWinit()
311 ((vd & 0x100) >> 7) | in matroxfb_vgaHWinit()
313 ((vd & 0x100) >> 5) | in matroxfb_vgaHWinit()
316 ((vd & 0x200) >> 3) | in matroxfb_vgaHWinit()
319 hw->CRTC[9] = ((vd & 0x200) >> 4) | in matroxfb_vgaHWinit()
327 hw->CRTC[18] = vd /* & 0xFF */; in matroxfb_vgaHWinit()
[all …]
/linux-4.4.14/sound/soc/codecs/
Dsigmadsp.c141 if (!(kcontrol->vd[0].access & SNDRV_CTL_ELEM_ACCESS_INACTIVE)) in sigmadsp_ctrl_put()
662 struct snd_kcontrol_volatile *vd; in sigmadsp_activate_ctrl() local
676 vd = &ctrl->kcontrol->vd[0]; in sigmadsp_activate_ctrl()
677 if (active == (bool)(vd->access & SNDRV_CTL_ELEM_ACCESS_INACTIVE)) { in sigmadsp_activate_ctrl()
678 vd->access ^= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in sigmadsp_activate_ctrl()
/linux-4.4.14/sound/pci/ice1712/
Dwm8776.c50 struct snd_kcontrol_volatile *vd; in snd_wm8776_activate_ctl() local
61 vd = &kctl->vd[index_offset]; in snd_wm8776_activate_ctl()
63 vd->access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_activate_ctl()
65 vd->access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_activate_ctl()
/linux-4.4.14/include/drm/
Ddrm_modes.h83 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument
86 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \
/linux-4.4.14/arch/s390/kernel/
Dvdso.c83 static void vdso_init_data(struct vdso_data *vd) in vdso_init_data() argument
85 vd->ectg_available = test_facility(31); in vdso_init_data()
/linux-4.4.14/include/media/
Dtea575x.h53 struct video_device vd; /* video device */ member
/linux-4.4.14/drivers/video/fbdev/
Dtdfxfb.c550 u32 vd, vs, ve, vt, vbs, vbe; in tdfxfb_set_par() local
587 vd = (info->var.yres << 1) - 1; in tdfxfb_set_par()
588 vs = vd + (info->var.lower_margin << 1); in tdfxfb_set_par()
595 vd = info->var.yres - 1; in tdfxfb_set_par()
596 vs = vd + info->var.lower_margin; in tdfxfb_set_par()
602 vbs = vd; in tdfxfb_set_par()
649 ((vd & 0x200) >> 3) | in tdfxfb_set_par()
653 ((vd & 0x100) >> 7) | in tdfxfb_set_par()
658 reg.crt[0x12] = vd; in tdfxfb_set_par()
673 ((vd & 0x400) >> 8) | in tdfxfb_set_par()
Dasiliantfb.c180 unsigned vd = p->var.yres; in asiliant_set_timing() local
208 write_cr(0x12, (vd - 1) & 0xff); in asiliant_set_timing()
209 write_cr(0x31, ((vd - 1) & 0xf00) >> 8); in asiliant_set_timing()
/linux-4.4.14/drivers/acpi/
Dacpi_video.c240 struct acpi_video_device *vd = bl_get_data(bd); in acpi_video_get_brightness() local
242 if (acpi_video_device_lcd_get_level_current(vd, &cur_level, false)) in acpi_video_get_brightness()
244 for (i = 2; i < vd->brightness->count; i++) { in acpi_video_get_brightness()
245 if (vd->brightness->levels[i] == cur_level) in acpi_video_get_brightness()
258 struct acpi_video_device *vd = bl_get_data(bd); in acpi_video_set_brightness() local
260 cancel_delayed_work(&vd->switch_brightness_work); in acpi_video_set_brightness()
261 return acpi_video_device_lcd_set_level(vd, in acpi_video_set_brightness()
262 vd->brightness->levels[request_level]); in acpi_video_set_brightness()
/linux-4.4.14/drivers/s390/virtio/
Dkvm_virtio.c45 #define to_kvmdev(vd) container_of(vd, struct kvm_device, vdev) argument
/linux-4.4.14/include/sound/
Dcontrol.h81 struct snd_kcontrol_volatile vd[0]; /* volatile data */ member
/linux-4.4.14/sound/drivers/
Ddummy.c853 dummy->cd_volume_ctl->vd[0].access &= in snd_dummy_iobox_put()
855 dummy->cd_switch_ctl->vd[0].access &= in snd_dummy_iobox_put()
858 dummy->cd_volume_ctl->vd[0].access |= in snd_dummy_iobox_put()
860 dummy->cd_switch_ctl->vd[0].access |= in snd_dummy_iobox_put()
/linux-4.4.14/drivers/misc/mic/card/
Dmic_virtio.c62 #define to_micvdev(vd) container_of(vd, struct mic_vdev, vdev) argument
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_pcm.c130 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
132 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
/linux-4.4.14/sound/pci/oxygen/
Doxygen_pcm.c190 chip->controls[CONTROL_SPDIF_PCM]->vd[0].access &= in oxygen_open()
239 chip->controls[CONTROL_SPDIF_PCM]->vd[0].access |= in oxygen_close()
Dxonar_wm87x6.c890 if ((ctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_INACTIVE) != access) { in activate_control()
891 ctl->vd[0].access ^= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in activate_control()
/linux-4.4.14/drivers/media/pci/ttpci/
Dbudget-av.c71 struct video_device vd; member
1392 saa7146_unregister_device(&budget_av->vd, dev); in budget_av_detach()
1490 if ((err = saa7146_register_device(&budget_av->vd, dev, "knc1", VFL_TYPE_GRABBER))) { in budget_av_attach()
/linux-4.4.14/sound/usb/
Dmixer_quirks.c109 kctl->vd[0].access |= in snd_create_std_mono_ctl_offset()
1853 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in snd_dragonfly_quirk_db_scale()
1854 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK; in snd_dragonfly_quirk_db_scale()
Dmidi.c1107 ctl->vd[0].access |= in substream_open()
1124 ctl->vd[0].access &= in substream_open()
Dmixer.c1078 kcontrol->vd[0].access &= in mixer_ctl_feature_info()
1351 kctl->vd[0].access |= in build_feature_ctl()
/linux-4.4.14/sound/i2c/
Dcs8427.c574 chip->playback.pcm_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_cs8427_iec958_active()
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci_main.c415 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_trigger()
694 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_prepare()
995 chip->spdif_pcm_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_spdif_open()
1094 chip->spdif_pcm_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_spdif_close()
/linux-4.4.14/arch/mips/include/uapi/asm/
Dinst.h632 __BITFIELD_FIELD(unsigned int vd : 5,
/linux-4.4.14/drivers/media/usb/stkwebcam/
Dstk-webcam.c1239 static void stk_v4l_dev_release(struct video_device *vd) in stk_v4l_dev_release() argument
1241 struct stk_camera *dev = vdev_to_camera(vd); in stk_v4l_dev_release()
/linux-4.4.14/sound/pci/
Drme32.c880 rme32->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme32_playback_spdif_open()
1004 rme32->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme32_playback_close()
Drme96.c1210 rme96->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme96_playback_spdif_open()
1330 rme96->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme96_playback_close()
Dvia82xx.c1269 chip->dxs_controls[stream]->vd[0].access &= in snd_via8233_playback_open()
1359 chip->dxs_controls[stream]->vd[0].access |= in snd_via8233_playback_close()
Dcmipci.c1158 ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in save_mixer_state()
1187 ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in restore_mixer_state()
/linux-4.4.14/sound/pci/trident/
Dtrident_main.c1928 trident->spdif_pcm_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_spdif_open()
1967 trident->spdif_pcm_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_spdif_close()
2901 kctl->vd[num].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_notify_pcm_change1()
2903 kctl->vd[num].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_notify_pcm_change1()
/linux-4.4.14/Documentation/DocBook/media/
Dfieldseq_bt.gif.b64297 9tlLatWXr9/4wgHcPd7nvd7vPd/3vd//PeAHvuDfPTa4fXiEaDYggeIvPuM3vuM/PuRHvuRPPuVX
/linux-4.4.14/sound/pci/emu10k1/
Demupcm.c1055 kctl->vd[idx].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_emu10k1_pcm_mixer_notify1()
1057 kctl->vd[idx].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_emu10k1_pcm_mixer_notify1()
/linux-4.4.14/kernel/trace/
Dtrace_events_filter.c2323 #define DATA_REC(m, va, vb, vc, vd, ve, vf, vg, vh, nvisit) \ argument
2326 .rec = { .a = va, .b = vb, .c = vc, .d = vd, \
/linux-4.4.14/sound/pci/rme9652/
Drme9652.c2297 rme9652->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme9652_playback_open()
2314 rme9652->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme9652_playback_release()
Dhdsp.c4469 hdsp->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_hdsp_playback_open()
4488 hdsp->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_hdsp_playback_release()
Dhdspm.c4654 hdspm->playback_mixer_ctls[i]->vd[0].access = in hdspm_update_simple_mixer_controls()
4659 hdspm->playback_mixer_ctls[i]->vd[0].access = in hdspm_update_simple_mixer_controls()
/linux-4.4.14/sound/pci/hda/
Dhda_codec.c1742 if (kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) { in get_kctl_0dB_offset()
1749 } else if (kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_TLV_READ) in get_kctl_0dB_offset()
Dpatch_hdmi.c2164 kctl->vd[i].access |= SNDRV_CTL_ELEM_ACCESS_WRITE; in generic_hdmi_build_controls()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_pm.c5757 const int vd = _pxvid_to_vd(pxvid); in pvid_to_extvid() local
5758 const int vm = vd - 1125; in pvid_to_extvid()
5763 return vd; in pvid_to_extvid()
/linux-4.4.14/scripts/
Dcheckpatch.pl175 printf "$P: requires at least perl version %vd\n", $minimum_perl_version;
/linux-4.4.14/sound/pci/ac97/
Dac97_codec.c1251 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in set_tlv_db_scale()