/drivers/mfd/ |
D | qcom_rpm.c | 66 #define RPM_STATUS_REG(rpm, i) ((rpm)->status_regs + (i) * 4) argument 67 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4) argument 68 #define RPM_REQ_REG(rpm, i) ((rpm)->req_regs + (i) * 4) argument 453 int qcom_rpm_write(struct qcom_rpm *rpm, in qcom_rpm_write() 502 struct qcom_rpm *rpm = dev; in qcom_rpm_ack_interrupt() local 524 struct qcom_rpm *rpm = dev; in qcom_rpm_err_interrupt() local 542 struct qcom_rpm *rpm; in qcom_rpm_probe() local 691 struct qcom_rpm *rpm = dev_get_drvdata(&pdev->dev); in qcom_rpm_remove() local
|
/drivers/soc/qcom/ |
D | smd-rpm.c | 100 int qcom_rpm_smd_write(struct qcom_smd_rpm *rpm, in qcom_rpm_smd_write() 160 struct qcom_smd_rpm *rpm = qcom_smd_get_drvdata(channel); in qcom_smd_rpm_callback() local 201 struct qcom_smd_rpm *rpm; in qcom_smd_rpm_probe() local
|
/drivers/hwmon/ |
D | max6650.c | 217 int rpm; in get_fan() local 277 int kscale, ktach, rpm; in get_target() local 293 static int max6650_set_target(struct max6650_data *data, unsigned long rpm) in max6650_set_target() 325 unsigned long rpm; in set_target() local
|
D | max31790.c | 54 #define RPM_TO_REG(rpm, sr) ((60 * (sr) * 8192) / ((rpm) * 2)) argument 151 static u8 bits_for_tach_period(int rpm) in bits_for_tach_period() 175 int sr, rpm; in max31790_read_fan() local
|
D | ultra45_env.c | 101 int rpm, period; in show_fan_speed() local 118 unsigned long rpm; in set_fan_speed() local
|
D | g762.c | 196 static inline unsigned char cnt_from_rpm(unsigned long rpm, u32 clk_freq, u16 p, in cnt_from_rpm() 745 unsigned int rpm = 0; in get_fan_rpm() local 949 unsigned int rpm; in get_fan_target() local
|
D | gpio-fan.c | 179 static int rpm_to_speed_index(struct gpio_fan_data *fan_data, unsigned long rpm) in rpm_to_speed_index() 295 unsigned long rpm; in set_rpm() local
|
D | emc2103.c | 290 int rpm = 0; in show_fan() local 375 int rpm = 0; in show_fan_target() local
|
D | g760a.c | 114 unsigned int rpm = 0; in show_fan() local
|
D | smsc47m1.c | 217 int rpm = (data->pwm[nr] & 0x7F) == 0x00 ? 0 : in get_fan() local 230 int rpm = MIN_FROM_REG(data->fan_preload[nr], in get_fan_min() local
|
D | emc6w201.c | 273 unsigned rpm; in show_fan() local
|
D | nct7904.c | 159 unsigned int cnt, rpm; in nct7904_read_fan() local
|
D | lm80.c | 78 static inline unsigned char FAN_TO_REG(unsigned rpm, unsigned div) in FAN_TO_REG()
|
D | gl518sm.c | 94 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG()
|
D | w83l786ng.c | 85 FAN_TO_REG(long rpm, int div) in FAN_TO_REG()
|
D | via686a.c | 171 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG()
|
D | sis5595.c | 140 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG()
|
D | asb100.c | 126 static u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG()
|
D | lm78.c | 93 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG()
|
D | f75375s.c | 260 static inline u16 rpm_to_reg(int rpm) in rpm_to_reg()
|
D | vt8231.c | 146 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG()
|
D | it87.c | 570 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() 578 static inline u16 FAN16_TO_REG(long rpm) in FAN16_TO_REG()
|
/drivers/regulator/ |
D | qcom_smd-regulator.c | 27 struct qcom_smd_rpm *rpm; member 462 struct qcom_smd_rpm *rpm; in rpm_reg_probe() local
|
D | qcom_rpm-regulator.c | 56 struct qcom_rpm *rpm; member 953 struct qcom_rpm *rpm; in rpm_reg_probe() local
|
/drivers/ide/ |
D | ide-floppy.c | 316 u16 transfer_rate, sector_size, cyls, rpm; in ide_floppy_get_flexible_disk_page() local
|