Home
last modified time | relevance | path

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

/linux-5.19.10/sound/soc/intel/catpt/
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()
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 …]
Ddevice.c99 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()
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()
Dcore.h96 struct catpt_ssp_device_format devfmt[CATPT_SSP_COUNT]; member
Dmessages.h247 struct catpt_ssp_device_format *devfmt);