Home
last modified time | relevance | path

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

/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 …]
/arch/arm/common/
Dicst.c74 unsigned int vd; in icst_hz_to_vco() local
79 vd = (f + fref_div / 2) / fref_div; in icst_hz_to_vco()
80 if (vd < p->vd_min || vd > p->vd_max) in icst_hz_to_vco()
83 f_pll = fref_div * vd; in icst_hz_to_vco()
89 vco.v = vd - 8; in icst_hz_to_vco()
/arch/powerpc/platforms/pseries/
Dmobility.c67 const char *name, u32 vd, char *value) in update_dt_property() argument
79 if (vd & 0x80000000) { in update_dt_property()
80 vd = ~vd + 1; in update_dt_property()
86 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property()
91 memcpy(new_data + new_prop->length, value, vd); in update_dt_property()
95 new_prop->length += vd; in update_dt_property()
107 new_prop->length = vd; in update_dt_property()
115 memcpy(new_prop->value, value, vd); in update_dt_property()
168 u32 vd; in update_dt_node() local
172 vd = *prop_data++; in update_dt_node()
[all …]
/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 …
/arch/s390/kernel/
Dvdso.c85 static void vdso_init_data(struct vdso_data *vd) in vdso_init_data() argument
87 vd->ectg_available = user_mode != HOME_SPACE_MODE && test_facility(31); in vdso_init_data()