sound/soc/ti/sdma-pcm.h

Source file repositories/reference/linux-study-clean/sound/soc/ti/sdma-pcm.h

File Facts

System
Linux kernel
Corpus path
sound/soc/ti/sdma-pcm.h
Extension
.h
Size
564 bytes
Lines
22
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 __SDMA_PCM_H__
#define __SDMA_PCM_H__

#if IS_ENABLED(CONFIG_SND_SOC_TI_SDMA_PCM)
int sdma_pcm_platform_register(struct device *dev,
			       char *txdmachan, char *rxdmachan);
#else
static inline int sdma_pcm_platform_register(struct device *dev,
					     char *txdmachan, char *rxdmachan)
{
	return -ENODEV;
}
#endif /* CONFIG_SND_SOC_TI_SDMA_PCM */

#endif /* __SDMA_PCM_H__ */

Annotation

Implementation Notes