Home
last modified time | relevance | path

Searched refs:rt1308 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Drt1308-sdw.c207 reg = rt1308->bq_params[i] | (rt1308->bq_params[i + 1] << 8); in rt1308_apply_bq_params()
219 if (rt1308->hw_init) in rt1308_io_init()
243 rt1308->hw_ver = tmp; in rt1308_io_init()
292 rt1308->hw_init = true; in rt1308_io_init()
523 rt1308->slots = slots; in rt1308_sdw_set_tdm_slot()
558 if (rt1308->slots) { in rt1308_sdw_hw_params()
606 rt1308->bq_params = devm_kzalloc(dev, rt1308->bq_params_cnt, GFP_KERNEL); in rt1308_sdw_parse_dt()
627 rt1308_sdw_parse_dt(rt1308, &rt1308->sdw_slave->dev); in rt1308_sdw_component_probe()
686 rt1308 = devm_kzalloc(dev, sizeof(*rt1308), GFP_KERNEL); in rt1308_sdw_init()
687 if (!rt1308) in rt1308_sdw_init()
[all …]
H A Drt1308.c460 pre_div = rt1308_get_clk_info(rt1308->sysclk, rt1308->lrck); in rt1308_hw_params()
475 rt1308->bclk = rt1308->lrck * (32 << bclk_ms); in rt1308_hw_params()
527 rt1308->master = 0; in rt1308_set_dai_fmt()
581 if (freq == rt1308->sysclk && clk_id == rt1308->sysclk_src) in rt1308_set_component_sysclk()
606 rt1308->sysclk = freq; in rt1308_set_component_sysclk()
623 if (source == rt1308->pll_src && freq_in == rt1308->pll_in && in rt1308_set_component_pll()
630 rt1308->pll_in = 0; in rt1308_set_component_pll()
631 rt1308->pll_out = 0; in rt1308_set_component_pll()
679 rt1308->pll_in = freq_in; in rt1308_set_component_pll()
822 if (rt1308 == NULL) in rt1308_i2c_probe()
[all …]
H A DMakefile213 snd-soc-rt1308-objs := rt1308.o
214 snd-soc-rt1308-sdw-objs := rt1308-sdw.o
594 obj-$(CONFIG_SND_SOC_RT1308) += snd-soc-rt1308.o
595 obj-$(CONFIG_SND_SOC_RT1308_SDW) += snd-soc-rt1308-sdw.o
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Drt1308.txt7 - compatible : "realtek,rt1308".
14 rt1308: rt1308@10 {
15 compatible = "realtek,rt1308";