Home
last modified time | relevance | path

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

123

/linux/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; 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/Documentation/devicetree/bindings/iio/magnetometer/
H A 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/include/linux/
H A 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
H A 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
/linux/drivers/iio/common/cros_ec_sensors/
H A 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.");
H A 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/drivers/iio/magnetometer/
H A 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/drivers/iio/accel/
H A 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()
H A 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/Documentation/ABI/testing/
H A Dsysfs-class-chromeos11 Control the keyboard wake lid angle. Values are between
13 angle by querying the hardware.
/linux/Documentation/userspace-api/media/v4l/
H A 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
H A Dhsv-formats.rst11 cylinder, where the angle is the HUE, the height is the VALUE
/linux/drivers/hid/bpf/progs/
H A 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/Documentation/userspace-api/media/rc/
H A Drc-tables.rst292 - Switch video camera angle (on videos with more than one angle
295 - ANGLE / SWAP
/linux/Documentation/iio/
H A 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:
H A Dadis16480.rst36 driver offers the capability to retrieve the delta angle and the delta velocity
39 The delta angle measurements represent a calculation of angular displacement
164 | in_deltaangl_scale | Scale for delta angle channels. |
166 | in_deltaangl_x_raw | Raw X-axis delta angle channel value. |
168 | in_deltaangl_y_raw | Raw Y-axis delta angle channel value. |
170 | in_deltaangl_z_raw | Raw Z-axis delta angle channel value. |
235 | Delta angle on X, Y, and Z axis | Radians |
375 angle and temperature measurements using buffers:
383 delta angle data at a time and switching between these two burst data selection
/linux/drivers/iio/position/
H A DKconfig28 and keyboard angle respect to horizon (ground).
/linux/Documentation/devicetree/bindings/iio/
H A 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/Documentation/devicetree/bindings/media/
H A Dnxp,dw100.yaml15 and wide angle lenses. It is implemented with a line/tile-cache based
/linux/drivers/platform/x86/
H A Ddual_accel_detect.h4 * to allow the OS to determine the angle between the display and the base of the device.
/linux/include/linux/input/
H A Dadxl34x.h320 * resolution of 3.6deg. The deadzone angle represents the total
321 * angle where the orientation is considered invalid.
/linux/drivers/media/rc/keymaps/
H A Drc-medion-x10-digitainer.c53 { 0x34, KEY_YELLOW }, /* also Angle */
H A Drc-eztv.c26 { 0x1d, KEY_RESTART }, /* playback / angle / del */
/linux/Documentation/fb/
H A Dfbcon.rst125 This option changes the orientation angle of the console display. The
133 The angle can be changed anytime afterwards by 'echoing' the same
/linux/drivers/media/platform/ti/omap/
H A Domap_vout_vrfb.c249 * into VRFB memory space of desired angle and DSS will in omap_vout_prepare_vrfb()
250 * read image VRFB memory for 0 degree angle in omap_vout_prepare_vrfb()

123