Home
last modified time | relevance | path

Searched full:angle (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.12.1/lib/math/
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; in cordic_calc_iq() local
56 angle = 0; in cordic_calc_iq()
72 if (theta > angle) { in cordic_calc_iq()
75 angle += arctan_table[iter]; in cordic_calc_iq()
79 angle -= arctan_table[iter]; in cordic_calc_iq()
/linux-6.12.1/Documentation/devicetree/bindings/iio/magnetometer/
Dti,tmag5273.yaml17 magnetic axes and temperature measurements. An integrated angle calculation
19 on-axis and off-axis angle measurement topologies. The angle calculation is
32 ti,angle-measurement:
35 Enables angle measurement in the selected plane.
71 ti,angle-measurement = "x-z";
/linux-6.12.1/include/linux/
Dcordic.h42 * cordic_calc_iq() - calculates the i/q coordinate for given angle.
44 * @theta: angle in degrees for which i/q coordinate is to be calculated.
47 * The function calculates the i/q coordinate for a given angle using the
50 * angle and the imaginary part is the sine of the angle. The returned
Dfixp-arith.h43 * __fixp_sin32() returns the sin of an angle in degrees
45 * @degrees: angle, in degrees, from 0 to 360.
67 * fixp_sin32() returns the sin of an angle in degrees
69 * @degrees: angle, in degrees. The angle can be positive or negative
93 * fixp_sin32_rad() - calculates the sin of an angle in radians
95 * @radians: angle, in radians
/linux-6.12.1/drivers/iio/position/
Diqs624-pos.c30 u16 angle; member
57 u16 angle = event_data->ui_data; in iqs624_pos_notifier() local
68 angle = event_data->interval; in iqs624_pos_notifier()
81 } else if (iqs624_pos->angle_en && (angle != iqs624_pos->angle)) { in iqs624_pos_notifier()
88 iqs624_pos->angle = angle; in iqs624_pos_notifier()
201 iqs624_pos->angle = val; in iqs624_pos_write_event_config()
DKconfig28 and keyboard angle respect to horizon (ground).
/linux-6.12.1/drivers/iio/common/cros_ec_sensors/
Dcros_ec_lid_angle.c4 * cros_ec_lid_angle - Driver for CrOS EC lid angle sensor.
29 #define DRV_NAME "cros-ec-lid-angle"
32 * One channel for the lid angle, the other for timestamp.
60 dev_warn(&indio_dev->dev, "Unable to read lid angle\n"); in cros_ec_sensors_read_lid_angle()
137 MODULE_DESCRIPTION("ChromeOS EC driver for reporting convertible lid angle.");
DKconfig26 tristate "ChromeOS EC Sensor for lid angle"
29 Module to report the angle between lid and base for some
31 This module is loaded when the EC can calculate the angle between the base
/linux-6.12.1/drivers/iio/magnetometer/
Dtmag5273.c104 ANGLE, enumerator
157 s16 *y, s16 *z, u16 *angle, u16 *magnitude) in tmag5273_get_measure() argument
193 * angle has 9 bits integer value and 4 bits fractional part in tmag5273_get_measure()
197 *angle = be16_to_cpu(reg_data[0]); in tmag5273_get_measure()
286 u16 angle, magnitude; in tmag5273_read_raw() local
296 ret = tmag5273_get_measure(data, &t, &x, &y, &z, &angle, &magnitude); in tmag5273_read_raw()
317 case ANGLE: in tmag5273_read_raw()
318 *val = angle; in tmag5273_read_raw()
345 * Angle is in degrees and has four fractional bits, in tmag5273_read_raw()
443 .address = ANGLE,
[all …]
/linux-6.12.1/drivers/iio/accel/
Dmma9551.c56 u8 quad_shift, angle, quadrant; in mma9551_read_incli_chan() local
82 reg_addr, &angle); in mma9551_read_incli_chan()
91 angle &= ~MMA9551_TILT_ANGFLG; in mma9551_read_incli_chan()
95 *val = 90 * (quadrant + 1) - angle; in mma9551_read_incli_chan()
97 *val = angle + 90 * quadrant; in mma9551_read_incli_chan()
190 /* Bit 7 of each angle register holds the angle flag. */ in mma9551_config_incli_event()
370 * Read the angle even though we don't use it, otherwise we in mma9551_event_handler()
Dbmc150-accel-i2c.c26 * ACPI code about the angle between the 2 halves. This will make the ACPI
34 * define the angle between the gravity vector measured by the accelerometer in
37 * not matter and we can simply leave the second angle at 0.
94 * set the angle to 270° (tent/stand mode) and then change it to in bmc150_acpi_enable_keyboard()
100 /* The EC needs some time to notice the angle being changed */ in bmc150_acpi_enable_keyboard()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-chromeos11 Control the keyboard wake lid angle. Values are between
13 angle by querying the hardware.
/linux-6.12.1/drivers/media/platform/chips-media/wave5/
Dwave5-vpuapi.c895 int angle; in wave5_vpu_enc_give_command() local
897 angle = *(int *)parameter; in wave5_vpu_enc_give_command()
898 if (angle && angle != 90 && angle != 180 && angle != 270) in wave5_vpu_enc_give_command()
900 if (p_enc_info->initial_info_obtained && (angle == 90 || angle == 270)) in wave5_vpu_enc_give_command()
902 p_enc_info->rotation_angle = angle; in wave5_vpu_enc_give_command()
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dcolorspaces-defs.rst24 On :ref:`HSV formats <hsv-formats>` the *Hue* is defined as the angle on
25 the cylindrical color representation. Usually this angle is measured in
26 degrees, i.e. 0-360. When we map this angle value into 8 bits, there are
Dhsv-formats.rst11 cylinder, where the angle is the HUE, the height is the VALUE
/linux-6.12.1/drivers/hid/bpf/progs/
DXPPen__ArtistPro16Gen2.bpf.c188 …/* Positive tilt means we need to subtract the compensation (vs. negative angle where we need to a… in compensate_coordinates_by_tilt()
189 __u8 angle = tilt > 0 ? tilt : -tilt; in compensate_coordinates_by_tilt() local
191 if (angle > 127) in compensate_coordinates_by_tilt()
194 __u16 compensation = (*compensation_table)[angle]; in compensate_coordinates_by_tilt()
222 * a (tilt angle) in xppen_16_fix_angle_offset()
/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_sysfs.c233 /* Keyboard wake angle control */
273 u16 angle; in kb_wake_angle_store() local
276 ret = kstrtou16(buf, 0, &angle); in kb_wake_angle_store()
288 param->kb_wake_angle.data = angle; in kb_wake_angle_store()
/linux-6.12.1/Documentation/userspace-api/media/rc/
Drc-tables.rst292 - Switch video camera angle (on videos with more than one angle
295 - ANGLE / SWAP
/linux-6.12.1/Documentation/iio/
Dadis16475.rst34 driver offers the capability to retrieve the delta angle and the delta velocity
37 The delta angle measurements represent a calculation of angular displacement
105 | in_deltaangl_scale | Scale for delta angle channels. |
107 | in_deltaangl_x_raw | Raw X-axis delta angle channel value. |
109 | in_deltaangl_y_raw | Raw Y-axis delta angle channel value. |
111 | in_deltaangl_z_raw | Raw Z-axis delta angle channel value. |
176 | Delta angle on X, Y, and Z axis | Radians |
312 angle and temperature measurements using buffers:
Dadis16480.rst33 driver offers the capability to retrieve the delta angle and the delta velocity
36 The delta angle measurements represent a calculation of angular displacement
161 | in_deltaangl_scale | Scale for delta angle channels. …
163 | in_deltaangl_x_raw | Raw X-axis delta angle channel value. …
165 | in_deltaangl_y_raw | Raw Y-axis delta angle channel value. …
167 | in_deltaangl_z_raw | Raw Z-axis delta angle channel value. …
232 | Delta angle on X, Y, and Z axis | Radians |
372 angle and temperature measurements using buffers:
380 delta angle data at a time and switching between these two burst data selection
/linux-6.12.1/Documentation/devicetree/bindings/iio/
Dmount-matrix.txt36 A sensor can be mounted in any angle along the axes relative to the frame of
38 or tilted at any angle relative to the frame of reference.
/linux-6.12.1/Documentation/devicetree/bindings/media/
Dnxp,dw100.yaml15 and wide angle lenses. It is implemented with a line/tile-cache based
/linux-6.12.1/drivers/platform/x86/
Ddual_accel_detect.h4 * to allow the OS to determine the angle between the display and the base of the device.
/linux-6.12.1/Documentation/devicetree/bindings/media/i2c/
Dovti,ov9282.yaml19 OV9281 has a different lens chief ray angle.
/linux-6.12.1/include/linux/input/
Dadxl34x.h320 * resolution of 3.6deg. The deadzone angle represents the total
321 * angle where the orientation is considered invalid.

1234