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

12345

/linux-master/include/vdso/
H A Dhelpers.h9 static __always_inline u32 vdso_read_begin(const struct vdso_data *vd) argument
13 while (unlikely((seq = READ_ONCE(vd->seq)) & 1))
20 static __always_inline u32 vdso_read_retry(const struct vdso_data *vd, argument
26 seq = READ_ONCE(vd->seq);
30 static __always_inline void vdso_write_begin(struct vdso_data *vd) argument
34 * updates to vd[x].seq and it is possible that the value seen by the
37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1);
38 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RA
42 vdso_write_end(struct vdso_data *vd) argument
[all...]
/linux-master/arch/powerpc/kernel/vdso/
H A Dvgettimeofday.c10 const struct vdso_data *vd)
12 return __cvdso_clock_gettime_data(vd, clock, ts);
16 const struct vdso_data *vd)
18 return __cvdso_clock_getres_data(vd, clock_id, res);
22 const struct vdso_data *vd)
24 return __cvdso_clock_gettime32_data(vd, clock, ts);
28 const struct vdso_data *vd)
30 return __cvdso_clock_gettime_data(vd, clock, ts);
34 const struct vdso_data *vd)
36 return __cvdso_clock_getres_time32_data(vd, clock_i
9 __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts, const struct vdso_data *vd) argument
15 __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res, const struct vdso_data *vd) argument
21 __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts, const struct vdso_data *vd) argument
27 __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, const struct vdso_data *vd) argument
33 __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res, const struct vdso_data *vd) argument
40 __c_kernel_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz, const struct vdso_data *vd) argument
46 __c_kernel_time(__kernel_old_time_t *time, const struct vdso_data *vd) argument
[all...]
/linux-master/drivers/dma/
H A Dvirt-dma.h53 * @vd: virtual descriptor to prepare
57 struct virt_dma_desc *vd, unsigned long tx_flags)
61 dma_async_tx_descriptor_init(&vd->tx, &vc->chan);
62 vd->tx.flags = tx_flags;
63 vd->tx.tx_submit = vchan_tx_submit;
64 vd->tx.desc_free = vchan_tx_desc_free;
66 vd->tx_result.result = DMA_TRANS_NOERROR;
67 vd->tx_result.residue = 0;
70 list_add_tail(&vd->node, &vc->desc_allocated);
73 return &vd
56 vchan_tx_prep(struct virt_dma_chan *vc, struct virt_dma_desc *vd, unsigned long tx_flags) argument
94 vchan_cookie_complete(struct virt_dma_desc *vd) argument
112 vchan_vdesc_fini(struct virt_dma_desc *vd) argument
131 vchan_cyclic_callback(struct virt_dma_desc *vd) argument
145 vchan_terminate_vdesc(struct virt_dma_desc *vd) argument
189 struct virt_dma_desc *vd; local
[all...]
H A Dvirt-dma.c22 struct virt_dma_desc *vd = to_virt_desc(tx); local
29 list_move_tail(&vd->node, &vc->desc_submitted);
33 vc, vd, cookie);
52 struct virt_dma_desc *vd = to_virt_desc(tx); local
56 list_del(&vd->node);
60 vc, vd, vd->tx.cookie);
61 vc->desc_free(vd);
69 struct virt_dma_desc *vd; local
71 list_for_each_entry(vd,
86 struct virt_dma_desc *vd, *_vd; local
114 struct virt_dma_desc *vd, *_vd; local
[all...]
H A Duniphier-mdmac.c52 struct virt_dma_desc vd; member in struct:uniphier_mdmac_desc
81 to_uniphier_mdmac_desc(struct virt_dma_desc *vd) argument
83 return container_of(vd, struct uniphier_mdmac_desc, vd);
90 struct virt_dma_desc *vd; local
92 vd = vchan_next_desc(&mc->vc);
93 if (!vd) {
98 list_del(&vd->node);
100 mc->md = to_uniphier_mdmac_desc(vd);
210 vchan_cookie_complete(&md->vd);
286 struct virt_dma_desc *vd; local
342 uniphier_mdmac_desc_free(struct virt_dma_desc *vd) argument
[all...]
H A Dmilbeaut-xdmac.c62 struct virt_dma_desc vd; member in struct:milbeaut_xdmac_desc
87 to_milbeaut_xdmac_desc(struct virt_dma_desc *vd) argument
89 return container_of(vd, struct milbeaut_xdmac_desc, vd);
96 struct virt_dma_desc *vd; local
98 vd = vchan_next_desc(&mc->vc);
99 if (!vd) {
104 list_del(&vd->node);
106 mc->md = to_milbeaut_xdmac_desc(vd);
175 vchan_cookie_complete(&md->vd);
256 milbeaut_xdmac_desc_free(struct virt_dma_desc *vd) argument
[all...]
H A Dmilbeaut-hdmac.c60 struct virt_dma_desc vd; member in struct:milbeaut_hdmac_desc
90 to_milbeaut_hdmac_desc(struct virt_dma_desc *vd) argument
92 return container_of(vd, struct milbeaut_hdmac_desc, vd);
99 struct virt_dma_desc *vd; local
101 vd = vchan_next_desc(&mc->vc);
102 if (!vd) {
107 list_del(&vd->node);
109 mc->md = to_milbeaut_hdmac_desc(vd);
194 vchan_cookie_complete(&md->vd);
326 struct virt_dma_desc *vd; local
394 milbeaut_hdmac_desc_free(struct virt_dma_desc *vd) argument
[all...]
H A Dpxa_dma.c83 struct virt_dma_desc vd; /* Virtual descriptor */ member in struct:pxad_desc_sw
143 container_of((_vd), struct pxad_desc_sw, vd)
534 static bool is_desc_completed(struct virt_dma_desc *vd) argument
536 struct pxad_desc_sw *sw_desc = to_pxad_sw_desc(vd);
555 struct virt_dma_desc *vd)
571 to_pxad_sw_desc(vd)->misaligned)
576 pxad_desc_chain(vd_last_issued, vd);
577 if (is_chan_running(chan) || is_desc_completed(vd))
607 struct virt_dma_desc *vd, *tmp; local
619 list_for_each_entry_safe(vd, tm
554 pxad_try_hotchain(struct virt_dma_chan *vc, struct virt_dma_desc *vd) argument
719 pxad_free_desc(struct virt_dma_desc *vd) argument
780 *vd = container_of(tx, struct virt_dma_desc, tx); local
848 pxad_tx_prep(struct virt_dma_chan *vc, struct virt_dma_desc *vd, unsigned long tx_flags) argument
1081 struct virt_dma_desc *vd = NULL; local
1116 struct virt_dma_desc *vd = NULL; local
[all...]
/linux-master/lib/vdso/
H A Dgettimeofday.c35 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) argument
37 return vd->clock_mode != VDSO_CLOCKMODE_NONE;
52 const struct vdso_data *vd; local
59 vd = vdns - (clk == CLOCK_MONOTONIC_RAW ? CS_RAW : CS_HRES_COARSE);
60 vd = __arch_get_timens_vdso_data(vd);
62 vd = &vd[CS_HRES_COARSE];
64 vd = &vd[CS_RA
98 __arch_get_timens_vdso_data(const struct vdso_data *vd) argument
110 do_hres(const struct vdso_data *vd, clockid_t clk, struct __kernel_timespec *ts) argument
168 const struct vdso_data *vd = __arch_get_timens_vdso_data(vdns); local
201 do_coarse(const struct vdso_data *vd, clockid_t clk, struct __kernel_timespec *ts) argument
228 __cvdso_clock_gettime_common(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *ts) argument
255 __cvdso_clock_gettime_data(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *ts) argument
273 __cvdso_clock_gettime32_data(const struct vdso_data *vd, clockid_t clock, struct old_timespec32 *res) argument
299 __cvdso_gettimeofday_data(const struct vdso_data *vd, struct __kernel_old_timeval *tv, struct timezone *tz) argument
333 __cvdso_time_data(const struct vdso_data *vd, __kernel_old_time_t *time) argument
357 __cvdso_clock_getres_common(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *res) argument
398 __cvdso_clock_getres_data(const struct vdso_data *vd, clockid_t clock, struct __kernel_timespec *res) argument
416 __cvdso_clock_getres_time32_data(const struct vdso_data *vd, clockid_t clock, struct old_timespec32 *res) argument
[all...]
/linux-master/arch/powerpc/include/asm/vdso/
H A Dgettimeofday.h86 const struct vdso_data *vd)
95 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) argument
97 return (void *)vd + (1U << CONFIG_PAGE_SHIFT);
101 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) argument
142 const struct vdso_data *vd);
144 const struct vdso_data *vd);
147 const struct vdso_data *vd);
149 const struct vdso_data *vd);
151 const struct vdso_data *vd);
154 const struct vdso_data *vd);
85 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) argument
[all...]
/linux-master/drivers/clk/versatile/
H A Dicst.c76 unsigned int vd; local
81 vd = (f + fref_div / 2) / fref_div;
82 if (vd < p->vd_min || vd > p->vd_max)
85 f_pll = fref_div * vd;
91 vco.v = vd - 8;
/linux-master/arch/s390/include/asm/vdso/
H A Dgettimeofday.h25 static inline u64 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) argument
30 adj = vd->arch_data.tod_steering_end - now;
32 now += (vd->arch_data.tod_steering_delta < 0) ? (adj >> 15) : -(adj >> 15);
57 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) argument
/linux-master/drivers/dma/ptdma/
H A Dptdma-dmaengine.c21 static inline struct pt_dma_desc *to_pt_desc(struct virt_dma_desc *vd) argument
23 return container_of(vd, struct pt_dma_desc, vd);
40 static void pt_do_cleanup(struct virt_dma_desc *vd) argument
42 struct pt_dma_desc *desc = to_pt_desc(vd);
73 struct virt_dma_desc *vd = vchan_next_desc(&chan->vc); local
75 return vd ? to_pt_desc(vd) : NULL;
82 struct virt_dma_desc *vd; local
94 tx_desc = &desc->vd
[all...]
/linux-master/arch/arm64/include/asm/vdso/
H A Dcompat_gettimeofday.h107 const struct vdso_data *vd)
159 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) argument
170 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) argument
172 return vd->clock_mode == VDSO_CLOCKMODE_ARCHTIMER;
106 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) argument
H A Dgettimeofday.h70 const struct vdso_data *vd)
110 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) argument
69 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) argument
/linux-master/arch/powerpc/kernel/
H A Dvecemu.c266 unsigned int va, vb, vc, vd; local
275 vd = (word >> 21) & 0x1f;
285 vaddfp(&vrs[vd], &vrs[va], &vrs[vb]);
288 vsubfp(&vrs[vd], &vrs[va], &vrs[vb]);
291 vrefp(&vrs[vd], &vrs[vb]);
294 vrsqrtefp(&vrs[vd], &vrs[vb]);
298 vrs[vd].u[i] = eexp2(vrs[vb].u[i]);
302 vrs[vd].u[i] = elog2(vrs[vb].u[i]);
306 vrs[vd].u[i] = rfin(vrs[vb].u[i]);
310 vrs[vd]
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dmobility.c119 const char *name, u32 vd, char *value)
124 /* A negative 'vd' value indicates that only part of the new property
130 if (vd & 0x80000000) {
131 vd = ~vd + 1;
137 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL);
142 memcpy(new_data + new_prop->length, value, vd);
146 new_prop->length += vd;
158 new_prop->length = vd;
166 memcpy(new_prop->value, value, vd);
118 update_dt_property(struct device_node *dn, struct property **prop, const char *name, u32 vd, char *value) argument
188 u32 vd; local
[all...]
/linux-master/sound/core/
H A Dcontrol_led.c215 struct snd_kcontrol_volatile *vd; local
223 vd = &kctl->vd[ioff];
224 access = vd->access & SNDRV_CTL_ELEM_ACCESS_LED_MASK;
232 vd = &kctl->vd[ioff];
233 access = vd->access & SNDRV_CTL_ELEM_ACCESS_LED_MASK;
246 struct snd_kcontrol_volatile *vd; local
257 vd = &kctl->vd[iof
307 struct snd_kcontrol_volatile *vd; local
[all...]
/linux-master/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...]
/linux-master/arch/riscv/kernel/vdso/
H A Dhwprobe.c19 const struct vdso_data *vd = __arch_get_vdso_data(); local
20 const struct arch_vdso_data *avd = &vd->arch_data;
54 const struct vdso_data *vd = __arch_get_vdso_data(); local
55 const struct arch_vdso_data *avd = &vd->arch_data;
/linux-master/arch/arm/vfp/
H A Dvfpdouble.c54 static void vfp_double_normalise_denormal(struct vfp_double *vd) argument
56 int bits = 31 - fls(vd->significand >> 32);
58 bits = 63 - fls(vd->significand);
60 vfp_double_dump("normalise_denormal: in", vd);
63 vd->exponent -= bits - 1;
64 vd->significand <<= bits;
67 vfp_double_dump("normalise_denormal: out", vd);
70 u32 vfp_double_normaliseround(int dd, struct vfp_double *vd, u32 fpscr, u32 exceptions, const char *func) argument
76 vfp_double_dump("pack: in", vd);
81 if (vd
[all...]
/linux-master/arch/riscv/include/asm/vdso/
H A Dgettimeofday.h72 const struct vdso_data *vd)
89 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) argument
71 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) argument
/linux-master/arch/loongarch/include/asm/vdso/
H A Dgettimeofday.h75 const struct vdso_data *vd)
99 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) argument
74 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) argument
/linux-master/drivers/dma/mediatek/
H A Dmtk-hsdma.c124 * @vd: An instance for struct virt_dma_desc
131 struct virt_dma_desc vd; member in struct:mtk_hsdma_vdesc
142 * @vd: Pointer to the relevant VD.
147 struct virt_dma_desc *vd; member in struct:mtk_hsdma_cb
258 static struct mtk_hsdma_vdesc *to_hsdma_vdesc(struct virt_dma_desc *vd) argument
260 return container_of(vd, struct mtk_hsdma_vdesc, vd);
299 static void mtk_hsdma_vdesc_free(struct virt_dma_desc *vd) argument
301 kfree(container_of(vd, struct mtk_hsdma_vdesc, vd));
497 struct virt_dma_desc *vd, *vd2; local
663 struct virt_dma_desc *vd; local
682 struct virt_dma_desc *vd; local
[all...]
/linux-master/drivers/misc/cxl/
H A Dflash.c69 u32 vd, char *value)
85 new_prop->length = vd;
92 memcpy(new_prop->value, value, vd);
97 dn, name, vd, be32_to_cpu(*val));
116 u32 vd; local
144 vd = be32_to_cpu(*(__be32 *)prop_data);
145 prop_data += vd + sizeof(vd);
154 vd = be32_to_cpu(*(__be32 *)prop_data);
155 prop_data += sizeof(vd);
68 update_property(struct device_node *dn, const char *name, u32 vd, char *value) argument
[all...]

Completed in 207 milliseconds

12345