/linux-6.6.21/sound/soc/mediatek/common/ |
D | mtk-soundcard-driver.c | 45 unsigned int daifmt; in set_dailink_daifmt() local 56 daifmt = snd_soc_daifmt_parse_format(sub_node, NULL); in set_dailink_daifmt() 57 if (daifmt) { in set_dailink_daifmt() 59 dai_link->dai_fmt |= daifmt; in set_dailink_daifmt()
|
/linux-6.6.21/sound/soc/meson/ |
D | meson-card-utils.c | 113 unsigned int daifmt; in meson_card_parse_daifmt() local 115 daifmt = snd_soc_daifmt_parse_format(node, NULL); in meson_card_parse_daifmt() 121 daifmt |= (!framemaster || framemaster == cpu_node) ? in meson_card_parse_daifmt() 124 daifmt |= (!framemaster || framemaster == cpu_node) ? in meson_card_parse_daifmt() 131 return daifmt; in meson_card_parse_daifmt()
|
/linux-6.6.21/sound/soc/generic/ |
D | audio-graph-card2.c | 544 unsigned int *daifmt, unsigned int *bit_frame) in graph_parse_daifmt() argument 577 if (!(*daifmt & SND_SOC_DAIFMT_##name##_MASK) && \ in graph_parse_daifmt() 579 *daifmt |= fmt & SND_SOC_DAIFMT_##name##_MASK in graph_parse_daifmt() 601 unsigned int daifmt = 0, daiclk = 0; in graph_link_init() local 626 graph_parse_daifmt(ep, &daifmt, &bit_frame); /* (C) */ in graph_link_init() 627 graph_parse_daifmt(port, &daifmt, &bit_frame); /* (B) */ in graph_link_init() 629 graph_parse_daifmt(ports, &daifmt, &bit_frame); /* (A) */ in graph_link_init() 640 dai_link->dai_fmt = daifmt | daiclk; in graph_link_init()
|
D | simple-card-utils.c | 90 unsigned int daifmt; in asoc_simple_parse_daifmt() local 92 daifmt = snd_soc_daifmt_parse_format(node, prefix); in asoc_simple_parse_daifmt() 103 daifmt |= snd_soc_daifmt_parse_clock_provider_as_flag(codec, NULL); in asoc_simple_parse_daifmt() 105 daifmt |= snd_soc_daifmt_clock_provider_from_bitmap( in asoc_simple_parse_daifmt() 112 *retfmt = daifmt; in asoc_simple_parse_daifmt()
|
/linux-6.6.21/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 212 switch (ssc_p->daifmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in atmel_ssc_hw_rule_rate() 235 switch (ssc_p->daifmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in atmel_ssc_hw_rule_rate() 384 ssc_p->daifmt = fmt; in atmel_ssc_set_dai_fmt() 435 switch (ssc_p->daifmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in atmel_ssc_cfs() 446 switch (ssc_p->daifmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in atmel_ssc_cbs() 560 switch (ssc_p->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) { in atmel_ssc_hw_params() 599 ssc_p->daifmt); in atmel_ssc_hw_params()
|
D | atmel_ssc_dai.h | 98 unsigned short daifmt; member
|
/linux-6.6.21/drivers/gpu/drm/sti/ |
D | sti_hdmi.c | 1172 struct hdmi_codec_daifmt *daifmt, in hdmi_audio_hw_params() argument 1180 if ((daifmt->fmt != HDMI_I2S) || daifmt->bit_clk_inv || in hdmi_audio_hw_params() 1181 daifmt->frame_clk_inv || daifmt->bit_clk_provider || in hdmi_audio_hw_params() 1182 daifmt->frame_clk_provider) { in hdmi_audio_hw_params() 1184 daifmt->bit_clk_inv, daifmt->frame_clk_inv, in hdmi_audio_hw_params() 1185 daifmt->bit_clk_provider, in hdmi_audio_hw_params() 1186 daifmt->frame_clk_provider); in hdmi_audio_hw_params()
|
/linux-6.6.21/include/sound/ |
D | simple_card.h | 21 unsigned int daifmt; member
|
/linux-6.6.21/sound/soc/sti/ |
D | uniperif_reader.c | 87 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()
|
D | uniperif_player.c | 422 if ((player->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) == in uni_player_prepare_pcm() 815 switch (player->daifmt & SND_SOC_DAIFMT_INV_MASK) { in uni_player_prepare() 834 switch (player->daifmt & SND_SOC_DAIFMT_FORMAT_MASK) { in uni_player_prepare()
|
D | sti_uniperif.c | 307 priv->dai_data.uni->daifmt = fmt; in sti_uniperiph_dai_set_fmt()
|
/linux-6.6.21/drivers/gpu/drm/msm/dp/ |
D | dp_audio.h | 69 struct hdmi_codec_daifmt *daifmt,
|
D | dp_audio.c | 510 struct hdmi_codec_daifmt *daifmt, in dp_audio_hw_params() argument
|
/linux-6.6.21/sound/soc/codecs/ |
D | cros_ec_codec.c | 284 enum ec_codec_i2s_rx_daifmt daifmt; in i2s_rx_set_fmt() local 302 daifmt = EC_CODEC_I2S_RX_DAIFMT_I2S; in i2s_rx_set_fmt() 305 daifmt = EC_CODEC_I2S_RX_DAIFMT_RIGHT_J; in i2s_rx_set_fmt() 308 daifmt = EC_CODEC_I2S_RX_DAIFMT_LEFT_J; in i2s_rx_set_fmt() 314 dev_dbg(component->dev, "set format to %u\n", daifmt); in i2s_rx_set_fmt() 317 p.set_daifmt_param.daifmt = daifmt; in i2s_rx_set_fmt()
|
D | cs35l41.c | 687 unsigned int daifmt = 0; in cs35l41_set_dai_fmt() local 691 daifmt |= CS35L41_SCLK_MSTR_MASK | CS35L41_LRCLK_MSTR_MASK; in cs35l41_set_dai_fmt() 704 daifmt |= 2 << CS35L41_ASP_FMT_SHIFT; in cs35l41_set_dai_fmt() 713 daifmt |= CS35L41_LRCLK_INV_MASK; in cs35l41_set_dai_fmt() 716 daifmt |= CS35L41_SCLK_INV_MASK; in cs35l41_set_dai_fmt() 719 daifmt |= CS35L41_LRCLK_INV_MASK | CS35L41_SCLK_INV_MASK; in cs35l41_set_dai_fmt() 731 CS35L41_SCLK_INV_MASK, daifmt); in cs35l41_set_dai_fmt()
|
D | hdmi-codec.c | 816 struct hdmi_codec_daifmt *daifmt; in hdmi_dai_probe() local 841 daifmt = devm_kzalloc(dai->dev, sizeof(*daifmt), GFP_KERNEL); in hdmi_dai_probe() 842 if (!daifmt) in hdmi_dai_probe() 845 snd_soc_dai_dma_data_set_playback(dai, daifmt); in hdmi_dai_probe()
|
/linux-6.6.21/drivers/gpu/drm/bridge/ |
D | sii902x.c | 579 struct hdmi_codec_daifmt *daifmt, in sii902x_audio_hw_params() argument 592 if (daifmt->bit_clk_provider || daifmt->frame_clk_provider) { in sii902x_audio_hw_params() 598 switch (daifmt->fmt) { in sii902x_audio_hw_params() 611 daifmt->fmt); in sii902x_audio_hw_params() 615 if (daifmt->bit_clk_inv) in sii902x_audio_hw_params() 620 if (daifmt->frame_clk_inv) in sii902x_audio_hw_params()
|
D | ite-it66121.c | 1230 struct hdmi_codec_daifmt *daifmt, in it66121_audio_hw_params() argument 1244 daifmt->fmt, sample_rate, sample_width, channels); in it66121_audio_hw_params() 1246 switch (daifmt->fmt) { in it66121_audio_hw_params() 1251 dev_err(dev, "Invalid or unsupported DAI format %d\n", daifmt->fmt); in it66121_audio_hw_params()
|
/linux-6.6.21/drivers/gpu/drm/i2c/ |
D | tda998x_drv.c | 1064 struct hdmi_codec_daifmt *daifmt, in tda998x_audio_hw_params() argument 1069 bool spdif = daifmt->fmt == HDMI_SPDIF; in tda998x_audio_hw_params() 1079 switch (daifmt->fmt) { in tda998x_audio_hw_params() 1093 dev_err(dev, "%s: Invalid format %d\n", __func__, daifmt->fmt); in tda998x_audio_hw_params() 1098 (daifmt->bit_clk_inv || daifmt->frame_clk_inv || in tda998x_audio_hw_params() 1099 daifmt->bit_clk_provider || daifmt->frame_clk_provider)) { in tda998x_audio_hw_params() 1101 daifmt->bit_clk_inv, daifmt->frame_clk_inv, in tda998x_audio_hw_params() 1102 daifmt->bit_clk_provider, in tda998x_audio_hw_params() 1103 daifmt->frame_clk_provider); in tda998x_audio_hw_params()
|
/linux-6.6.21/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 1591 struct hdmi_codec_daifmt *daifmt, in hdmi_audio_hw_params() argument 1596 if (daifmt->fmt != HDMI_I2S || daifmt->bit_clk_inv || in hdmi_audio_hw_params() 1597 daifmt->frame_clk_inv || daifmt->bit_clk_provider || in hdmi_audio_hw_params() 1598 daifmt->frame_clk_provider) { in hdmi_audio_hw_params() 1600 daifmt->bit_clk_inv, daifmt->frame_clk_inv, in hdmi_audio_hw_params() 1601 daifmt->bit_clk_provider, in hdmi_audio_hw_params() 1602 daifmt->frame_clk_provider); in hdmi_audio_hw_params()
|
/linux-6.6.21/sound/soc/fsl/ |
D | fsl-asoc-card.c | 728 unsigned int daifmt = snd_soc_daifmt_parse_format(np, NULL); in fsl_asoc_card_probe() local 731 daifmt |= (codec_np == frameprovider) ? in fsl_asoc_card_probe() 734 daifmt |= (codec_np == frameprovider) ? in fsl_asoc_card_probe() 738 priv->dai_fmt = daifmt; in fsl_asoc_card_probe()
|
/linux-6.6.21/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-gp-audio.c | 76 struct hdmi_codec_daifmt *daifmt, in audio_hw_params() argument
|
/linux-6.6.21/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.c | 783 struct hdmi_codec_daifmt *daifmt, in cdn_dp_audio_hw_params() argument 800 switch (daifmt->fmt) { in cdn_dp_audio_hw_params() 808 DRM_DEV_ERROR(dev, "Invalid format %d\n", daifmt->fmt); in cdn_dp_audio_hw_params()
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_hdmi.c | 1529 struct hdmi_codec_daifmt *daifmt, in mtk_hdmi_audio_hw_params() argument 1575 switch (daifmt->fmt) { in mtk_hdmi_audio_hw_params() 1590 daifmt->fmt); in mtk_hdmi_audio_hw_params()
|
/linux-6.6.21/drivers/gpu/drm/msm/hdmi/ |
D | hdmi.c | 268 struct hdmi_codec_daifmt *daifmt, in msm_hdmi_audio_hw_params() argument
|