Searched refs:val_rate (Results 1 – 2 of 2) sorted by relevance
703 int val_len = 0, val_rate = 0, ret = 0; in nau8810_pcm_hw_params() local739 val_rate |= NAU8810_SMPLR_8K; in nau8810_pcm_hw_params()742 val_rate |= NAU8810_SMPLR_12K; in nau8810_pcm_hw_params()745 val_rate |= NAU8810_SMPLR_16K; in nau8810_pcm_hw_params()748 val_rate |= NAU8810_SMPLR_24K; in nau8810_pcm_hw_params()751 val_rate |= NAU8810_SMPLR_32K; in nau8810_pcm_hw_params()761 NAU8810_SMPLR_MASK, val_rate); in nau8810_pcm_hw_params()
867 int div = 0, val_len = 0, val_rate = 0; in nau8822_hw_params() local905 val_rate |= NAU8822_SMPLR_8K; in nau8822_hw_params()908 val_rate |= NAU8822_SMPLR_12K; in nau8822_hw_params()911 val_rate |= NAU8822_SMPLR_16K; in nau8822_hw_params()914 val_rate |= NAU8822_SMPLR_24K; in nau8822_hw_params()917 val_rate |= NAU8822_SMPLR_32K; in nau8822_hw_params()929 NAU8822_REG_ADDITIONAL_CONTROL, NAU8822_SMPLR_MASK, val_rate); in nau8822_hw_params()