Home
last modified time | relevance | path

Searched +full:fraction +full:- +full:z (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/arch/m68k/fpsp040/
H A Dsacos.S8 | Input: Double-extended number X in location pointed to
11 | Output: The value arccos(X) returned in floating-point register Fp0.
26 | z := (1-X) / (1+X)
27 | acos(X) = 2 * atan( sqrt(z) ).
57 |--ACOS(X) = PI/2 FOR DENORMALIZED X
66 movel (%a0),%d0 | ...pack exponent with upper 16 fraction
72 |--THIS IS THE USUAL CASE, |X| < 1
73 |--ACOS(X) = 2 * ATAN( SQRT( (1-X)/(1+X) ) )
77 fnegx %fp0 | ... -X
78 fadds #0x3F800000,%fp0 | ...1-X
[all …]
H A Dsatan.S8 | Input: Double-extended value in memory location pointed to by address
11 | Output: Arctan(X) returned in floating-point register Fp0.
25 | Step 2. Let X = sgn * 2**k * 1.xxxxxxxx...x. Note that k = -4, -3,..., or 3.
27 | of X with a bit-1 attached at the 6-th bit position. Define u
28 | to be u = (X-F) / (1 + X*F).
39 | Step 7. Define X' = -1/X. Approximate arctan(X') by an odd polynomial in X'.
232 |--ENTRY POINT FOR ATAN(X) FOR DENORMALIZED ARGUMENT
238 |--ENTRY POINT FOR ATAN(X), HERE X IS FINITE, NON-ZERO, AND NOT NAN'S
257 |--THE MOST LIKELY CASE, |X| IN [1/16, 16). WE USE TABLE TECHNIQUE
258 |--THE IDEA IS ATAN(X) = ATAN(F) + ATAN( [X-F] / [1+XF] ).
[all …]
/openbmc/linux/arch/mips/math-emu/
H A Dsp_maddf.c1 // SPDX-License-Identifier: GPL-2.0-only
15 static union ieee754sp _sp_maddf(union ieee754sp z, union ieee754sp x, in _sp_maddf() argument
46 * Handle the cases when at least one of x, y or z is a NaN. in _sp_maddf()
47 * Order of precedence is sNaN, qNaN and z, x, y. in _sp_maddf()
50 return ieee754sp_nanxcpt(z); in _sp_maddf()
56 return z; in _sp_maddf()
64 /* ZERO z cases are handled separately below */ in _sp_maddf()
91 * z is here either not an infinity, or an infinity having the in _sp_maddf()
105 /* Handle cases +0 + (-0) and similar ones. */ in _sp_maddf()
111 * such case determined only by the sign of z. in _sp_maddf()
[all …]
H A Ddp_maddf.c1 // SPDX-License-Identifier: GPL-2.0-only
28 *lptr = *hptr >> (count - 64); in srl128()
29 *lptr |= (*hptr << (128 - count)) != 0 || low != 0; in srl128()
34 *lptr = low >> count | *hptr << (64 - count); in srl128()
35 *lptr |= (low << (64 - count)) != 0; in srl128()
40 static union ieee754dp _dp_maddf(union ieee754dp z, union ieee754dp x, in _dp_maddf() argument
78 * Handle the cases when at least one of x, y or z is a NaN. in _dp_maddf()
79 * Order of precedence is sNaN, qNaN and z, x, y. in _dp_maddf()
82 return ieee754dp_nanxcpt(z); in _dp_maddf()
88 return z; in _dp_maddf()
[all …]
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include <linux/hid-sensor-ids.h>
63 common->report_id = report_id; in get_common_features()
64 common->connection_type = HID_USAGE_SENSOR_PROPERTY_CONNECTION_TYPE_PC_INTEGRATED_ENUM; in get_common_features()
65 common->report_state = SENSOR_PROP_REPORTING_STATE_ALL_EVENTS_ENUM; in get_common_features()
66 common->power_state = SENSOR_PROP_POWER_STATE_D0_FULL_POWER_ENUM; in get_common_features()
67 common->sensor_state = HID_USAGE_SENSOR_STATE_INITIALIZING_ENUM; in get_common_features()
68 common->report_interval = HID_DEFAULT_REPORT_INTERVAL; in get_common_features()
130 common->report_id = report_id; in get_common_inputs()
131 common->sensor_state = HID_USAGE_SENSOR_STATE_READY_ENUM; in get_common_inputs()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stmpe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 - st,stmpe601
24 - st,stmpe801
25 - st,stmpe811
26 - st,stmpe1600
27 - st,stmpe1601
[all …]
/openbmc/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_cyclone5_mcvevk.dts1 // SPDX-License-Identifier: GPL-2.0+
10 compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga";
14 stmpe-i2c0 = &stmpe1;
18 stdout-path = "serial0:115200n8";
31 phy-mode = "rgmii";
49 clock-frequency = <100000>;
53 #address-cells = <1>;
54 #size-cells = <0>;
58 irq-gpio = <&portb 28 0x4>; /* GPIO 57, trig. level HI */
61 compatible = "st,stmpe-ts";
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx53-m53.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
10 compatible = "aries,imx53-m53", "denx,imx53-m53", "fsl,imx53";
18 reg_3p2v: regulator-3p2v {
19 compatible = "regulator-fixed";
20 regulator-name = "3P2V";
21 regulator-min-microvolt = <3200000>;
22 regulator-max-microvolt = <3200000>;
23 regulator-always-on;
26 reg_backlight: regulator-backlight {
27 compatible = "regulator-fixed";
[all …]
H A Dimx6ul-phytec-segin-peb-av-02.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
9 backlight_lcd: backlight-lcd {
10 compatible = "pwm-backlight";
11 brightness-levels = <0 4 8 16 32 64 128 255>;
12 default-brightness-level = <5>;
13 power-supply = <&reg_backlight_en>;
18 lcd_panel: lcd-panel {
25 remote-endpoint = <&lcdif_parallel_out>;
30 reg_backlight_en: regulator-backlight-en {
31 compatible = "regulator-fixed";
[all …]
H A Dimx6ul-isiot.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
18 stdout-path = &uart1;
22 compatible = "pwm-backlight";
24 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
35 default-brightness-level = <100>;
38 reg_1p8v: regulator-1p8v {
39 compatible = "regulator-fixed";
40 regulator-name = "1P8V";
[all …]
H A Dmba6ulx.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2018-2022 TQ-Systems GmbH
4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
8 model = "TQ-Systems MBA6ULx Baseboard";
18 stdout-path = &uart1;
22 compatible = "pwm-backlight";
23 power-supply = <&reg_mba6ul_3v3>;
24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>;
29 compatible = "gpio-beeper";
33 gpio_buttons: gpio-keys {
[all …]
H A Dimx6qdl-phytec-mira.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
14 compatible = "pwm-backlight";
15 brightness-levels = <0 4 8 16 32 64 128 255>;
16 default-brightness-level = <7>;
17 power-supply = <&reg_backlight>;
23 compatible = "gpio-leds";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_gpioleds>;
28 led-red {
29 label = "phyboard-mira:red";
[all …]
/openbmc/qemu/target/arm/
H A Dvfp_helper.c2 * ARM VFP floating-point operations
22 #include "exec/helper-proto.h"
24 #include "cpu-features.h"
66 i = get_float_exception_flags(&env->vfp.fp_status); in vfp_get_fpsr_from_host()
67 i |= get_float_exception_flags(&env->vfp.standard_fp_status); in vfp_get_fpsr_from_host()
69 i |= (get_float_exception_flags(&env->vfp.fp_status_f16) in vfp_get_fpsr_from_host()
71 i |= (get_float_exception_flags(&env->vfp.standard_fp_status_f16) in vfp_get_fpsr_from_host()
79 * Clear out all the exception-flag information in the float_status in vfp_clear_float_status_exc_flags()
80 * values. The caller should have arranged for env->vfp.fpsr to in vfp_clear_float_status_exc_flags()
81 * be the architecturally up-to-date exception flag information first. in vfp_clear_float_status_exc_flags()
[all …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32f429-disco.dts2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 /dts-v1/;
50 #include "stm32f429-pinctrl.dtsi"
51 #include <dt-bindings/input/input.h>
52 #include <dt-bindings/interrupt-controller/irq.h>
53 #include <dt-bindings/gpio/gpio.h>
56 model = "STMicroelectronics STM32F429i-DISCO board";
57 compatible = "st,stm32f429i-disco", "st,stm32f429";
[all …]
H A Dspear320-hmi.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear320-hmi", "st,spear320";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 st,pinmux-mode = <4>;
24 pinctrl-names = "default";
25 pinctrl-0 = <&state_default>;
107 label = "u-boot";
129 compatible = "gpio-keys";
[all …]
H A Dspear1310-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1310-evb", "st,spear1310";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&state_default>;
63 smi-pmx {
127 label = "u-boot";
149 compatible = "gpio-keys";
[all …]
H A Dspear1340-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1340-evb", "st,spear1340";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&state_default>;
47 spdif-in {
51 spdif-out {
59 smi-pmx {
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dstmpe-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
46 #define STMPE_TS_NAME "stmpe-ts"
50 * struct stmpe_touch - stmpe811 touch screen controller state
57 * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples)
59 * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us,
60 * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms)
63 * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms,
64 * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms)
66 * @fraction_z: Length of the fractional part in z
70 * (0 -> 20 mA typical 35 mA max, 1 -> 50 mA typical 80 mA max)
[all …]
/openbmc/linux/arch/arm/boot/dts/renesas/
H A Dr8a7745-iwg22d-sodimm.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board
9 * SSI-SGTL5000
31 /dts-v1/;
32 #include "r8a7745-iwg22m.dtsi"
33 #include <dt-bindings/pwm/pwm.h>
36 model = "iWave Systems RainboW-G22D-SODIMM board based on RZ/G1E";
47 stdout-path = "serial3:115200n8";
51 compatible = "fixed-clock";
52 #clock-cells = <0>;
[all …]
/openbmc/u-boot/include/linux/
H A Dkernel.h9 #define SHRT_MIN ((s16)(-SHRT_MAX - 1))
11 #define INT_MIN (-INT_MAX - 1)
14 #define LONG_MIN (-LONG_MAX - 1)
17 #define LLONG_MIN (-LLONG_MAX - 1)
25 #define S8_MIN ((s8)(-S8_MAX - 1))
28 #define S16_MIN ((s16)(-S16_MAX - 1))
31 #define S32_MIN ((s32)(-S32_MAX - 1))
34 #define S64_MIN ((s64)(-S64_MAX - 1))
44 #define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1)
45 #define ALIGN_DOWN(x, a) ALIGN((x) - ((a) - 1), (a))
[all …]
/openbmc/openbmc/poky/meta/recipes-support/vte/vte/
H A D0004-fast_float-Add-single-header-library-for-from_char-i.patch3 Date: Fri, 4 Oct 2024 21:21:11 -0700
7 Document the process to re-generate the file whenever new release
12 Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/vte/-/issues/2823#note_2239888]
13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 ---
20 diff --git a/README.md b/README.md
22 --- a/README.md
24 @@ -21,6 +21,23 @@ on download.gnome.org, but please note that any tarball for releases
33 +fast_float repository. Following command can be used to re-generate the
40 +python3 ./script/amalgamate.py --license=MIT > $VTE_SRC/src/fast_float.hh
[all …]
/openbmc/linux/include/math-emu/
H A Dop-1.h1 /* Software floating-point emulation.
2 Basic one-word fraction declaration and manipulation.
23 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
45 /* Right shift with sticky-lsb. */
50 ? X & 1 : (X << (_FP_W_TYPE_SIZE - (N))) != 0)))
53 #define _FP_FRAC_SUB_1(R,X,Y) (R##_f = X##_f - Y##_f)
54 #define _FP_FRAC_DEC_1(X,Y) (X##_f -= Y##_f)
55 #define _FP_FRAC_CLZ_1(z, X) __FP_CLZ(z, X##_f) argument
89 X##_f = _flo->bits.frac; \
90 X##_e = _flo->bits.exp; \
[all …]
/openbmc/qemu/ui/
H A Dvnc_keysym.h64 { "Z", 0x05a},
96 { "z", 0x07a},
205 /* latin 2 - Polish national characters */
485 {"doublelowquotemark", 0x0afe}, /* U+201E DOUBLE LOW-9 QUOTATION MARK */
517 {"fiveeighths", 0x0ac5}, /* U+215D VULGAR FRACTION FIVE EIGHTHS */
616 {"oneeighth", 0x0ac3}, /* U+215B VULGAR FRACTION ONE EIGHTH */
624 {"semivoicedsound", 0x04df}, /* U+309C KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK */
625 {"seveneighths", 0x0ac6}, /* U+215E VULGAR FRACTION SEVEN EIGHTHS */
660 {"Thai_maihanakat", 0x0dd1}, /* U+0E31 THAI CHARACTER MAI HAN-AKAT */
709 {"threeeighths", 0x0ac4}, /* U+215C VULGAR FRACTION THREE EIGHTHS */
[all …]
/openbmc/qemu/fpu/
H A Dsoftfloat.c5 * IEC/IEEE Floating-point Arithmetic Package. Those parts of the code (and
9 * the SoftFloat-2a license
11 * GPL-v2-or-later
14 * taken to be licensed under the Softfloat-2a license unless specifically
20 This C source file is part of the SoftFloat IEC/IEEE Floating-point
26 National Science Foundation under grant MIP-9311980. The original version
27 of this code was written as part of a project to build a fixed-point vector
79 * version 2 or later. See the COPYING file in the top-level directory.
82 /* softfloat (and in particular the code in softfloat-specialize.h) is
83 * target-dependent and needs the TARGET_* macros.
[all …]
/openbmc/linux/arch/arm/nwfpe/
H A Dsoftfloat.c4 This C source file is part of the SoftFloat IEC/IEEE Floating-point
10 National Science Foundation under grant MIP-9311980. The original version
11 of this code was written as part of a project to build a fixed-point vector
15 http://www.jhauser.us/arithmetic/SoftFloat-2b/SoftFloat-source.txt
38 -------------------------------------------------------------------------------
39 Primitive arithmetic functions, including multi-word arithmetic, and
42 -------------------------------------------------------------------------------
44 #include "softfloat-macros"
47 -------------------------------------------------------------------------------
52 are propagated from function inputs to output. These details are target-
[all …]

123