Home
last modified time | relevance | path

Searched refs:pdm (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v6.6/sound/soc/rockchip/
Drockchip_pdm.c78 static unsigned int get_pdm_clk(struct rk_pdm_dev *pdm, unsigned int sr, in get_pdm_clk() argument
94 rate = clk_round_rate(pdm->clk, clkref[i].clk); in get_pdm_clk()
104 clk = clk_round_rate(pdm->clk, PDM_SIGNOFF_CLK_RATE); in get_pdm_clk()
180 static void rockchip_pdm_rxctrl(struct rk_pdm_dev *pdm, int on) in rockchip_pdm_rxctrl() argument
183 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
185 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
188 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
190 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
200 struct rk_pdm_dev *pdm = to_info(dai); in rockchip_pdm_hw_params() local
212 clk_rate = get_pdm_clk(pdm, samplerate, &clk_src, &clk_out); in rockchip_pdm_hw_params()
[all …]
DMakefile5 snd-soc-rockchip-pdm-objs := rockchip_pdm.o
9 obj-$(CONFIG_SND_SOC_ROCKCHIP_PDM) += snd-soc-rockchip-pdm.o
/Linux-v6.6/sound/soc/amd/yc/
DMakefile4 snd-acp6x-pdm-dma-objs := acp6x-pdm-dma.o
8 obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-acp6x-pdm-dma.o
/Linux-v6.6/sound/soc/amd/renoir/
DMakefile4 snd-acp3x-pdm-dma-objs := acp3x-pdm-dma.o
7 obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-acp3x-pdm-dma.o
/Linux-v6.6/sound/soc/amd/ps/
DMakefile4 snd-ps-pdm-dma-objs := ps-pdm-dma.o
9 obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-pdm-dma.o
/Linux-v6.6/drivers/pinctrl/qcom/
Dpinctrl-ipq8064.c488 IPQ_PIN_FUNCTION(pdm),
535 PINGROUP(3, pcie1_rst, pcie1_prsnt, pdm, NA, NA, NA, NA, NA, NA, NA),
548 PINGROUP(16, audio_pcm, nss_spi, pdm, NA, NA, NA, NA, NA, NA, NA),
549 PINGROUP(17, audio_pcm, nss_spi, pdm, NA, NA, NA, NA, NA, NA, NA),
554 PINGROUP(22, gsbi2, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
562 PINGROUP(30, mi2s, rgmii2, gsbi6, pdm, NA, NA, NA, NA, NA, NA),
563 PINGROUP(31, mi2s, rgmii2, pdm, NA, NA, NA, NA, NA, NA, NA),
566 PINGROUP(34, nand, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
567 PINGROUP(35, nand, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
584 PINGROUP(52, gsbi1, rgmii2, pdm, NA, NA, NA, NA, NA, NA, NA),
[all …]
/Linux-v6.6/arch/arm64/boot/dts/amlogic/
Dmeson-g12-common.dtsi613 pdm_din0_a_pins: pdm-din0-a {
616 function = "pdm";
621 pdm_din0_c_pins: pdm-din0-c {
624 function = "pdm";
629 pdm_din0_x_pins: pdm-din0-x {
632 function = "pdm";
637 pdm_din0_z_pins: pdm-din0-z {
640 function = "pdm";
645 pdm_din1_a_pins: pdm-din1-a {
648 function = "pdm";
[all …]
Dmeson-g12.dtsi49 pdm: audio-controller@40000 { label
50 compatible = "amlogic,g12a-pdm",
51 "amlogic,axg-pdm";
Dmeson-axg.dtsi298 pdm: audio-controller@ff632000 { label
299 compatible = "amlogic,axg-pdm";
544 function = "pdm";
552 function = "pdm";
560 function = "pdm";
568 function = "pdm";
576 function = "pdm";
584 function = "pdm";
Dmeson-sm1.dtsi464 pdm: audio-controller@61000 { label
465 compatible = "amlogic,sm1-pdm",
466 "amlogic,axg-pdm";
Dmeson-g12a-sei510.dts270 sound-dai = <&pdm>;
402 &pdm {
/Linux-v6.6/sound/soc/amd/acp/
DMakefile10 snd-acp-pdm-objs := acp-pdm.o
25 obj-$(CONFIG_SND_SOC_AMD_ACP_PDM) += snd-acp-pdm.o
/Linux-v6.6/sound/soc/codecs/
Dadau7118.c509 int pdm; in adau7118_parset_dt() local
512 for (pdm = 0; pdm < ARRAY_SIZE(clk_map); pdm++) in adau7118_parset_dt()
513 _clk_map |= (clk_map[pdm] << (pdm + 4)); in adau7118_parset_dt()
/Linux-v6.6/sound/soc/meson/
DMakefile21 snd-soc-meson-axg-pdm-objs := axg-pdm.o
40 obj-$(CONFIG_SND_MESON_AXG_PDM) += snd-soc-meson-axg-pdm.o
/Linux-v6.6/arch/arm64/boot/dts/rockchip/
Drk3308.dtsi1362 pdm_m0_clk: pdm-m0-clk {
1367 pdm_m0_sdi0: pdm-m0-sdi0 {
1372 pdm_m0_sdi1: pdm-m0-sdi1 {
1377 pdm_m0_sdi2: pdm-m0-sdi2 {
1382 pdm_m0_sdi3: pdm-m0-sdi3 {
1389 pdm_m1_clk: pdm-m1-clk {
1394 pdm_m1_sdi0: pdm-m1-sdi0 {
1399 pdm_m1_sdi1: pdm-m1-sdi1 {
1404 pdm_m1_sdi2: pdm-m1-sdi2 {
1409 pdm_m1_sdi3: pdm-m1-sdi3 {
[all …]
Dpx30.dtsi1766 pdm {
1767 pdm_clk0m0: pdm-clk0m0 {
1772 pdm_clk0m1: pdm-clk0m1 {
1777 pdm_clk1: pdm-clk1 {
1782 pdm_sdi0m0: pdm-sdi0m0 {
1787 pdm_sdi0m1: pdm-sdi0m1 {
1792 pdm_sdi1: pdm-sdi1 {
1797 pdm_sdi2: pdm-sdi2 {
1802 pdm_sdi3: pdm-sdi3 {
1807 pdm_clk0m0_sleep: pdm-clk0m0-sleep {
[all …]
Drk3566-pinenote.dtsi119 format = "pdm";
123 sound-dai = <&pdm>;
524 &pdm {
/Linux-v6.6/include/sound/sof/
Ddai-intel.h202 struct sof_ipc_dai_dmic_pdm_ctrl pdm[SOF_DAI_INTEL_DMIC_NUM_CTRL]; member
/Linux-v6.6/arch/riscv/boot/dts/allwinner/
Dsun20i-d1-lichee-rv-dock.dts32 format = "pdm";
Dsun20i-d1-lichee-rv-86-panel.dtsi26 format = "pdm";
/Linux-v6.6/drivers/pinctrl/nomadik/
Dpinctrl-ab8505.c209 AB8505_FUNC_GROUPS(pdm, "pdmclk_a_1", "pdmdata_b_1");
231 FUNCTION(pdm),
/Linux-v6.6/drivers/clk/meson/
Daxg-audio.c329 static struct clk_regmap pdm = variable
330 AUD_PCLK_GATE(pdm, AUDIO_CLK_GATE_EN, 1);
819 [AUD_CLKID_PDM] = &pdm.hw,
948 [AUD_CLKID_PDM] = &pdm.hw,
1089 [AUD_CLKID_PDM] = &pdm.hw,
1241 &pdm,
1365 &pdm,
1503 &pdm,
/Linux-v6.6/Documentation/devicetree/bindings/clock/
Damlogic,axg-audio-clkc.txt4 other elements of the audio subsystem, such as fifos, i2s, spdif and pdm
/Linux-v6.6/sound/soc/sof/
Dipc3-topology.c1390 ret = sof_update_ipc_object(scomp, &config->dmic.pdm[0], SOF_DMIC_PDM_TOKENS, in sof_link_dmic_load()
1413 config->dmic.pdm[i].id, in sof_link_dmic_load()
1414 config->dmic.pdm[i].enable_mic_a, in sof_link_dmic_load()
1415 config->dmic.pdm[i].enable_mic_b); in sof_link_dmic_load()
1417 config->dmic.pdm[i].id, in sof_link_dmic_load()
1418 config->dmic.pdm[i].polarity_mic_a, in sof_link_dmic_load()
1419 config->dmic.pdm[i].polarity_mic_b); in sof_link_dmic_load()
1421 config->dmic.pdm[i].id, in sof_link_dmic_load()
1422 config->dmic.pdm[i].clk_edge, in sof_link_dmic_load()
1423 config->dmic.pdm[i].skew); in sof_link_dmic_load()
/Linux-v6.6/Documentation/devicetree/bindings/pinctrl/
Dste,abx500.txt309 function = "pdm";

12