mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-14 23:33:00 +00:00
bad2433151
The tests are basically the same as for the regular API. Except that the reset are initialized using the managed API, and no freed manually. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
27 lines
871 B
C
27 lines
871 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* 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);
|
|
int sandbox_reset_is_requested(struct udevice *dev, unsigned long id);
|
|
|
|
int sandbox_reset_test_get(struct udevice *dev);
|
|
int sandbox_reset_test_get_devm(struct udevice *dev);
|
|
int sandbox_reset_test_get_bulk(struct udevice *dev);
|
|
int sandbox_reset_test_get_bulk_devm(struct udevice *dev);
|
|
int sandbox_reset_test_assert(struct udevice *dev);
|
|
int sandbox_reset_test_assert_bulk(struct udevice *dev);
|
|
int sandbox_reset_test_deassert(struct udevice *dev);
|
|
int sandbox_reset_test_deassert_bulk(struct udevice *dev);
|
|
int sandbox_reset_test_free(struct udevice *dev);
|
|
int sandbox_reset_test_release_bulk(struct udevice *dev);
|
|
|
|
#endif
|