Home
last modified time | relevance | path

Searched refs:i2c_smbus_read_byte_data (Results 1 – 25 of 271) sorted by relevance

1234567891011

/Linux-v5.4/drivers/mfd/
Dtps65010.c212 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG); in dbg_show()
216 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS); in dbg_show()
219 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK1); in dbg_show()
224 value = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS); in dbg_show()
227 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK2); in dbg_show()
236 value = i2c_smbus_read_byte_data(tps->client, TPS_VDCDC1); in dbg_show()
240 value = i2c_smbus_read_byte_data(tps->client, TPS_VDCDC2); in dbg_show()
244 value = i2c_smbus_read_byte_data(tps->client, TPS_VREGS1); in dbg_show()
249 value = i2c_smbus_read_byte_data(tps->client, TPS_LED1_ON); in dbg_show()
250 v2 = i2c_smbus_read_byte_data(tps->client, TPS_LED1_PER); in dbg_show()
[all …]
/Linux-v5.4/drivers/hwmon/
Dmax6642.c100 config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG); in max6642_init_client()
105 data->temp_high[0] = i2c_smbus_read_byte_data(client, in max6642_init_client()
107 data->temp_high[1] = i2c_smbus_read_byte_data(client, in max6642_init_client()
122 man_id = i2c_smbus_read_byte_data(client, MAX6642_REG_R_MAN_ID); in max6642_detect()
127 if (i2c_smbus_read_byte_data(client, 0x04) != 0x4D in max6642_detect()
128 || i2c_smbus_read_byte_data(client, 0x06) != 0x4D in max6642_detect()
129 || i2c_smbus_read_byte_data(client, 0xff) != 0x4D) in max6642_detect()
137 reg_config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG); in max6642_detect()
142 if (i2c_smbus_read_byte_data(client, 0x04) != reg_config in max6642_detect()
143 || i2c_smbus_read_byte_data(client, 0x06) != reg_config in max6642_detect()
[all …]
Dadm1021.c106 (s8) i2c_smbus_read_byte_data( in adm1021_update_device()
109 (s8) i2c_smbus_read_byte_data( in adm1021_update_device()
113 (s8) i2c_smbus_read_byte_data(client, in adm1021_update_device()
117 data->alarms = i2c_smbus_read_byte_data(client, in adm1021_update_device()
124 data->temp[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device()
126 data->temp_max[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device()
128 data->temp_min[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device()
131 i2c_smbus_read_byte_data(client, in adm1021_update_device()
134 i2c_smbus_read_byte_data(client, in adm1021_update_device()
265 int config = i2c_smbus_read_byte_data( in low_power_store()
[all …]
Dlm75.c585 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_probe()
794 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect()
799 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect()
802 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect()
803 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect()
804 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect()
807 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
808 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
811 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect()
812 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect()
[all …]
Dlm63.c211 data->pwm1[1 + i] = i2c_smbus_read_byte_data(client, in lm63_update_lut()
213 data->temp8[3 + i] = i2c_smbus_read_byte_data(client, in lm63_update_lut()
216 data->lut_temp_hyst = i2c_smbus_read_byte_data(client, in lm63_update_lut()
237 data->fan[0] = i2c_smbus_read_byte_data(client, in lm63_update_device()
239 data->fan[0] |= i2c_smbus_read_byte_data(client, in lm63_update_device()
241 data->fan[1] = (i2c_smbus_read_byte_data(client, in lm63_update_device()
243 | (i2c_smbus_read_byte_data(client, in lm63_update_device()
247 data->pwm1_freq = i2c_smbus_read_byte_data(client, in lm63_update_device()
251 data->pwm1[0] = i2c_smbus_read_byte_data(client, in lm63_update_device()
254 data->temp8[0] = i2c_smbus_read_byte_data(client, in lm63_update_device()
[all …]
Dlm95234.c77 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp()
82 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp()
94 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp()
99 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp()
118 ret = i2c_smbus_read_byte_data(client, LM95234_REG_CONVRATE); in lm95234_fill_cache()
125 ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT1(i)); in lm95234_fill_cache()
131 ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT2(i)); in lm95234_fill_cache()
137 ret = i2c_smbus_read_byte_data(client, LM95234_REG_OFFSET(i)); in lm95234_fill_cache()
143 ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT_HYST); in lm95234_fill_cache()
148 ret = i2c_smbus_read_byte_data(client, LM95234_REG_REM_MODEL); in lm95234_fill_cache()
[all …]
Dadm1025.c126 data->in[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device()
128 data->in_min[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device()
130 data->in_max[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device()
134 data->temp[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device()
136 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device()
138 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device()
141 data->alarms = i2c_smbus_read_byte_data(client, in adm1025_update_device()
143 | (i2c_smbus_read_byte_data(client, in adm1025_update_device()
145 data->vid = (i2c_smbus_read_byte_data(client, in adm1025_update_device()
147 | ((i2c_smbus_read_byte_data(client, in adm1025_update_device()
[all …]
Dsmsc47m192.c114 u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR); in smsc47m192_update_device()
119 data->in[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
121 data->in_min[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
123 data->in_max[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
127 data->temp[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
129 data->temp_max[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
131 data->temp_min[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
135 data->temp_offset[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
147 data->vid = i2c_smbus_read_byte_data(client, SMSC47M192_REG_VID) in smsc47m192_update_device()
149 config = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
[all …]
Dadm1029.c131 i2c_smbus_read_byte_data(client, in adm1029_update_device()
136 i2c_smbus_read_byte_data(client, in adm1029_update_device()
141 i2c_smbus_read_byte_data(client, in adm1029_update_device()
213 reg = i2c_smbus_read_byte_data(client, in fan_div_store()
311 man_id = i2c_smbus_read_byte_data(client, ADM1029_REG_MAN_ID); in adm1029_detect()
312 chip_id = i2c_smbus_read_byte_data(client, ADM1029_REG_CHIP_ID); in adm1029_detect()
313 temp_devices_installed = i2c_smbus_read_byte_data(client, in adm1029_detect()
315 nb_fan_support = i2c_smbus_read_byte_data(client, in adm1029_detect()
341 config = i2c_smbus_read_byte_data(client, ADM1029_REG_CONFIG); in adm1029_init_client()
347 config = i2c_smbus_read_byte_data(client, ADM1029_REG_CONFIG); in adm1029_init_client()
Dthmc50.c89 int prog = i2c_smbus_read_byte_data(client, THMC50_REG_CONF); in thmc50_update_device()
94 data->temp_input[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device()
96 data->temp_max[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device()
98 data->temp_min[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device()
101 i2c_smbus_read_byte_data(client, in thmc50_update_device()
106 i2c_smbus_read_byte_data(client, THMC50_REG_ANALOG_OUT); in thmc50_update_device()
108 i2c_smbus_read_byte_data(client, THMC50_REG_INTR); in thmc50_update_device()
144 config = i2c_smbus_read_byte_data(client, THMC50_REG_CONF); in analog_out_store()
324 company = i2c_smbus_read_byte_data(client, THMC50_REG_COMPANY_ID); in thmc50_detect()
325 revision = i2c_smbus_read_byte_data(client, THMC50_REG_DIE_CODE); in thmc50_detect()
[all …]
Dmax1619.c117 data->temp[i] = i2c_smbus_read_byte_data(client, in max1619_update_device()
119 data->alarms = i2c_smbus_read_byte_data(client, in max1619_update_device()
122 config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG); in max1619_update_device()
224 reg_config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG); in max1619_detect()
225 reg_convrate = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONVRATE); in max1619_detect()
226 reg_status = i2c_smbus_read_byte_data(client, MAX1619_REG_R_STATUS); in max1619_detect()
235 man_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_MAN_ID); in max1619_detect()
236 chip_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CHIP_ID); in max1619_detect()
258 config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG); in max1619_init_client()
Damc6821.c178 data->temp[i] = (int8_t)i2c_smbus_read_byte_data( in amc6821_update_device()
181 data->stat1 = i2c_smbus_read_byte_data(client, in amc6821_update_device()
183 data->stat2 = i2c_smbus_read_byte_data(client, in amc6821_update_device()
186 data->pwm1 = i2c_smbus_read_byte_data(client, in amc6821_update_device()
189 data->fan[i] = i2c_smbus_read_byte_data( in amc6821_update_device()
192 data->fan[i] += i2c_smbus_read_byte_data( in amc6821_update_device()
196 data->fan1_div = i2c_smbus_read_byte_data(client, in amc6821_update_device()
202 data->pwm1_auto_point_pwm[1] = i2c_smbus_read_byte_data(client, in amc6821_update_device()
206 i2c_smbus_read_byte_data(client, in amc6821_update_device()
210 reg = i2c_smbus_read_byte_data(client, in amc6821_update_device()
[all …]
Dadm9240.c151 reg = i2c_smbus_read_byte_data(client, ADM9240_REG_VID_FAN_DIV); in adm9240_write_fan_div()
174 data->in[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device()
177 data->alarms = i2c_smbus_read_byte_data(client, in adm9240_update_device()
179 i2c_smbus_read_byte_data(client, in adm9240_update_device()
187 data->temp = (i2c_smbus_read_byte_data(client, in adm9240_update_device()
189 i2c_smbus_read_byte_data(client, in adm9240_update_device()
193 data->fan[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device()
217 data->in_min[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device()
219 data->in_max[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device()
223 data->fan_min[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device()
[all …]
Dadc128d818.c96 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
102 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
116 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
122 rv = i2c_smbus_read_byte_data(client, in adc128_update_device()
129 rv = i2c_smbus_read_byte_data(client, ADC128_REG_ALARM); in adc128_update_device()
368 man_id = i2c_smbus_read_byte_data(client, ADC128_REG_MAN_ID); in adc128_detect()
369 dev_id = i2c_smbus_read_byte_data(client, ADC128_REG_DEV_ID); in adc128_detect()
374 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG) & 0xf4) in adc128_detect()
376 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONV_RATE) & 0xfe) in adc128_detect()
378 if (i2c_smbus_read_byte_data(client, ADC128_REG_ONESHOT) & 0xfe) in adc128_detect()
[all …]
Dtmp421.c131 data->config = i2c_smbus_read_byte_data(client, in tmp421_update_device()
135 data->temp[i] = i2c_smbus_read_byte_data(client, in tmp421_update_device()
137 data->temp[i] |= i2c_smbus_read_byte_data(client, in tmp421_update_device()
197 config = i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_1); in tmp421_init_client()
230 reg = i2c_smbus_read_byte_data(client, TMP421_MANUFACTURER_ID_REG); in tmp421_detect()
234 reg = i2c_smbus_read_byte_data(client, TMP421_CONVERSION_RATE_REG); in tmp421_detect()
238 reg = i2c_smbus_read_byte_data(client, TMP421_STATUS_REG); in tmp421_detect()
242 reg = i2c_smbus_read_byte_data(client, TMP421_DEVICE_ID_REG); in tmp421_detect()
Dstts751.c164 integer1 = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_H); in stts751_update_temp()
171 frac = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_L); in stts751_update_temp()
178 integer2 = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_H); in stts751_update_temp()
186 frac = i2c_smbus_read_byte_data(priv->client, in stts751_update_temp()
228 integer = i2c_smbus_read_byte_data(priv->client, hreg); in stts751_read_reg16()
232 frac = i2c_smbus_read_byte_data(priv->client, lreg); in stts751_read_reg16()
245 integer = i2c_smbus_read_byte_data(priv->client, reg); in stts751_read_reg8()
272 ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_STATUS); in stts751_update_alert()
659 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_MAN_ID); in stts751_detect()
664 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_TEMP_L); in stts751_detect()
[all …]
Dadt7470.c177 foo = i2c_smbus_read_byte_data(client, reg); in adt7470_read_word_data()
178 foo |= ((u16)i2c_smbus_read_byte_data(client, reg + 1) << 8); in adt7470_read_word_data()
198 pwm_cfg[0] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(0)); in adt7470_read_temperatures()
199 pwm_cfg[1] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(2)); in adt7470_read_temperatures()
203 pwm[i] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM(i)); in adt7470_read_temperatures()
216 cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_read_temperatures()
226 cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_read_temperatures()
244 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_read_temperatures()
309 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
320 data->pwm[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
[all …]
Dadt7411.c124 val = i2c_smbus_read_byte_data(client, lsb_reg); in adt7411_read_10_bit()
129 val = i2c_smbus_read_byte_data(client, msb_reg); in adt7411_read_10_bit()
148 ret = i2c_smbus_read_byte_data(client, reg); in adt7411_modify_bit()
170 int ret = i2c_smbus_read_byte_data(client, attr2->index); in adt7411_show_bit()
221 ret = i2c_smbus_read_byte_data(client, adt7411_in_alarm_reg[channel]); in adt7411_read_in_alarm()
243 ret = i2c_smbus_read_byte_data(client, ADT7411_REG_VDD_LOW); in adt7411_read_in_vdd()
249 ret = i2c_smbus_read_byte_data(client, ADT7411_REG_VDD_HIGH); in adt7411_read_in_vdd()
268 val = i2c_smbus_read_byte_data(client, ADT7411_REG_CFG3); in adt7411_update_vref()
319 ret = i2c_smbus_read_byte_data(client, reg); in adt7411_read_in_chan()
354 ret = i2c_smbus_read_byte_data(client, ADT7411_REG_STAT_1); in adt7411_read_temp_alarm()
[all …]
Dlm83.c131 i2c_smbus_read_byte_data(client, in lm83_update_device()
135 i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS1) in lm83_update_device()
136 + (i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS2) in lm83_update_device()
286 if ((i2c_smbus_read_byte_data(new_client, LM83_REG_R_STATUS1) & 0xA8) || in lm83_detect()
287 (i2c_smbus_read_byte_data(new_client, LM83_REG_R_STATUS2) & 0x48) || in lm83_detect()
288 (i2c_smbus_read_byte_data(new_client, LM83_REG_R_CONFIG) & 0x41)) { in lm83_detect()
295 man_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_MAN_ID); in lm83_detect()
299 chip_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_CHIP_ID); in lm83_detect()
/Linux-v5.4/drivers/misc/
Disl29020.c30 val = i2c_smbus_read_byte_data(client, 0x00); in als_sensing_range_show()
50 temp = i2c_smbus_read_byte_data(client, 0x02); /* MSB data */ in als_lux_input_data_show()
57 ret_val = i2c_smbus_read_byte_data(client, 0x01); /* LSB data */ in als_lux_input_data_show()
66 val = i2c_smbus_read_byte_data(client, 0x00); in als_lux_input_data_show()
98 ret_val = i2c_smbus_read_byte_data(client, 0x00); in als_sensing_range_store()
115 ret_val = i2c_smbus_read_byte_data(client, 0x00); in als_set_power_state()
Dapds9802als.c38 val = i2c_smbus_read_byte_data(client, 0x81); in als_sensing_range_show()
55 ret = i2c_smbus_read_byte_data(client, 0x86); in als_wait_for_data_ready()
81 temp = i2c_smbus_read_byte_data(client, 0x81); in als_lux0_input_data_show()
88 temp = i2c_smbus_read_byte_data(client, 0x8C); /* LSB data */ in als_lux0_input_data_show()
93 ret_val = i2c_smbus_read_byte_data(client, 0x8D); /* MSB data */ in als_lux0_input_data_show()
133 ret_val = i2c_smbus_read_byte_data(client, 0x81); in als_sensing_range_store()
165 ret_val = i2c_smbus_read_byte_data(client, 0x80); in als_set_power_state()
/Linux-v5.4/drivers/rtc/
Drtc-rx8010.c77 flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG); in rx8010_irq_1_handler()
115 flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG); in rx8010_get_time()
151 ctrl = i2c_smbus_read_byte_data(rx8010->client, RX8010_CTRL); in rx8010_set_time()
174 ctrl = i2c_smbus_read_byte_data(rx8010->client, RX8010_CTRL); in rx8010_set_time()
183 flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG); in rx8010_set_time()
261 flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG); in rx8010_read_alarm()
286 flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG); in rx8010_set_alarm()
314 extreg = i2c_smbus_read_byte_data(client, RX8010_EXT); in rx8010_set_alarm()
370 flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG); in rx8010_alarm_irq_enable()
399 flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG); in rx8010_ioctl()
[all …]
Drtc-m41t80.c167 flags_afe = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_handle_irq()
173 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_handle_irq()
203 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_read_time()
254 val = i2c_smbus_read_byte_data(client, M41T80_REG_WDAY); in m41t80_rtc_set_time()
269 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_set_time()
290 reg = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_proc()
304 flags = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_alarm_irq_enable()
334 ret = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_set_alarm()
347 ret = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_set_alarm()
387 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_read_alarm()
[all …]
Drtc-hym8563.c171 data = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_alarm_irq_enable()
210 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_read_alarm()
245 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_set_alarm()
301 int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT); in hym8563_clkout_recalc_rate()
327 int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT); in hym8563_clkout_set_rate()
348 int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT); in hym8563_clkout_control()
375 int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT); in hym8563_clkout_is_prepared()
442 data = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_irq()
471 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_init_device()
555 ret = i2c_smbus_read_byte_data(client, HYM8563_SEC); in hym8563_probe()
/Linux-v5.4/drivers/iio/adc/
Dnau7802.c118 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL1); in nau7802_set_gain()
136 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B2); in nau7802_read_conversion()
141 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B1); in nau7802_read_conversion()
146 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B0); in nau7802_read_conversion()
166 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_sync()
181 status = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_eoc_trigger()
262 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_read_poll()
271 ret = i2c_smbus_read_byte_data(st->client, in nau7802_read_poll()
304 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL2); in nau7802_read_raw()
334 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL1); in nau7802_read_raw()
[all …]

1234567891011