Home
last modified time | relevance | path

Searched refs:quirks (Results 1 – 14 of 14) sorted by relevance

/sound/soc/sunxi/
Dsun4i-spdif.c188 const struct sun4i_spdif_quirks *quirks; member
193 const struct sun4i_spdif_quirks *quirks = host->quirks; in sun4i_spdif_configure() local
200 quirks->val_fctl_ftx, quirks->val_fctl_ftx); in sun4i_spdif_configure()
509 const struct sun4i_spdif_quirks *quirks; in sun4i_spdif_probe() local
531 quirks = of_device_get_match_data(&pdev->dev); in sun4i_spdif_probe()
532 if (quirks == NULL) { in sun4i_spdif_probe()
536 host->quirks = quirks; in sun4i_spdif_probe()
554 host->dma_params_tx.addr = res->start + quirks->reg_dac_txdata; in sun4i_spdif_probe()
560 if (quirks->has_reset) { in sun4i_spdif_probe()
Dsun8i-codec-analog.c690 const struct sun8i_codec_analog_quirks *quirks) in sun8i_codec_analog_add_mixer() argument
696 if (!quirks->has_mic2 && !quirks->has_linein) { in sun8i_codec_analog_add_mixer()
739 const struct sun8i_codec_analog_quirks *quirks; in sun8i_codec_analog_cmpnt_probe() local
747 quirks = of_device_get_match_data(dev); in sun8i_codec_analog_cmpnt_probe()
750 ret = sun8i_codec_analog_add_mixer(cmpnt, quirks); in sun8i_codec_analog_cmpnt_probe()
754 if (quirks->has_headphone) { in sun8i_codec_analog_cmpnt_probe()
760 if (quirks->has_hmic) { in sun8i_codec_analog_cmpnt_probe()
766 if (quirks->has_linein) { in sun8i_codec_analog_cmpnt_probe()
772 if (quirks->has_lineout) { in sun8i_codec_analog_cmpnt_probe()
778 if (quirks->has_mbias) { in sun8i_codec_analog_cmpnt_probe()
[all …]
Dsun4i-codec.c1701 const struct sun4i_codec_quirks *quirks; in sun4i_codec_probe() local
1719 quirks = of_device_get_match_data(&pdev->dev); in sun4i_codec_probe()
1720 if (quirks == NULL) { in sun4i_codec_probe()
1726 quirks->regmap_config); in sun4i_codec_probe()
1745 if (quirks->has_reset) { in sun4i_codec_probe()
1766 quirks->reg_adc_fifoc); in sun4i_codec_probe()
1791 scodec->playback_dma_data.addr = res->start + quirks->reg_dac_txdata; in sun4i_codec_probe()
1796 scodec->capture_dma_data.addr = res->start + quirks->reg_adc_rxdata; in sun4i_codec_probe()
1800 ret = devm_snd_soc_register_component(&pdev->dev, quirks->codec, in sun4i_codec_probe()
1821 card = quirks->create_card(&pdev->dev); in sun4i_codec_probe()
/sound/soc/samsung/
Di2s.c50 u32 quirks; member
114 u32 quirks; member
329 int tdm = priv->quirks & QUIRK_SUPPORTS_TDM; in set_bfs()
549 if ((priv->quirks & QUIRK_NO_MUXPSR) in i2s_set_sysclk()
835 if (!any_active(i2s) && (priv->quirks & QUIRK_NEED_RSTCLR)) in i2s_startup()
918 if (!(priv->quirks & QUIRK_NO_MUXPSR)) { in config_setup()
1057 if (priv->quirks & QUIRK_NEED_RSTCLR) in samsung_i2s_dai_probe()
1060 if (priv->quirks & QUIRK_SUPPORTS_IDMA) in samsung_i2s_dai_probe()
1095 if (priv->quirks & QUIRK_NEED_RSTCLR) { in samsung_i2s_dai_remove()
1295 if (!(priv->quirks & QUIRK_NO_MUXPSR)) { in i2s_register_clock_provider()
[all …]
/sound/soc/intel/boards/
Dcht_bsw_max98090_ti.c39 int quirks; member
52 if (ctx->quirks & QUIRK_PMC_PLT_CLK_0) in platform_clock_control()
225 if (ctx->quirks & QUIRK_PMC_PLT_CLK_0) in cht_codec_init()
540 drv->quirks = (unsigned long)dmi_id->driver_data; in snd_cht_mc_probe()
567 if (drv->quirks & QUIRK_PMC_PLT_CLK_0) in snd_cht_mc_probe()
587 if (drv->quirks & QUIRK_PMC_PLT_CLK_0) { in snd_cht_mc_probe()
610 if (ctx->quirks & QUIRK_PMC_PLT_CLK_0) in snd_cht_mc_remove()
/sound/soc/meson/
Daxg-tdmout.c110 const struct axg_tdm_formatter_hw *quirks, in axg_tdmout_prepare() argument
113 unsigned int val, skew = quirks->skew_offset; in axg_tdmout_prepare()
240 .quirks = &(const struct axg_tdm_formatter_hw) {
249 .quirks = &(const struct axg_tdm_formatter_hw) {
309 .quirks = &(const struct axg_tdm_formatter_hw) {
Daxg-tdm-formatter.h26 const struct axg_tdm_formatter_hw *quirks,
34 const struct axg_tdm_formatter_hw *quirks; member
Daxg-tdmin.c112 const struct axg_tdm_formatter_hw *quirks, in axg_tdmin_prepare() argument
115 unsigned int val, skew = quirks->skew_offset; in axg_tdmin_prepare()
230 .quirks = &(const struct axg_tdm_formatter_hw) {
Daxg-tdm-formatter.c120 formatter->drv->quirks, in axg_tdm_formatter_enable()
/sound/soc/dwc/
Ddwc-i2s.c491 dev->quirks & DW_I2S_QUIRK_COMP_PARAM1) in dw_configure_dai()
495 dev->quirks & DW_I2S_QUIRK_COMP_PARAM1) in dw_configure_dai()
503 if (dev->quirks & DW_I2S_QUIRK_16BIT_IDX_OVERRIDE) in dw_configure_dai()
517 if (dev->quirks & DW_I2S_QUIRK_16BIT_IDX_OVERRIDE) in dw_configure_dai()
554 if (dev->quirks & DW_I2S_QUIRK_16BIT_IDX_OVERRIDE) in dw_configure_dai_by_pd()
657 dev->quirks = pdata->quirks; in dw_i2s_probe()
658 if (dev->quirks & DW_I2S_QUIRK_COMP_REG_OFFSET) { in dw_i2s_probe()
Dlocal.h94 unsigned int quirks; member
/sound/usb/
DMakefile19 quirks.o \
/sound/soc/sof/
Dtopology.c757 offsetof(struct sof_ipc_dai_ssp_params, quirks), 0},
2488 config->ssp.mclk_id, config->ssp.quirks); in sof_link_ssp_load()
/sound/pci/
DKconfig303 can be identified in the quirks list.