Searched refs:val_rate (Results 1 – 2 of 2) sorted by relevance
700 int val_len = 0, val_rate = 0, ret = 0; in nau8810_pcm_hw_params() local736 val_rate |= NAU8810_SMPLR_8K; in nau8810_pcm_hw_params()739 val_rate |= NAU8810_SMPLR_12K; in nau8810_pcm_hw_params()742 val_rate |= NAU8810_SMPLR_16K; in nau8810_pcm_hw_params()745 val_rate |= NAU8810_SMPLR_24K; in nau8810_pcm_hw_params()748 val_rate |= NAU8810_SMPLR_32K; in nau8810_pcm_hw_params()758 NAU8810_SMPLR_MASK, val_rate); in nau8810_pcm_hw_params()
848 int val_len = 0, val_rate = 0; in nau8822_hw_params() local886 val_rate |= NAU8822_SMPLR_8K; in nau8822_hw_params()889 val_rate |= NAU8822_SMPLR_12K; in nau8822_hw_params()892 val_rate |= NAU8822_SMPLR_16K; in nau8822_hw_params()895 val_rate |= NAU8822_SMPLR_24K; in nau8822_hw_params()898 val_rate |= NAU8822_SMPLR_32K; in nau8822_hw_params()910 NAU8822_REG_ADDITIONAL_CONTROL, NAU8822_SMPLR_MASK, val_rate); in nau8822_hw_params()