/Linux-v4.19/drivers/mfd/ |
D | tps65010.c | 225 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG); in dbg_show() 229 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS); in dbg_show() 232 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK1); in dbg_show() 237 value = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS); in dbg_show() 240 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK2); in dbg_show() 249 value = i2c_smbus_read_byte_data(tps->client, TPS_VDCDC1); in dbg_show() 253 value = i2c_smbus_read_byte_data(tps->client, TPS_VDCDC2); in dbg_show() 257 value = i2c_smbus_read_byte_data(tps->client, TPS_VREGS1); in dbg_show() 262 value = i2c_smbus_read_byte_data(tps->client, TPS_LED1_ON); in dbg_show() 263 v2 = i2c_smbus_read_byte_data(tps->client, TPS_LED1_PER); in dbg_show() [all …]
|
/Linux-v4.19/drivers/hwmon/ |
D | max6642.c | 113 config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG); in max6642_init_client() 118 data->temp_high[0] = i2c_smbus_read_byte_data(client, in max6642_init_client() 120 data->temp_high[1] = i2c_smbus_read_byte_data(client, in max6642_init_client() 135 man_id = i2c_smbus_read_byte_data(client, MAX6642_REG_R_MAN_ID); in max6642_detect() 140 if (i2c_smbus_read_byte_data(client, 0x04) != 0x4D in max6642_detect() 141 || i2c_smbus_read_byte_data(client, 0x06) != 0x4D in max6642_detect() 142 || i2c_smbus_read_byte_data(client, 0xff) != 0x4D) in max6642_detect() 150 reg_config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG); in max6642_detect() 155 if (i2c_smbus_read_byte_data(client, 0x04) != reg_config in max6642_detect() 156 || i2c_smbus_read_byte_data(client, 0x06) != reg_config in max6642_detect() [all …]
|
D | lm75.c | 379 status = i2c_smbus_read_byte_data(client, LM75_REG_CONF); in lm75_probe() 563 conf = i2c_smbus_read_byte_data(new_client, 1); in lm75_detect() 568 if (i2c_smbus_read_byte_data(new_client, 7) == LM75A_ID) { in lm75_detect() 571 if (i2c_smbus_read_byte_data(new_client, 4) != 0xff in lm75_detect() 572 || i2c_smbus_read_byte_data(new_client, 5) != 0xff in lm75_detect() 573 || i2c_smbus_read_byte_data(new_client, 6) != 0xff) in lm75_detect() 576 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect() 577 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect() 580 hyst = i2c_smbus_read_byte_data(new_client, 2); in lm75_detect() 581 if (i2c_smbus_read_byte_data(new_client, 4) != hyst in lm75_detect() [all …]
|
D | adm1021.c | 119 (s8) i2c_smbus_read_byte_data( in adm1021_update_device() 122 (s8) i2c_smbus_read_byte_data( in adm1021_update_device() 126 (s8) i2c_smbus_read_byte_data(client, in adm1021_update_device() 130 data->alarms = i2c_smbus_read_byte_data(client, in adm1021_update_device() 137 data->temp[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device() 139 data->temp_max[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device() 141 data->temp_min[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device() 144 i2c_smbus_read_byte_data(client, in adm1021_update_device() 147 i2c_smbus_read_byte_data(client, in adm1021_update_device() 278 int config = i2c_smbus_read_byte_data( in low_power_store() [all …]
|
D | lm63.c | 224 data->pwm1[1 + i] = i2c_smbus_read_byte_data(client, in lm63_update_lut() 226 data->temp8[3 + i] = i2c_smbus_read_byte_data(client, in lm63_update_lut() 229 data->lut_temp_hyst = i2c_smbus_read_byte_data(client, in lm63_update_lut() 250 data->fan[0] = i2c_smbus_read_byte_data(client, in lm63_update_device() 252 data->fan[0] |= i2c_smbus_read_byte_data(client, in lm63_update_device() 254 data->fan[1] = (i2c_smbus_read_byte_data(client, in lm63_update_device() 256 | (i2c_smbus_read_byte_data(client, in lm63_update_device() 260 data->pwm1_freq = i2c_smbus_read_byte_data(client, in lm63_update_device() 264 data->pwm1[0] = i2c_smbus_read_byte_data(client, in lm63_update_device() 267 data->temp8[0] = i2c_smbus_read_byte_data(client, in lm63_update_device() [all …]
|
D | adm1025.c | 139 data->in[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 141 data->in_min[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 143 data->in_max[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 147 data->temp[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 149 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 151 data->temp_max[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 154 data->alarms = i2c_smbus_read_byte_data(client, in adm1025_update_device() 156 | (i2c_smbus_read_byte_data(client, in adm1025_update_device() 158 data->vid = (i2c_smbus_read_byte_data(client, in adm1025_update_device() 160 | ((i2c_smbus_read_byte_data(client, in adm1025_update_device() [all …]
|
D | lm95234.c | 86 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp() 91 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp() 103 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp() 108 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp() 127 ret = i2c_smbus_read_byte_data(client, LM95234_REG_CONVRATE); in lm95234_fill_cache() 134 ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT1(i)); in lm95234_fill_cache() 140 ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT2(i)); in lm95234_fill_cache() 146 ret = i2c_smbus_read_byte_data(client, LM95234_REG_OFFSET(i)); in lm95234_fill_cache() 152 ret = i2c_smbus_read_byte_data(client, LM95234_REG_TCRIT_HYST); in lm95234_fill_cache() 157 ret = i2c_smbus_read_byte_data(client, LM95234_REG_REM_MODEL); in lm95234_fill_cache() [all …]
|
D | smsc47m192.c | 127 u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR); in smsc47m192_update_device() 132 data->in[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 134 data->in_min[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 136 data->in_max[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 140 data->temp[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 142 data->temp_max[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 144 data->temp_min[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 148 data->temp_offset[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 160 data->vid = i2c_smbus_read_byte_data(client, SMSC47M192_REG_VID) in smsc47m192_update_device() 162 config = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() [all …]
|
D | thmc50.c | 102 int prog = i2c_smbus_read_byte_data(client, THMC50_REG_CONF); in thmc50_update_device() 107 data->temp_input[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device() 109 data->temp_max[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device() 111 data->temp_min[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device() 114 i2c_smbus_read_byte_data(client, in thmc50_update_device() 119 i2c_smbus_read_byte_data(client, THMC50_REG_ANALOG_OUT); in thmc50_update_device() 121 i2c_smbus_read_byte_data(client, THMC50_REG_INTR); in thmc50_update_device() 157 config = i2c_smbus_read_byte_data(client, THMC50_REG_CONF); in set_analog_out() 338 company = i2c_smbus_read_byte_data(client, THMC50_REG_COMPANY_ID); in thmc50_detect() 339 revision = i2c_smbus_read_byte_data(client, THMC50_REG_DIE_CODE); in thmc50_detect() [all …]
|
D | adm1029.c | 145 i2c_smbus_read_byte_data(client, in adm1029_update_device() 150 i2c_smbus_read_byte_data(client, in adm1029_update_device() 155 i2c_smbus_read_byte_data(client, in adm1029_update_device() 222 reg = i2c_smbus_read_byte_data(client, in set_fan_div() 325 man_id = i2c_smbus_read_byte_data(client, ADM1029_REG_MAN_ID); in adm1029_detect() 326 chip_id = i2c_smbus_read_byte_data(client, ADM1029_REG_CHIP_ID); in adm1029_detect() 327 temp_devices_installed = i2c_smbus_read_byte_data(client, in adm1029_detect() 329 nb_fan_support = i2c_smbus_read_byte_data(client, in adm1029_detect() 355 config = i2c_smbus_read_byte_data(client, ADM1029_REG_CONFIG); in adm1029_init_client() 361 config = i2c_smbus_read_byte_data(client, ADM1029_REG_CONFIG); in adm1029_init_client()
|
D | adm9240.c | 164 reg = i2c_smbus_read_byte_data(client, ADM9240_REG_VID_FAN_DIV); in adm9240_write_fan_div() 187 data->in[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device() 190 data->alarms = i2c_smbus_read_byte_data(client, in adm9240_update_device() 192 i2c_smbus_read_byte_data(client, in adm9240_update_device() 200 data->temp = (i2c_smbus_read_byte_data(client, in adm9240_update_device() 202 i2c_smbus_read_byte_data(client, in adm9240_update_device() 206 data->fan[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device() 230 data->in_min[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device() 232 data->in_max[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device() 236 data->fan_min[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device() [all …]
|
D | max1619.c | 126 data->temp[i] = i2c_smbus_read_byte_data(client, in max1619_update_device() 128 data->alarms = i2c_smbus_read_byte_data(client, in max1619_update_device() 131 config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG); in max1619_update_device() 236 reg_config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG); in max1619_detect() 237 reg_convrate = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONVRATE); in max1619_detect() 238 reg_status = i2c_smbus_read_byte_data(client, MAX1619_REG_R_STATUS); in max1619_detect() 247 man_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_MAN_ID); in max1619_detect() 248 chip_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CHIP_ID); in max1619_detect() 270 config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG); in max1619_init_client()
|
D | tmp421.c | 140 data->config = i2c_smbus_read_byte_data(client, in tmp421_update_device() 144 data->temp[i] = i2c_smbus_read_byte_data(client, in tmp421_update_device() 146 data->temp[i] |= i2c_smbus_read_byte_data(client, in tmp421_update_device() 206 config = i2c_smbus_read_byte_data(client, TMP421_CONFIG_REG_1); in tmp421_init_client() 237 reg = i2c_smbus_read_byte_data(client, TMP421_MANUFACTURER_ID_REG); in tmp421_detect() 241 reg = i2c_smbus_read_byte_data(client, TMP421_CONVERSION_RATE_REG); in tmp421_detect() 245 reg = i2c_smbus_read_byte_data(client, TMP421_STATUS_REG); in tmp421_detect() 249 reg = i2c_smbus_read_byte_data(client, TMP421_DEVICE_ID_REG); in tmp421_detect()
|
D | amc6821.c | 191 data->temp[i] = (int8_t)i2c_smbus_read_byte_data( in amc6821_update_device() 194 data->stat1 = i2c_smbus_read_byte_data(client, in amc6821_update_device() 196 data->stat2 = i2c_smbus_read_byte_data(client, in amc6821_update_device() 199 data->pwm1 = i2c_smbus_read_byte_data(client, in amc6821_update_device() 202 data->fan[i] = i2c_smbus_read_byte_data( in amc6821_update_device() 205 data->fan[i] += i2c_smbus_read_byte_data( in amc6821_update_device() 209 data->fan1_div = i2c_smbus_read_byte_data(client, in amc6821_update_device() 215 data->pwm1_auto_point_pwm[1] = i2c_smbus_read_byte_data(client, in amc6821_update_device() 219 i2c_smbus_read_byte_data(client, in amc6821_update_device() 223 reg = i2c_smbus_read_byte_data(client, in amc6821_update_device() [all …]
|
D | adc128d818.c | 105 rv = i2c_smbus_read_byte_data(client, in adc128_update_device() 111 rv = i2c_smbus_read_byte_data(client, in adc128_update_device() 125 rv = i2c_smbus_read_byte_data(client, in adc128_update_device() 131 rv = i2c_smbus_read_byte_data(client, in adc128_update_device() 138 rv = i2c_smbus_read_byte_data(client, ADC128_REG_ALARM); in adc128_update_device() 402 man_id = i2c_smbus_read_byte_data(client, ADC128_REG_MAN_ID); in adc128_detect() 403 dev_id = i2c_smbus_read_byte_data(client, ADC128_REG_DEV_ID); in adc128_detect() 408 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONFIG) & 0xf4) in adc128_detect() 410 if (i2c_smbus_read_byte_data(client, ADC128_REG_CONV_RATE) & 0xfe) in adc128_detect() 412 if (i2c_smbus_read_byte_data(client, ADC128_REG_ONESHOT) & 0xfe) in adc128_detect() [all …]
|
D | stts751.c | 173 integer1 = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_H); in stts751_update_temp() 180 frac = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_L); in stts751_update_temp() 187 integer2 = i2c_smbus_read_byte_data(priv->client, STTS751_REG_TEMP_H); in stts751_update_temp() 195 frac = i2c_smbus_read_byte_data(priv->client, in stts751_update_temp() 237 integer = i2c_smbus_read_byte_data(priv->client, hreg); in stts751_read_reg16() 241 frac = i2c_smbus_read_byte_data(priv->client, lreg); in stts751_read_reg16() 254 integer = i2c_smbus_read_byte_data(priv->client, reg); in stts751_read_reg8() 281 ret = i2c_smbus_read_byte_data(priv->client, STTS751_REG_STATUS); in stts751_update_alert() 667 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_MAN_ID); in stts751_detect() 672 tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_TEMP_L); in stts751_detect() [all …]
|
D | adt7411.c | 127 val = i2c_smbus_read_byte_data(client, lsb_reg); in adt7411_read_10_bit() 132 val = i2c_smbus_read_byte_data(client, msb_reg); in adt7411_read_10_bit() 151 ret = i2c_smbus_read_byte_data(client, reg); in adt7411_modify_bit() 173 int ret = i2c_smbus_read_byte_data(client, attr2->index); in adt7411_show_bit() 224 ret = i2c_smbus_read_byte_data(client, adt7411_in_alarm_reg[channel]); in adt7411_read_in_alarm() 246 ret = i2c_smbus_read_byte_data(client, ADT7411_REG_VDD_LOW); in adt7411_read_in_vdd() 252 ret = i2c_smbus_read_byte_data(client, ADT7411_REG_VDD_HIGH); in adt7411_read_in_vdd() 271 val = i2c_smbus_read_byte_data(client, ADT7411_REG_CFG3); in adt7411_update_vref() 322 ret = i2c_smbus_read_byte_data(client, reg); in adt7411_read_in_chan() 357 ret = i2c_smbus_read_byte_data(client, ADT7411_REG_STAT_1); in adt7411_read_temp_alarm() [all …]
|
D | adt7470.c | 190 foo = i2c_smbus_read_byte_data(client, reg); in adt7470_read_word_data() 191 foo |= ((u16)i2c_smbus_read_byte_data(client, reg + 1) << 8); in adt7470_read_word_data() 211 pwm_cfg[0] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(0)); in adt7470_read_temperatures() 212 pwm_cfg[1] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM_CFG(2)); in adt7470_read_temperatures() 216 pwm[i] = i2c_smbus_read_byte_data(client, ADT7470_REG_PWM(i)); in adt7470_read_temperatures() 229 cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_read_temperatures() 239 cfg = i2c_smbus_read_byte_data(client, ADT7470_REG_CFG); in adt7470_read_temperatures() 257 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_read_temperatures() 322 data->temp[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device() 333 data->pwm[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device() [all …]
|
D | lm83.c | 140 i2c_smbus_read_byte_data(client, in lm83_update_device() 144 i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS1) in lm83_update_device() 145 + (i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS2) in lm83_update_device() 299 if ((i2c_smbus_read_byte_data(new_client, LM83_REG_R_STATUS1) & 0xA8) || in lm83_detect() 300 (i2c_smbus_read_byte_data(new_client, LM83_REG_R_STATUS2) & 0x48) || in lm83_detect() 301 (i2c_smbus_read_byte_data(new_client, LM83_REG_R_CONFIG) & 0x41)) { in lm83_detect() 308 man_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_MAN_ID); in lm83_detect() 312 chip_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_CHIP_ID); in lm83_detect()
|
/Linux-v4.19/drivers/misc/ |
D | isl29020.c | 41 val = i2c_smbus_read_byte_data(client, 0x00); in als_sensing_range_show() 61 temp = i2c_smbus_read_byte_data(client, 0x02); /* MSB data */ in als_lux_input_data_show() 68 ret_val = i2c_smbus_read_byte_data(client, 0x01); /* LSB data */ in als_lux_input_data_show() 77 val = i2c_smbus_read_byte_data(client, 0x00); in als_lux_input_data_show() 109 ret_val = i2c_smbus_read_byte_data(client, 0x00); in als_sensing_range_store() 126 ret_val = i2c_smbus_read_byte_data(client, 0x00); in als_set_power_state()
|
D | apds9802als.c | 50 val = i2c_smbus_read_byte_data(client, 0x81); in als_sensing_range_show() 67 ret = i2c_smbus_read_byte_data(client, 0x86); in als_wait_for_data_ready() 93 temp = i2c_smbus_read_byte_data(client, 0x81); in als_lux0_input_data_show() 100 temp = i2c_smbus_read_byte_data(client, 0x8C); /* LSB data */ in als_lux0_input_data_show() 105 ret_val = i2c_smbus_read_byte_data(client, 0x8D); /* MSB data */ in als_lux0_input_data_show() 145 ret_val = i2c_smbus_read_byte_data(client, 0x81); in als_sensing_range_store() 177 ret_val = i2c_smbus_read_byte_data(client, 0x80); in als_set_power_state()
|
/Linux-v4.19/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-v4.19/drivers/rtc/ |
D | rtc-rx8010.c | 81 flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG); in rx8010_irq_1_handler() 119 flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG); in rx8010_get_time() 155 ctrl = i2c_smbus_read_byte_data(rx8010->client, RX8010_CTRL); in rx8010_set_time() 178 ctrl = i2c_smbus_read_byte_data(rx8010->client, RX8010_CTRL); in rx8010_set_time() 187 flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG); in rx8010_set_time() 265 flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG); in rx8010_read_alarm() 290 flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG); in rx8010_set_alarm() 318 extreg = i2c_smbus_read_byte_data(client, RX8010_EXT); in rx8010_set_alarm() 374 flagreg = i2c_smbus_read_byte_data(client, RX8010_FLAG); in rx8010_alarm_irq_enable() 403 flagreg = i2c_smbus_read_byte_data(rx8010->client, RX8010_FLAG); in rx8010_ioctl() [all …]
|
D | rtc-m41t80.c | 171 flags_afe = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_handle_irq() 177 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_handle_irq() 207 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_read_time() 258 val = i2c_smbus_read_byte_data(client, M41T80_REG_WDAY); in m41t80_rtc_set_time() 273 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_set_time() 293 reg = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_rtc_proc() 305 flags = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_alarm_irq_enable() 335 ret = i2c_smbus_read_byte_data(client, M41T80_REG_ALARM_MON); in m41t80_set_alarm() 348 ret = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_set_alarm() 388 flags = i2c_smbus_read_byte_data(client, M41T80_REG_FLAGS); in m41t80_read_alarm() [all …]
|
D | rtc-hym8563.c | 177 data = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_alarm_irq_enable() 216 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_read_alarm() 251 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_set_alarm() 307 int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT); in hym8563_clkout_recalc_rate() 333 int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT); in hym8563_clkout_set_rate() 354 int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT); in hym8563_clkout_control() 381 int ret = i2c_smbus_read_byte_data(client, HYM8563_CLKOUT); in hym8563_clkout_is_prepared() 448 data = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_irq() 477 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_init_device() 561 ret = i2c_smbus_read_byte_data(client, HYM8563_SEC); in hym8563_probe()
|