Searched refs:angle (Results 1 - 11 of 11) sorted by relevance

/linux-master/lib/math/
H A Dcordic.c41 * cordic_calc_iq() - calculates the i/q coordinate for given angle
43 * theta: angle in degrees for which i/q coordinate is to be calculated
49 s32 angle, valtmp; local
56 angle = 0;
72 if (theta > angle) {
75 angle += arctan_table[iter];
79 angle -= arctan_table[iter];
/linux-master/drivers/iio/position/
H A Diqs624-pos.c30 u16 angle; member in struct:iqs624_pos_private
57 u16 angle = event_data->ui_data; local
68 angle = event_data->interval;
81 } else if (iqs624_pos->angle_en && (angle != iqs624_pos->angle)) {
88 iqs624_pos->angle = angle;
201 iqs624_pos->angle = val;
/linux-master/drivers/hid/bpf/progs/
H A DXPPen__ArtistPro16Gen2.bpf.c189 __u8 direction = tilt > 0 ? 0 : 1; /* Positive tilt means we need to subtract the compensation (vs. negative angle where we need to add) */
190 __u8 angle = tilt > 0 ? tilt : -tilt; local
192 if (angle > 127)
195 __u16 compensation = (*compensation_table)[angle];
224 * a (tilt angle)
/linux-master/drivers/iio/accel/
H A Dmma9551.c56 u8 quad_shift, angle, quadrant; local
82 reg_addr, &angle);
91 angle &= ~MMA9551_TILT_ANGFLG;
95 *val = 90 * (quadrant + 1) - angle;
97 *val = angle + 90 * quadrant;
190 /* Bit 7 of each angle register holds the angle flag. */
370 * Read the angle even though we don't use it, otherwise we
/linux-master/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpuapi.c895 int angle; local
897 angle = *(int *)parameter;
898 if (angle && angle != 90 && angle != 180 && angle != 270)
900 if (p_enc_info->initial_info_obtained && (angle == 90 || angle == 270))
902 p_enc_info->rotation_angle = angle;
/linux-master/drivers/iio/magnetometer/
H A Dtmag5273.c159 s16 *y, s16 *z, u16 *angle, u16 *magnitude)
195 * angle has 9 bits integer value and 4 bits fractional part
199 *angle = be16_to_cpu(reg_data[0]);
288 u16 angle, magnitude; local
298 ret = tmag5273_get_measure(data, &t, &x, &y, &z, &angle, &magnitude);
320 *val = angle;
504 ret = device_property_match_property_string(dev, "ti,angle-measurement",
158 tmag5273_get_measure(struct tmag5273_data *data, s16 *t, s16 *x, s16 *y, s16 *z, u16 *angle, u16 *magnitude) argument
/linux-master/drivers/platform/chrome/
H A Dcros_ec_sysfs.c233 /* Keyboard wake angle control */
273 u16 angle; local
276 ret = kstrtou16(buf, 0, &angle);
288 param->kb_wake_angle.data = angle;
/linux-master/drivers/video/fbdev/omap/
H A Domapfb.h158 int (*set_rotate) (int angle);
/linux-master/drivers/input/touchscreen/
H A Dzinitix.c133 u8 angle; member in struct:point_coord
H A Dsur40.c76 __le32 angle; /* orientation in radians relative to x axis - member in struct:sur40_blob
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dphy_n.c1534 u16 bw, len, rot, angle; local
1558 angle = 0;
1561 samples[i] = cordic_calc_iq(CORDIC_FIXED(angle));
1562 angle += rot;

Completed in 276 milliseconds