/linux-6.12.1/arch/mips/math-emu/ |
D | sp_maddf.c | 1 // 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 …]
|
D | dp_maddf.c | 1 // 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 …]
|
/linux-6.12.1/arch/m68k/fpsp040/ |
D | sacos.S | 8 | 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 …]
|
D | satan.S | 8 | 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | st,stmpe.yaml | 1 # 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 …]
|
/linux-6.12.1/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_desc.c | 1 // 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 …]
|
/linux-6.12.1/arch/arm/boot/dts/intel/socfpga/ |
D | socfpga_cyclone5_mcvevk.dts | 1 // 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 …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx53-m53.dtsi | 1 // 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 …]
|
D | imx6ul-phytec-segin-peb-av-02.dtsi | 1 // 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 = <®_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 …]
|
D | imx6ul-isiot.dtsi | 1 // 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 …]
|
D | mba6ulx.dtsi | 1 // 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 = <®_mba6ul_3v3>; 24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>; 29 compatible = "gpio-beeper"; 33 gpio_buttons: gpio-keys { [all …]
|
D | imx6qdl-phytec-mira.dtsi | 1 // 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 = <®_backlight>; 23 compatible = "gpio-leds"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_gpioleds>; 28 led-red { 29 label = "phyboard-mira:red"; [all …]
|
/linux-6.12.1/lib/math/ |
D | div64.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Based on former do_div() implementation from asm-parisc/div64.h: 6 * Copyright (C) 1999 Hewlett-Packard Co 7 * Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com> 16 * for some CPUs. __div64_32() can be overridden by linking arch-specific 44 rem -= (uint64_t) (high*base) << 32; in __div64_32() 54 rem -= b; in __div64_32() 73 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 74 *remainder = -*remainder; in div_s64_rem() 76 quotient = -quotient; in div_s64_rem() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | stm32f429-disco.dts | 2 * 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 …]
|
D | spear320-hmi.dts | 1 // 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 …]
|
D | spear1310-evb.dts | 1 // 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 …]
|
D | spear1340-evb.dts | 1 // 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 …]
|
D | stm32mp157c-phycore-stm32mp15-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2022-2023 Steffen Trumtrar <kernel@pengutronix.de> 4 * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/leds/leds-pca9532.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> [all …]
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | stmpe-ts.c | 1 // 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 …]
|
/linux-6.12.1/arch/arm/boot/dts/renesas/ |
D | r8a7745-iwg22d-sodimm.dts | 1 // 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 …]
|
/linux-6.12.1/include/math-emu/ |
D | op-1.h | 1 /* 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 …]
|
/linux-6.12.1/drivers/iio/adc/ |
D | ad4000.c | 1 // SPDX-License-Identifier: GPL-2.0+ 56 .shift = _storage_bits - _real_bits, \ 78 .shift = _storage_bits - _real_bits, \ 98 /* maps adi,sdi-pin property value to enum */ 254 if (chan->scan_type.sign == 's') in ad4000_fill_scale_tbl() 255 scale_bits = chan->scan_type.realbits - 1; in ad4000_fill_scale_tbl() 257 scale_bits = chan->scan_type.realbits; in ad4000_fill_scale_tbl() 260 * The gain is stored as a fraction of 1000 and, as we need to in ad4000_fill_scale_tbl() 261 * divide vref_mv by the gain, we invert the gain/1000 fraction. in ad4000_fill_scale_tbl() 263 * Thus, we have MILLI * MILLI equals MICRO as fraction numerator. in ad4000_fill_scale_tbl() [all …]
|
/linux-6.12.1/arch/arm/nwfpe/ |
D | softfloat.c | 4 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 …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
/linux-6.12.1/drivers/iio/light/ |
D | as73211.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Color light sensor with 16-bit channels for x, y, z and temperature); 11 * 7-bit I2C slave address 0x74 .. 0x77. 14 * AS73211: https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf 15 * AS7331: https://ams.com/documents/20143/9106314/AS7331_DS001047_4-00.pdf 76 #define AS73211_SAMPLE_TIME_MAX_MS BIT(AS73211_SAMPLE_TIME_NUM - 1) 93 * struct as73211_spec_dev_data - device-specific data 105 * struct as73211_data - Instance data for one AS73211 114 * @spec_dev: device-specific configuration. 151 #define AS73211_OFFSET_TEMP_INT (-66) [all …]
|