Sound Open Firmware
Loading...
Searching...
No Matches
afe-dai.h File Reference
Include dependency graph for afe-dai.h:

Go to the source code of this file.

Macros

#define AFE_HS_GET_DAI(hs)
#define AFE_HS_SET_DAI(dai)
#define AFE_HS_GET_IRQ(hs)
#define AFE_HS_SET_IRQ(irq)
#define AFE_HS_GET_CHAN(hs)
#define AFE_HS_SET_CHAN(chan)
#define AFE_HANDSHAKE(dai, irq, channel)

Variables

const struct dai_driver afe_dai_driver

Macro Definition Documentation

◆ AFE_HANDSHAKE

#define AFE_HANDSHAKE ( dai,
irq,
channel )
Value:
#define AFE_HS_SET_IRQ(irq)
Definition afe-dai.h:22
#define AFE_HS_SET_CHAN(chan)
Definition afe-dai.h:24
#define AFE_HS_SET_DAI(dai)
Definition afe-dai.h:20
Definition dai-zephyr.h:49

◆ AFE_HS_GET_CHAN

#define AFE_HS_GET_CHAN ( hs)
Value:
(((hs) & MASK(23, 16)) >> 16)
#define MASK(b_hi, b_lo)
Definition bit.h:17

◆ AFE_HS_GET_DAI

#define AFE_HS_GET_DAI ( hs)
Value:
(((hs) & MASK(7, 0)) >> 0)

◆ AFE_HS_GET_IRQ

#define AFE_HS_GET_IRQ ( hs)
Value:
(((hs) & MASK(15, 8)) >> 8)

◆ AFE_HS_SET_CHAN

#define AFE_HS_SET_CHAN ( chan)
Value:
SET_BITS(23, 16, chan)
#define SET_BITS(b_hi, b_lo, x)
Definition bit.h:20

◆ AFE_HS_SET_DAI

#define AFE_HS_SET_DAI ( dai)
Value:
SET_BITS(7, 0, dai)

◆ AFE_HS_SET_IRQ

#define AFE_HS_SET_IRQ ( irq)
Value:
SET_BITS(15, 8, irq)

Variable Documentation

◆ afe_dai_driver

const struct dai_driver afe_dai_driver
extern