Searched refs:rn5t618_pm_power_off (Results 1 – 1 of 1) sorted by relevance
84 static struct i2c_client *rn5t618_pm_power_off; variable120 ret = i2c_smbus_read_byte_data(rn5t618_pm_power_off, RN5T618_REPCNT); in rn5t618_trigger_poweroff_sequence()128 ret = i2c_smbus_write_byte_data(rn5t618_pm_power_off, in rn5t618_trigger_poweroff_sequence()134 ret = i2c_smbus_read_byte_data(rn5t618_pm_power_off, RN5T618_SLPCNT); in rn5t618_trigger_poweroff_sequence()140 ret = i2c_smbus_write_byte_data(rn5t618_pm_power_off, in rn5t618_trigger_poweroff_sequence()148 dev_alert(&rn5t618_pm_power_off->dev, "Failed to shutdown (err = %d)\n", ret); in rn5t618_trigger_poweroff_sequence()221 rn5t618_pm_power_off = i2c; in rn5t618_i2c_probe()243 if (i2c == rn5t618_pm_power_off) { in rn5t618_i2c_remove()244 rn5t618_pm_power_off = NULL; in rn5t618_i2c_remove()