Lines Matching refs:ipc
77 union skl_clk_ctrl_ipc *ipc; in skl_fill_clk_ipc() local
83 ipc = &rcfg->dma_ctl_ipc; in skl_fill_clk_ipc()
89 ipc->sclk_fs.hdr.size = sizeof(struct skl_dmactrl_sclkfs_cfg) - in skl_fill_clk_ipc()
91 ipc->sclk_fs.sampling_frequency = wfmt->samples_per_sec; in skl_fill_clk_ipc()
92 ipc->sclk_fs.bit_depth = wfmt->bits_per_sample; in skl_fill_clk_ipc()
93 ipc->sclk_fs.valid_bit_depth = in skl_fill_clk_ipc()
95 ipc->sclk_fs.number_of_channels = wfmt->channels; in skl_fill_clk_ipc()
97 ipc->mclk.hdr.type = DMA_CLK_CONTROLS; in skl_fill_clk_ipc()
99 ipc->mclk.hdr.size = sizeof(struct skl_dmactrl_mclk_cfg) - in skl_fill_clk_ipc()
113 union skl_clk_ctrl_ipc *ipc; in skl_send_clk_dma_control() local
121 ipc = &rcfg->dma_ctl_ipc; in skl_send_clk_dma_control()
126 ipc->sclk_fs.hdr.type = in skl_send_clk_dma_control()
128 data = (u8 *)&ipc->sclk_fs; in skl_send_clk_dma_control()
133 ipc->mclk.mclk = 0; in skl_send_clk_dma_control()
135 ipc->mclk.mclk = 1; in skl_send_clk_dma_control()
137 ipc->mclk.keep_running = enable; in skl_send_clk_dma_control()
138 ipc->mclk.warm_up_over = enable; in skl_send_clk_dma_control()
139 ipc->mclk.clk_stop_over = !enable; in skl_send_clk_dma_control()
140 data = (u8 *)&ipc->mclk; in skl_send_clk_dma_control()