Lines Matching refs:HAL_AUDIO_WriteMaskByte
274 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH5_MIX_VOL_FRC, 0x02, 0x02); in HAL_SOUND_SetMute()
278 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH5_MIX_VOL_FRC, 0x02, 0x00); in HAL_SOUND_SetMute()
285 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT0_VOLUME, 0x80, 0x80); in HAL_SOUND_SetMute()
287 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT0_VOLUME, 0x80, 0x00); in HAL_SOUND_SetMute()
292 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT1_VOLUME, 0x80, 0x80 ); in HAL_SOUND_SetMute()
294 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT1_VOLUME, 0x80, 0x00 ); in HAL_SOUND_SetMute()
299 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT2_VOLUME, 0x80, 0x80); in HAL_SOUND_SetMute()
301 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT2_VOLUME, 0x80, 0x00); in HAL_SOUND_SetMute()
306 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT3_VOLUME, 0x80, 0x80); in HAL_SOUND_SetMute()
308 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT3_VOLUME, 0x80, 0x00); in HAL_SOUND_SetMute()
313 HAL_AUDIO_WriteMaskByte(REG_SOUND_I2S_VOLUME, 0x80, 0x80); in HAL_SOUND_SetMute()
315 HAL_AUDIO_WriteMaskByte(REG_SOUND_I2S_VOLUME, 0x80, 0x00); in HAL_SOUND_SetMute()
334 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH5_MIX_VOL_INT, 0x80, 0x80); in HAL_SOUND_SetMute()
340 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH5_MIX_VOL_INT, 0x80, 0x00); in HAL_SOUND_SetMute()
353 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH6_MIX_VOL_INT, 0x80, 0x80); in HAL_SOUND_SetMute()
357 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH6_MIX_VOL_INT, 0x80, 0x00); in HAL_SOUND_SetMute()
364 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH8_MIX_VOL_INT, 0x80, 0x80); in HAL_SOUND_SetMute()
368 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH8_MIX_VOL_INT, 0x80, 0x00); in HAL_SOUND_SetMute()
375 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH7_VOLUME, 0x80, 0x80); in HAL_SOUND_SetMute()
379 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH7_VOLUME, 0x80, 0x00); in HAL_SOUND_SetMute()
485 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT0_VOLUME, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
486 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT0_VOL_FRAC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
487 … HAL_AUDIO_WriteMaskByte(M2S_MBOX_VOLUME_EN, 0x01, 0x01); // bEnable DSP CH1 sound effect in HAL_SOUND_AbsoluteVolume()
491 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT1_VOLUME, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
492 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT1_VOL_FRAC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
493 … HAL_AUDIO_WriteMaskByte(M2S_MBOX_VOLUME_EN, 0x02, 0x02); // bEnable DSP CH2 sound effect in HAL_SOUND_AbsoluteVolume()
497 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT2_VOLUME, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
498 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT2_VOL_FRAC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
499 … HAL_AUDIO_WriteMaskByte(M2S_MBOX_VOLUME_EN, 0x04, 0x04); // bEnable DSP CH3 sound effect in HAL_SOUND_AbsoluteVolume()
502 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT3_VOLUME, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
503 HAL_AUDIO_WriteMaskByte(REG_SOUND_AUOUT3_VOL_FRAC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
504 … HAL_AUDIO_WriteMaskByte(M2S_MBOX_VOLUME_EN, 0x08, 0x08); // bEnable DSP CH4 sound effect in HAL_SOUND_AbsoluteVolume()
508 HAL_AUDIO_WriteMaskByte(REG_SOUND_I2S_VOLUME, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
509 HAL_AUDIO_WriteMaskByte(REG_SOUND_I2S_VOL_FRAC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
510 … HAL_AUDIO_WriteMaskByte(M2S_MBOX_VOLUME_EN, 0x10, 0x10); // bEnable DSP CH5 sound effect in HAL_SOUND_AbsoluteVolume()
514 HAL_AUDIO_WriteMaskByte(REG_SOUND_SPDIF_VOLUME, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
515 HAL_AUDIO_WriteMaskByte(REG_SOUND_SPDIF_VOL_FRAC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
516 … HAL_AUDIO_WriteMaskByte(M2S_MBOX_VOLUME_EN, 0x20, 0x20); // bEnable DSP CH6 sound effect in HAL_SOUND_AbsoluteVolume()
521 HAL_AUDIO_WriteMaskByte(REG_SOUND_I2S2_VOLUME, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
522 HAL_AUDIO_WriteMaskByte(REG_SOUND_I2S2_VOL_FRAC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
523 HAL_AUDIO_WriteMaskByte(M2S_MBOX_VOLUME_EN, 0x20, 0x20); // bEnable AUDIO_T3_PATH_I2S2 in HAL_SOUND_AbsoluteVolume()
531 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH5_MIX_VOL_INT, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
532 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH5_MIX_VOL_FRC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
551 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH6_MIX_VOL_INT, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
552 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH6_MIX_VOL_FRC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
556 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH8_MIX_VOL_INT, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
557 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH8_MIX_VOL_FRC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
561 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH7_VOLUME, 0x7F, u8u8Vol1); in HAL_SOUND_AbsoluteVolume()
562 HAL_AUDIO_WriteMaskByte(REG_SOUND_CH7_VOL_FRAC, 0xE0, (u8u8Vol2<<5)); in HAL_SOUND_AbsoluteVolume()
815 HAL_AUDIO_WriteMaskByte(M2S_MBOX_BALANCE_EN+1, 0x80, (u8Enable<<7)); // Balance enable flag in HAL_SOUND_EnableBalance()
1006 HAL_AUDIO_WriteMaskByte(REG_SOUND_MAIN_SNDEFFECT, 0x20, 0x00); in HAL_SOUND_SetDynamicBass()
1010 HAL_AUDIO_WriteMaskByte(REG_SOUND_MAIN_SNDEFFECT, 0x20, 0x20); in HAL_SOUND_SetDynamicBass()
1363 HAL_AUDIO_WriteMaskByte(REG_SOUND_AVC_MODE ,0x03 ,0x00); in HAL_SOUND_SetAvcMode()
1366 HAL_AUDIO_WriteMaskByte(REG_SOUND_AVC_MODE ,0x03 ,0x01); in HAL_SOUND_SetAvcMode()
1369 HAL_AUDIO_WriteMaskByte(REG_SOUND_AVC_MODE ,0x03 ,0x02); in HAL_SOUND_SetAvcMode()
1410 HAL_AUDIO_WriteMaskByte(REG_SOUND_AVC_AT ,0xE0 ,(u8AvcAT<<5)); in HAL_SOUND_SetAvcAT()
1452 HAL_AUDIO_WriteMaskByte(REG_SOUND_AVC_RT ,0x1C ,(u8AvcRT<<2)); in HAL_SOUND_SetAvcRT()
1487 HAL_AUDIO_WriteMaskByte(0x2D20, 0x01, Enpeq); in HAL_SOUND_EnablePEQ()
1522 HAL_AUDIO_WriteMaskByte(0x2D20, 0x04, bEnable<<2); in HAL_SOUND_EnableHPF()
1557 HAL_AUDIO_WriteMaskByte(0x2D20, 0x08, EnDcRemove<<3); in HAL_SOUND_EnableDcRemove()
1572 HAL_AUDIO_WriteMaskByte(0x2D20, 0x10, bEnable<<4); in HAL_SOUND_EnableKTVEcho()
1586 HAL_AUDIO_WriteMaskByte(0x2D20, 0x40, bEnable<<6); in HAL_SOUND_EnableEaseVol()
1600 HAL_AUDIO_WriteMaskByte(0x2D20, 0x80, bEnable<<7); in HAL_SOUND_EnableEQ()
1635 HAL_AUDIO_WriteMaskByte(0x2D21, 0x04, bEnable<<2); in HAL_SOUND_EnableSurround()
1670 HAL_AUDIO_WriteMaskByte(0x2D21, 0x08, bEnable<<3); in HAL_SOUND_EnableTone()
1705 HAL_AUDIO_WriteMaskByte(0x2D21, 0x10, bEnable<<4); in HAL_SOUND_EnableAutoVolume()
1740 HAL_AUDIO_WriteMaskByte(0x2D21, 0x20, bEnable<<5); in HAL_SOUND_EnableDRC()
1754 HAL_AUDIO_WriteMaskByte(0x2D32, 0xFF, u8Level); in HAL_SOUND_EnableNR()
1784 HAL_AUDIO_WriteMaskByte(0x2D31, 0x01, bEnable); in HAL_SOUND_PowerDown_Wait()
1952 HAL_AUDIO_WriteMaskByte(0x2D26 ,0x0C ,0x00); in HAL_SOUND_SetSurroundXA()
1955 HAL_AUDIO_WriteMaskByte(0x2D26 ,0x0C ,0x04); in HAL_SOUND_SetSurroundXA()
1958 HAL_AUDIO_WriteMaskByte(0x2D26 ,0x0C ,0x08); in HAL_SOUND_SetSurroundXA()
1961 HAL_AUDIO_WriteMaskByte(0x2D26 ,0x0C ,0x0C); in HAL_SOUND_SetSurroundXA()
1997 HAL_AUDIO_WriteMaskByte(0x2D26 ,0x30 ,0x00); in HAL_SOUND_SetSurroundXB()
2000 HAL_AUDIO_WriteMaskByte(0x2D26 ,0x30 ,0x10); in HAL_SOUND_SetSurroundXB()
2003 HAL_AUDIO_WriteMaskByte(0x2D26 ,0x30 ,0x20); in HAL_SOUND_SetSurroundXB()
2006 HAL_AUDIO_WriteMaskByte(0x2D26 ,0x30 ,0x30); in HAL_SOUND_SetSurroundXB()
2039 HAL_AUDIO_WriteMaskByte(0x2D27 ,0x07 ,u8Mode); in HAL_SOUND_SetSurroundXK()
2075 HAL_AUDIO_WriteMaskByte(0x2D26 ,0xC0 ,0x00); in HAL_SOUND_SetSurroundLPFGain()
2078 HAL_AUDIO_WriteMaskByte(0x2D26 ,0xC0 ,0x40); in HAL_SOUND_SetSurroundLPFGain()
2081 HAL_AUDIO_WriteMaskByte(0x2D26 ,0xC0 ,0x80); in HAL_SOUND_SetSurroundLPFGain()
2141 …HAL_AUDIO_WriteMaskByte(M2S_MBOX_SNDEFF_EN, 1<< (M2S_MBOX_COEFFUPDATE_EN_BIT), 1<< (M2S_MBOX_COEFF… in HAL_SOUND_SetPEQCoef()
2150 …HAL_AUDIO_WriteMaskByte(M2S_MBOX_SNDEFF_EN, 1<< (M2S_MBOX_COEFFUPDATE_EN_BIT), 0x00); //enable coe… in HAL_SOUND_SetPEQCoef()
2155 …HAL_AUDIO_WriteMaskByte(M2S_MBOX_SNDEFF_EN, 1<< (M2S_MBOX_COEFFUPDATE_EN_BIT), 1<< (M2S_MBOX_COEFF… in HAL_SOUND_SetPEQCoef()
2162 …HAL_AUDIO_WriteMaskByte(M2S_MBOX_SNDEFF_EN, 1<< (M2S_MBOX_COEFFUPDATE_EN_BIT), 0x00); //disable oe… in HAL_SOUND_SetPEQCoef()
2167 …HAL_AUDIO_WriteMaskByte(M2S_MBOX_SNDEFF_EN, 1<< (M2S_MBOX_COEFFUPDATE_EN_BIT), 1<< (M2S_MBOX_COEFF… in HAL_SOUND_SetPEQCoef()
2184 …HAL_AUDIO_WriteMaskByte(M2S_MBOX_SNDEFF_EN, 1<< (M2S_MBOX_COEFFUPDATE_EN_BIT), 0x00); //disable oe… in HAL_SOUND_SetPEQCoef()
2234 HAL_AUDIO_WriteMaskByte(0x2D5B, 0x7F, u8Vol1); in HAL_SOUND_SetMixModeVolume()
2235 HAL_AUDIO_WriteMaskByte(0x2D5A, 0xE0, (u8Vol2<<5)); in HAL_SOUND_SetMixModeVolume()
2238 HAL_AUDIO_WriteMaskByte(0x2D5D, 0x7F, u8Vol1); in HAL_SOUND_SetMixModeVolume()
2239 HAL_AUDIO_WriteMaskByte(0x2D5C, 0xE0, (u8Vol2<<5)); in HAL_SOUND_SetMixModeVolume()
2242 HAL_AUDIO_WriteMaskByte(0x2D5F, 0x7F, u8Vol1); in HAL_SOUND_SetMixModeVolume()
2243 HAL_AUDIO_WriteMaskByte(0x2D5E, 0xE0, (u8Vol2<<5)); in HAL_SOUND_SetMixModeVolume()
2248 HAL_AUDIO_WriteMaskByte(0x2D57, 0x7F, u8Vol1); in HAL_SOUND_SetMixModeVolume()
2249 HAL_AUDIO_WriteMaskByte(0x2D56, 0xE0, (u8Vol2<<5)); in HAL_SOUND_SetMixModeVolume()
2252 HAL_AUDIO_WriteMaskByte(0x2D59, 0x7F, u8Vol1); in HAL_SOUND_SetMixModeVolume()
2253 HAL_AUDIO_WriteMaskByte(0x2D58, 0xE0, (u8Vol2<<5)); in HAL_SOUND_SetMixModeVolume()
2264 HAL_AUDIO_WriteMaskByte(0x2D5B, 0x7F, u8Vol1); in HAL_SOUND_SetMixModeVolume()
2265 HAL_AUDIO_WriteMaskByte(0x2D5A, 0xE0, (u8Vol2<<5)); in HAL_SOUND_SetMixModeVolume()
2268 HAL_AUDIO_WriteMaskByte(0x2D5D, 0x7F, u8Vol1); in HAL_SOUND_SetMixModeVolume()
2269 HAL_AUDIO_WriteMaskByte(0x2D5C, 0xE0, (u8Vol2<<5)); in HAL_SOUND_SetMixModeVolume()
2272 HAL_AUDIO_WriteMaskByte(0x2D5F, 0x7F, u8Vol1); in HAL_SOUND_SetMixModeVolume()
2273 HAL_AUDIO_WriteMaskByte(0x2D5E, 0xE0, (u8Vol2<<5)); in HAL_SOUND_SetMixModeVolume()
2305 HAL_AUDIO_WriteMaskByte(0x2D5B, 0x80, 0x80); in HAL_SOUND_SetMixModeMute()
2307 HAL_AUDIO_WriteMaskByte(0x2D5B, 0x80, 0x00); in HAL_SOUND_SetMixModeMute()
2311 HAL_AUDIO_WriteMaskByte(0x2D5D, 0x80, 0x80); in HAL_SOUND_SetMixModeMute()
2313 HAL_AUDIO_WriteMaskByte(0x2D5D, 0x80, 0x00); in HAL_SOUND_SetMixModeMute()
2317 HAL_AUDIO_WriteMaskByte(0x2D5F, 0x80, 0x80); in HAL_SOUND_SetMixModeMute()
2319 HAL_AUDIO_WriteMaskByte(0x2D5F, 0x80, 0x00); in HAL_SOUND_SetMixModeMute()
2331 HAL_AUDIO_WriteMaskByte(0x2D5B, 0x80, 0x80); in HAL_SOUND_SetMixModeMute()
2333 HAL_AUDIO_WriteMaskByte(0x2D5B, 0x80, 0x00); in HAL_SOUND_SetMixModeMute()
2337 HAL_AUDIO_WriteMaskByte(0x2D5D, 0x80, 0x80); in HAL_SOUND_SetMixModeMute()
2339 HAL_AUDIO_WriteMaskByte(0x2D5D, 0x80, 0x00); in HAL_SOUND_SetMixModeMute()
2343 HAL_AUDIO_WriteMaskByte(0x2D5F, 0x80, 0x80); in HAL_SOUND_SetMixModeMute()
2345 HAL_AUDIO_WriteMaskByte(0x2D5F, 0x80, 0x00); in HAL_SOUND_SetMixModeMute()