Lines Matching refs:rcfg
74 static void skl_fill_clk_ipc(struct skl_clk_rate_cfg_table *rcfg, u8 clk_type) in skl_fill_clk_ipc() argument
80 if (!rcfg) in skl_fill_clk_ipc()
83 ipc = &rcfg->dma_ctl_ipc; in skl_fill_clk_ipc()
85 fmt_cfg = (struct nhlt_fmt_cfg *)rcfg->config; in skl_fill_clk_ipc()
106 struct skl_clk_rate_cfg_table *rcfg, in skl_send_clk_dma_control() argument
118 if (!rcfg) in skl_send_clk_dma_control()
121 ipc = &rcfg->dma_ctl_ipc; in skl_send_clk_dma_control()
122 fmt_cfg = (struct nhlt_fmt_cfg *)rcfg->config; in skl_send_clk_dma_control()
164 struct skl_clk_rate_cfg_table *rcfg, in skl_get_rate_cfg() argument
169 for (i = 0; (i < SKL_MAX_CLK_RATES) && rcfg[i].rate; i++) { in skl_get_rate_cfg()
170 if (rcfg[i].rate == rate) in skl_get_rate_cfg()
171 return &rcfg[i]; in skl_get_rate_cfg()
180 struct skl_clk_rate_cfg_table *rcfg; in skl_clk_change_status() local
191 rcfg = skl_get_rate_cfg(clkdev->pdata->ssp_clks[clkdev->id].rate_cfg, in skl_clk_change_status()
193 if (!rcfg) in skl_clk_change_status()
196 return skl_send_clk_dma_control(clkdev->pdata->pvt_data, rcfg, in skl_clk_change_status()
218 struct skl_clk_rate_cfg_table *rcfg; in skl_clk_set_rate() local
224 rcfg = skl_get_rate_cfg(clkdev->pdata->ssp_clks[clkdev->id].rate_cfg, in skl_clk_set_rate()
226 if (!rcfg) in skl_clk_set_rate()
233 skl_fill_clk_ipc(rcfg, clk_type); in skl_clk_set_rate()