/linux-6.6.21/drivers/mfd/ |
D | tps65010.c | 212 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-6.6.21/drivers/hwmon/ |
D | max6642.c | 100 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 …]
|
D | adm1021.c | 106 (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 …]
|
D | lm75.c | 626 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_probe() 845 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect() 850 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect() 855 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect() 856 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect() 857 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect() 860 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect() 861 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect() 864 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect() 865 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect() [all …]
|
D | sbtsi_temp.c | 88 err = i2c_smbus_read_byte_data(data->client, SBTSI_REG_CONFIG); in sbtsi_read() 94 temp_dec = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_DEC); in sbtsi_read() 95 temp_int = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_INT); in sbtsi_read() 97 temp_int = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_INT); in sbtsi_read() 98 temp_dec = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_DEC); in sbtsi_read() 104 temp_int = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_HIGH_INT); in sbtsi_read() 105 temp_dec = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_HIGH_DEC); in sbtsi_read() 110 temp_int = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_LOW_INT); in sbtsi_read() 111 temp_dec = i2c_smbus_read_byte_data(data->client, SBTSI_REG_TEMP_LOW_DEC); in sbtsi_read()
|
D | lm63.c | 211 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 …]
|
D | lm95234.c | 77 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 …]
|
D | adm1025.c | 126 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 …]
|
D | smsc47m192.c | 114 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 …]
|
D | adm1029.c | 131 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()
|
D | thmc50.c | 89 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 …]
|
D | max1619.c | 117 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()
|
D | amc6821.c | 178 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 …]
|
D | adc128d818.c | 96 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 …]
|
D | lm90.c | 763 return i2c_smbus_read_byte_data(client, reg); in lm90_read_reg() 1798 int status = i2c_smbus_read_byte_data(client, LM90_REG_STATUS); in lm90_detect_lm84() 1813 reg1 = i2c_smbus_read_byte_data(client, regs[i]); in lm90_detect_lm84() 1814 reg2 = i2c_smbus_read_byte_data(client, LM90_REG_REMOTE_TEMPL); in lm90_detect_lm84() 1815 reg3 = i2c_smbus_read_byte_data(client, LM90_REG_LOCAL_LOW); in lm90_detect_lm84() 1816 reg4 = i2c_smbus_read_byte_data(client, LM90_REG_REMOTE_LOWH); in lm90_detect_lm84() 1837 int status = i2c_smbus_read_byte_data(client, LM90_REG_STATUS); in lm90_detect_max1617() 1852 if (i2c_smbus_read_byte_data(client, LM90_REG_REMOTE_TEMPL) != 0xff || in lm90_detect_max1617() 1853 i2c_smbus_read_byte_data(client, MAX6657_REG_LOCAL_TEMPL) != 0xff || in lm90_detect_max1617() 1854 i2c_smbus_read_byte_data(client, LM90_REG_REMOTE_LOWL) != 0xff || in lm90_detect_max1617() [all …]
|
D | stts751.c | 164 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 …]
|
D | max31730.c | 146 offset = i2c_smbus_read_byte_data(data->client, in max31730_read() 153 regval = i2c_smbus_read_byte_data(data->client, in max31730_read() 160 regval = i2c_smbus_read_byte_data(data->client, in max31730_read() 167 regval = i2c_smbus_read_byte_data(data->client, in max31730_read() 312 status = i2c_smbus_read_byte_data(client, MAX31730_REG_CHANNEL_ENABLE); in max31730_probe() 317 status = i2c_smbus_read_byte_data(client, MAX31730_REG_OFFSET_ENABLE); in max31730_probe() 322 status = i2c_smbus_read_byte_data(client, MAX31730_REG_CONF); in max31730_probe() 366 regval = i2c_smbus_read_byte_data(client, reg + 1); in max31730_check_reg_temp() 382 regval = i2c_smbus_read_byte_data(client, MAX31730_REG_MFG_ID); in max31730_detect() 385 regval = i2c_smbus_read_byte_data(client, MAX31730_REG_MFG_REV); in max31730_detect()
|
D | adt7411.c | 124 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 …]
|
D | max6620.c | 171 ret = i2c_smbus_read_byte_data(client, config_reg[i]); in max6620_update_device() 176 ret = i2c_smbus_read_byte_data(client, dyn_reg[i]); in max6620_update_device() 181 ret = i2c_smbus_read_byte_data(client, tach_reg[i]); in max6620_update_device() 185 ret = i2c_smbus_read_byte_data(client, tach_reg[i] + 1); in max6620_update_device() 190 ret = i2c_smbus_read_byte_data(client, target_reg[i]); in max6620_update_device() 194 ret = i2c_smbus_read_byte_data(client, target_reg[i] + 1); in max6620_update_device() 205 ret = i2c_smbus_read_byte_data(client, MAX6620_REG_FAULT); in max6620_update_device() 432 config = i2c_smbus_read_byte_data(client, MAX6620_REG_CONFIG); in max6620_init_client() 449 reg = i2c_smbus_read_byte_data(client, config_reg[i]); in max6620_init_client()
|
D | tmp421.c | 137 ret = i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_1); in tmp421_update_device() 143 ret = i2c_smbus_read_byte_data(client, TMP421_TEMP_MSB[i]); in tmp421_update_device() 148 ret = i2c_smbus_read_byte_data(client, TMP421_TEMP_LSB[i]); in tmp421_update_device() 173 int old = i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_2); in tmp421_enable_channels() 284 config = i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_1); in tmp421_init_client() 317 reg = i2c_smbus_read_byte_data(client, TMP421_MANUFACTURER_ID_REG); in tmp421_detect() 321 reg = i2c_smbus_read_byte_data(client, TMP421_CONVERSION_RATE_REG); in tmp421_detect() 325 reg = i2c_smbus_read_byte_data(client, TMP421_STATUS_REG); in tmp421_detect() 329 reg = i2c_smbus_read_byte_data(client, TMP421_DEVICE_ID_REG); in tmp421_detect()
|
/linux-6.6.21/drivers/misc/ |
D | isl29020.c | 30 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()
|
D | apds9802als.c | 38 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-6.6.21/drivers/iio/adc/ |
D | nau7802.c | 119 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL1); in nau7802_set_gain() 137 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B2); in nau7802_read_conversion() 142 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B1); in nau7802_read_conversion() 147 data = i2c_smbus_read_byte_data(st->client, NAU7802_REG_ADC_B0); in nau7802_read_conversion() 167 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_sync() 182 status = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_eoc_trigger() 263 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_PUCTRL); in nau7802_read_poll() 272 ret = i2c_smbus_read_byte_data(st->client, in nau7802_read_poll() 305 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL2); in nau7802_read_raw() 335 ret = i2c_smbus_read_byte_data(st->client, NAU7802_REG_CTRL1); in nau7802_read_raw() [all …]
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-m41t80.c | 166 flags_afe = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_handle_irq() 172 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_handle_irq() 202 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_read_time() 250 val = i2c_smbus_read_byte_data(client, M41T80_REG_WDAY); in m41t80_rtc_set_time() 265 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_set_time() 286 reg = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_proc() 300 flags = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_alarm_irq_enable() 330 ret = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_set_alarm() 343 ret = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_set_alarm() 383 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_read_alarm() [all …]
|
/linux-6.6.21/drivers/iio/temperature/ |
D | max30208.c | 64 ret = i2c_smbus_read_byte_data(data->client, MAX30208_TEMP_SENSOR_SETUP); in max30208_request() 75 ret = i2c_smbus_read_byte_data(data->client, MAX30208_STATUS); in max30208_request() 100 ret = i2c_smbus_read_byte_data(data->client, MAX30208_FIFO_OVF_CNTR); in max30208_update_temp() 104 ret = i2c_smbus_read_byte_data(data->client, MAX30208_FIFO_DATA_CNTR); in max30208_update_temp() 136 ret = i2c_smbus_read_byte_data(data->client, MAX30208_FIFO_CONFIG); in max30208_config_setup()
|