2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2016-06-17 15:43:59 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016, NVIDIA CORPORATION.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SANDBOX_RESET_H
|
|
|
|
#define __SANDBOX_RESET_H
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
|
|
|
|
struct udevice;
|
|
|
|
|
|
|
|
int sandbox_reset_query(struct udevice *dev, unsigned long id);
|
2020-09-09 10:07:04 +00:00
|
|
|
int sandbox_reset_is_requested(struct udevice *dev, unsigned long id);
|
2016-06-17 15:43:59 +00:00
|
|
|
|
|
|
|
int sandbox_reset_test_get(struct udevice *dev);
|
2020-09-09 10:07:04 +00:00
|
|
|
int sandbox_reset_test_get_devm(struct udevice *dev);
|
2018-04-03 09:40:51 +00:00
|
|
|
int sandbox_reset_test_get_bulk(struct udevice *dev);
|
2020-09-09 10:07:04 +00:00
|
|
|
int sandbox_reset_test_get_bulk_devm(struct udevice *dev);
|
2016-06-17 15:43:59 +00:00
|
|
|
int sandbox_reset_test_assert(struct udevice *dev);
|
2018-04-03 09:40:51 +00:00
|
|
|
int sandbox_reset_test_assert_bulk(struct udevice *dev);
|
2016-06-17 15:43:59 +00:00
|
|
|
int sandbox_reset_test_deassert(struct udevice *dev);
|
2018-04-03 09:40:51 +00:00
|
|
|
int sandbox_reset_test_deassert_bulk(struct udevice *dev);
|
2016-06-17 15:43:59 +00:00
|
|
|
int sandbox_reset_test_free(struct udevice *dev);
|
2018-04-03 09:40:51 +00:00
|
|
|
int sandbox_reset_test_release_bulk(struct udevice *dev);
|
2016-06-17 15:43:59 +00:00
|
|
|
|
|
|
|
#endif
|