Home
last modified time | relevance | path

Searched refs:vd (Results 1 - 25 of 220) sorted by relevance

123456789

/kernel/linux/linux-6.6/lib/vdso/
H A Dgettimeofday.c35 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) in vdso_clocksource_ok() argument
37 return vd->clock_mode != VDSO_CLOCKMODE_NONE; in vdso_clocksource_ok()
52 const struct vdso_data *vd; in do_hres_timens() local
59 vd = vdns - (clk == CLOCK_MONOTONIC_RAW ? CS_RAW : CS_HRES_COARSE); in do_hres_timens()
60 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_RA in do_hres_timens()
98 __arch_get_timens_vdso_data(const struct vdso_data *vd) __arch_get_timens_vdso_data() argument
110 do_hres(const struct vdso_data *vd, clockid_t clk, struct __kernel_timespec *ts) do_hres() argument
168 const struct vdso_data *vd = __arch_get_timens_vdso_data(vdns); do_coarse_timens() local
201 do_coarse(const struct vdso_data *vd, clockid_t clk, struct __kernel_timespec *ts) do_coarse() argument
228 __cvdso_clock_gettime_common(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *ts) __cvdso_clock_gettime_common() argument
255 __cvdso_clock_gettime_data(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *ts) __cvdso_clock_gettime_data() argument
273 __cvdso_clock_gettime32_data(const struct vdso_data *vd, clockid_t clock, struct old_timespec32 *res) __cvdso_clock_gettime32_data() argument
299 __cvdso_gettimeofday_data(const struct vdso_data *vd, struct __kernel_old_timeval *tv, struct timezone *tz) __cvdso_gettimeofday_data() argument
333 __cvdso_time_data(const struct vdso_data *vd, __kernel_old_time_t *time) __cvdso_time_data() argument
357 __cvdso_clock_getres_common(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *res) __cvdso_clock_getres_common() argument
398 __cvdso_clock_getres_data(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *res) __cvdso_clock_getres_data() argument
416 __cvdso_clock_getres_time32_data(const struct vdso_data *vd, clockid_t clock, struct old_timespec32 *res) __cvdso_clock_getres_time32_data() argument
[all...]
/kernel/linux/linux-5.10/lib/vdso/
H A Dgettimeofday.c35 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) in vdso_clocksource_ok() argument
37 return vd->clock_mode != VDSO_CLOCKMODE_NONE; in vdso_clocksource_ok()
52 const struct vdso_data *vd = __arch_get_timens_vdso_data(); in do_hres_timens() local
60 vd = &vd[CS_HRES_COARSE]; in do_hres_timens()
62 vd = &vd[CS_RAW]; in do_hres_timens()
63 vdso_ts = &vd->basetime[clk]; in do_hres_timens()
66 seq = vdso_read_begin(vd); in do_hres_timens()
68 if (unlikely(!vdso_clocksource_ok(vd))) in do_hres_timens()
107 do_hres(const struct vdso_data *vd, clockid_t clk, struct __kernel_timespec *ts) do_hres() argument
165 const struct vdso_data *vd = __arch_get_timens_vdso_data(); do_coarse_timens() local
198 do_coarse(const struct vdso_data *vd, clockid_t clk, struct __kernel_timespec *ts) do_coarse() argument
225 __cvdso_clock_gettime_common(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *ts) __cvdso_clock_gettime_common() argument
252 __cvdso_clock_gettime_data(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *ts) __cvdso_clock_gettime_data() argument
270 __cvdso_clock_gettime32_data(const struct vdso_data *vd, clockid_t clock, struct old_timespec32 *res) __cvdso_clock_gettime32_data() argument
296 __cvdso_gettimeofday_data(const struct vdso_data *vd, struct __kernel_old_timeval *tv, struct timezone *tz) __cvdso_gettimeofday_data() argument
330 __cvdso_time_data(const struct vdso_data *vd, __kernel_old_time_t *time) __cvdso_time_data() argument
354 __cvdso_clock_getres_common(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *res) __cvdso_clock_getres_common() argument
395 __cvdso_clock_getres_data(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *res) __cvdso_clock_getres_data() argument
413 __cvdso_clock_getres_time32_data(const struct vdso_data *vd, clockid_t clock, struct old_timespec32 *res) __cvdso_clock_getres_time32_data() argument
[all...]
/kernel/linux/linux-5.10/drivers/dma/
H A Dvirt-dma.h53 * @vd: virtual descriptor to prepare
57 struct virt_dma_desc *vd, unsigned long tx_flags) in vchan_tx_prep()
61 dma_async_tx_descriptor_init(&vd->tx, &vc->chan); in vchan_tx_prep()
62 vd->tx.flags = tx_flags; in vchan_tx_prep()
63 vd->tx.tx_submit = vchan_tx_submit; in vchan_tx_prep()
64 vd->tx.desc_free = vchan_tx_desc_free; in vchan_tx_prep()
66 vd->tx_result.result = DMA_TRANS_NOERROR; in vchan_tx_prep()
67 vd->tx_result.residue = 0; in vchan_tx_prep()
70 list_add_tail(&vd->node, &vc->desc_allocated); in vchan_tx_prep()
73 return &vd in vchan_tx_prep()
56 vchan_tx_prep(struct virt_dma_chan *vc, struct virt_dma_desc *vd, unsigned long tx_flags) vchan_tx_prep() argument
94 vchan_cookie_complete(struct virt_dma_desc *vd) vchan_cookie_complete() argument
112 vchan_vdesc_fini(struct virt_dma_desc *vd) vchan_vdesc_fini() argument
131 vchan_cyclic_callback(struct virt_dma_desc *vd) vchan_cyclic_callback() argument
145 vchan_terminate_vdesc(struct virt_dma_desc *vd) vchan_terminate_vdesc() argument
189 struct virt_dma_desc *vd; vchan_free_chan_resources() local
[all...]
H A Dvirt-dma.c22 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_submit() local
29 list_move_tail(&vd->node, &vc->desc_submitted); in vchan_tx_submit()
33 vc, vd, cookie); in vchan_tx_submit()
52 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_desc_free() local
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()
69 struct virt_dma_desc *vd; in vchan_find_desc() local
71 list_for_each_entry(vd, in vchan_find_desc()
86 struct virt_dma_desc *vd, *_vd; vchan_complete() local
114 struct virt_dma_desc *vd, *_vd; vchan_dma_desc_free_list() local
[all...]
H A Duniphier-mdmac.c52 struct virt_dma_desc vd; member
81 to_uniphier_mdmac_desc(struct virt_dma_desc *vd) in to_uniphier_mdmac_desc() argument
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; uniphier_mdmac_tx_status() local
342 uniphier_mdmac_desc_free(struct virt_dma_desc *vd) uniphier_mdmac_desc_free() argument
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dvirt-dma.h53 * @vd: virtual descriptor to prepare
57 struct virt_dma_desc *vd, unsigned long tx_flags) in vchan_tx_prep()
61 dma_async_tx_descriptor_init(&vd->tx, &vc->chan); in vchan_tx_prep()
62 vd->tx.flags = tx_flags; in vchan_tx_prep()
63 vd->tx.tx_submit = vchan_tx_submit; in vchan_tx_prep()
64 vd->tx.desc_free = vchan_tx_desc_free; in vchan_tx_prep()
66 vd->tx_result.result = DMA_TRANS_NOERROR; in vchan_tx_prep()
67 vd->tx_result.residue = 0; in vchan_tx_prep()
70 list_add_tail(&vd->node, &vc->desc_allocated); in vchan_tx_prep()
73 return &vd in vchan_tx_prep()
56 vchan_tx_prep(struct virt_dma_chan *vc, struct virt_dma_desc *vd, unsigned long tx_flags) vchan_tx_prep() argument
94 vchan_cookie_complete(struct virt_dma_desc *vd) vchan_cookie_complete() argument
112 vchan_vdesc_fini(struct virt_dma_desc *vd) vchan_vdesc_fini() argument
131 vchan_cyclic_callback(struct virt_dma_desc *vd) vchan_cyclic_callback() argument
145 vchan_terminate_vdesc(struct virt_dma_desc *vd) vchan_terminate_vdesc() argument
189 struct virt_dma_desc *vd; vchan_free_chan_resources() local
[all...]
H A Dvirt-dma.c22 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_submit() local
29 list_move_tail(&vd->node, &vc->desc_submitted); in vchan_tx_submit()
33 vc, vd, cookie); in vchan_tx_submit()
52 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_desc_free() local
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()
69 struct virt_dma_desc *vd; in vchan_find_desc() local
71 list_for_each_entry(vd, in vchan_find_desc()
86 struct virt_dma_desc *vd, *_vd; vchan_complete() local
114 struct virt_dma_desc *vd, *_vd; vchan_dma_desc_free_list() local
[all...]
H A Duniphier-mdmac.c52 struct virt_dma_desc vd; member
81 to_uniphier_mdmac_desc(struct virt_dma_desc *vd) in to_uniphier_mdmac_desc() argument
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; uniphier_mdmac_tx_status() local
342 uniphier_mdmac_desc_free(struct virt_dma_desc *vd) uniphier_mdmac_desc_free() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/vdso/
H A Dvgettimeofday.c10 const struct vdso_data *vd) in __c_kernel_clock_gettime()
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()
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()
24 return __cvdso_clock_gettime32_data(vd, clock, ts); in __c_kernel_clock_gettime()
28 const struct vdso_data *vd) in __c_kernel_clock_gettime64()
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()
36 return __cvdso_clock_getres_time32_data(vd, clock_i in __c_kernel_clock_getres()
9 __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts, const struct vdso_data *vd) __c_kernel_clock_gettime() argument
15 __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res, const struct vdso_data *vd) __c_kernel_clock_getres() argument
21 __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts, const struct vdso_data *vd) __c_kernel_clock_gettime() argument
27 __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, const struct vdso_data *vd) __c_kernel_clock_gettime64() argument
33 __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res, const struct vdso_data *vd) __c_kernel_clock_getres() argument
40 __c_kernel_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz, const struct vdso_data *vd) __c_kernel_gettimeofday() argument
46 __c_kernel_time(__kernel_old_time_t *time, const struct vdso_data *vd) __c_kernel_time() argument
[all...]
/kernel/linux/linux-5.10/include/vdso/
H 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
34 * updates to vd[x].seq and it is possible that the value seen by the in vdso_write_begin()
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_RA in vdso_write_begin()
42 vdso_write_end(struct vdso_data *vd) vdso_write_end() argument
[all...]
/kernel/linux/linux-6.6/include/vdso/
H 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
34 * updates to vd[x].seq and it is possible that the value seen by the in vdso_write_begin()
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_RA in vdso_write_begin()
42 vdso_write_end(struct vdso_data *vd) vdso_write_end() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/vdso/
H A Dgettimeofday.h87 const struct vdso_data *vd) in __arch_get_hw_counter()
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);
86 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) __arch_get_hw_counter() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dmobility.c91 const char *name, u32 vd, char *value) in update_dt_property()
96 /* A negative 'vd' value indicates that only part of the new property in update_dt_property()
102 if (vd & 0x80000000) { in update_dt_property()
103 vd = ~vd + 1; in update_dt_property()
109 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property()
114 memcpy(new_data + new_prop->length, value, vd); in update_dt_property()
118 new_prop->length += vd; in update_dt_property()
130 new_prop->length = vd; in update_dt_property()
138 memcpy(new_prop->value, value, vd); in update_dt_property()
90 update_dt_property(struct device_node *dn, struct property **prop, const char *name, u32 vd, char *value) update_dt_property() argument
160 u32 vd; update_dt_node() local
[all...]
/kernel/linux/linux-5.10/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()
288 vsubfp(&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] in emulate_altivec()
[all...]
/kernel/linux/linux-6.6/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()
288 vsubfp(&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] in emulate_altivec()
[all...]
/kernel/linux/linux-5.10/drivers/dma/mediatek/
H A Dmtk-hsdma.c125 * @vd: An instance for struct virt_dma_desc
132 struct virt_dma_desc vd; member
143 * @vd: Pointer to the relevant VD.
148 struct virt_dma_desc *vd; member
259 static struct mtk_hsdma_vdesc *to_hsdma_vdesc(struct virt_dma_desc *vd) in to_hsdma_vdesc() argument
261 return container_of(vd, struct mtk_hsdma_vdesc, vd); in to_hsdma_vdesc()
300 static void mtk_hsdma_vdesc_free(struct virt_dma_desc *vd) in mtk_hsdma_vdesc_free() argument
302 kfree(container_of(vd, struct mtk_hsdma_vdesc, vd)); in mtk_hsdma_vdesc_free()
498 struct virt_dma_desc *vd, *vd2; mtk_hsdma_issue_vchan_pending() local
664 struct virt_dma_desc *vd; mtk_hsdma_find_active_desc() local
683 struct virt_dma_desc *vd; mtk_hsdma_tx_status() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/mediatek/
H A Dmtk-hsdma.c124 * @vd: An instance for struct virt_dma_desc
131 struct virt_dma_desc vd; member
142 * @vd: Pointer to the relevant VD.
147 struct virt_dma_desc *vd; member
258 static struct mtk_hsdma_vdesc *to_hsdma_vdesc(struct virt_dma_desc *vd) in to_hsdma_vdesc() argument
260 return container_of(vd, struct mtk_hsdma_vdesc, vd); in to_hsdma_vdesc()
299 static void mtk_hsdma_vdesc_free(struct virt_dma_desc *vd) in mtk_hsdma_vdesc_free() argument
301 kfree(container_of(vd, struct mtk_hsdma_vdesc, vd)); in mtk_hsdma_vdesc_free()
497 struct virt_dma_desc *vd, *vd2; mtk_hsdma_issue_vchan_pending() local
663 struct virt_dma_desc *vd; mtk_hsdma_find_active_desc() local
682 struct virt_dma_desc *vd; mtk_hsdma_tx_status() local
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dmobility.c120 const char *name, u32 vd, char *value) in update_dt_property()
125 /* A negative 'vd' value indicates that only part of the new property in update_dt_property()
131 if (vd & 0x80000000) { in update_dt_property()
132 vd = ~vd + 1; in update_dt_property()
138 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property()
143 memcpy(new_data + new_prop->length, value, vd); in update_dt_property()
147 new_prop->length += vd; in update_dt_property()
159 new_prop->length = vd; in update_dt_property()
167 memcpy(new_prop->value, value, vd); in update_dt_property()
119 update_dt_property(struct device_node *dn, struct property **prop, const char *name, u32 vd, char *value) update_dt_property() argument
189 u32 vd; update_dt_node() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/ptdma/
H A Dptdma-dmaengine.c21 static inline struct pt_dma_desc *to_pt_desc(struct virt_dma_desc *vd) in to_pt_desc() argument
23 return container_of(vd, struct pt_dma_desc, vd); in to_pt_desc()
40 static void pt_do_cleanup(struct virt_dma_desc *vd) in pt_do_cleanup() argument
42 struct pt_dma_desc *desc = to_pt_desc(vd); in pt_do_cleanup()
73 struct virt_dma_desc *vd = vchan_next_desc(&chan->vc); in pt_next_dma_desc() local
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 in pt_handle_active_desc()
[all...]
/kernel/linux/linux-6.6/sound/core/
H A Dcontrol_led.c218 struct snd_kcontrol_volatile *vd; in snd_ctl_led_notify() local
226 vd = &kctl->vd[ioff]; in snd_ctl_led_notify()
227 access = vd->access & SNDRV_CTL_ELEM_ACCESS_LED_MASK; in snd_ctl_led_notify()
235 vd = &kctl->vd[ioff]; in snd_ctl_led_notify()
236 access = vd->access & SNDRV_CTL_ELEM_ACCESS_LED_MASK; in snd_ctl_led_notify()
247 struct snd_kcontrol_volatile *vd; in snd_ctl_led_set_id() local
257 vd = &kctl->vd[iof in snd_ctl_led_set_id()
318 struct snd_kcontrol_volatile *vd; snd_ctl_led_reset() local
[all...]
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \
137 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \
149 #define __DRM_MODE_INIT(pix, hd, vd, hd_mm, vd_mm) \
152 .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \
153 .vsync_end = (vd), .vtotal = (vd), .width_mm = (hd_mm), \
160 * @vd: Vertical resolution, height
167 #define DRM_MODE_INIT(hz, hd, vd, hd_mm, vd_mm) \
168 __DRM_MODE_INIT((hd) * (vd) * (h
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Dcontrol.c121 if (control->vd[idx].owner == ctl) in snd_ctl_release()
122 control->vd[idx].owner = NULL; in snd_ctl_release()
206 *kctl = kzalloc(struct_size(*kctl, vd, count), GFP_KERNEL); in snd_ctl_new()
211 (*kctl)->vd[idx].access = access; in snd_ctl_new()
212 (*kctl)->vd[idx].owner = file; in snd_ctl_new()
531 if (!(kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_USER)) { in snd_ctl_remove_user_ctl()
536 if (kctl->vd[idx].owner != NULL && kctl->vd[idx].owner != file) { in snd_ctl_remove_user_ctl()
565 struct snd_kcontrol_volatile *vd; in snd_ctl_activate_id() local
576 vd in snd_ctl_activate_id()
965 struct snd_kcontrol_volatile *vd; __snd_ctl_elem_info() local
1036 struct snd_kcontrol_volatile *vd; snd_ctl_elem_read() local
1110 struct snd_kcontrol_volatile *vd; snd_ctl_elem_write() local
1173 struct snd_kcontrol_volatile *vd; snd_ctl_elem_lock() local
1201 struct snd_kcontrol_volatile *vd; snd_ctl_elem_unlock() local
1609 struct snd_kcontrol_volatile *vd = &kctl->vd[snd_ctl_get_ioff(kctl, id)]; call_tlv_handler() local
1634 struct snd_kcontrol_volatile *vd = &kctl->vd[snd_ctl_get_ioff(kctl, id)]; read_tlv_buf() local
1662 struct snd_kcontrol_volatile *vd; snd_ctl_tlv_ioctl() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/dw-edma/
H A Ddw-edma-core.c38 struct dw_edma_desc *vd2dw_edma_desc(struct virt_dma_desc *vd) in vd2dw_edma_desc() argument
40 return container_of(vd, struct dw_edma_desc, vd); in vd2dw_edma_desc()
173 struct virt_dma_desc *vd; in dw_edma_start_transfer() local
175 vd = vchan_next_desc(&chan->vc); in dw_edma_start_transfer()
176 if (!vd) in dw_edma_start_transfer()
179 desc = vd2dw_edma_desc(vd); in dw_edma_start_transfer()
297 struct virt_dma_desc *vd; in dw_edma_device_tx_status() local
313 vd = vchan_find_desc(&chan->vc, cookie); in dw_edma_device_tx_status()
314 if (vd) { in dw_edma_device_tx_status()
494 struct virt_dma_desc *vd; dw_edma_done_interrupt() local
536 struct virt_dma_desc *vd; dw_edma_abort_interrupt() local
[all...]

Completed in 14 milliseconds

123456789