https://github.com/torvalds/linux
Raw File
Tip revision: ea5f6ad9ad9645733b72ab53a98e719b460d36a6 authored by Linus Torvalds on 16 May 2024, 16:14:50 UTC
Merge tag 'platform-drivers-x86-v6.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
Tip revision: ea5f6ad
cs42l43.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * CS42L43 core driver internal data
 *
 * Copyright (C) 2022-2023 Cirrus Logic, Inc. and
 *                         Cirrus Logic International Semiconductor Ltd.
 */

#ifndef CS42L43_CORE_INT_H
#define CS42L43_CORE_INT_H

#define CS42L43_N_DEFAULTS 176

struct dev_pm_ops;
struct device;
struct reg_default;

struct cs42l43;

extern const struct dev_pm_ops cs42l43_pm_ops;
extern const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS];

bool cs42l43_readable_register(struct device *dev, unsigned int reg);
bool cs42l43_precious_register(struct device *dev, unsigned int reg);
bool cs42l43_volatile_register(struct device *dev, unsigned int reg);

int cs42l43_dev_probe(struct cs42l43 *cs42l43);
void cs42l43_dev_remove(struct cs42l43 *cs42l43);

#endif /* CS42L43_CORE_INT_H */
back to top