/Linux-v4.19/include/linux/ |
D | fixp-arith.h | 60 static inline s32 __fixp_sin32(int degrees) in __fixp_sin32() argument 65 if (degrees > 180) { in __fixp_sin32() 67 degrees -= 180; in __fixp_sin32() 69 if (degrees > 90) in __fixp_sin32() 70 degrees = 180 - degrees; in __fixp_sin32() 72 ret = sin_table[degrees]; in __fixp_sin32() 84 static inline s32 fixp_sin32(int degrees) in fixp_sin32() argument 86 degrees = (degrees % 360 + 360) % 360; in fixp_sin32() 88 return __fixp_sin32(degrees); in fixp_sin32() 126 int degrees; in fixp_sin32_rad() local [all …]
|
/Linux-v4.19/drivers/clk/rockchip/ |
D | clk-mmc-phase.c | 60 u16 degrees; in rockchip_mmc_get_phase() local 71 degrees = (raw_value & ROCKCHIP_MMC_DEGREE_MASK) * 90; in rockchip_mmc_get_phase() 80 degrees += DIV_ROUND_CLOSEST(delay_num * factor, 10000); in rockchip_mmc_get_phase() 83 return degrees % 360; in rockchip_mmc_get_phase() 86 static int rockchip_mmc_set_phase(struct clk_hw *hw, int degrees) in rockchip_mmc_set_phase() argument 112 nineties = degrees / 90; in rockchip_mmc_set_phase() 113 remainder = (degrees % 90); in rockchip_mmc_set_phase() 153 clk_hw_get_name(hw), degrees, delay_num, in rockchip_mmc_set_phase()
|
D | clk-inverter.c | 44 static int rockchip_inv_set_phase(struct clk_hw *hw, int degrees) in rockchip_inv_set_phase() argument 49 if (degrees % 180 == 0) { in rockchip_inv_set_phase() 50 val = !!degrees; in rockchip_inv_set_phase() 53 __func__, degrees, clk_hw_get_name(hw)); in rockchip_inv_set_phase()
|
/Linux-v4.19/drivers/mmc/host/ |
D | dw_mmc-hi3798cv200.c | 63 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() 98 fall_point = ARRAY_SIZE(degrees) - 1; in dw_mci_hi3798cv200_execute_tuning() 101 (ARRAY_SIZE(degrees) - 1)) in dw_mci_hi3798cv200_execute_tuning() 104 i = (raise_point + ARRAY_SIZE(degrees) - 1) / 2; in dw_mci_hi3798cv200_execute_tuning() 109 clk_set_phase(priv->sample_clk, degrees[i]); in dw_mci_hi3798cv200_execute_tuning() 111 raise_point, fall_point, degrees[i]); in dw_mci_hi3798cv200_execute_tuning()
|
/Linux-v4.19/drivers/clk/meson/ |
D | clk-phase.c | 24 unsigned int meson_clk_degrees_to_val(int degrees, unsigned int width) in meson_clk_degrees_to_val() argument 26 unsigned int val = DIV_ROUND_CLOSEST(degrees, phase_step(width)); in meson_clk_degrees_to_val() 47 static int meson_clk_phase_set_phase(struct clk_hw *hw, int degrees) in meson_clk_phase_set_phase() argument 53 val = meson_clk_degrees_to_val(degrees, phase->ph.width); in meson_clk_phase_set_phase()
|
D | clk-triphase.c | 49 static int meson_clk_triphase_set_phase(struct clk_hw *hw, int degrees) in meson_clk_triphase_set_phase() argument 55 val = meson_clk_degrees_to_val(degrees, tph->ph0.width); in meson_clk_triphase_set_phase()
|
/Linux-v4.19/Documentation/hwmon/ |
D | ds1621 | 49 Fahrenheit range of -67 to +257 degrees with 0.9 steps. If polarity 62 of up to +/- 0.5 degrees even when compared against precise temperature 88 and 80 degrees respectively). 104 DS1621: +/- 0.5 degree Celsius (from 0 to +70 degrees) 105 DS1625: +/- 0.5 degree Celsius (from 0 to +70 degrees) 106 DS1631: +/- 0.5 degree Celsius (from 0 to +70 degrees) 107 DS1721: +/- 1.0 degree Celsius (from -10 to +85 degrees) 108 DS1731: +/- 1.0 degree Celsius (from -10 to +85 degrees) 120 0 0 => 9 bits, 0.5 degrees Celsius 121 1 0 => 10 bits, 0.25 degrees Celsius [all …]
|
D | lm77 | 30 was 80 degrees C, and the hysteresis was 75 degrees C, and you change 31 the critical limit to 90 degrees C, then the hysteresis will 32 automatically change to 85 degrees C.
|
D | w83773g | 21 Temperature is measured in degrees Celsius. 23 range of -40 to +125 degrees Celsius (for local sensor) and -40 to +127 24 degrees Celsius (for remote sensors).
|
D | k8temp | 35 Temperatures are measured in degrees Celsius and measurement resolution is 38 206 degrees C. 54 70 degrees C. The rule of the thumb -> CPU temperature should not cross 55 60 degrees C too much.
|
D | emc1403 | 51 was 80 degrees C, and the hysteresis was 75 degrees C, and you change 52 the critical limit to 90 degrees C, then the hysteresis will 53 automatically change to 85 degrees C.
|
D | ad7314 | 19 sensor with 1lsb = 0.25 degrees centigrade. The adt7301 and 20 adt7302 have 14 bit sensors with 1lsb = 0.03125 degrees centigrade.
|
D | w83l785ts | 19 theoretically defined as 85 or 100 degrees C through a combination 22 degrees C. The datasheet is rather poor and obviously inaccurate 25 All temperature values are given in degrees Celsius. Resolution
|
D | adc128d818 | 21 Temperatures are measured in degrees Celsius. There is one set of limits. 24 Measurements are guaranteed between -55 and +125 degrees. The temperature 25 measurement has a resolution of 0.5 degrees; the limits have a resolution
|
D | gl518sm | 36 Temperatures are measured in degrees Celsius. An alarm goes off while the 39 situation. Measurements are guaranteed between -10 degrees and +110 40 degrees, with a accuracy of +/-3 degrees.
|
D | lm73 | 19 given in degrees Celsius. 24 The LM73 supports four resolutions, defined in terms of degrees C per 79 resolution in degrees C per LSB.
|
D | lm83 | 73 All temperature values are given in degrees Celsius. Local temperature 74 is given within a range of 0 to +85 degrees. Remote temperatures are 75 given within a range of 0 to +125 degrees. Resolution is 1.0 degree, 76 accuracy is guaranteed to 3.0 degrees (see the datasheet for more
|
D | w83l786ng | 30 Temperatures are measured in degrees Celsius and measurement resolution is 1 54 tolerance[1-2] - Value in degrees of Celsius (degC) for +- T
|
D | lm80 | 32 Temperatures are measured in degrees Celsius. There are two sets of limits 38 +125 degrees. The current temperature measurement has a resolution of 39 0.0625 degrees; the limits have a resolution of 1 degree.
|
D | tmp421 | 36 in degrees Celsius. The chips are wired over I2C/SMBus and specified 37 over a temperature range of -40 to +125 degrees Celsius. Resolution
|
/Linux-v4.19/drivers/clk/hisilicon/ |
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-v4.19/drivers/clk/sunxi-ng/ |
D | ccu_phase.c | 59 static int ccu_phase_set_phase(struct clk_hw *hw, int degrees) in ccu_phase_set_phase() argument 88 if (degrees != 180) { in ccu_phase_set_phase() 108 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/ |
D | overlay.c | 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 + 90) % 360, factor); in cos_mul()
|
/Linux-v4.19/drivers/hwmon/ |
D | emc2103.c | 64 s8 degrees; member 101 u8 degrees, fractional; in read_temp_from_i2c() local 103 if (read_u8_from_i2c(client, i2c_reg, °rees) < 0) in read_temp_from_i2c() 109 temp->degrees = degrees; in read_temp_from_i2c() 192 int millidegrees = data->temp[nr].degrees * 1000 in show_temp() 220 bool fault = (data->temp[nr].degrees == -128); in show_temp_fault()
|
/Linux-v4.19/Documentation/devicetree/bindings/iio/temperature/ |
D | mlx90632.txt | 7 temperature is in range between -20 to 200 degrees Celsius with relative error 10 in range of -20 to 85 degrees Celsius it is suitable also for outdoor use.
|