Home
last modified time | relevance | path

Searched refs:save_client (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/rtc/
Drtc-ds1374.c373 static struct i2c_client *save_client; variable
395 ret = cr = i2c_smbus_read_byte_data(save_client, DS1374_REG_CR); in ds1374_wdt_settimeout()
402 ret = i2c_smbus_write_byte_data(save_client, DS1374_REG_CR, cr); in ds1374_wdt_settimeout()
407 ret = ds1374_write_rtc(save_client, timeout, DS1374_REG_WDALM0, 3); in ds1374_wdt_settimeout()
417 ret = i2c_smbus_write_byte_data(save_client, DS1374_REG_CR, cr); in ds1374_wdt_settimeout()
435 ret = ds1374_read_rtc(save_client, &val, DS1374_REG_WDALM0, 3); in ds1374_wdt_ping()
445 cr = i2c_smbus_read_byte_data(save_client, DS1374_REG_CR); in ds1374_wdt_disable()
449 ret = i2c_smbus_write_byte_data(save_client, DS1374_REG_CR, cr); in ds1374_wdt_disable()
457 struct ds1374 *ds1374 = i2c_get_clientdata(save_client); in ds1374_wdt_open()
567 struct ds1374 *ds1374 = i2c_get_clientdata(save_client); in ds1374_wdt_unlocked_ioctl()
[all …]
Drtc-m41t80.c591 static struct i2c_client *save_client; variable
614 .addr = save_client->addr, in wdt_ping()
620 struct m41t80_data *clientdata = i2c_get_clientdata(save_client); in wdt_ping()
639 i2c_transfer(save_client->adapter, msgs1, 1); in wdt_ping()
652 .addr = save_client->addr, in wdt_disable()
658 .addr = save_client->addr, in wdt_disable()
666 .addr = save_client->addr, in wdt_disable()
674 i2c_transfer(save_client->adapter, msgs0, 2); in wdt_disable()
678 i2c_transfer(save_client->adapter, msgs1, 1); in wdt_disable()
970 save_client = client; in m41t80_probe()