Linux Audio

Check our new training course

Loading...
v6.2
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Copyright (c) 2022, The Linux Foundation. All rights reserved.
 4 */
 5
 6#ifndef __LPASS_MACRO_COMMON_H__
 7#define __LPASS_MACRO_COMMON_H__
 8
 
 
 
 
 
 9struct lpass_macro {
10	struct device *macro_pd;
11	struct device *dcodec_pd;
12};
13
14struct lpass_macro *lpass_macro_pds_init(struct device *dev);
15void lpass_macro_pds_exit(struct lpass_macro *pds);
16
17#endif /* __LPASS_MACRO_COMMON_H__ */
v6.8
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Copyright (c) 2022, The Linux Foundation. All rights reserved.
 4 */
 5
 6#ifndef __LPASS_MACRO_COMMON_H__
 7#define __LPASS_MACRO_COMMON_H__
 8
 9/* NPL clock is expected */
10#define LPASS_MACRO_FLAG_HAS_NPL_CLOCK		BIT(0)
11/* The soundwire block should be internally reset at probe */
12#define LPASS_MACRO_FLAG_RESET_SWR		BIT(1)
13
14struct lpass_macro {
15	struct device *macro_pd;
16	struct device *dcodec_pd;
17};
18
19struct lpass_macro *lpass_macro_pds_init(struct device *dev);
20void lpass_macro_pds_exit(struct lpass_macro *pds);
21
22#endif /* __LPASS_MACRO_COMMON_H__ */