Home
last modified time | relevance | path

Searched full:degrees (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/kernel/linux/linux-5.10/include/linux/
Dfixp-arith.h42 * __fixp_sin32() returns the sin of an angle in degrees
44 * @degrees: angle, in degrees, from 0 to 360.
48 static inline s32 __fixp_sin32(int degrees) in __fixp_sin32() argument
53 if (degrees > 180) { in __fixp_sin32()
55 degrees -= 180; in __fixp_sin32()
57 if (degrees > 90) in __fixp_sin32()
58 degrees = 180 - degrees; in __fixp_sin32()
60 ret = sin_table[degrees]; in __fixp_sin32()
66 * fixp_sin32() returns the sin of an angle in degrees
68 * @degrees: angle, in degrees. The angle can be positive or negative
[all …]
/kernel/linux/linux-4.19/include/linux/
Dfixp-arith.h54 * __fixp_sin32() returns the sin of an angle in degrees
56 * @degrees: angle, in degrees, from 0 to 360.
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()
78 * fixp_sin32() returns the sin of an angle in degrees
80 * @degrees: angle, in degrees. The angle can be positive or negative
[all …]
/kernel/linux/linux-4.19/Documentation/hwmon/
Dds162149 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 …]
Dlm7730 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.
Dk8temp35 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.
Demc140351 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.
Dw83773g21 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).
Dgl518sm36 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.
/kernel/linux/linux-5.10/Documentation/hwmon/
Dds1621.rst68 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 Celsius
[all …]
Dlm77.rst37 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.
Dk8temp.rst42 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.
Demc1403.rst72 was 80 degrees C, and the hysteresis was 75 degrees C, and you change
73 the critical limit to 90 degrees C, then the hysteresis will
74 automatically change to 85 degrees C.
Dtmp513.rst34 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.
Dw83773g.rst26 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).
Dgl518sm.rst43 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.
/kernel/linux/linux-5.10/drivers/clk/meson/
Dclk-phase.c26 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()
107 static int meson_clk_triphase_set_phase(struct clk_hw *hw, int degrees) in meson_clk_triphase_set_phase() argument
113 val = meson_clk_degrees_to_val(degrees, tph->ph0.width); in meson_clk_triphase_set_phase()
164 static int meson_sclk_ws_inv_set_phase(struct clk_hw *hw, int degrees) in meson_sclk_ws_inv_set_phase() argument
170 val = meson_clk_degrees_to_val(degrees, tph->ph.width); in meson_sclk_ws_inv_set_phase()
/kernel/linux/linux-5.10/drivers/clk/rockchip/
Dclk-mmc-phase.c51 u16 degrees; in rockchip_mmc_get_phase() local
60 degrees = (raw_value & ROCKCHIP_MMC_DEGREE_MASK) * 90; in rockchip_mmc_get_phase()
63 /* degrees/delaynum * 1000000 */ in rockchip_mmc_get_phase()
69 degrees += DIV_ROUND_CLOSEST(delay_num * factor, 1000000); in rockchip_mmc_get_phase()
72 return degrees % 360; in rockchip_mmc_get_phase()
75 static int rockchip_mmc_set_phase(struct clk_hw *hw, int degrees) in rockchip_mmc_set_phase() argument
101 nineties = degrees / 90; in rockchip_mmc_set_phase()
102 remainder = (degrees % 90); in rockchip_mmc_set_phase()
119 * degrees off from what we think we're making. That's OK in rockchip_mmc_set_phase()
142 clk_hw_get_name(hw), degrees, delay_num, in rockchip_mmc_set_phase()
Dclk-inverter.c35 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()
/kernel/linux/linux-4.19/drivers/clk/meson/
Dclk-phase.c24 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()
29 * This last calculation is here for cases when degrees is rounded 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()
/kernel/linux/linux-4.19/drivers/clk/rockchip/
Dclk-mmc-phase.c60 u16 degrees; in rockchip_mmc_get_phase() local
69 degrees = (raw_value & ROCKCHIP_MMC_DEGREE_MASK) * 90; in rockchip_mmc_get_phase()
72 /* degrees/delaynum * 10000 */ in rockchip_mmc_get_phase()
78 degrees += DIV_ROUND_CLOSEST(delay_num * factor, 10000); in rockchip_mmc_get_phase()
81 return degrees % 360; in rockchip_mmc_get_phase()
84 static int rockchip_mmc_set_phase(struct clk_hw *hw, int degrees) in rockchip_mmc_set_phase() argument
110 nineties = degrees / 90; in rockchip_mmc_set_phase()
111 remainder = (degrees % 90); in rockchip_mmc_set_phase()
128 * degrees off from what we think we're making. That's OK in rockchip_mmc_set_phase()
151 clk_hw_get_name(hw), degrees, delay_num, in rockchip_mmc_set_phase()
Dclk-inverter.c44 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()
/kernel/linux/linux-5.10/drivers/mmc/host/
Ddw_mmc-hi3798cv200.c69 static const int degrees[] = { 0, 45, 90, 135, 180, 225, 270, 315 }; in dw_mci_hi3798cv200_execute_tuning() local
77 for (i = 0; i < ARRAY_SIZE(degrees); i++) { in dw_mci_hi3798cv200_execute_tuning()
78 clk_set_phase(priv->sample_clk, degrees[i]); in dw_mci_hi3798cv200_execute_tuning()
104 fall_point = ARRAY_SIZE(degrees) - 1; in dw_mci_hi3798cv200_execute_tuning()
107 (ARRAY_SIZE(degrees) - 1)) in dw_mci_hi3798cv200_execute_tuning()
110 i = (raise_point + ARRAY_SIZE(degrees) - 1) / 2; in dw_mci_hi3798cv200_execute_tuning()
115 clk_set_phase(priv->sample_clk, degrees[i]); in dw_mci_hi3798cv200_execute_tuning()
117 raise_point, fall_point, degrees[i]); in dw_mci_hi3798cv200_execute_tuning()
/kernel/linux/linux-4.19/drivers/mmc/host/
Ddw_mmc-hi3798cv200.c63 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()
/kernel/linux/linux-5.10/drivers/clk/hisilicon/
Dclk-hisi-phase.c54 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()
/kernel/linux/linux-4.19/drivers/clk/hisilicon/
Dclk-hisi-phase.c54 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()

12345678910>>...20