blob: 8bc5b4e94f167512508d2de5920ae16c8d825c89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*
* include/linux/platform_data/pwm_fan.h
*
* Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _PWM_FAN_H_
#define _PWM_FAN_H_
#define MAX_ACTIVE_STATES 10
struct pwm_fan_platform_data {
int active_steps;
int active_rpm[MAX_ACTIVE_STATES];
int active_pwm[MAX_ACTIVE_STATES];
int active_rru[MAX_ACTIVE_STATES];
int active_rrd[MAX_ACTIVE_STATES];
int pwm_cap;
int pwm_period;
int active_temps[MAX_ACTIVE_STATES];
int pwm_id;
int step_time;
int precision_multiplier;
};
#endif
|