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()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()649 devfmt.clock_divider = 4; in catpt_dai_pcm_new()654 devfmt.clock_divider = 9; in catpt_dai_pcm_new()660 devfmt.mclk = CATPT_MCLK_OFF; in catpt_dai_pcm_new()662 devfmt.clock_divider = 0; in catpt_dai_pcm_new()667 if (!memcmp(&cdev->devfmt[devfmt.iface], &devfmt, sizeof(devfmt))) in catpt_dai_pcm_new()[all …]
98 if (cdev->devfmt[i].iface == UINT_MAX) in catpt_resume()101 ret = catpt_ipc_set_device_format(cdev, &cdev->devfmt[i]); in catpt_resume()226 cdev->devfmt[CATPT_SSP_IFACE_0].iface = UINT_MAX; in catpt_dev_init()227 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);