Searched refs:divider (Results 1 – 6 of 6) sorted by relevance
/sound/soc/ti/ |
D | omap-dmic.c | 125 int divider = -EINVAL; in omap_dmic_select_divider() local 133 divider = 0x6; /* Divider: 5 (192KHz sampling rate) */ in omap_dmic_select_divider() 138 return divider; in omap_dmic_select_divider() 145 divider = 0x4; /* Divider: 16 */ in omap_dmic_select_divider() 150 divider = 0x5; /* Divider: 5 */ in omap_dmic_select_divider() 153 divider = 0x0; /* Divider: 8 */ in omap_dmic_select_divider() 156 divider = 0x2; /* Divider: 10 */ in omap_dmic_select_divider() 165 divider = 0x3; /* Divider: 8 */ in omap_dmic_select_divider() 170 divider = 0x1; /* Divider: 5 (96KHz sampling rate) */ in omap_dmic_select_divider() 178 return divider; in omap_dmic_select_divider()
|
D | omap-mcbsp.c | 955 int divider = 0; in omap_mcbsp_dai_hw_params() local 969 divider = period_words / max_thrsh; in omap_mcbsp_dai_hw_params() 971 divider++; in omap_mcbsp_dai_hw_params() 972 while (period_words % divider && in omap_mcbsp_dai_hw_params() 973 divider < period_words) in omap_mcbsp_dai_hw_params() 974 divider++; in omap_mcbsp_dai_hw_params() 975 if (divider == period_words) in omap_mcbsp_dai_hw_params() 978 pkt_size = period_words / divider; in omap_mcbsp_dai_hw_params()
|
/sound/soc/stm/ |
D | stm32_i2s.c | 248 unsigned int divider; member 267 unsigned int ratio, div, divider = 1; in stm32_i2s_calc_clk_div() local 280 divider = ((2 * div) + odd); in stm32_i2s_calc_clk_div() 282 div, odd, divider); in stm32_i2s_calc_clk_div() 291 if (input_rate % divider) in stm32_i2s_calc_clk_div() 294 output_rate, input_rate / divider); in stm32_i2s_calc_clk_div() 298 i2s->divider = divider; in stm32_i2s_calc_clk_div() 345 mclk->freq = *prate / i2s->divider; in stm32_i2smclk_round_rate()
|
/sound/oss/dmasound/ |
D | dmasound_atari.c | 1035 int divider, i, idx; in FalconInit() local 1065 divider = 1; in FalconInit() 1069 divider = 1; in FalconInit() 1072 divider = 2; in FalconInit() 1075 divider = 3; in FalconInit() 1078 divider = 4; in FalconInit() 1081 divider = 5; in FalconInit() 1084 divider = 7; in FalconInit() 1087 divider = 9; in FalconInit() 1090 divider = 11; in FalconInit() [all …]
|
/sound/soc/spear/ |
D | spdif_out.c | 94 u32 divider, ctrl; in spdif_out_clock() local 97 divider = DIV_ROUND_CLOSEST(clk_get_rate(host->clk), (rate * 128)); in spdif_out_clock() 101 ctrl |= (divider << SPDIF_DIVIDER_SHIFT) & SPDIF_DIVIDER_MASK; in spdif_out_clock()
|
/sound/isa/es1688/ |
D | es1688_lib.c | 299 unsigned int bits, divider; in snd_es1688_set_rate() local 306 divider = 256 - 7160000*20/(8*82*runtime->rate); in snd_es1688_set_rate() 309 snd_es1688_write(chip, 0xa2, divider); in snd_es1688_set_rate()
|