Searched refs:mcdt (Results 1 – 4 of 4) sorted by relevance
/linux/sound/soc/sprd/ |
H A D | sprd-mcdt.c | 118 static void sprd_mcdt_update(struct sprd_mcdt_dev *mcdt, u32 reg, u32 val, in sprd_mcdt_update() argument 121 u32 orig = readl_relaxed(mcdt->base + reg); in sprd_mcdt_update() 125 writel_relaxed(tmp, mcdt->base + reg); in sprd_mcdt_update() 128 static void sprd_mcdt_dac_set_watermark(struct sprd_mcdt_dev *mcdt, u8 channel, in sprd_mcdt_dac_set_watermark() argument 136 sprd_mcdt_update(mcdt, reg, water_mark, in sprd_mcdt_dac_set_watermark() 140 static void sprd_mcdt_adc_set_watermark(struct sprd_mcdt_dev *mcdt, u8 channel, in sprd_mcdt_adc_set_watermark() argument 148 sprd_mcdt_update(mcdt, reg, water_mark, in sprd_mcdt_adc_set_watermark() 152 static void sprd_mcdt_dac_dma_enable(struct sprd_mcdt_dev *mcdt, u8 channel, in sprd_mcdt_dac_dma_enable() argument 158 sprd_mcdt_update(mcdt, MCDT_DMA_EN, BIT(shift), BIT(shift)); in sprd_mcdt_dac_dma_enable() 160 sprd_mcdt_update(mcdt, MCDT_DMA_EN, 0, BIT(shift)); in sprd_mcdt_dac_dma_enable() [all …]
|
H A D | Makefile | 8 obj-$(CONFIG_SND_SOC_SPRD_MCDT) += sprd-mcdt.o
|
H A D | sprd-mcdt.h | 40 struct sprd_mcdt_dev *mcdt; member
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | sprd-mcdt.txt | 9 - compatible: Should be "sprd,sc9860-mcdt". 15 mcdt@41490000 { 16 compatible = "sprd,sc9860-mcdt";
|