Home
last modified time | relevance | path

Searched refs:devfmt (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/intel/catpt/
H A Dpcm.c639 struct catpt_ssp_device_format devfmt; in catpt_dai_pcm_new() local
642 devfmt.iface = dai->driver->id; in catpt_dai_pcm_new()
643 devfmt.channels = codec_dai->driver->capture.channels_max; in catpt_dai_pcm_new()
645 switch (devfmt.iface) { in catpt_dai_pcm_new()
647 devfmt.mclk = CATPT_MCLK_FREQ_24_MHZ; in catpt_dai_pcm_new()
649 switch (devfmt.channels) { in catpt_dai_pcm_new()
651 devfmt.mode = CATPT_SSP_MODE_TDM_PROVIDER; in catpt_dai_pcm_new()
652 devfmt.clock_divider = 4; in catpt_dai_pcm_new()
656 devfmt.mode = CATPT_SSP_MODE_I2S_PROVIDER; in catpt_dai_pcm_new()
657 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()
132 request.size = sizeof(*devfmt); in catpt_ipc_set_device_format()
133 request.data = devfmt; in catpt_ipc_set_device_format()
124 catpt_ipc_set_device_format(struct catpt_dev *cdev, struct catpt_ssp_device_format *devfmt) catpt_ipc_set_device_format() argument
H A Dcore.h107 struct catpt_ssp_device_format devfmt[CATPT_SSP_COUNT]; member
H A Dmessages.h249 struct catpt_ssp_device_format *devfmt);
/kernel/linux/linux-6.6/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()
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 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()
132 request.size = sizeof(*devfmt); in catpt_ipc_set_device_format()
133 request.data = devfmt; in catpt_ipc_set_device_format()
124 catpt_ipc_set_device_format(struct catpt_dev *cdev, struct catpt_ssp_device_format *devfmt) catpt_ipc_set_device_format() argument
H A Dcore.h96 struct catpt_ssp_device_format devfmt[CATPT_SSP_COUNT]; member
H A Dmessages.h247 struct catpt_ssp_device_format *devfmt);

Completed in 9 milliseconds