mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 02:11:25 +01:00 
			
		
		
		
	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>
		
			
				
	
	
		
			28 lines
		
	
	
		
			871 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			28 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
 |