d79e4164d0
Create a new attribute group meant to provide a single place that defines endpoint IDs that might be needed by user space. Not all defined endpoints are presented, and only those that are defined will be made visible. The new attributes use "extended" device attributes to hold endpoint IDs, which is a little more compact and efficient. Reimplement the existing modem endpoint ID attribute files using common code. Signed-off-by: Alex Elder <elder@linaro.org> Link: https://lore.kernel.org/r/20220719191639.373249-1-elder@linaro.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
17 lines
506 B
C
17 lines
506 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
|
|
* Copyright (C) 2019-2021 Linaro Ltd.
|
|
*/
|
|
#ifndef _IPA_SYSFS_H_
|
|
#define _IPA_SYSFS_H_
|
|
|
|
struct attribute_group;
|
|
|
|
extern const struct attribute_group ipa_attribute_group;
|
|
extern const struct attribute_group ipa_feature_attribute_group;
|
|
extern const struct attribute_group ipa_endpoint_id_attribute_group;
|
|
extern const struct attribute_group ipa_modem_attribute_group;
|
|
|
|
#endif /* _IPA_SYSFS_H_ */
|