Home
last modified time | relevance | path

Searched refs:tach (Results 1 – 25 of 32) sorted by relevance

12

/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-amd-daytonax.dts233 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
238 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
243 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
248 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
253 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
258 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
263 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
268 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
273 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
278 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
[all …]
H A Daspeed-bmc-lenovo-hr630.dts337 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
342 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
347 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
352 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
357 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
362 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
367 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
372 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
377 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
382 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
[all …]
H A Daspeed-bmc-microsoft-olympus.dts179 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
184 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
189 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
194 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
199 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
204 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
H A Daspeed-bmc-facebook-wedge40.dts36 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
41 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
46 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
51 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
H A Daspeed-bmc-vegman-sx20.dts128 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
132 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
136 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
140 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
144 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
148 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
152 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
H A Daspeed-bmc-amd-ethanolx.dts299 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
304 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
309 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
314 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
319 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
324 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
329 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
334 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
H A Daspeed-bmc-vegman-n110.dts127 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x06>;
131 aspeed,fan-tach-ch = /bits/ 8 <0x01 0x08>;
135 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x09>;
139 aspeed,fan-tach-ch = /bits/ 8 <0x03 0x0A>;
143 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x0B>;
147 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
H A Daspeed-bmc-quanta-q71l.dts419 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
424 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
429 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
434 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
439 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
444 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
449 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
454 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
H A Daspeed-bmc-inspur-nf5280m6.dts620 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
625 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
630 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
635 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
640 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
645 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
650 aspeed,fan-tach-ch = /bits/ 8 <0x0c 0x0d>;
655 aspeed,fan-tach-ch = /bits/ 8 <0x0e 0x0f>;
H A Daspeed-bmc-ampere-mtjade.dts700 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
705 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
710 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
715 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
720 aspeed,fan-tach-ch = /bits/ 8 <0x08>;
725 aspeed,fan-tach-ch = /bits/ 8 <0x09>;
730 aspeed,fan-tach-ch = /bits/ 8 <0x0a>;
735 aspeed,fan-tach-ch = /bits/ 8 <0x0b>;
740 aspeed,fan-tach-ch = /bits/ 8 <0x0c>;
745 aspeed,fan-tach-ch = /bits/ 8 <0x0d>;
[all …]
H A Daspeed-bmc-tyan-s7106.dts183 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
189 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
195 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
200 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
205 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
210 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
216 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
221 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
H A Daspeed-bmc-tyan-s8036.dts182 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
188 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
193 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
198 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
203 aspeed,fan-tach-ch = /bits/ 8 <0x05>;
209 aspeed,fan-tach-ch = /bits/ 8 <0x06>;
214 aspeed,fan-tach-ch = /bits/ 8 <0x07>;
H A Daspeed-bmc-asrock-spc621d8hm3.dts230 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
235 aspeed,fan-tach-ch = /bits/ 8 <0x02>;
240 aspeed,fan-tach-ch = /bits/ 8 <0x03>;
245 aspeed,fan-tach-ch = /bits/ 8 <0x04>;
H A Daspeed-bmc-inspur-on5263m5.dts133 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
138 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
H A Daspeed-bmc-portwell-neptune.dts160 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
165 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
H A Daspeed-bmc-bytedance-g220a.dts893 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
897 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
901 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
905 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
909 aspeed,fan-tach-ch = /bits/ 8 <0x08 0x09>;
913 aspeed,fan-tach-ch = /bits/ 8 <0x0a 0x0b>;
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dgt215.c32 u32 tach = nvkm_rd32(device, 0x00e728) & 0x0000ffff; in gt215_therm_fan_sense() local
35 return tach * 60 / 2; in gt215_therm_fan_sense()
43 struct dcb_gpio_func *tach = &therm->fan->tach; in gt215_therm_init() local
49 if (tach->func != DCB_GPIO_UNUSED) { in gt215_therm_init()
51 nvkm_mask(device, 0x00e720, 0x001f0000, tach->line << 16); in gt215_therm_init()
H A Dfan.c130 u64 start, end, tach; in nvkm_therm_fan_sense() local
135 if (therm->fan->tach.func == DCB_GPIO_UNUSED) in nvkm_therm_fan_sense()
143 prev = nvkm_gpio_get(gpio, 0, therm->fan->tach.func, in nvkm_therm_fan_sense()
144 therm->fan->tach.line); in nvkm_therm_fan_sense()
149 cur = nvkm_gpio_get(gpio, 0, therm->fan->tach.func, in nvkm_therm_fan_sense()
150 therm->fan->tach.line); in nvkm_therm_fan_sense()
161 tach = (u64)60000000000ULL; in nvkm_therm_fan_sense()
162 do_div(tach, (end - start)); in nvkm_therm_fan_sense()
163 return tach; in nvkm_therm_fan_sense()
260 &therm->fan->tach); in nvkm_therm_fan_ctor()
[all …]
H A Dgf119.c128 if (therm->fan->tach.func != DCB_GPIO_UNUSED) { in gf119_therm_init()
129 nvkm_mask(device, 0x00d79c, 0x000000ff, therm->fan->tach.line); in gf119_therm_init()
/linux/Documentation/devicetree/bindings/hwmon/
H A Daspeed-pwm-tacho.txt7 one/two Fan tach inputs.
33 one/two Fan tach inputs.
45 - aspeed,fan-tach-ch : should specify the Fan tach input channel.
47 Fan tach channel 0 and 15 indicating Fan tach channel 15.
48 At least one Fan tach input channel is required.
66 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
71 aspeed,fan-tach-ch = /bits/ 8 <0x01 0x02>;
H A Dnpcm750-pwm-fan.txt30 Each fan subnode must have one PWM channel and at least one Fan tach channel.
40 - fan-tach-ch : specify the Fan tach input channel.
42 the fan tach channel number that used.
44 At least one Fan tach input channel is required
76 fan-tach-ch = /bits/ 8 <0x00 0x01>;
81 fan-tach-ch = /bits/ 8 <0x02 0x03>;
85 fan-tach-ch = /bits/ 8 <0x04>;
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm750-evb.dts284 fan-tach-ch = /bits/ 8 <0x00 0x01>;
289 fan-tach-ch = /bits/ 8 <0x02 0x03>;
294 fan-tach-ch = /bits/ 8 <0x04 0x05>;
299 fan-tach-ch = /bits/ 8 <0x06 0x07>;
304 fan-tach-ch = /bits/ 8 <0x08 0x09>;
309 fan-tach-ch = /bits/ 8 <0x0A 0x0B>;
314 fan-tach-ch = /bits/ 8 <0x0C 0x0D>;
319 fan-tach-ch = /bits/ 8 <0x0E 0x0F>;
H A Dnuvoton-npcm750-runbmc-olympus.dts848 fan-tach-ch = /bits/ 8 <0x00 0x01>;
853 fan-tach-ch = /bits/ 8 <0x02 0x03>;
858 fan-tach-ch = /bits/ 8 <0x04 0x05>;
863 fan-tach-ch = /bits/ 8 <0x06 0x07>;
868 fan-tach-ch = /bits/ 8 <0x08 0x09>;
873 fan-tach-ch = /bits/ 8 <0x0A 0x0B>;
878 fan-tach-ch = /bits/ 8 <0x0C 0x0D>;
883 fan-tach-ch = /bits/ 8 <0x0E 0x0F>;
/linux/Documentation/hwmon/
H A Dsmsc47b397.rst69 Reading tach information.
83 Reading the tach LSB locks the tach MSB.
86 How to convert the tach reading to RPM
89 The tach reading (TCount) is given by: (Tach MSB * 256) + (Tach LSB)
/linux/drivers/hwmon/
H A Dmax31760.c69 static int tach_to_rpm(u16 tach) in tach_to_rpm() argument
71 if (tach == 0) in tach_to_rpm()
72 tach = 1; in tach_to_rpm()
74 return 60 * 100000 / tach / 2; in tach_to_rpm()

12