Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 
0003 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
0004  * Copyright (C) 2019-2021 Linaro Ltd.
0005  */
0006 #ifndef _IPA_RESOURCE_H_
0007 #define _IPA_RESOURCE_H_
0008 
0009 struct ipa;
0010 struct ipa_resource_data;
0011 
0012 /**
0013  * ipa_resource_config() - Configure resources
0014  * @ipa:    IPA pointer
0015  * @data:   IPA resource configuration data
0016  *
0017  * There is no need for a matching ipa_resource_deconfig() function.
0018  *
0019  * Return:  true if all regions are valid, false otherwise
0020  */
0021 int ipa_resource_config(struct ipa *ipa, const struct ipa_resource_data *data);
0022 
0023 #endif /* _IPA_RESOURCE_H_ */