Home
last modified time | relevance | path

Searched refs:clk_type (Results 1 – 6 of 6) sorted by relevance

/sound/soc/intel/skylake/
Dskl-ssp-clk.c57 static int skl_get_vbus_id(u32 index, u8 clk_type) in skl_get_vbus_id() argument
59 switch (clk_type) { in skl_get_vbus_id()
74 static void skl_fill_clk_ipc(struct skl_clk_rate_cfg_table *rcfg, u8 clk_type) in skl_fill_clk_ipc() argument
84 if (clk_type == SKL_SCLK_FS) { in skl_fill_clk_ipc()
107 u32 vbus_id, u8 clk_type, in skl_send_clk_dma_control() argument
125 if (clk_type == SKL_SCLK_FS) { in skl_send_clk_dma_control()
132 if (clk_type == SKL_SCLK) in skl_send_clk_dma_control()
181 int vbus_id, clk_type; in skl_clk_change_status() local
183 clk_type = skl_get_clk_type(clkdev->id); in skl_clk_change_status()
184 if (clk_type < 0) in skl_clk_change_status()
[all …]
/sound/soc/sof/
Dsof-audio.c758 static int sof_dai_get_clk(struct snd_soc_pcm_runtime *rtd, int clk_type) in sof_dai_get_clk() argument
772 return tplg_ops->dai_get_clk(sdev, dai, clk_type); in sof_dai_get_clk()
Dsof-audio.h186 int (*dai_get_clk)(struct snd_sof_dev *sdev, struct snd_sof_dai *dai, int clk_type);
Dipc4-topology.c1770 static int sof_ipc4_dai_get_clk(struct snd_sof_dev *sdev, struct snd_sof_dai *dai, int clk_type) in sof_ipc4_dai_get_clk() argument
1809 switch (clk_type) { in sof_ipc4_dai_get_clk()
1815 dev_err(sdev->dev, "Invalid clk type for SSP %d\n", clk_type); in sof_ipc4_dai_get_clk()
Dipc3-topology.c2339 static int sof_ipc3_dai_get_clk(struct snd_sof_dev *sdev, struct snd_sof_dai *dai, int clk_type) in sof_ipc3_dai_get_clk() argument
2348 switch (clk_type) { in sof_ipc3_dai_get_clk()
2356 dev_err(sdev->dev, "fail to get SSP clk %d rate\n", clk_type); in sof_ipc3_dai_get_clk()
/sound/soc/codecs/
Dwcd9335.c323 enum wcd_clock_type clk_type; member
4133 if (((wcd->clk_mclk_users == 0) && (wcd->clk_type == WCD_CLK_MCLK)) || in wcd9335_enable_mclk()
4134 ((wcd->clk_mclk_users > 0) && (wcd->clk_type != WCD_CLK_MCLK))) { in wcd9335_enable_mclk()
4136 wcd->clk_type); in wcd9335_enable_mclk()
4165 wcd->clk_type = WCD_CLK_MCLK; in wcd9335_enable_mclk()
4181 wcd->clk_type = WCD_CLK_RCO; in wcd9335_disable_mclk()
4186 wcd->clk_type = WCD_CLK_OFF; in wcd9335_disable_mclk()