Home
last modified time | relevance | path

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

/linux/drivers/power/reset/
H A Dodroid-go-ultra-poweroff.c31 struct odroid_go_ultra_poweroff_data *poweroff_data = data->cb_data; in odroid_go_ultra_poweroff_prepare() local
36 rk817 = dev_get_regmap(poweroff_data->rk817, NULL); in odroid_go_ultra_poweroff_prepare()
38 dev_err(poweroff_data->dev, "failed to get rk817 regmap\n"); in odroid_go_ultra_poweroff_prepare()
43 rk818 = dev_get_regmap(poweroff_data->rk818, NULL); in odroid_go_ultra_poweroff_prepare()
45 dev_err(poweroff_data->dev, "failed to get rk818 regmap\n"); in odroid_go_ultra_poweroff_prepare()
49 dev_info(poweroff_data->dev, "Setting PMICs for power off"); in odroid_go_ultra_poweroff_prepare()
54 dev_err(poweroff_data->dev, "failed to poweroff rk817\n"); in odroid_go_ultra_poweroff_prepare()
61 dev_err(poweroff_data->dev, "failed to poweroff rk818\n"); in odroid_go_ultra_poweroff_prepare()
97 struct odroid_go_ultra_poweroff_data *poweroff_data; in odroid_go_ultra_poweroff_probe() local
100 poweroff_data = devm_kzalloc(&pdev->dev, sizeof(*poweroff_data), GFP_KERNEL); in odroid_go_ultra_poweroff_probe()
[all …]