• Home
  • Raw
  • Download

Lines Matching refs:rv

76 	int rv;  in max31790_update_device()  local
81 rv = i2c_smbus_read_byte_data(client, in max31790_update_device()
83 if (rv < 0) in max31790_update_device()
85 data->fault_status |= rv & 0x3F; in max31790_update_device()
87 rv = i2c_smbus_read_byte_data(client, in max31790_update_device()
89 if (rv < 0) in max31790_update_device()
91 data->fault_status |= (rv & 0x3F) << 6; in max31790_update_device()
94 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
96 if (rv < 0) in max31790_update_device()
98 data->tach[i] = rv; in max31790_update_device()
102 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
105 if (rv < 0) in max31790_update_device()
107 data->tach[NR_CHANNEL + i] = rv; in max31790_update_device()
109 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
111 if (rv < 0) in max31790_update_device()
113 data->pwm[i] = rv; in max31790_update_device()
115 rv = i2c_smbus_read_word_swapped(client, in max31790_update_device()
117 if (rv < 0) in max31790_update_device()
119 data->target_count[i] = rv; in max31790_update_device()
130 ret = ERR_PTR(rv); in max31790_update_device()
462 int i, rv; in max31790_init_client() local
465 rv = i2c_smbus_read_byte_data(client, in max31790_init_client()
467 if (rv < 0) in max31790_init_client()
468 return rv; in max31790_init_client()
469 data->fan_config[i] = rv; in max31790_init_client()
471 rv = i2c_smbus_read_byte_data(client, in max31790_init_client()
473 if (rv < 0) in max31790_init_client()
474 return rv; in max31790_init_client()
475 data->fan_dynamics[i] = rv; in max31790_init_client()