Home
last modified time | relevance | path

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

123

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/iio/magnetometer/
Dtmag5273.c104 ANGLE, enumerator
159 s16 *y, s16 *z, u16 *angle, u16 *magnitude) in tmag5273_get_measure() argument
195 * angle has 9 bits integer value and 4 bits fractional part in tmag5273_get_measure()
199 *angle = be16_to_cpu(reg_data[0]); in tmag5273_get_measure()
288 u16 angle, magnitude; in tmag5273_read_raw() local
298 ret = tmag5273_get_measure(data, &t, &x, &y, &z, &angle, &magnitude); in tmag5273_read_raw()
319 case ANGLE: in tmag5273_read_raw()
320 *val = angle; in tmag5273_read_raw()
347 * Angle is in degrees and has four fractional bits, in tmag5273_read_raw()
445 .address = ANGLE,
[all …]
/Linux-v6.6/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-v6.6/Documentation/ABI/testing/
Dsysfs-class-chromeos11 Control the keyboard wake lid angle. Values are between
13 angle by querying the hardware.
/Linux-v6.6/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-v6.6/drivers/platform/chrome/
Dcros_ec_sysfs.c232 /* Keyboard wake angle control */
272 u16 angle; in kb_wake_angle_store() local
275 ret = kstrtou16(buf, 0, &angle); in kb_wake_angle_store()
287 param->kb_wake_angle.data = angle; in kb_wake_angle_store()
/Linux-v6.6/Documentation/userspace-api/media/rc/
Drc-tables.rst292 - Switch video camera angle (on videos with more than one angle
295 - ANGLE / SWAP
/Linux-v6.6/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-v6.6/Documentation/devicetree/bindings/media/
Dnxp,dw100.yaml15 and wide angle lenses. It is implemented with a line/tile-cache based
/Linux-v6.6/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-v6.6/Documentation/devicetree/bindings/media/i2c/
Dovti,ov9282.yaml19 OV9281 has a different lens chief ray angle.
/Linux-v6.6/drivers/media/rc/keymaps/
Drc-eztv.c26 { 0x1d, KEY_RESTART }, /* playback / angle / del */
Drc-medion-x10-digitainer.c53 { 0x34, KEY_YELLOW }, /* also Angle */
/Linux-v6.6/include/linux/input/
Dadxl34x.h320 * resolution of 3.6deg. The deadzone angle represents the total
321 * angle where the orientation is considered invalid.
/Linux-v6.6/drivers/media/platform/ti/omap/
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()
/Linux-v6.6/Documentation/fb/
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

123