Home
last modified time | relevance | path

Searched refs:rn5t618_pm_power_off (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mfd/
H A Drn5t618.c84 static struct i2c_client *rn5t618_pm_power_off; variable
120 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()
/kernel/linux/linux-6.6/drivers/mfd/
H A Drn5t618.c86 static struct i2c_client *rn5t618_pm_power_off; variable
122 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()

Completed in 2 milliseconds