Home
last modified time | relevance | path

Searched refs:divider (Results 1 – 5 of 5) sorted by relevance

/sound/soc/ti/
Domap-dmic.c125 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()
Domap-mcbsp.c959 int divider = 0; in omap_mcbsp_dai_hw_params() local
973 divider = period_words / max_thrsh; in omap_mcbsp_dai_hw_params()
975 divider++; in omap_mcbsp_dai_hw_params()
976 while (period_words % divider && in omap_mcbsp_dai_hw_params()
977 divider < period_words) in omap_mcbsp_dai_hw_params()
978 divider++; in omap_mcbsp_dai_hw_params()
979 if (divider == period_words) in omap_mcbsp_dai_hw_params()
982 pkt_size = period_words / divider; in omap_mcbsp_dai_hw_params()
/sound/oss/dmasound/
Ddmasound_atari.c1035 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/
Dspdif_out.c94 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/
Des1688_lib.c299 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()