Searched refs:CODEC_WRITE (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/arm/allwinner/ |
H A D | a33_codec.c | 155 #define CODEC_WRITE(sc, reg, val) bus_write_4((sc)->res[0], (reg), (val)) macro 220 CODEC_WRITE(sc, SYSCLK_CTL, val); in sun8i_codec_attach() 221 CODEC_WRITE(sc, MOD_CLK_ENA, MOD_AIF1 | MOD_ADC | MOD_DAC); in sun8i_codec_attach() 222 CODEC_WRITE(sc, MOD_RST_CTL, MOD_AIF1 | MOD_ADC | MOD_DAC); in sun8i_codec_attach() 225 CODEC_WRITE(sc, DAC_DIG_CTRL, DAC_DIG_CTRL_ENDA); in sun8i_codec_attach() 226 CODEC_WRITE(sc, ADC_DIG_CTRL, ADC_DIG_CTRL_ENAD); in sun8i_codec_attach() 232 CODEC_WRITE(sc, SYS_SR_CTRL, val); in sun8i_codec_attach() 238 CODEC_WRITE(sc, AIF1CLK_CTRL, val); in sun8i_codec_attach() 244 CODEC_WRITE(sc, AIF1_DACDAT_CTRL, val); in sun8i_codec_attach() 250 CODEC_WRITE(sc, AIF1_ADCDAT_CTRL, val); in sun8i_codec_attach() [all …]
|
H A D | a10_codec.c | 182 #define CODEC_WRITE(sc, reg, val) bus_write_4((sc)->res[0], (reg), (val)) macro 232 CODEC_WRITE(sc, A10_DAC_ACTL, val); in a10_mixer_init() 237 CODEC_WRITE(sc, A10_ADC_ACTL, val); in a10_mixer_init() 269 CODEC_WRITE(sc, a10_mixers[dev].reg, val); in a10_mixer_set() 300 CODEC_WRITE(sc, A10_ADC_ACTL, val); in a10_mixer_setrecsrc() 332 CODEC_WRITE(sc, A10_DAC_ACTL, val); in a10_mute() 352 CODEC_WRITE(sc, A10_ADC_ACTL, val); in a10_mute() 730 CODEC_WRITE(sc, AC_DAC_FIFOC(sc), DAC_FIFOC_FIFO_FLUSH); in a10codec_start() 733 CODEC_WRITE(sc, AC_DAC_FIFOS(sc), in a10codec_start() 743 CODEC_WRITE(sc, AC_DAC_FIFOC(sc), in a10codec_start() [all …]
|