Lines Matching defs:value
293 * save the user-commanded value here.
800 int value, i;
804 value = i2c_smbus_read_byte_data(client, reg);
805 if (value >= 0) {
806 return value;
821 static int lm93_write_byte(struct i2c_client *client, u8 reg, u8 value)
826 result = i2c_smbus_write_byte_data(client, reg, value);
831 value, reg);
838 int value, i;
842 value = i2c_smbus_read_word_data(client, reg);
843 if (value >= 0) {
844 return value;
859 static int lm93_write_word(struct i2c_client *client, u8 reg, u16 value)
864 result = i2c_smbus_write_word_data(client, reg, value);
869 value, reg);
1695 struct lm93_data *data, int fan, long value)
1700 data->sf_tach_to_pwm |= value << fan * 2;
1705 if (value)
1757 if (ctl2 & 0x01) /* show user commanded value if enabled */
1759 else /* show present h/w value if manual pwm disabled */
1784 /* save user commanded value */