Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/lib/vdso/
A Dgettimeofday.c60 vd = __arch_get_timens_vdso_data(vd); in do_hres_timens()
62 vd = &vd[CS_HRES_COARSE]; in do_hres_timens()
64 vd = &vd[CS_RAW]; in do_hres_timens()
73 cycles = __arch_get_hw_counter(vd->clock_mode, vd); in do_hres_timens()
78 ns += vdso_calc_delta(cycles, last, vd->mask, vd->mult); in do_hres_timens()
144 cycles = __arch_get_hw_counter(vd->clock_mode, vd); in do_hres()
243 vd = &vd[CS_HRES_COARSE]; in __cvdso_clock_gettime_common()
247 vd = &vd[CS_RAW]; in __cvdso_clock_gettime_common()
316 vd = __arch_get_timens_vdso_data(vd); in __cvdso_gettimeofday_data()
339 vd = __arch_get_timens_vdso_data(vd); in __cvdso_time_data()
[all …]
/linux-6.3-rc2/drivers/dma/
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()
99 cookie = vd->tx.cookie; in vchan_cookie_complete()
100 dma_cookie_complete(&vd->tx); in vchan_cookie_complete()
102 vd, cookie); in vchan_cookie_complete()
123 vc->desc_free(vd); in vchan_vdesc_fini()
135 vc->cyclic = vd; in vchan_cyclic_callback()
151 if (vc->cyclic == vd) in vchan_terminate_vdesc()
[all …]
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 …]
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 …]
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 …]
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()
770 pxad_free_desc(&sw_desc->vd); in pxad_alloc_desc()
792 __func__, vd, cookie); in pxad_tx_submit()
853 INIT_LIST_HEAD(&vd->node); in pxad_tx_prep()
858 vc, vd, vd->tx.cookie, in pxad_tx_prep()
1094 vd, vd->tx.cookie, is_desc_completed(vd)); in pxad_terminate_all()
1133 if (!vd) in pxad_residue()
[all …]
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 …]
A Dmoxart-dma.c125 struct virt_dma_desc vd; member
180 kfree(container_of(vd, struct moxart_desc, vd)); in moxart_dma_desc_free()
195 moxart_dma_desc_free(&ch->desc->vd); in moxart_terminate_all()
419 struct virt_dma_desc *vd; in moxart_dma_start_desc() local
421 vd = vchan_next_desc(&ch->vc); in moxart_dma_start_desc()
423 if (!vd) { in moxart_dma_start_desc()
428 list_del(&vd->node); in moxart_dma_start_desc()
479 struct virt_dma_desc *vd; in moxart_tx_status() local
490 vd = vchan_find_desc(&ch->vc, cookie); in moxart_tx_status()
491 if (vd) { in moxart_tx_status()
[all …]
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.3-rc2/include/vdso/
A Dhelpers.h9 static __always_inline u32 vdso_read_begin(const struct vdso_data *vd) in vdso_read_begin() argument
13 while (unlikely((seq = READ_ONCE(vd->seq)) & 1)) in vdso_read_begin()
20 static __always_inline u32 vdso_read_retry(const struct vdso_data *vd, in vdso_read_retry() argument
26 seq = READ_ONCE(vd->seq); in vdso_read_retry()
30 static __always_inline void vdso_write_begin(struct vdso_data *vd) in vdso_write_begin() argument
37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); in vdso_write_begin()
38 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1); in vdso_write_begin()
42 static __always_inline void vdso_write_end(struct vdso_data *vd) in vdso_write_end() argument
50 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); in vdso_write_end()
51 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1); in vdso_write_end()
/linux-6.3-rc2/arch/powerpc/kernel/vdso/
A Dvgettimeofday.c10 const struct vdso_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_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_data *vd) in __c_kernel_clock_gettime() argument
28 const struct vdso_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_data *vd) in __c_kernel_clock_getres() argument
41 const struct vdso_data *vd) in __c_kernel_gettimeofday() argument
43 return __cvdso_gettimeofday_data(vd, tv, tz); in __c_kernel_gettimeofday()
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/vdso/
A Dgettimeofday.h87 const struct vdso_data *vd) in __arch_get_hw_counter() argument
96 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data() argument
98 return (void *)vd + PAGE_SIZE; in __arch_get_timens_vdso_data()
102 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) in vdso_clocksource_ok() argument
143 const struct vdso_data *vd);
145 const struct vdso_data *vd);
148 const struct vdso_data *vd);
150 const struct vdso_data *vd);
152 const struct vdso_data *vd);
155 const struct vdso_data *vd);
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
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.3-rc2/drivers/dma/ptdma/
A Dptdma-dmaengine.c23 return container_of(vd, struct pt_dma_desc, vd); in to_pt_desc()
42 struct pt_dma_desc *desc = to_pt_desc(vd); in pt_do_cleanup()
75 return vd ? to_pt_desc(vd) : NULL; in pt_next_dma_desc()
82 struct virt_dma_desc *vd; in pt_handle_active_desc() local
94 tx_desc = &desc->vd.tx; in pt_handle_active_desc()
95 vd = &desc->vd; in pt_handle_active_desc()
109 list_del(&desc->vd.node); in pt_handle_active_desc()
123 vchan_vdesc_fini(vd); in pt_handle_active_desc()
140 dma_chan = desc->vd.tx.chan; in pt_cmd_callback()
221 return &desc->vd.tx; in pt_prep_dma_memcpy()
[all …]
/linux-6.3-rc2/drivers/dma/mediatek/
A Dmtk-hsdma.c132 struct virt_dma_desc vd; member
148 struct virt_dma_desc *vd; member
261 return container_of(vd, struct mtk_hsdma_vdesc, vd); in to_hsdma_vdesc()
302 kfree(container_of(vd, struct mtk_hsdma_vdesc, vd)); in mtk_hsdma_vdesc_free()
460 ring->cb[ring->cur_tptr].vd = &hvd->vd; in mtk_hsdma_issue_pending_vdesc()
573 if (unlikely(!cb->vd)) { in mtk_hsdma_free_rooms_in_ring()
604 cb->vd = NULL; in mtk_hsdma_free_rooms_in_ring()
664 struct virt_dma_desc *vd; in mtk_hsdma_find_active_desc() local
668 return vd; in mtk_hsdma_find_active_desc()
672 return vd; in mtk_hsdma_find_active_desc()
[all …]
A Dmtk-cqdma.c80 struct virt_dma_desc vd; member
161 return container_of(vd, struct mtk_cqdma_vdesc, vd); in to_cqdma_vdesc()
202 kfree(to_cqdma_vdesc(vd)); in mtk_cqdma_vdesc_free()
281 cvd = to_cqdma_vdesc(vd); in mtk_cqdma_issue_vchan_pending()
291 list_del(&vd->node); in mtk_cqdma_issue_vchan_pending()
423 struct virt_dma_desc *vd; in mtk_cqdma_find_active_desc() local
430 return vd; in mtk_cqdma_find_active_desc()
436 return vd; in mtk_cqdma_find_active_desc()
447 struct virt_dma_desc *vd; in mtk_cqdma_tx_status() local
460 if (vd) { in mtk_cqdma_tx_status()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dmobility.c138 if (vd & 0x80000000) { in update_dt_property()
139 vd = ~vd + 1; in update_dt_property()
154 new_prop->length += vd; in update_dt_property()
166 new_prop->length = vd; in update_dt_property()
174 memcpy(new_prop->value, value, vd); in update_dt_property()
196 u32 vd; in update_dt_node() local
226 prop_data += vd + sizeof(vd); in update_dt_node()
236 prop_data += sizeof(vd); in update_dt_node()
238 switch (vd) { in update_dt_node()
251 vd, prop_data); in update_dt_node()
[all …]
/linux-6.3-rc2/drivers/clk/versatile/
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.3-rc2/include/drm/
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.3-rc2/arch/arm/vfp/
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.3-rc2/drivers/misc/cxl/
A Dflash.c69 u32 vd, char *value) in update_property() argument
85 new_prop->length = vd; in update_property()
92 memcpy(new_prop->value, value, vd); in update_property()
97 dn, name, vd, be32_to_cpu(*val)); in update_property()
116 u32 vd; in update_node() local
144 vd = be32_to_cpu(*(__be32 *)prop_data); in update_node()
145 prop_data += vd + sizeof(vd); in update_node()
154 vd = be32_to_cpu(*(__be32 *)prop_data); in update_node()
155 prop_data += sizeof(vd); in update_node()
157 if ((vd != 0x00000000) && (vd != 0x80000000)) { in update_node()
[all …]
/linux-6.3-rc2/drivers/dma/sh/
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.3-rc2/sound/core/
A Dcontrol.c664 if (kctl->vd[idx].owner != NULL && kctl->vd[idx].owner != file) { in snd_ctl_remove_user_ctl()
701 vd = &kctl->vd[index_offset]; in snd_ctl_activate_id()
1142 vd = &kctl->vd[index_offset]; in __snd_ctl_elem_info()
1145 if (vd->owner) { in __snd_ctl_elem_info()
1214 vd = &kctl->vd[index_offset]; in snd_ctl_elem_read()
1291 vd = &kctl->vd[index_offset]; in snd_ctl_elem_write()
1293 (file && vd->owner && vd->owner != file)) { in snd_ctl_elem_write()
1369 vd = &kctl->vd[snd_ctl_get_ioff(kctl, &id)]; in snd_ctl_elem_lock()
1397 vd = &kctl->vd[snd_ctl_get_ioff(kctl, &id)]; in snd_ctl_elem_unlock()
1839 vd->owner != NULL && vd->owner != file) in call_tlv_handler()
[all …]
/linux-6.3-rc2/drivers/media/radio/
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.3-rc2/arch/s390/include/asm/vdso/
A Dgettimeofday.h25 static inline u64 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) in __arch_get_hw_counter() argument
30 adj = vd->arch_data.tod_steering_end - now; in __arch_get_hw_counter()
32 now += (vd->arch_data.tod_steering_delta < 0) ? (adj >> 15) : -(adj >> 15); in __arch_get_hw_counter()
57 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data() argument

Completed in 49 milliseconds

12345