Searched refs:devfmt (Results 1 – 5 of 5) sorted by relevance
635 struct catpt_ssp_device_format devfmt; in catpt_dai_pcm_new() local639 devfmt.iface = dai->driver->id; in catpt_dai_pcm_new()640 devfmt.channels = codec_dai->driver->capture.channels_max; in catpt_dai_pcm_new()642 switch (devfmt.iface) { in catpt_dai_pcm_new()644 devfmt.mclk = CATPT_MCLK_FREQ_24_MHZ; in catpt_dai_pcm_new()646 switch (devfmt.channels) { in catpt_dai_pcm_new()648 devfmt.mode = CATPT_SSP_MODE_TDM_PROVIDER; in catpt_dai_pcm_new()649 devfmt.clock_divider = 4; in catpt_dai_pcm_new()653 devfmt.mode = CATPT_SSP_MODE_I2S_PROVIDER; in catpt_dai_pcm_new()654 devfmt.clock_divider = 9; in catpt_dai_pcm_new()[all …]
99 if (cdev->devfmt[i].iface == UINT_MAX) in catpt_resume()102 ret = catpt_ipc_set_device_format(cdev, &cdev->devfmt[i]); in catpt_resume()227 cdev->devfmt[CATPT_SSP_IFACE_0].iface = UINT_MAX; in catpt_dev_init()228 cdev->devfmt[CATPT_SSP_IFACE_1].iface = UINT_MAX; in catpt_dev_init()
125 struct catpt_ssp_device_format *devfmt) in catpt_ipc_set_device_format() argument132 request.size = sizeof(*devfmt); in catpt_ipc_set_device_format()133 request.data = devfmt; in catpt_ipc_set_device_format()
96 struct catpt_ssp_device_format devfmt[CATPT_SSP_COUNT]; member
247 struct catpt_ssp_device_format *devfmt);