Home
last modified time | relevance | path

Searched refs:degrees (Results 1 – 25 of 170) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/include/linux/
H A Dfixp-arith.h48 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()
72 static inline s32 fixp_sin32(int degrees) in fixp_sin32() argument
74 degrees = (degrees % 360 + 360) % 360; in fixp_sin32()
76 return __fixp_sin32(degrees); in fixp_sin32()
114 int degrees; in fixp_sin32_rad() local
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Dfixp-arith.h47 static inline s32 __fixp_sin32(int degrees) in __fixp_sin32() argument
52 if (degrees > 180) { in __fixp_sin32()
54 degrees -= 180; in __fixp_sin32()
56 if (degrees > 90) in __fixp_sin32()
57 degrees = 180 - degrees; in __fixp_sin32()
59 ret = sin_table[degrees]; in __fixp_sin32()
71 static inline s32 fixp_sin32(int degrees) in fixp_sin32() argument
73 degrees = (degrees % 360 + 360) % 360; in fixp_sin32()
75 return __fixp_sin32(degrees); in fixp_sin32()
/OK3568_Linux_fs/kernel/drivers/clk/rockchip/
H A 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()
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()
142 clk_hw_get_name(hw), degrees, delay_num, in rockchip_mmc_set_phase()
H A 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()
/OK3568_Linux_fs/kernel/drivers/clk/meson/
H A 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()
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()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A 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()
H A Ddw_mmc-rockchip.c149 u32 degrees[4] = {0, 90, 180, 270}, degree; in dw_mci_v2_execute_tuning() local
156 degree = degrees[i]; in dw_mci_v2_execute_tuning()
168 for (i = 0; i < ARRAY_SIZE(degrees); i++) { in dw_mci_v2_execute_tuning()
169 degree = degrees[i] + priv->last_degree + 90; in dw_mci_v2_execute_tuning()
187 if (i == ARRAY_SIZE(degrees)) { in dw_mci_v2_execute_tuning()
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A 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 …]
H A 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.
H A 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.
H A 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).
H A 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.
H A 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.
H A Dw83l785ts.rst24 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 Dad7314.rst28 sensor with 1lsb = 0.25 degrees centigrade. The adt7301 and
29 adt7302 have 14 bit sensors with 1lsb = 0.03125 degrees centigrade.
H A 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.
H A Dadc128d818.rst24 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
/OK3568_Linux_fs/kernel/drivers/clk/hisilicon/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c75 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()
/OK3568_Linux_fs/kernel/drivers/clk/sunxi-ng/
H A Dccu_phase.c56 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()
105 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/map/
H A Dmap.hpp106 void setBearing(double degrees, const AnimationOptions& = {});
107 void setBearing(double degrees, optional<ScreenCoordinate>, const AnimationOptions& = {});
108 void setBearing(double degrees, const EdgeInsets&, const AnimationOptions& = {});
/OK3568_Linux_fs/u-boot/drivers/clk/rockchip/
H A Dclk_rk3128.c680 u16 degrees = 0; in rk3128_mmc_get_phase() local
696 degrees = (raw_value & ROCKCHIP_MMC_DEGREE_MASK) * 90; in rk3128_mmc_get_phase()
705 degrees += DIV_ROUND_CLOSEST(delay_num * factor, 10000); in rk3128_mmc_get_phase()
708 return degrees % 360; in rk3128_mmc_get_phase()
711 int rk3128_mmc_set_phase(struct clk *clk, u32 degrees) in rk3128_mmc_set_phase() argument
724 nineties = degrees / 90; in rk3128_mmc_set_phase()
725 remainder = (degrees % 90); in rk3128_mmc_set_phase()
751 degrees, delay_num, raw_value, rk3128_mmc_get_phase(clk)); in rk3128_mmc_set_phase()
774 static int rk3128_clk_set_phase(struct clk *clk, int degrees) in rk3128_clk_set_phase() argument
783 ret = rk3128_mmc_set_phase(clk, degrees); in rk3128_clk_set_phase()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqlocationutils_p.h219 inline static double radians(double degrees) in radians() argument
221 return qDegreesToRadians(degrees); in radians()
224 inline static double degrees(double radians) in degrees() function
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Demc2103.c51 s8 degrees; member
88 u8 degrees, fractional; in read_temp_from_i2c() local
90 if (read_u8_from_i2c(client, i2c_reg, &degrees) < 0) in read_temp_from_i2c()
96 temp->degrees = degrees; in read_temp_from_i2c()
179 int millidegrees = data->temp[nr].degrees * 1000 in temp_show()
207 bool fault = (data->temp[nr].degrees == -128); in temp_fault_show()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/
H A Dvideo-interfaces.txt89 degrees between two reference systems, one relative to the camera module, and
176 degrees as a number in the range [0, 360[.
180 0 degrees camera rotation:
216 90 degrees camera rotation:
240 180 degrees camera rotation:
258 270 degrees camera rotation:
308 0 degrees, no rotation correction needs to be applied to the resulting
325 with 'Rp' being rotated 180 degrees relatively to 'Rc':
344 The image once captured to memory will then be rotated by 180 degrees:
358 A software rotation correction of 180 degrees should be applied to
[all …]

1234567