Searched refs:rn5t618_pm_power_off (Results 1 – 1 of 1) sorted by relevance
86 static struct i2c_client *rn5t618_pm_power_off; variable122 ret = i2c_smbus_read_byte_data(rn5t618_pm_power_off, RN5T618_REPCNT); in rn5t618_trigger_poweroff_sequence()130 ret = i2c_smbus_write_byte_data(rn5t618_pm_power_off, in rn5t618_trigger_poweroff_sequence()136 ret = i2c_smbus_read_byte_data(rn5t618_pm_power_off, RN5T618_SLPCNT); in rn5t618_trigger_poweroff_sequence()142 ret = i2c_smbus_write_byte_data(rn5t618_pm_power_off, in rn5t618_trigger_poweroff_sequence()150 dev_alert(&rn5t618_pm_power_off->dev, "Failed to shutdown (err = %d)\n", ret); in rn5t618_trigger_poweroff_sequence()223 rn5t618_pm_power_off = i2c; in rn5t618_i2c_probe()245 if (i2c == rn5t618_pm_power_off) { in rn5t618_i2c_remove()246 rn5t618_pm_power_off = NULL; in rn5t618_i2c_remove()