/linux/include/linux/ |
H A D | fixp-arith.h | 43 * __fixp_sin32() returns the sin of an angle in degrees 45 * @degrees: angle, in degrees, from 0 to 360. 49 static inline s32 __fixp_sin32(int degrees) in __fixp_sin32() argument 54 if (degrees > 180) { in __fixp_sin32() 56 degrees -= 180; in __fixp_sin32() 58 if (degrees > 90) in __fixp_sin32() 59 degrees = 180 - degrees; in __fixp_sin32() 61 ret = sin_table[degrees]; in __fixp_sin32() 73 fixp_sin32(int degrees) fixp_sin32() argument 115 int degrees; fixp_sin32_rad() local [all...] |
H A D | cordic.h | 44 * @theta: angle in degrees for which i/q coordinate is to be calculated. 52 * for -180 degrees to +180 degrees. Passed values outside this range are
|
/linux/Documentation/hwmon/ |
H A D | ds1621.rst | 68 Fahrenheit range of -67 to +257 degrees with 0.9 steps. If polarity 81 of up to +/- 0.5 degrees even when compared against precise temperature 107 and 80 degrees respectively). 125 - DS1621: +/- 0.5 degree Celsius (from 0 to +70 degrees) 126 - DS1625: +/- 0.5 degree Celsius (from 0 to +70 degrees) 127 - DS1631: +/- 0.5 degree Celsius (from 0 to +70 degrees) 128 - DS1721: +/- 1.0 degree Celsius (from -10 to +85 degrees) 129 - DS1731: +/- 1.0 degree Celsius (from -10 to +85 degrees) 146 0 0 9 bits, 0.5 degrees Celsius 147 1 0 10 bits, 0.25 degrees Celsiu [all...] |
H A D | lm77.rst | 37 was 80 degrees C, and the hysteresis was 75 degrees C, and you change 38 the critical limit to 90 degrees C, then the hysteresis will 39 automatically change to 85 degrees C.
|
H A D | k8temp.rst | 42 Temperatures are measured in degrees Celsius and measurement resolution is 45 206 degrees C. 61 70 degrees C. The rule of the thumb -> CPU temperature should not cross 62 60 degrees C too much.
|
H A D | tmp513.rst | 34 The temperatures are measured in degrees Celsius with a range of 35 -40 to + 125 degrees with a resolution of 0.0625 degree C. 39 hysteresis value. The hysteresis is in degrees Celsius with a range of 40 0 to 127.5 degrees with a resolution of 0.5 degree.
|
H A D | w83773g.rst | 26 Temperature is measured in degrees Celsius. 28 range of -40 to +125 degrees Celsius (for local sensor) and -40 to +127 29 degrees Celsius (for remote sensors).
|
H A D | gl518sm.rst | 43 Temperatures are measured in degrees Celsius. An alarm goes off while the 46 situation. Measurements are guaranteed between -10 degrees and +110 47 degrees, with a accuracy of +/-3 degrees.
|
H A D | w83l785ts.rst | 24 theoretically defined as 85 or 100 degrees C through a combination 27 degrees C. The datasheet is rather poor and obviously inaccurate 30 All temperature values are given in degrees Celsius. Resolution
|
H A D | lm83.rst | 85 All temperature values are given in degrees Celsius. Local temperature 86 is given within a range of 0 to +85 degrees. Remote temperatures are 87 given within a range of 0 to +125 degrees. Resolution is 1.0 degree, 88 accuracy is guaranteed to 3.0 degrees (see the datasheet for more
|
H A D | adc128d818.rst | 24 Temperatures are measured in degrees Celsius. There is one set of limits. 27 Measurements are guaranteed between -55 and +125 degrees. The temperature 28 measurement has a resolution of 0.5 degrees; the limits have a resolution
|
H A D | lm70.rst | 56 13-bit temperature data (0.0625 degrees celsius resolution). 61 with 0.25 degrees Celsius resolution. 64 data (0.03125 degrees celsius resolution).
|
/linux/drivers/mmc/host/ |
H A D | dw_mmc-hi3798mv200.c | 94 static const int degrees[] = { 0, 45, 90, 135, 180, 225, 270, 315 }; in dw_mci_hi3798mv200_execute_tuning_mix_mode() local 108 for (i = 0; i < ARRAY_SIZE(degrees); i++) { in dw_mci_hi3798mv200_execute_tuning_mix_mode() 109 clk_set_phase(priv->sample_clk, degrees[i]); in dw_mci_hi3798mv200_execute_tuning_mix_mode() 147 fall_point = ARRAY_SIZE(degrees) - 1; in dw_mci_hi3798mv200_execute_tuning_mix_mode() 150 (ARRAY_SIZE(degrees) - 1)) in dw_mci_hi3798mv200_execute_tuning_mix_mode() 153 mid = (raise_point + ARRAY_SIZE(degrees) - 1) / 2; in dw_mci_hi3798mv200_execute_tuning_mix_mode() 162 priv->phase_map.phase[MMC_TIMING_MMC_HS200].in_deg = degrees[mid]; in dw_mci_hi3798mv200_execute_tuning_mix_mode() 163 priv->phase_map.phase[MMC_TIMING_MMC_HS400].in_deg = degrees[mid]; in dw_mci_hi3798mv200_execute_tuning_mix_mode() 164 priv->phase_map.phase[MMC_TIMING_UHS_SDR104].in_deg = degrees[mid]; in dw_mci_hi3798mv200_execute_tuning_mix_mode() 166 clk_set_phase(priv->sample_clk, degrees[mi in dw_mci_hi3798mv200_execute_tuning_mix_mode() [all...] |
H A D | dw_mmc-hi3798cv200.c | 63 static const int degrees[] = { 0, 45, 90, 135, 180, 225, 270, 315 }; in dw_mci_hi3798cv200_execute_tuning() local 71 for (i = 0; i < ARRAY_SIZE(degrees); i++) { in dw_mci_hi3798cv200_execute_tuning() 72 clk_set_phase(priv->sample_clk, degrees[i]); in dw_mci_hi3798cv200_execute_tuning() 97 fall_point = ARRAY_SIZE(degrees) - 1; in dw_mci_hi3798cv200_execute_tuning() 100 (ARRAY_SIZE(degrees) - 1)) in dw_mci_hi3798cv200_execute_tuning() 103 i = (raise_point + ARRAY_SIZE(degrees) - 1) / 2; in dw_mci_hi3798cv200_execute_tuning() 108 clk_set_phase(priv->sample_clk, degrees[i]); in dw_mci_hi3798cv200_execute_tuning() 110 raise_point, fall_point, degrees[i]); in dw_mci_hi3798cv200_execute_tuning()
|
/linux/drivers/clk/meson/ |
H A D | clk-phase.c | 26 static unsigned int meson_clk_degrees_to_val(int degrees, unsigned int width) in meson_clk_degrees_to_val() argument 28 unsigned int val = DIV_ROUND_CLOSEST(degrees, phase_step(width)); in meson_clk_degrees_to_val() 31 * This last calculation is here for cases when degrees is rounded in meson_clk_degrees_to_val() 48 static int meson_clk_phase_set_phase(struct clk_hw *hw, int degrees) in meson_clk_phase_set_phase() argument 54 val = meson_clk_degrees_to_val(degrees, phase->ph.width); in meson_clk_phase_set_phase() 113 static int meson_clk_triphase_set_phase(struct clk_hw *hw, int degrees) in meson_clk_triphase_set_phase() argument 119 val = meson_clk_degrees_to_val(degrees, tph->ph0.width); in meson_clk_triphase_set_phase() 175 static int meson_sclk_ws_inv_set_phase(struct clk_hw *hw, int degrees) in meson_sclk_ws_inv_set_phase() argument 181 val = meson_clk_degrees_to_val(degrees, tph->ph.width); in meson_sclk_ws_inv_set_phase()
|
/linux/drivers/clk/rockchip/ |
H A D | clk-mmc-phase.c | 53 u16 degrees; in rockchip_mmc_get_phase() local 67 degrees = (raw_value & ROCKCHIP_MMC_DEGREE_MASK) * 90; in rockchip_mmc_get_phase() 70 /* degrees/delaynum * 1000000 */ in rockchip_mmc_get_phase() 76 degrees += DIV_ROUND_CLOSEST(delay_num * factor, 1000000); in rockchip_mmc_get_phase() 79 return degrees % 360; in rockchip_mmc_get_phase() 82 static int rockchip_mmc_set_phase(struct clk_hw *hw, int degrees) in rockchip_mmc_set_phase() argument 108 nineties = degrees / 90; in rockchip_mmc_set_phase() 109 remainder = (degrees % 90); in rockchip_mmc_set_phase() 126 * degrees off from what we think we're making. That's OK in rockchip_mmc_set_phase() 153 clk_hw_get_name(hw), degrees, delay_nu in rockchip_mmc_set_phase() [all...] |
H A D | clk-inverter.c | 35 static int rockchip_inv_set_phase(struct clk_hw *hw, int degrees) in rockchip_inv_set_phase() argument 40 if (degrees % 180 == 0) { in rockchip_inv_set_phase() 41 val = !!degrees; in rockchip_inv_set_phase() 44 __func__, degrees, clk_hw_get_name(hw)); in rockchip_inv_set_phase()
|
/linux/Documentation/devicetree/bindings/iio/afe/ |
H A D | temperature-sense-rtd.yaml | 15 (usually 0 to 100 degrees Celsius). 66 between 0 and 100 degrees Celsius. 70 Where, R_100 is the resistance of the sensor at 100 degrees Celsius, and 71 R_0 (or r-naught-ohms) is the resistance of the sensor at 0 degrees 79 Resistance of the sensor at 0 degrees Celsius.
|
H A D | temperature-transducer.yaml | 67 This offset is commonly used to convert from Kelvins to degrees Celsius. 83 degrees Celsius or micro-volts per degrees Celsius. The is the main 101 sense-offset-millicelsius = <(-273150)>; /* Kelvin to degrees Celsius */ 111 sense-offset-millicelsius = <(-273150)>; /* Kelvin to degrees Celsius */
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | video-interface-devices.yaml | 29 The camera rotation is expressed as the angular difference in degrees 116 and the projected scene reference system 'Rp'. It is expressed in degrees 121 0 degrees camera rotation: 157 90 degrees camera rotation: 181 180 degrees camera rotation: 199 270 degrees camera rotation: 249 0 degrees, no rotation correction needs to be applied to the resulting 266 'Rp' being rotated 180 degrees relatively to 'Rc': 285 The image once captured to memory will then be rotated by 180 degrees: 299 A software rotation correction of 180 degrees shoul [all...] |
/linux/Documentation/devicetree/bindings/iio/temperature/ |
H A D | melexis,mlx90632.yaml | 17 measured object temperature is in range between -20 to 200 degrees 20 operate and measure ambient temperature in range of -20 to 85 degrees 33 measured object temperature is in range between -20 to 100 degrees 37 operate and measure ambient temperature in range of -20 to 85 degrees
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-power-max1720x | 10 Valid values: Represented in 1/10 Degrees Celsius 21 Valid values: Represented in 1/10 Degrees Celsius 32 Valid values: Represented in 1/10 Degrees Celsius
|
/linux/drivers/clk/hisilicon/ |
H A D | clk-hisi-phase.c | 54 int degrees) in hisi_phase_degrees_to_regval() argument 59 if (phase->phase_degrees[i] == degrees) in hisi_phase_degrees_to_regval() 65 static int hisi_clk_set_phase(struct clk_hw *hw, int degrees) in hisi_clk_set_phase() argument 72 regval = hisi_phase_degrees_to_regval(phase, degrees); in hisi_clk_set_phase()
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_phase.c | 56 static int ccu_phase_set_phase(struct clk_hw *hw, int degrees) in ccu_phase_set_phase() argument 85 if (degrees != 180) { in ccu_phase_set_phase() 96 * formula to get the outphasing in degrees is deg = in ccu_phase_set_phase() 105 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase()
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | overlay.c | 70 * sin(x degrees) ~= 4 x (180 - x) / (40500 - x (180 - x) ) 75 sin_mul(int degrees, int factor) in sin_mul() argument 77 if (degrees > 180) { in sin_mul() 78 degrees -= 180; in sin_mul() 81 return factor * 4 * degrees * (180 - degrees) / in sin_mul() 82 (40500 - degrees * (180 - degrees)); in sin_mul() 87 cos_mul(int degrees, int factor) in cos_mul() argument 89 return sin_mul((degrees in cos_mul() [all...] |