Searched +full:tach +full:- +full:div (Results  1 – 3 of 3) sorted by relevance
| /linux/drivers/hwmon/ | 
| H A D | max6620.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later20  *        http://pdfserv.maxim-ic.com/en/ds/MAX6620.pdf
 95 /* Minimum and maximum values of the FAN-RPM */
 141 	u16 tach[4];  member
 150 static u16 max6620_fan_rpm_to_tach(u8 div, int rpm)  in max6620_fan_rpm_to_tach()  argument
 152 	return (60 * div * MAX6620_CLOCK_FREQ) / (rpm * MAX6620_PULSE_PER_REV);  in max6620_fan_rpm_to_tach()
 155 static int max6620_fan_tach_to_rpm(u8 div, u16 tach)  in max6620_fan_tach_to_rpm()  argument
 157 	return (60 * div * MAX6620_CLOCK_FREQ) / (tach * MAX6620_PULSE_PER_REV);  in max6620_fan_tach_to_rpm()
 163 	struct i2c_client *client = data->client;  in max6620_update_device()
 167 	mutex_lock(&data->update_lock);  in max6620_update_device()
 [all …]
 
 | 
| H A D | adm1026.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * adm1026.c - Part of lm_sensors, Linux kernel modules for hardware
 19 #include <linux/hwmon-sysfs.h>
 20 #include <linux/hwmon-vid.h>
 27 static int gpio_input[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1,
 28 				-1, -1, -1, -1, -1, -1, -1, -1 };
 29 static int gpio_output[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1,
 30 				-1, -1, -1, -1, -1, -1, -1, -1 };
 31 static int gpio_inverted[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1,
 32 				-1, -1, -1, -1, -1, -1, -1, -1 };
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/hwmon/ | 
| H A D | fan-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 4 $id: http://devicetree.org/schemas/hwmon/fan-common.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Naresh Solanki <naresh.solanki@9elements.com>
 11   - Billy Tsai <billy_tsai@aspeedtech.com>
 14   max-rpm:
 20   min-rpm:
 26   pulses-per-revolution:
 32   tach-div:
 [all …]
 
 |