sound/soc/sof/mediatek/mt8195/mt8195-clk.h

Source file repositories/reference/linux-study-clean/sound/soc/sof/mediatek/mt8195/mt8195-clk.h

File Facts

System
Linux kernel
Corpus path
sound/soc/sof/mediatek/mt8195/mt8195-clk.h
Extension
.h
Size
564 bytes
Lines
29
Domain
Driver Families
Bucket
sound/soc
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __MT8195_CLK_H
#define __MT8195_CLK_H

struct snd_sof_dev;

/*DSP clock*/
enum adsp_clk_id {
	CLK_TOP_ADSP,
	CLK_TOP_CLK26M,
	CLK_TOP_AUDIO_LOCAL_BUS,
	CLK_TOP_MAINPLL_D7_D2,
	CLK_SCP_ADSP_AUDIODSP,
	CLK_TOP_AUDIO_H,
	ADSP_CLK_MAX
};

int mt8195_adsp_init_clock(struct snd_sof_dev *sdev);
int adsp_clock_on(struct snd_sof_dev *sdev);
int adsp_clock_off(struct snd_sof_dev *sdev);
#endif

Annotation

Implementation Notes