mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-19 21:55:31 +08:00

* target: add phytium support * kernel/video: add phytium platform ARM GPU support * config: add EFI support to phytium armv8 * target: phytium: remove rtl8821cs driver * target: phytium: refresh dts
35 lines
701 B
C
35 lines
701 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Implementation of primary ALSA driver code base for Phytium HD Audio.
|
|
*
|
|
* Copyright (c) 2018-2023 Phytium Technology Co., Ltd.
|
|
*/
|
|
#ifndef __SOUND_HDA_PHYTIUM_H__
|
|
#define __SOUND_HDA_PHYTIUM_H__
|
|
|
|
#include "hda_controller.h"
|
|
|
|
struct hda_ft {
|
|
struct azx chip;
|
|
struct snd_pcm_substream *substream;
|
|
struct device *dev;
|
|
void __iomem *regs;
|
|
|
|
/* for pending irqs */
|
|
struct work_struct irq_pending_work;
|
|
|
|
/* sync probing */
|
|
struct completion probe_wait;
|
|
struct work_struct probe_work;
|
|
|
|
/* card list (for power_save trigger) */
|
|
struct list_head list;
|
|
|
|
/* extra flags */
|
|
unsigned int irq_pending_warned:1;
|
|
unsigned int probe_continued:1;
|
|
|
|
};
|
|
|
|
#endif
|