Home
last modified time | relevance | path

Searched refs:devfmt (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/sound/soc/intel/catpt/
H A Dpcm.c635 struct catpt_ssp_device_format devfmt; in catpt_dai_pcm_new() local
639 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 …]
H A Ddevice.c98 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()
H A Dmessages.c125 struct catpt_ssp_device_format *devfmt) in catpt_ipc_set_device_format() argument
132 request.size = sizeof(*devfmt); in catpt_ipc_set_device_format()
133 request.data = devfmt; in catpt_ipc_set_device_format()
H A Dcore.h96 struct catpt_ssp_device_format devfmt[CATPT_SSP_COUNT]; member
H A Dmessages.h247 struct catpt_ssp_device_format *devfmt);