Searched refs:devfmt (Results 1 – 5 of 5) sorted by relevance
632 struct catpt_ssp_device_format devfmt; in catpt_dai_pcm_new() local636 devfmt.iface = dai->driver->id; in catpt_dai_pcm_new()637 devfmt.channels = codec_dai->driver->capture.channels_max; in catpt_dai_pcm_new()639 switch (devfmt.iface) { in catpt_dai_pcm_new()641 devfmt.mclk = CATPT_MCLK_FREQ_24_MHZ; in catpt_dai_pcm_new()643 switch (devfmt.channels) { in catpt_dai_pcm_new()645 devfmt.mode = CATPT_SSP_MODE_TDM_PROVIDER; in catpt_dai_pcm_new()646 devfmt.clock_divider = 4; in catpt_dai_pcm_new()650 devfmt.mode = CATPT_SSP_MODE_I2S_PROVIDER; in catpt_dai_pcm_new()651 devfmt.clock_divider = 9; in catpt_dai_pcm_new()[all …]
105 if (cdev->devfmt[i].iface == UINT_MAX) in catpt_resume()108 ret = catpt_ipc_set_device_format(cdev, &cdev->devfmt[i]); in catpt_resume()236 cdev->devfmt[CATPT_SSP_IFACE_0].iface = UINT_MAX; in catpt_dev_init()237 cdev->devfmt[CATPT_SSP_IFACE_1].iface = UINT_MAX; in catpt_dev_init()
110 struct catpt_ssp_device_format *devfmt) in catpt_ipc_free_stream() 116 request.size = sizeof(*devfmt); in catpt_ipc_free_stream() 117 request.data = devfmt; in catpt_ipc_free_stream() 125 catpt_ipc_set_device_format(struct catpt_dev * cdev,struct catpt_ssp_device_format * devfmt) catpt_ipc_set_device_format() argument
97 struct catpt_ssp_device_format devfmt[CATPT_SSP_COUNT];96 struct catpt_ssp_device_format devfmt[CATPT_SSP_COUNT]; global() member
247 struct catpt_ssp_device_format *devfmt);