/Linux-v5.4/sound/soc/generic/ |
D | simple-card-utils.c | 63 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()
|
D | simple-card.c | 692 dai_link->dai_fmt = cinfo->daifmt; in asoc_simple_probe()
|
/Linux-v5.4/sound/soc/meson/ |
D | axg-card.c | 312 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/ |
D | atmel_ssc_dai.c | 212 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()
|
D | atmel_ssc_dai.h | 98 unsigned short daifmt; member
|
/Linux-v5.4/include/sound/ |
D | simple_card.h | 21 unsigned int daifmt; member
|
/Linux-v5.4/drivers/gpu/drm/sti/ |
D | sti_hdmi.c | 1165 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/ |
D | sii902x.c | 493 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/ |
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() 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()
|
D | sti_uniperif.c | 306 priv->dai_data.uni->daifmt = fmt; in sti_uniperiph_dai_set_fmt()
|
D | uniperif.h | 1332 unsigned int daifmt; member
|
/Linux-v5.4/drivers/gpu/drm/i2c/ |
D | tda998x_drv.c | 1061 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/ |
D | exynos_hdmi.c | 1564 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/ |
D | hdmi-codec.c | 649 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/ |
D | zx_hdmi.c | 394 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/ |
D | cdn-dp-core.c | 768 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/ |
D | mtk_hdmi.c | 1531 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/ |
D | hdmi.c | 432 struct hdmi_codec_daifmt *daifmt, in msm_hdmi_audio_hw_params() argument
|
/Linux-v5.4/arch/sh/boards/mach-se/7724/ |
D | setup.c | 307 .daifmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_CBM_CFM,
|
/Linux-v5.4/arch/sh/boards/mach-ecovec24/ |
D | setup.c | 876 .daifmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM,
|