/Linux-v4.19/drivers/clk/rockchip/ |
D | clk-cpu.c | 65 struct rockchip_cpuclk_rate_table *rate_table; member 77 const struct rockchip_cpuclk_rate_table *rate_table = in rockchip_get_cpuclk_settings() local 78 cpuclk->rate_table; in rockchip_get_cpuclk_settings() 82 if (rate == rate_table[i].prate) in rockchip_get_cpuclk_settings() 83 return &rate_table[i]; in rockchip_get_cpuclk_settings() 321 cpuclk->rate_table = kmemdup(rates, in rockchip_clk_register_cpuclk() 324 if (!cpuclk->rate_table) { in rockchip_clk_register_cpuclk() 340 kfree(cpuclk->rate_table); in rockchip_clk_register_cpuclk()
|
D | clk-pll.c | 47 const struct rockchip_pll_rate_table *rate_table; member 61 const struct rockchip_pll_rate_table *rate_table = pll->rate_table; in rockchip_get_pll_settings() local 65 if (rate == rate_table[i].rate) in rockchip_get_pll_settings() 66 return &rate_table[i]; in rockchip_get_pll_settings() 76 const struct rockchip_pll_rate_table *rate_table = pll->rate_table; in rockchip_pll_round_rate() local 81 if (drate >= rate_table[i].rate) in rockchip_pll_round_rate() 82 return rate_table[i].rate; in rockchip_pll_round_rate() 86 return rate_table[i - 1].rate; in rockchip_pll_round_rate() 845 struct rockchip_pll_rate_table *rate_table, in rockchip_clk_register_pll() argument 914 if (rate_table) { in rockchip_clk_register_pll() [all …]
|
D | clk.h | 286 struct rockchip_pll_rate_table *rate_table; member 305 .rate_table = _rtable, \ 313 struct rockchip_pll_rate_table *rate_table,
|
/Linux-v4.19/sound/pci/ac97/ |
D | ac97_pcm.c | 169 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3]; in get_slot_reg() 322 static unsigned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *… in get_pslots() argument 354 *rate_table = 0; in get_pslots() 367 *rate_table = 1; in get_pslots() 373 *rate_table = 2; in get_pslots() 392 *rate_table = 0; in get_pslots() 454 unsigned char rate_table[2][4]; in snd_ac97_pcm_assign() local 464 memset(rate_table, 0, sizeof(rate_table)); in snd_ac97_pcm_assign() 470 avail_slots[0][i] = get_pslots(codec, &rate_table[0][i], &spdif_slots[i]); in snd_ac97_pcm_assign() 517 rpcm->r[0].rate_table[j] = rate_table[pcm->stream][j]; in snd_ac97_pcm_assign() [all …]
|
/Linux-v4.19/drivers/clk/samsung/ |
D | clk-pll.c | 32 const struct samsung_pll_rate_table *rate_table; member 40 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_get_pll_settings() local 44 if (rate == rate_table[i].rate) in samsung_get_pll_settings() 45 return &rate_table[i]; in samsung_get_pll_settings() 55 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_pll_round_rate() local 60 if (drate >= rate_table[i].rate) in samsung_pll_round_rate() 61 return rate_table[i].rate; in samsung_pll_round_rate() 65 return rate_table[i - 1].rate; in samsung_pll_round_rate() 1271 if (pll_clk->rate_table) { in _samsung_clk_register_pll() 1273 for (len = 0; pll_clk->rate_table[len].rate != 0; ) in _samsung_clk_register_pll() [all …]
|
D | clk-s3c2410.c | 384 s3c2410_plls[mpll].rate_table = pll_s3c2410_12mhz_tbl; in s3c2410_common_clk_init() 385 s3c2410_plls[upll].rate_table = pll_s3c2410_12mhz_tbl; in s3c2410_common_clk_init() 398 s3c244x_common_plls[mpll].rate_table = in s3c2410_common_clk_init() 400 s3c244x_common_plls[upll].rate_table = in s3c2410_common_clk_init()
|
D | clk.h | 258 const struct samsung_pll_rate_table *rate_table; member 270 .rate_table = _rtable, \
|
D | clk-exynos4.c | 1453 exynos4210_plls[apll].rate_table = in exynos4_clk_init() 1455 exynos4210_plls[epll].rate_table = in exynos4_clk_init() 1460 exynos4210_plls[vpll].rate_table = in exynos4_clk_init() 1467 exynos4x12_plls[apll].rate_table = in exynos4_clk_init() 1469 exynos4x12_plls[epll].rate_table = in exynos4_clk_init() 1471 exynos4x12_plls[vpll].rate_table = in exynos4_clk_init()
|
D | clk-exynos5250.c | 840 exynos5250_plls[epll].rate_table = epll_24mhz_tbl; in exynos5250_clk_init() 841 exynos5250_plls[apll].rate_table = apll_24mhz_tbl; in exynos5250_clk_init() 845 exynos5250_plls[vpll].rate_table = vpll_24mhz_tbl; in exynos5250_clk_init()
|
/Linux-v4.19/sound/usb/ |
D | format.c | 194 fp->rate_table = kmalloc_array(nr_rates, sizeof(int), in parse_audio_format_rates_v1() 196 if (fp->rate_table == NULL) in parse_audio_format_rates_v1() 219 fp->rate_table[fp->nr_rates] = rate; in parse_audio_format_rates_v1() 276 if (fp->rate_table) in parse_uac2_sample_rate_range() 277 fp->rate_table[nr_rates] = rate; in parse_uac2_sample_rate_range() 359 kfree(fp->rate_table); in parse_audio_format_rates_v2v3() 360 fp->rate_table = NULL; in parse_audio_format_rates_v2v3() 369 fp->rate_table = kmalloc_array(fp->nr_rates, sizeof(int), GFP_KERNEL); in parse_audio_format_rates_v2v3() 370 if (!fp->rate_table) { in parse_audio_format_rates_v2v3()
|
D | quirks-table.h | 1640 .rate_table = (unsigned int[]) { 44100 } 1658 .rate_table = (unsigned int[]) { 44100 } 1707 .rate_table = (unsigned int[]) { 44100 } 1725 .rate_table = (unsigned int[]) { 44100 } 2124 .rate_table = (unsigned int[]) { 2150 .rate_table = (unsigned int[]) { 2195 .rate_table = (unsigned int[]) { 2221 .rate_table = (unsigned int[]) { 2265 .rate_table = (unsigned int[]) { 2289 .rate_table = (unsigned int[]) { [all …]
|
D | quirks.c | 146 unsigned *rate_table = NULL; in create_fixed_stream_quirk() local 158 rate_table = kmemdup(fp->rate_table, in create_fixed_stream_quirk() 160 if (!rate_table) { in create_fixed_stream_quirk() 164 fp->rate_table = rate_table; in create_fixed_stream_quirk() 198 kfree(rate_table); in create_fixed_stream_quirk()
|
D | stream.c | 52 kfree(fp->rate_table); in free_substream() 832 kfree(fp->rate_table); in snd_usb_get_audioformat_uac12() 1042 kfree(fp->rate_table); in snd_usb_get_audioformat_uac3() 1063 kfree(fp->rate_table); in snd_usb_get_audioformat_uac3() 1185 kfree(fp->rate_table); in snd_usb_parse_audio_interface()
|
D | card.h | 30 unsigned int *rate_table; /* rate table */ member
|
D | proc.c | 106 snd_iprintf(buffer, "%d", fp->rate_table[i]); in proc_dump_substream_formats()
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | clkt2xxx_virt_prcm_set.c | 46 const struct prcm_config *rate_table; variable 82 for (ptr = rate_table; ptr->mpu_speed; ptr++) { in omap2_round_to_table_rate() 106 for (prcm = rate_table; prcm->mpu_speed; prcm++) { in omap2_select_table_rate() 179 for (prcm = rate_table; prcm->mpu_speed; prcm++) { in omap2xxx_clkt_vps_check_bootloader_rates()
|
D | io.c | 440 rate_table = omap2420_rate_table; in omap2420_init_early() 464 rate_table = omap2430_rate_table; in omap2430_init_early()
|
D | opp2xxx.h | 427 extern const struct prcm_config *rate_table;
|
/Linux-v4.19/sound/soc/codecs/ |
D | max98925.c | 211 } rate_table[] = { variable 265 for (i = 0; i < ARRAY_SIZE(rate_table); i++) { in max98925_rate_value() 266 if (rate_table[i].rate >= rate) { in max98925_rate_value() 267 *value = rate_table[i].sr; in max98925_rate_value() 268 *n = rate_table[i].divisors[clock][0]; in max98925_rate_value() 269 *m = rate_table[i].divisors[clock][1]; in max98925_rate_value()
|
D | max98926.c | 261 } rate_table[] = { variable 443 for (i = 0; i < ARRAY_SIZE(rate_table); i++) { in max98926_dai_hw_params() 444 if (rate_table[i].rate >= rate) { in max98926_dai_hw_params() 445 dai_sr = rate_table[i].sr; in max98926_dai_hw_params()
|
D | max98927.c | 247 static const int rate_table[] = { variable 279 for (i = 0; i < ARRAY_SIZE(rate_table); i++) { in max98927_set_clock() 280 if (rate_table[i] >= max98927->sysclk) in max98927_set_clock() 283 if (i == ARRAY_SIZE(rate_table)) { in max98927_set_clock()
|
D | max98088.c | 935 } rate_table[] = { variable 952 for (i = 0; i < ARRAY_SIZE(rate_table); i++) { in rate_value() 953 if (rate_table[i].rate >= rate) { in rate_value() 954 *value = rate_table[i].sr; in rate_value() 958 *value = rate_table[0].sr; in rate_value()
|
D | max98095.c | 914 } rate_table[] = { variable 931 for (i = 0; i < ARRAY_SIZE(rate_table); i++) { in rate_value() 932 if (rate_table[i].rate >= rate) { in rate_value() 933 *value = rate_table[i].sr; in rate_value() 937 *value = rate_table[0].sr; in rate_value()
|
/Linux-v4.19/drivers/hwmon/ |
D | ads1015.c | 81 const unsigned int * const rate_table = data->id == ads1115 ? in ads1015_read_adc() local 92 conversion_time_ms = DIV_ROUND_UP(1000, rate_table[data_rate]); in ads1015_read_adc()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 817 struct power_per_rate *rate_table; in mt7601u_tssi_params_get() local 830 rate_table = dev->ee->power_rate_table.cck; in mt7601u_tssi_params_get() 835 rate_table = dev->ee->power_rate_table.ofdm; in mt7601u_tssi_params_get() 841 rate_table = dev->ee->power_rate_table.ht; in mt7601u_tssi_params_get() 846 p.trgt_power += rate_table[tx_rate / 2].bw20; in mt7601u_tssi_params_get() 848 p.trgt_power += rate_table[tx_rate / 2].bw40; in mt7601u_tssi_params_get()
|