Linux Audio

Check our new training course

Loading...
Note: File does not exist in v5.4.
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * CS42L43 core driver internal data
 4 *
 5 * Copyright (C) 2022-2023 Cirrus Logic, Inc. and
 6 *                         Cirrus Logic International Semiconductor Ltd.
 7 */
 8
 9#include <linux/mfd/cs42l43.h>
10#include <linux/pm.h>
11#include <linux/regmap.h>
12
13#ifndef CS42L43_CORE_INT_H
14#define CS42L43_CORE_INT_H
15
16#define CS42L43_N_DEFAULTS 176
17
18extern const struct dev_pm_ops cs42l43_pm_ops;
19extern const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS];
20
21bool cs42l43_readable_register(struct device *dev, unsigned int reg);
22bool cs42l43_precious_register(struct device *dev, unsigned int reg);
23bool cs42l43_volatile_register(struct device *dev, unsigned int reg);
24
25int cs42l43_dev_probe(struct cs42l43 *cs42l43);
26void cs42l43_dev_remove(struct cs42l43 *cs42l43);
27
28#endif /* CS42L43_CORE_INT_H */