Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 20 of 20) sorted by relevance

/sound/soc/tegra/
A Dtegra_cif.h50 struct tegra_cif_conf *conf) in tegra_set_cif() argument
57 (conf->audio_bits << TEGRA_ACIF_CTRL_AUDIO_BITS_SHIFT) | in tegra_set_cif()
59 (conf->expand << TEGRA_ACIF_CTRL_EXPAND_SHIFT) | in tegra_set_cif()
61 (conf->replicate << TEGRA_ACIF_CTRL_REPLICATE_SHIFT) | in tegra_set_cif()
62 (conf->truncate << TEGRA_ACIF_CTRL_TRUNCATE_SHIFT) | in tegra_set_cif()
63 (conf->mono_conv << TEGRA_ACIF_CTRL_MONO_CONV_SHIFT); in tegra_set_cif()
69 struct tegra_cif_conf *conf) in tegra264_set_cif() argument
78 (conf->expand << TEGRA_ACIF_CTRL_EXPAND_SHIFT) | in tegra264_set_cif()
80 (conf->replicate << TEGRA_ACIF_CTRL_REPLICATE_SHIFT) | in tegra264_set_cif()
81 (conf->truncate << TEGRA_ACIF_CTRL_TRUNCATE_SHIFT) | in tegra264_set_cif()
[all …]
A Dtegra30_ahub.c630 (conf->audio_bits << in tegra30_ahub_set_cif()
634 (conf->expand << in tegra30_ahub_set_cif()
638 (conf->replicate << in tegra30_ahub_set_cif()
640 (conf->direction << in tegra30_ahub_set_cif()
642 (conf->truncate << in tegra30_ahub_set_cif()
644 (conf->mono_conv << in tegra30_ahub_set_cif()
666 (conf->expand << in tegra124_ahub_set_cif()
670 (conf->replicate << in tegra124_ahub_set_cif()
672 (conf->direction << in tegra124_ahub_set_cif()
674 (conf->truncate << in tegra124_ahub_set_cif()
[all …]
A Dtegra210_mbdrc.c785 &conf->band_params[i]; in tegra210_mbdrc_hw_params()
810 conf->mode << TEGRA210_MBDRC_CFG_MBDRC_MODE_SHIFT); in tegra210_mbdrc_component_init()
814 conf->rms_off << TEGRA210_MBDRC_CFG_RMS_OFFSET_SHIFT); in tegra210_mbdrc_component_init()
818 conf->peak_rms_mode << TEGRA210_MBDRC_CFG_PEAK_RMS_SHIFT); in tegra210_mbdrc_component_init()
822 conf->filter_structure << in tegra210_mbdrc_component_init()
827 conf->shift_ctrl << TEGRA210_MBDRC_CFG_SHIFT_CTRL_SHIFT); in tegra210_mbdrc_component_init()
831 __ffs(conf->frame_size) << in tegra210_mbdrc_component_init()
836 conf->channel_mask << TEGRA210_MBDRC_CHANNEL_MASK_SHIFT); in tegra210_mbdrc_component_init()
840 conf->fa_factor << TEGRA210_MBDRC_FAST_FACTOR_ATTACK_SHIFT); in tegra210_mbdrc_component_init()
844 conf->fr_factor << TEGRA210_MBDRC_FAST_FACTOR_ATTACK_SHIFT); in tegra210_mbdrc_component_init()
[all …]
A Dtegra30_ahub.h489 struct tegra30_ahub_cif_conf *conf);
491 struct tegra30_ahub_cif_conf *conf);
497 struct tegra30_ahub_cif_conf *conf);
A Dtegra30_i2s.h220 struct tegra30_ahub_cif_conf *conf);
/sound/soc/codecs/
A Didt821034.c121 u8 conf; in idt821034_set_channel_power() local
164 u8 conf; in idt821034_set_codec_conf() local
181 conf |= IDT821034_CONF_PWRUP_RX; in idt821034_set_codec_conf()
184 conf |= IDT821034_CONF_PWRUP_TX; in idt821034_set_codec_conf()
210 u8 conf; in idt821034_set_channel_ts() local
247 u8 conf; in idt821034_set_slic_conf() local
269 u8 conf; in idt821034_write_slic_raw() local
335 u8 conf; in idt821034_set_gain_channel() local
771 u8 conf; in idt821034_dai_set_fmt() local
802 u8 conf; in idt821034_dai_hw_params() local
[all …]
A Dtas2781-fmwlib.c2366 struct tasdevice_config *conf; in tasdevice_select_tuningprm_cfg() local
2435 conf = &(tas_fmw->configs[cfg_no]); in tasdevice_select_tuningprm_cfg()
2437 tasdevice_load_data(tas_priv, &(conf->dev_data)); in tasdevice_select_tuningprm_cfg()
/sound/soc/stm/
A Dstm32_sai.c187 const struct stm32_sai_conf *conf; in stm32_sai_probe() local
202 conf = device_get_match_data(&pdev->dev); in stm32_sai_probe()
203 if (conf) in stm32_sai_probe()
204 memcpy(&sai->conf, (const struct stm32_sai_conf *)conf, in stm32_sai_probe()
216 if (sai->conf.get_sai_ck_parent) { in stm32_sai_probe()
217 ret = sai->conf.get_sai_ck_parent(sai); in stm32_sai_probe()
248 sai->conf.fifo_size = FIELD_GET(SAI_HWCFGR_FIFO_SIZE, val); in stm32_sai_probe()
249 sai->conf.has_spdif_pdm = !!FIELD_GET(SAI_HWCFGR_SPDIF_PDM, in stm32_sai_probe()
253 sai->conf.version = val; in stm32_sai_probe()
A Dstm32_sai.h257 #define STM_SAI_IS_F4(ip) ((ip)->conf.version == STM_SAI_STM32F4)
259 ((ip)->pdata->conf.has_spdif_pdm)
303 struct stm32_sai_conf conf; member
A Dstm32_sai_sub.c54 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm)
55 #define STM_SAI_HAS_PDM(x) ((x)->pdata->conf.has_spdif_pdm)
325 int version = sai->pdata->conf.version; in stm32_sai_get_clk_div()
346 int version = sai->pdata->conf.version; in stm32_sai_set_clk_div()
1324 if (sai->pdata->conf.fifo_size < 8 || sai->pdata->conf.no_dma_burst) in stm32_sai_dai_probe()
1642 const struct snd_dmaengine_pcm_config *conf = &stm32_sai_pcm_config; in stm32_sai_sub_probe() local
1662 if (sai->pdata->conf.get_sai_ck_parent) { in stm32_sai_sub_probe()
1687 conf = &stm32_sai_pcm_config_spdif; in stm32_sai_sub_probe()
1689 ret = snd_dmaengine_pcm_register(&pdev->dev, conf, 0); in stm32_sai_sub_probe()
A Dstm32_i2s.c237 const struct stm32_i2s_conf *conf; member
1200 i2s->conf = device_get_match_data(&pdev->dev); in stm32_i2s_parse_dt()
1201 if (!i2s->conf) in stm32_i2s_parse_dt()
1221 if (i2s->conf->get_i2s_clk_parent) { in stm32_i2s_parse_dt()
1228 if (i2s->conf->get_i2s_clk_parent) { in stm32_i2s_parse_dt()
1229 ret = i2s->conf->get_i2s_clk_parent(i2s); in stm32_i2s_parse_dt()
1298 i2s->base, i2s->conf->regmap_conf); in stm32_i2s_probe()
/sound/soc/renesas/rcar/
A Dgen.c153 #define rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf) \ argument
154 _rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf, ARRAY_SIZE(conf))
159 const struct rsnd_regmap_field_conf *conf, in _rsnd_gen_regmap_init() argument
198 regf.reg = conf[i].reg_offset; in _rsnd_gen_regmap_init()
199 regf.id_offset = conf[i].id_offset; in _rsnd_gen_regmap_init()
209 gen->regs[conf[i].idx] = regs; in _rsnd_gen_regmap_init()
210 gen->reg_name[conf[i].idx] = conf[i].reg_name; in _rsnd_gen_regmap_init()
/sound/soc/meson/
A Daxg-spdifin.c53 const struct axg_spdifin_cfg *conf; member
90 rate = priv->conf->mode_rates[mode]; in axg_spdifin_get_rate()
155 return rate / (128 * priv->conf->mode_rates[mode]); in axg_spdifin_mode_timer()
165 ret = clk_set_rate(priv->refclk, priv->conf->ref_rate); in axg_spdifin_sample_mode_config()
426 snd_pcm_rate_to_rate_bit(priv->conf->mode_rates[i]); in axg_spdifin_get_dai_drv()
449 priv->conf = of_device_get_match_data(dev); in axg_spdifin_probe()
450 if (!priv->conf) { in axg_spdifin_probe()
/sound/soc/jz4740/
A Djz4740-i2s.c179 unsigned int conf = 0, format = 0; in jz4740_i2s_set_fmt() local
183 conf |= JZ_AIC_CONF_BIT_CLK_MASTER | JZ_AIC_CONF_SYNC_CLK_MASTER; in jz4740_i2s_set_fmt()
187 conf |= JZ_AIC_CONF_SYNC_CLK_MASTER; in jz4740_i2s_set_fmt()
190 conf |= JZ_AIC_CONF_BIT_CLK_MASTER; in jz4740_i2s_set_fmt()
215 regmap_update_bits(i2s->regmap, JZ_REG_AIC_CONF, conf_mask, conf); in jz4740_i2s_set_fmt()
258 uint32_t ctrl, conf; in jz4740_i2s_hw_params() local
262 regmap_read(i2s->regmap, JZ_REG_AIC_CONF, &conf); in jz4740_i2s_hw_params()
307 if (conf & (JZ_AIC_CONF_BIT_CLK_MASTER | JZ_AIC_CONF_SYNC_CLK_MASTER)) { in jz4740_i2s_hw_params()
/sound/pci/ctxfi/
A Dctatc.c470 conf[0].pitch = pitch; in setup_src_node_conf()
471 conf[0].mix_msr = conf[0].imp_msr = conf[0].msr = 1; in setup_src_node_conf()
472 conf[0].vo = 1; in setup_src_node_conf()
478 conf[0].msr = conf[0].mix_msr = 1; in setup_src_node_conf()
479 conf[0].imp_msr = atc->msr; in setup_src_node_conf()
480 conf[0].vo = 0; in setup_src_node_conf()
483 conf[1].msr = conf[1].mix_msr = conf[1].imp_msr = 1; in setup_src_node_conf()
484 conf[1].vo = 1; in setup_src_node_conf()
489 conf[0].pitch = pitch; in setup_src_node_conf()
490 conf[0].msr = conf[0].mix_msr in setup_src_node_conf()
[all …]
A Dctdaio.c368 unsigned int conf; in dao_rsc_init() local
392 conf = (desc->msr & 0x7) | (desc->passthru << 3); in dao_rsc_init()
394 daio_device_index(dao->daio.type, hw), conf); in dao_rsc_init()
A Dcthw20k2.c988 static int daio_mgr_dao_init(void *blk, unsigned int idx, unsigned int conf) in daio_mgr_dao_init() argument
994 switch ((conf & 0xf)) { in daio_mgr_dao_init()
1011 set_field(&ctl->txctl[idx], ATXCTL_CD, (!(conf & 0x7))); in daio_mgr_dao_init()
1013 set_field(&ctl->txctl[idx], ATXCTL_LIV, (conf >> 4) & 0x1); in daio_mgr_dao_init()
1015 set_field(&ctl->txctl[idx], ATXCTL_RIV, (conf >> 4) & 0x1); in daio_mgr_dao_init()
1017 ((conf >> 3) & 0x1) ? 0 : 0); in daio_mgr_dao_init()
A Dcthardware.h171 unsigned int conf);
A Dcthw20k1.c1034 static int daio_mgr_dao_init(void *blk, unsigned int idx, unsigned int conf) in daio_mgr_dao_init() argument
1040 switch ((conf & 0x7)) { in daio_mgr_dao_init()
1057 (conf >> 4) & 0x1); /* Non-audio */ in daio_mgr_dao_init()
1059 (conf >> 4) & 0x1); /* Non-audio */ in daio_mgr_dao_init()
1061 ((conf >> 3) & 0x1) ? 2 : 2); /* Raw */ in daio_mgr_dao_init()
/sound/hda/common/
A Dauto_parser.c692 #define is_hdmi_cfg(conf) \ argument
693 (get_defcfg_location(conf) == AC_JACK_LOC_HDMI)

Completed in 72 milliseconds