Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / net / ipa / ipa_resource.h
blobef5818bff180d99dbe945541c49fa60d947321a1
1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2021 Linaro Ltd.
5 */
6 #ifndef _IPA_RESOURCE_H_
7 #define _IPA_RESOURCE_H_
9 struct ipa;
10 struct ipa_resource_data;
12 /**
13 * ipa_resource_config() - Configure resources
14 * @ipa: IPA pointer
15 * @data: IPA resource configuration data
17 * There is no need for a matching ipa_resource_deconfig() function.
19 * Return: true if all regions are valid, false otherwise
21 int ipa_resource_config(struct ipa *ipa, const struct ipa_resource_data *data);
23 #endif /* _IPA_RESOURCE_H_ */