Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/crypto/
Dseed.c337 u32 i, t0, t1, x1, x2, x3, x4; in seed_set_key() local
340 x2 = be32_to_cpu(key[1]); in seed_set_key()
346 t1 = x2 + KC[i] - x4; in seed_set_key()
354 x1 = (x1 >> 8) ^ (x2 << 24); in seed_set_key()
355 x2 = (x2 >> 8) ^ (t0 << 24); in seed_set_key()
373 u32 x1, x2, x3, x4, t0, t1; in seed_encrypt() local
377 x2 = be32_to_cpu(src[1]); in seed_encrypt()
381 OP(x1, x2, x3, x4, 0); in seed_encrypt()
382 OP(x3, x4, x1, x2, 2); in seed_encrypt()
383 OP(x1, x2, x3, x4, 4); in seed_encrypt()
[all …]
Dserpent_generic.c36 #define loadkeys(x0, x1, x2, x3, i) \ argument
37 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; })
39 #define storekeys(x0, x1, x2, x3, i) \ argument
40 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; })
42 #define store_and_load_keys(x0, x1, x2, x3, s, l) \ argument
43 ({ storekeys(x0, x1, x2, x3, s); loadkeys(x0, x1, x2, x3, l); })
45 #define K(x0, x1, x2, x3, i) ({ \ argument
46 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \
50 #define LK(x0, x1, x2, x3, x4, i) ({ \ argument
52 x2 = rol32(x2, 3); x1 ^= x0; x4 = x0 << 3; \
[all …]
Decc.c723 static void xycz_initial_double(u64 *x1, u64 *y1, u64 *x2, u64 *y2, in xycz_initial_double() argument
729 vli_set(x2, x1, ndigits); in xycz_initial_double()
742 apply_z(x2, y2, z, curve_prime, ndigits); in xycz_initial_double()
749 static void xycz_add(u64 *x1, u64 *y1, u64 *x2, u64 *y2, u64 *curve_prime, in xycz_add() argument
756 vli_mod_sub(t5, x2, x1, curve_prime, ndigits); in xycz_add()
762 vli_mod_mult_fast(x2, x2, t5, curve_prime, ndigits); in xycz_add()
771 vli_mod_sub(t5, t5, x2, curve_prime, ndigits); in xycz_add()
773 vli_mod_sub(x2, x2, x1, curve_prime, ndigits); in xycz_add()
775 vli_mod_mult_fast(y1, y1, x2, curve_prime, ndigits); in xycz_add()
777 vli_mod_sub(x2, x1, t5, curve_prime, ndigits); in xycz_add()
[all …]
/linux-4.19.296/include/drm/
Ddrm_rect.h42 int x1, y1, x2, y2; member
88 r->x2 += (dw + 1) >> 1; in drm_rect_adjust_size()
105 r->x2 += dx; in drm_rect_translate()
121 r->x2 /= horz; in drm_rect_downscale()
134 return r->x2 - r->x1; in drm_rect_width()
172 return r1->x1 == r2->x1 && r1->x2 == r2->x2 && in drm_rect_equals()
Ddrm_plane.h195 .x2 = state->src_x + state->src_w, in drm_plane_state_src()
207 .x2 = state->crtc_x + state->crtc_w, in drm_plane_state_dest()
/linux-4.19.296/include/math-emu/
Dop-4.h516 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
525 r2 = x2 + y2 + _c2; \
530 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
539 r2 = x2 + y2; \
540 _c3 = r2 < x2; \
548 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
557 r2 = x2 - y2 - _c2; \
562 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
571 r2 = x2 - y2; \
572 _c3 = r2 > x2; \
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Dsi21xx.c717 unsigned int x2; in si21xx_set_frontend() local
777 x2 = ((rf_freq - lnb_lo) / (afs[i] * 2500)) * in si21xx_set_frontend()
781 ((band_low < x2) && (x2 < band_high))) in si21xx_set_frontend()
790 x2 = ((rf_freq - lnb_lo) / (afs[i] * 5000)) * in si21xx_set_frontend()
794 ((band_low < x2) && (x2 < band_high))) in si21xx_set_frontend()
Dcx24120.h28 u8 x2; member
Dcx24120.c486 cmd.arg[4] = ((i.x2 >> 1) & 0x01); in cx24120_msg_mpeg_output_config()
487 cmd.arg[5] = (i.x2 & 0xf0) | (i.x3 & 0x0f); in cx24120_msg_mpeg_output_config()
/linux-4.19.296/drivers/iio/pressure/
Dbmp280-core.c808 s32 x1, x2; in bmp180_compensate_temp() local
812 x2 = (calib->MC << 11) / (x1 + calib->MD); in bmp180_compensate_temp()
813 data->t_fine = x1 + x2; in bmp180_compensate_temp()
867 s32 x1, x2, x3, p; in bmp180_compensate_press() local
875 x2 = calib->AC2 * b6 >> 11; in bmp180_compensate_press()
876 x3 = x1 + x2; in bmp180_compensate_press()
879 x2 = (calib->B1 * ((b6 * b6) >> 12)) >> 16; in bmp180_compensate_press()
880 x3 = (x1 + x2 + 2) >> 2; in bmp180_compensate_press()
890 x2 = (-7357 * p) >> 16; in bmp180_compensate_press()
892 return p + ((x1 + x2 + 3791) >> 4); in bmp180_compensate_press()
/linux-4.19.296/drivers/iio/adc/
Dpalmas_gpadc.c38 int x2; /* higher ideal code */ member
52 .x2 = _x2, \
301 int x2 = adc->adc_info[adc_chan].x2; in palmas_gpadc_calibrate() local
320 k = (1000 + (1000 * (d2 - d1)) / (x2 - x1)); in palmas_gpadc_calibrate()
323 gain = ((v2 - v1) * 1000) / (x2 - x1); in palmas_gpadc_calibrate()
Dtwl6030-gpadc.c589 int b, k, gain, x1, x2, i; in twl6030_calibrate_channel() local
599 x2 = ideal[i].code2; in twl6030_calibrate_channel()
602 k = 1000 + (((d2 - d1) * 1000) / (x2 - x1)); in twl6030_calibrate_channel()
614 dev_dbg(gpadc->dev, "GPADC x2 for Chn: %d = %d\n", channel, x2); in twl6030_calibrate_channel()
/linux-4.19.296/include/video/
Dudlfb.h17 int x2, y2; member
/linux-4.19.296/lib/
DKconfig.kasan54 it gives about x2 boost over outline instrumentation), but
/linux-4.19.296/drivers/iio/light/
Dsi1133.c252 int x2 = 1; in si1133_calculate_output() local
265 x2 = x1; in si1133_calculate_output()
275 return sign * x1 * x2 * y1 * y2; in si1133_calculate_output()
/linux-4.19.296/drivers/iio/magnetometer/
Dbmc150_magn.c127 s8 x2; member
383 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x()
/linux-4.19.296/include/uapi/drm/
Ddrm.h99 unsigned short x2; member
/linux-4.19.296/drivers/hid/
Dhid-wiimote-modules.c1819 s16 x1, y1, x2, y2; in wiimod_pro_calib_store() local
1826 r = sscanf(buf, "%hd:%hd %hd:%hd", &x1, &y1, &x2, &y2); in wiimod_pro_calib_store()
1836 wdata->state.calib_pro_sticks[2] = x2; in wiimod_pro_calib_store()
Dwacom_wac.c1175 static int int_dist(int x1, int y1, int x2, int y2) in int_dist() argument
1177 int x = x2 - x1; in int_dist()