Lines Matching refs:retVal
418 status_t retVal = kStatus_Success; in DA7212_SetPLLConfig() local
466 retVal = DA7212_WriteRegister(handle, DIALOG7212_PLL_FRAC_TOP, pllFracTop); in DA7212_SetPLLConfig()
468 retVal = DA7212_WriteRegister(handle, DIALOG7212_PLL_FRAC_BOT, pllFracBottom); in DA7212_SetPLLConfig()
470 retVal = DA7212_WriteRegister(handle, DIALOG7212_PLL_INTEGER, pllInteger); in DA7212_SetPLLConfig()
474 retVal = DA7212_WriteRegister(handle, DIALOG7212_PLL_CTRL, regVal); in DA7212_SetPLLConfig()
479 retVal = DA7212_ReadRegister(handle, DIALOG7212_PLL_STATUS, ®Val); in DA7212_SetPLLConfig()
482 return retVal; in DA7212_SetPLLConfig()
496 status_t retVal = kStatus_Success; in DA7212_ConfigAudioFormat() local
501 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_8KHZ); in DA7212_ConfigAudioFormat()
504 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_11_025KHZ); in DA7212_ConfigAudioFormat()
507 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_12KHZ); in DA7212_ConfigAudioFormat()
510 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_16KHZ); in DA7212_ConfigAudioFormat()
513 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_22KHZ); in DA7212_ConfigAudioFormat()
516 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_24KHZ); in DA7212_ConfigAudioFormat()
519 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_32KHZ); in DA7212_ConfigAudioFormat()
522 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_44_1KHZ); in DA7212_ConfigAudioFormat()
525 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_48KHZ); in DA7212_ConfigAudioFormat()
528 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_88_2KHZ); in DA7212_ConfigAudioFormat()
531 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_96KHZ); in DA7212_ConfigAudioFormat()
539 retVal = DA7212_ReadRegister(handle, DIALOG7212_DAI_CTRL, ®Val); in DA7212_ConfigAudioFormat()
559 retVal = DA7212_WriteRegister(handle, DIALOG7212_DAI_CTRL, regVal); in DA7212_ConfigAudioFormat()
561 return retVal; in DA7212_ConfigAudioFormat()
639 status_t retVal = kStatus_Success; in DA7212_SetChannelVolume() local
648 retVal = DA7212_WriteRegister(handle, DIALOG7212_HP_L_GAIN, (uint8_t)volume); in DA7212_SetChannelVolume()
653 retVal = DA7212_WriteRegister(handle, DIALOG7212_HP_R_GAIN, (uint8_t)volume); in DA7212_SetChannelVolume()
658 retVal = DA7212_WriteRegister(handle, DIALOG7212_LINE_GAIN, (uint8_t)volume); in DA7212_SetChannelVolume()
661 return retVal; in DA7212_SetChannelVolume()
667 status_t retVal = kStatus_Success; in DA7212_SetChannelMute() local
671 retVal = DA7212_ModifyRegister(handle, DIALOG7212_HP_L_CTRL, 0xC0U, regValue); in DA7212_SetChannelMute()
676 retVal = DA7212_ModifyRegister(handle, DIALOG7212_HP_R_CTRL, 0xC0U, regValue); in DA7212_SetChannelMute()
681 retVal = DA7212_ModifyRegister(handle, DIALOG7212_LINE_CTRL, 0xC0U, regValue); in DA7212_SetChannelMute()
684 return retVal; in DA7212_SetChannelMute()