Home
last modified time | relevance | path

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

123456

/linux-6.15/drivers/dma/
H A Dvirt-dma.c33 vc, vd, cookie); in vchan_tx_submit()
56 list_del(&vd->node); in vchan_tx_desc_free()
60 vc, vd, vd->tx.cookie); in vchan_tx_desc_free()
61 vc->desc_free(vd); in vchan_tx_desc_free()
73 return vd; in vchan_find_desc()
92 vd = vc->cyclic; in vchan_complete()
93 if (vd) { in vchan_complete()
106 list_del(&vd->node); in vchan_complete()
108 vchan_vdesc_fini(vd); in vchan_complete()
117 list_del(&vd->node); in vchan_dma_desc_free_list()
[all …]
H A Dvirt-dma.h62 vd->tx.flags = tx_flags; in vchan_tx_prep()
63 vd->tx.tx_submit = vchan_tx_submit; in vchan_tx_prep()
67 vd->tx_result.residue = 0; in vchan_tx_prep()
73 return &vd->tx; in vchan_tx_prep()
103 cookie = vd->tx.cookie; in vchan_cookie_complete()
104 dma_cookie_complete(&vd->tx); in vchan_cookie_complete()
106 vd, cookie); in vchan_cookie_complete()
127 vc->desc_free(vd); in vchan_vdesc_fini()
139 vc->cyclic = vd; in vchan_cyclic_callback()
157 if (vc->cyclic == vd) in vchan_terminate_vdesc()
[all …]
H A Dloongson1-apb-dma.c60 struct virt_dma_desc vd; member
400 struct virt_dma_desc *vd; in ls1x_dma_terminate_all() local
407 if (vd) in ls1x_dma_terminate_all()
408 vchan_terminate_vdesc(vd); in ls1x_dma_terminate_all()
428 struct virt_dma_desc *vd; in ls1x_dma_tx_status() local
438 if (vd) { in ls1x_dma_tx_status()
477 if (vd) { in ls1x_dma_issue_pending()
493 struct virt_dma_desc *vd; in ls1x_dma_irq_handler() local
497 if (!vd) { in ls1x_dma_irq_handler()
505 vchan_cyclic_callback(vd); in ls1x_dma_irq_handler()
[all …]
H A Duniphier-mdmac.c52 struct virt_dma_desc vd; member
83 return container_of(vd, struct uniphier_mdmac_desc, vd); in to_uniphier_mdmac_desc()
90 struct virt_dma_desc *vd; in uniphier_mdmac_next_desc() local
92 vd = vchan_next_desc(&mc->vc); in uniphier_mdmac_next_desc()
93 if (!vd) { in uniphier_mdmac_next_desc()
98 list_del(&vd->node); in uniphier_mdmac_next_desc()
100 mc->md = to_uniphier_mdmac_desc(vd); in uniphier_mdmac_next_desc()
210 vchan_cookie_complete(&md->vd); in uniphier_mdmac_interrupt()
286 struct virt_dma_desc *vd; in uniphier_mdmac_tx_status() local
312 vd = vchan_find_desc(vc, cookie); in uniphier_mdmac_tx_status()
[all …]
H A Dpxa_dma.c623 __func__, vd, vd->tx.cookie, vd_completed, in pxad_chan_handler()
627 vchan_cyclic_callback(vd); in pxad_chan_handler()
631 list_del(&vd->node); in pxad_chan_handler()
632 vchan_cookie_complete(vd); in pxad_chan_handler()
771 pxad_free_desc(&sw_desc->vd); in pxad_alloc_desc()
793 __func__, vd, cookie); in pxad_tx_submit()
854 INIT_LIST_HEAD(&vd->node); in pxad_tx_prep()
859 vc, vd, vd->tx.cookie, in pxad_tx_prep()
1095 vd, vd->tx.cookie, is_desc_completed(vd)); in pxad_terminate_all()
1134 if (!vd) in pxad_residue()
[all …]
H A Dmilbeaut-xdmac.c62 struct virt_dma_desc vd; member
89 return container_of(vd, struct milbeaut_xdmac_desc, vd); in to_milbeaut_xdmac_desc()
96 struct virt_dma_desc *vd; in milbeaut_xdmac_next_desc() local
98 vd = vchan_next_desc(&mc->vc); in milbeaut_xdmac_next_desc()
99 if (!vd) { in milbeaut_xdmac_next_desc()
104 list_del(&vd->node); in milbeaut_xdmac_next_desc()
106 mc->md = to_milbeaut_xdmac_desc(vd); in milbeaut_xdmac_next_desc()
175 vchan_cookie_complete(&md->vd); in milbeaut_xdmac_interrupt()
203 return vchan_tx_prep(vc, &md->vd, flags); in milbeaut_xdmac_prep_memcpy()
224 vchan_terminate_vdesc(&mc->md->vd); in milbeaut_xdmac_terminate_all()
[all …]
H A Dmilbeaut-hdmac.c60 struct virt_dma_desc vd; member
92 return container_of(vd, struct milbeaut_hdmac_desc, vd); in to_milbeaut_hdmac_desc()
99 struct virt_dma_desc *vd; in milbeaut_hdmac_next_desc() local
101 vd = vchan_next_desc(&mc->vc); in milbeaut_hdmac_next_desc()
102 if (!vd) { in milbeaut_hdmac_next_desc()
107 list_del(&vd->node); in milbeaut_hdmac_next_desc()
109 mc->md = to_milbeaut_hdmac_desc(vd); in milbeaut_hdmac_next_desc()
194 vchan_cookie_complete(&md->vd); in milbeaut_hdmac_interrupt()
326 struct virt_dma_desc *vd; in milbeaut_hdmac_tx_status() local
364 vd = vchan_find_desc(vc, cookie); in milbeaut_hdmac_tx_status()
[all …]
H A Dmoxart-dma.c125 struct virt_dma_desc vd; member
175 kfree(container_of(vd, struct moxart_desc, vd)); in moxart_dma_desc_free()
190 moxart_dma_desc_free(&ch->desc->vd); in moxart_terminate_all()
413 struct virt_dma_desc *vd; in moxart_dma_start_desc() local
415 vd = vchan_next_desc(&ch->vc); in moxart_dma_start_desc()
417 if (!vd) { in moxart_dma_start_desc()
422 list_del(&vd->node); in moxart_dma_start_desc()
473 struct virt_dma_desc *vd; in moxart_tx_status() local
484 vd = vchan_find_desc(&ch->vc, cookie); in moxart_tx_status()
485 if (vd) { in moxart_tx_status()
[all …]
H A Damba-pl08x.c394 if (pl08x->vd->pl080s) in pl08x_write_lli()
514 if (pl08x->vd->pl080s) in pl08x_write_lli()
1570 if (vd) { in pl08x_dma_tx_status()
2720 pl08x->vd = vd; in pl08x_probe()
2728 if (vd->ftdmac020) { in pl08x_probe()
2766 if (vd->ftdmac020) in pl08x_probe()
2774 if (vd->signals) { in pl08x_probe()
2824 if (vd->pl080s) in pl08x_probe()
2842 if (vd->ftdmac020) in pl08x_probe()
2886 if (vd->pl080s) in pl08x_probe()
[all …]
/linux-6.15/lib/vdso/
H A Dgettimeofday.c14 # define VDSO_DELTA_MASK(vd) ULLONG_MAX argument
16 # define VDSO_DELTA_MASK(vd) (vd->mask) argument
80 return (void *)vd + PAGE_SIZE; in __arch_get_vdso_u_timens_data()
90 const struct vdso_clock *vc = vd->clock_data; in do_hres_timens()
170 return do_hres_timens(vd, vc, clk, ts); in do_hres()
289 return do_hres(vd, vc, clock, ts); in __cvdso_clock_gettime_common()
355 vd = __arch_get_vdso_u_timens_data(vd); in __cvdso_gettimeofday_data()
379 vd = __arch_get_vdso_u_timens_data(vd); in __cvdso_time_data()
380 vc = vd->clock_data; in __cvdso_time_data()
412 vd = __arch_get_vdso_u_timens_data(vd); in __cvdso_clock_getres_common()
[all …]
/linux-6.15/arch/powerpc/kernel/vdso/
H A Dvgettimeofday.c10 const struct vdso_time_data *vd) in __c_kernel_clock_gettime() argument
12 return __cvdso_clock_gettime_data(vd, clock, ts); in __c_kernel_clock_gettime()
16 const struct vdso_time_data *vd) in __c_kernel_clock_getres() argument
18 return __cvdso_clock_getres_data(vd, clock_id, res); in __c_kernel_clock_getres()
22 const struct vdso_time_data *vd) in __c_kernel_clock_gettime() argument
28 const struct vdso_time_data *vd) in __c_kernel_clock_gettime64() argument
30 return __cvdso_clock_gettime_data(vd, clock, ts); in __c_kernel_clock_gettime64()
34 const struct vdso_time_data *vd) in __c_kernel_clock_getres() argument
41 const struct vdso_time_data *vd) in __c_kernel_gettimeofday() argument
43 return __cvdso_gettimeofday_data(vd, tv, tz); in __c_kernel_gettimeofday()
[all …]
/linux-6.15/arch/powerpc/kernel/
H A Dvecemu.c266 unsigned int va, vb, vc, vd; in emulate_altivec() local
275 vd = (word >> 21) & 0x1f; in emulate_altivec()
285 vaddfp(&vrs[vd], &vrs[va], &vrs[vb]); in emulate_altivec()
291 vrefp(&vrs[vd], &vrs[vb]); in emulate_altivec()
294 vrsqrtefp(&vrs[vd], &vrs[vb]); in emulate_altivec()
298 vrs[vd].u[i] = eexp2(vrs[vb].u[i]); in emulate_altivec()
302 vrs[vd].u[i] = elog2(vrs[vb].u[i]); in emulate_altivec()
306 vrs[vd].u[i] = rfin(vrs[vb].u[i]); in emulate_altivec()
310 vrs[vd].u[i] = rfiz(vrs[vb].u[i]); in emulate_altivec()
316 vrs[vd].u[i] = x; in emulate_altivec()
[all …]
/linux-6.15/arch/powerpc/include/asm/vdso/
H A Dgettimeofday.h97 const struct vdso_time_data *vd) in __arch_get_hw_counter() argument
128 const struct vdso_time_data *vd);
130 const struct vdso_time_data *vd);
133 const struct vdso_time_data *vd);
135 const struct vdso_time_data *vd);
137 const struct vdso_time_data *vd);
140 const struct vdso_time_data *vd);
142 const struct vdso_time_data *vd);
/linux-6.15/drivers/dma/mediatek/
H A Dmtk-hsdma.c131 struct virt_dma_desc vd; member
147 struct virt_dma_desc *vd; member
260 return container_of(vd, struct mtk_hsdma_vdesc, vd); in to_hsdma_vdesc()
301 kfree(container_of(vd, struct mtk_hsdma_vdesc, vd)); in mtk_hsdma_vdesc_free()
459 ring->cb[ring->cur_tptr].vd = &hvd->vd; in mtk_hsdma_issue_pending_vdesc()
572 if (unlikely(!cb->vd)) { in mtk_hsdma_free_rooms_in_ring()
603 cb->vd = NULL; in mtk_hsdma_free_rooms_in_ring()
663 struct virt_dma_desc *vd; in mtk_hsdma_find_active_desc() local
667 return vd; in mtk_hsdma_find_active_desc()
671 return vd; in mtk_hsdma_find_active_desc()
[all …]
H A Dmtk-cqdma.c79 struct virt_dma_desc vd; member
160 return container_of(vd, struct mtk_cqdma_vdesc, vd); in to_cqdma_vdesc()
201 kfree(to_cqdma_vdesc(vd)); in mtk_cqdma_vdesc_free()
280 cvd = to_cqdma_vdesc(vd); in mtk_cqdma_issue_vchan_pending()
290 list_del(&vd->node); in mtk_cqdma_issue_vchan_pending()
422 struct virt_dma_desc *vd; in mtk_cqdma_find_active_desc() local
426 return vd; in mtk_cqdma_find_active_desc()
431 return vd; in mtk_cqdma_find_active_desc()
442 struct virt_dma_desc *vd; in mtk_cqdma_tx_status() local
457 if (vd) { in mtk_cqdma_tx_status()
[all …]
/linux-6.15/arch/powerpc/platforms/pseries/
H A Dmobility.c130 if (vd & 0x80000000) { in update_dt_property()
131 vd = ~vd + 1; in update_dt_property()
146 new_prop->length += vd; in update_dt_property()
158 new_prop->length = vd; in update_dt_property()
166 memcpy(new_prop->value, value, vd); in update_dt_property()
188 u32 vd; in update_dt_node() local
218 prop_data += vd + sizeof(vd); in update_dt_node()
228 prop_data += sizeof(vd); in update_dt_node()
230 switch (vd) { in update_dt_node()
243 vd, prop_data); in update_dt_node()
[all …]
/linux-6.15/drivers/dma/amd/ptdma/
H A Dptdma-dmaengine.c72 return container_of(vd, struct pt_dma_desc, vd); in to_pt_desc()
193 return vd ? to_pt_desc(vd) : NULL; in pt_next_dma_desc()
200 struct virt_dma_desc *vd; in pt_handle_active_desc() local
214 tx_desc = &desc->vd.tx; in pt_handle_active_desc()
215 vd = &desc->vd; in pt_handle_active_desc()
243 vchan_vdesc_fini(vd); in pt_handle_active_desc()
354 tx_desc = &desc->vd.tx; in pt_cmd_callback_work()
355 vd = &desc->vd; in pt_cmd_callback_work()
376 vchan_vdesc_fini(vd); in pt_cmd_callback_work()
432 return &desc->vd.tx; in pt_prep_dma_memcpy()
[all …]
/linux-6.15/drivers/clk/versatile/
H A Dicst.c76 unsigned int vd; in icst_hz_to_vco() local
81 vd = (f + fref_div / 2) / fref_div; in icst_hz_to_vco()
82 if (vd < p->vd_min || vd > p->vd_max) in icst_hz_to_vco()
85 f_pll = fref_div * vd; in icst_hz_to_vco()
91 vco.v = vd - 8; in icst_hz_to_vco()
/linux-6.15/include/drm/
H A Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument
137 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \
149 #define __DRM_MODE_INIT(pix, hd, vd, hd_mm, vd_mm) \ argument
152 .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \
153 .vsync_end = (vd), .vtotal = (vd), .width_mm = (hd_mm), \
167 #define DRM_MODE_INIT(hz, hd, vd, hd_mm, vd_mm) \ argument
168 __DRM_MODE_INIT((hd) * (vd) * (hz) / 1000 /* kHz */, hd, vd, hd_mm, vd_mm)
180 #define DRM_SIMPLE_MODE(hd, vd, hd_mm, vd_mm) \ argument
181 __DRM_MODE_INIT(1 /* pass validation */, hd, vd, hd_mm, vd_mm)
/linux-6.15/arch/arm/vfp/
H A Dvfpdouble.c63 vd->exponent -= bits - 1; in vfp_double_normalise_denormal()
64 vd->significand <<= bits; in vfp_double_normalise_denormal()
81 if (vd->exponent == 2047 && (vd->significand == 0 || exceptions)) in vfp_double_normaliseround()
88 vd->exponent = 0; in vfp_double_normaliseround()
92 exponent = vd->exponent; in vfp_double_normaliseround()
104 vd->exponent = exponent; in vfp_double_normaliseround()
117 vd->exponent = exponent; in vfp_double_normaliseround()
150 vd->exponent = exponent; in vfp_double_normaliseround()
174 vd->exponent = 2045; in vfp_double_normaliseround()
178 vd->significand = 0; in vfp_double_normaliseround()
[all …]
/linux-6.15/drivers/dma/sh/
H A Dusb-dmac.c52 struct virt_dma_desc vd; member
63 #define to_usb_dmac_desc(vd) container_of(vd, struct usb_dmac_desc, vd) argument
224 struct virt_dma_desc *vd; in usb_dmac_chan_start_desc() local
226 vd = vchan_next_desc(&chan->vc); in usb_dmac_chan_start_desc()
227 if (!vd) { in usb_dmac_chan_start_desc()
237 list_del(&vd->node); in usb_dmac_chan_start_desc()
239 chan->desc = to_usb_dmac_desc(vd); in usb_dmac_chan_start_desc()
507 struct virt_dma_desc *vd; in usb_dmac_chan_get_residue() local
513 if (!vd) in usb_dmac_chan_get_residue()
515 desc = to_usb_dmac_desc(vd); in usb_dmac_chan_get_residue()
[all …]
/linux-6.15/sound/core/
H A Dcontrol.c705 vd = &kctl->vd[index_offset]; in snd_ctl_activate_id()
1141 vd = &kctl->vd[index_offset]; in __snd_ctl_elem_info()
1212 vd = &kctl->vd[index_offset]; in snd_ctl_elem_read()
1283 vd = &kctl->vd[index_offset]; in snd_ctl_elem_write()
1285 (file && vd->owner && vd->owner != file)) { in snd_ctl_elem_write()
1359 vd = &kctl->vd[snd_ctl_get_ioff(kctl, &id)]; in snd_ctl_elem_lock()
1360 if (vd->owner) in snd_ctl_elem_lock()
1380 vd = &kctl->vd[snd_ctl_get_ioff(kctl, &id)]; in snd_ctl_elem_unlock()
1381 if (!vd->owner) in snd_ctl_elem_unlock()
1822 vd->owner != NULL && vd->owner != file) in call_tlv_handler()
[all …]
/linux-6.15/drivers/media/radio/
H A Dtea575x.c522 tea->vd = tea575x_radio; in snd_tea575x_init()
523 video_set_drvdata(&tea->vd, tea); in snd_tea575x_init()
525 strscpy(tea->vd.name, tea->v4l2_dev->name, sizeof(tea->vd.name)); in snd_tea575x_init()
526 tea->vd.lock = &tea->mutex; in snd_tea575x_init()
527 tea->vd.v4l2_dev = tea->v4l2_dev; in snd_tea575x_init()
530 tea->vd.device_caps |= V4L2_CAP_HW_FREQ_SEEK; in snd_tea575x_init()
533 tea->vd.fops = &tea->fops; in snd_tea575x_init()
539 tea->vd.ctrl_handler = &tea->ctrl_handler; in snd_tea575x_init()
564 v4l2_ctrl_handler_free(tea->vd.ctrl_handler); in snd_tea575x_init()
574 video_unregister_device(&tea->vd); in snd_tea575x_exit()
[all …]
/linux-6.15/include/vdso/
H A Dhelpers.h31 static __always_inline void vdso_write_begin(struct vdso_time_data *vd) in vdso_write_begin() argument
33 struct vdso_clock *vc = vd->clock_data; in vdso_write_begin()
45 static __always_inline void vdso_write_end(struct vdso_time_data *vd) in vdso_write_end() argument
47 struct vdso_clock *vc = vd->clock_data; in vdso_write_end()
/linux-6.15/drivers/dma/dw-edma/
H A Ddw-edma-core.c41 return container_of(vd, struct dw_edma_desc, vd); in vd2dw_edma_desc()
191 struct virt_dma_desc *vd; in dw_edma_start_transfer() local
194 if (!vd) in dw_edma_start_transfer()
197 desc = vd2dw_edma_desc(vd); in dw_edma_start_transfer()
332 struct virt_dma_desc *vd; in dw_edma_device_tx_status() local
349 if (vd) { in dw_edma_device_tx_status()
607 if (vd) { in dw_edma_done_interrupt()
612 list_del(&vd->node); in dw_edma_done_interrupt()
622 list_del(&vd->node); in dw_edma_done_interrupt()
647 if (vd) { in dw_edma_abort_interrupt()
[all …]

123456