Home
last modified time | relevance | path

Searched refs:daifmt (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/sound/soc/generic/
Dsimple-card-utils.c63 unsigned int daifmt; in asoc_simple_parse_daifmt() local
65 daifmt = snd_soc_of_parse_daifmt(node, prefix, in asoc_simple_parse_daifmt()
67 daifmt &= ~SND_SOC_DAIFMT_MASTER_MASK; in asoc_simple_parse_daifmt()
77 daifmt = snd_soc_of_parse_daifmt(codec, NULL, NULL, NULL) | in asoc_simple_parse_daifmt()
78 (daifmt & ~SND_SOC_DAIFMT_CLOCK_MASK); in asoc_simple_parse_daifmt()
81 daifmt |= (codec == framemaster) ? in asoc_simple_parse_daifmt()
84 daifmt |= (codec == framemaster) ? in asoc_simple_parse_daifmt()
91 *retfmt = daifmt; in asoc_simple_parse_daifmt()
Dsimple-card.c692 dai_link->dai_fmt = cinfo->daifmt; in asoc_simple_probe()
/Linux-v5.4/sound/soc/meson/
Daxg-card.c312 unsigned int daifmt; in axg_card_parse_daifmt() local
314 daifmt = snd_soc_of_parse_daifmt(node, PREFIX, in axg_card_parse_daifmt()
316 daifmt &= ~SND_SOC_DAIFMT_MASTER_MASK; in axg_card_parse_daifmt()
320 daifmt |= (!framemaster || framemaster == cpu_node) ? in axg_card_parse_daifmt()
323 daifmt |= (!framemaster || framemaster == cpu_node) ? in axg_card_parse_daifmt()
330 return daifmt; in axg_card_parse_daifmt()
/Linux-v5.4/sound/soc/atmel/
Datmel_ssc_dai.c212 switch (ssc_p->daifmt & SND_SOC_DAIFMT_MASTER_MASK) { in atmel_ssc_hw_rule_rate()
235 switch (ssc_p->daifmt & SND_SOC_DAIFMT_MASTER_MASK) { in atmel_ssc_hw_rule_rate()
381 ssc_p->daifmt = fmt; in atmel_ssc_set_dai_fmt()
432 switch (ssc_p->daifmt & SND_SOC_DAIFMT_MASTER_MASK) { in atmel_ssc_cfs()
443 switch (ssc_p->daifmt & SND_SOC_DAIFMT_MASTER_MASK) { in atmel_ssc_cbs()
557 switch (ssc_p->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) { in atmel_ssc_hw_params()
596 ssc_p->daifmt); in atmel_ssc_hw_params()
Datmel_ssc_dai.h98 unsigned short daifmt; member
/Linux-v5.4/include/sound/
Dsimple_card.h21 unsigned int daifmt; member
/Linux-v5.4/drivers/gpu/drm/sti/
Dsti_hdmi.c1165 struct hdmi_codec_daifmt *daifmt, in hdmi_audio_hw_params() argument
1173 if ((daifmt->fmt != HDMI_I2S) || daifmt->bit_clk_inv || in hdmi_audio_hw_params()
1174 daifmt->frame_clk_inv || daifmt->bit_clk_master || in hdmi_audio_hw_params()
1175 daifmt->frame_clk_master) { in hdmi_audio_hw_params()
1177 daifmt->bit_clk_inv, daifmt->frame_clk_inv, in hdmi_audio_hw_params()
1178 daifmt->bit_clk_master, in hdmi_audio_hw_params()
1179 daifmt->frame_clk_master); in hdmi_audio_hw_params()
/Linux-v5.4/drivers/gpu/drm/bridge/
Dsii902x.c493 struct hdmi_codec_daifmt *daifmt, in sii902x_audio_hw_params() argument
506 if (daifmt->bit_clk_master || daifmt->frame_clk_master) { in sii902x_audio_hw_params()
511 switch (daifmt->fmt) { in sii902x_audio_hw_params()
524 daifmt->fmt); in sii902x_audio_hw_params()
528 if (daifmt->bit_clk_inv) in sii902x_audio_hw_params()
533 if (daifmt->frame_clk_inv) in sii902x_audio_hw_params()
/Linux-v5.4/sound/soc/sti/
Duniperif_reader.c87 if ((reader->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) in uni_reader_prepare_pcm()
239 switch (reader->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) { in uni_reader_prepare()
258 switch (reader->daifmt & SND_SOC_DAIFMT_INV_MASK) { in uni_reader_prepare()
Duniperif_player.c422 if ((player->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) == in uni_player_prepare_pcm()
814 switch (player->daifmt & SND_SOC_DAIFMT_INV_MASK) { in uni_player_prepare()
833 switch (player->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) { in uni_player_prepare()
Dsti_uniperif.c306 priv->dai_data.uni->daifmt = fmt; in sti_uniperiph_dai_set_fmt()
Duniperif.h1332 unsigned int daifmt; member
/Linux-v5.4/drivers/gpu/drm/i2c/
Dtda998x_drv.c1061 struct hdmi_codec_daifmt *daifmt, in tda998x_audio_hw_params() argument
1066 bool spdif = daifmt->fmt == HDMI_SPDIF; in tda998x_audio_hw_params()
1076 switch (daifmt->fmt) { in tda998x_audio_hw_params()
1090 dev_err(dev, "%s: Invalid format %d\n", __func__, daifmt->fmt); in tda998x_audio_hw_params()
1095 (daifmt->bit_clk_inv || daifmt->frame_clk_inv || in tda998x_audio_hw_params()
1096 daifmt->bit_clk_master || daifmt->frame_clk_master)) { in tda998x_audio_hw_params()
1098 daifmt->bit_clk_inv, daifmt->frame_clk_inv, in tda998x_audio_hw_params()
1099 daifmt->bit_clk_master, in tda998x_audio_hw_params()
1100 daifmt->frame_clk_master); in tda998x_audio_hw_params()
/Linux-v5.4/drivers/gpu/drm/exynos/
Dexynos_hdmi.c1564 struct hdmi_codec_daifmt *daifmt, in hdmi_audio_hw_params() argument
1569 if (daifmt->fmt != HDMI_I2S || daifmt->bit_clk_inv || in hdmi_audio_hw_params()
1570 daifmt->frame_clk_inv || daifmt->bit_clk_master || in hdmi_audio_hw_params()
1571 daifmt->frame_clk_master) { in hdmi_audio_hw_params()
1573 daifmt->bit_clk_inv, daifmt->frame_clk_inv, in hdmi_audio_hw_params()
1574 daifmt->bit_clk_master, in hdmi_audio_hw_params()
1575 daifmt->frame_clk_master); in hdmi_audio_hw_params()
/Linux-v5.4/sound/soc/codecs/
Dhdmi-codec.c649 struct hdmi_codec_daifmt *daifmt; in hdmi_dai_probe() local
661 daifmt = kzalloc(sizeof(*daifmt), GFP_KERNEL); in hdmi_dai_probe()
662 if (!daifmt) in hdmi_dai_probe()
665 dai->playback_dma_data = daifmt; in hdmi_dai_probe()
/Linux-v5.4/drivers/gpu/drm/zte/
Dzx_hdmi.c394 struct hdmi_codec_daifmt *daifmt, in zx_hdmi_audio_hw_params() argument
403 if (daifmt->fmt != HDMI_SPDIF) { in zx_hdmi_audio_hw_params()
404 DRM_DEV_ERROR(hdmi->dev, "invalid daifmt %d\n", daifmt->fmt); in zx_hdmi_audio_hw_params()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c768 struct hdmi_codec_daifmt *daifmt, in cdn_dp_audio_hw_params() argument
785 switch (daifmt->fmt) { in cdn_dp_audio_hw_params()
793 DRM_DEV_ERROR(dev, "Invalid format %d\n", daifmt->fmt); in cdn_dp_audio_hw_params()
/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c1531 struct hdmi_codec_daifmt *daifmt, in mtk_hdmi_audio_hw_params() argument
1577 switch (daifmt->fmt) { in mtk_hdmi_audio_hw_params()
1592 daifmt->fmt); in mtk_hdmi_audio_hw_params()
/Linux-v5.4/drivers/gpu/drm/msm/hdmi/
Dhdmi.c432 struct hdmi_codec_daifmt *daifmt, in msm_hdmi_audio_hw_params() argument
/Linux-v5.4/arch/sh/boards/mach-se/7724/
Dsetup.c307 .daifmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_CBM_CFM,
/Linux-v5.4/arch/sh/boards/mach-ecovec24/
Dsetup.c876 .daifmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM,