/linux-5.10/sound/soc/stm/ |
D | stm32_sai_sub.c | 3 * STM32 ALSA SoC Digital Audio Interface (SAI) driver. 58 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4(sai->pdata)) 67 * struct stm32_sai_sub_data - private data of SAI sub block (block A or B) 69 * @regmap: SAI register map pointer 70 * @regmap_config: SAI sub block register map configuration pointer 75 * @pdata: SAI block parent data pointer 77 * @sai_ck: kernel clock feeding the SAI clock generator 78 * @sai_mclk: master clock from SAI mclk provider 79 * @phys_addr: SAI registers physical base address 80 * @mclk_rate: SAI block master clock frequency (Hz). set at init [all …]
|
D | stm32_sai.c | 3 * STM32 ALSA SoC Digital Audio Interface (SAI) driver. 40 { .compatible = "st,stm32f4-sai", .data = (void *)&stm32_sai_conf_f4 }, 41 { .compatible = "st,stm32h7-sai", .data = (void *)&stm32_sai_conf_h7 }, 47 struct stm32_sai_data *sai = dev_get_drvdata(dev); in stm32_sai_pclk_disable() local 49 clk_disable_unprepare(sai->pclk); in stm32_sai_pclk_disable() 56 struct stm32_sai_data *sai = dev_get_drvdata(dev); in stm32_sai_pclk_enable() local 59 ret = clk_prepare_enable(sai->pclk); in stm32_sai_pclk_enable() 61 dev_err(&sai->pdev->dev, "failed to enable clock: %d\n", ret); in stm32_sai_pclk_enable() 68 static int stm32_sai_sync_conf_client(struct stm32_sai_data *sai, int synci) in stm32_sai_sync_conf_client() argument 73 ret = stm32_sai_pclk_enable(&sai->pdev->dev); in stm32_sai_sync_conf_client() [all …]
|
D | stm32_sai.h | 3 * STM32 ALSA SoC Digital Audio Interface (SAI) driver. 11 /******************** SAI Register Map **************************************/ 233 /* Registers below apply to SAI version 2.1 and more */ 252 /* SAI version numbers are 1.x for F4. Major version number set to 1 for F4 */ 268 * struct stm32_sai_conf - SAI configuration 269 * @version: SAI version 270 * @fifo_size: SAI fifo size as words number 271 * @has_spdif_pdm: SAI S/PDIF and PDM features support flag 280 * struct stm32_sai_data - private data of SAI instance driver 283 * @pclk: SAI bus clock [all …]
|
D | Makefile | 2 # SAI 3 snd-soc-stm32-sai-sub-objs := stm32_sai_sub.o 4 obj-$(CONFIG_SND_SOC_STM32_SAI) += snd-soc-stm32-sai-sub.o 6 snd-soc-stm32-sai-objs := stm32_sai.o 7 obj-$(CONFIG_SND_SOC_STM32_SAI) += snd-soc-stm32-sai.o
|
D | Kconfig | 5 tristate "STM32 SAI interface (Serial Audio Interface) support" 13 Say Y if you want to enable SAI for STM32
|
/linux-5.10/sound/soc/fsl/ |
D | fsl_sai.c | 3 // Freescale ALSA SoC Digital Audio Interface (SAI) driver. 43 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's 47 * @sai: SAI context 50 static inline bool fsl_sai_dir_is_synced(struct fsl_sai *sai, int dir) in fsl_sai_dir_is_synced() argument 55 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced() 60 struct fsl_sai *sai = (struct fsl_sai *)devid; in fsl_sai_isr() local 61 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr() 62 struct device *dev = &sai->pdev->dev; in fsl_sai_isr() 74 regmap_read(sai->regmap, FSL_SAI_TCSR(ofs), &xcsr); in fsl_sai_isr() 104 regmap_write(sai->regmap, FSL_SAI_TCSR(ofs), flags | xcsr); in fsl_sai_isr() [all …]
|
D | fsl_sai.h | 16 /* SAI Register Map Register */ 17 #define FSL_SAI_VERID 0x00 /* SAI Version ID Register */ 18 #define FSL_SAI_PARAM 0x04 /* SAI Parameter Register */ 19 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */ 20 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */ 21 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */ 22 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */ 23 #define FSL_SAI_TCR4(ofs) (0x10 + ofs) /* SAI Transmit Configuration 4 */ 24 #define FSL_SAI_TCR5(ofs) (0x14 + ofs) /* SAI Transmit Configuration 5 */ 25 #define FSL_SAI_TDR0 0x20 /* SAI Transmit Data 0 */ [all …]
|
D | Makefile | 14 # Freescale SSI/DMA/SAI/SPDIF Support 18 snd-soc-fsl-sai-objs := fsl_sai.o 32 obj-$(CONFIG_SND_SOC_FSL_SAI) += snd-soc-fsl-sai.o
|
/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | st,stm32-sai.txt | 1 STMicroelectronics STM32 Serial Audio Interface (SAI). 3 The SAI interface (Serial Audio Interface) offers a wide set of audio protocols 5 The SAI contains two independent audio sub-blocks. Each sub-block has 9 - compatible: Should be "st,stm32f4-sai" or "st,stm32h7-sai" 10 - reg: Base address and size of SAI common register set. 15 Mandatory for "st,stm32h7-sai" compatible. 16 Not used for "st,stm32f4-sai" compatible. 17 "x8k": SAI parent clock for sampling rates multiple of 8kHz. 18 "x11k": SAI parent clock for sampling rates multiple of 11.025kHz. 19 - interrupts: cpu DAI interrupt line shared by SAI sub-blocks [all …]
|
D | fsl-sai.txt | 1 Freescale Synchronous Audio Interface (SAI). 3 The SAI is based on I2S module that used communicating with audio codecs, 10 - compatible : Compatible list, contains "fsl,vf610-sai", 11 "fsl,imx6sx-sai", "fsl,imx6ul-sai", 12 "fsl,imx7ulp-sai", "fsl,imx8mq-sai" or 13 "fsl,imx8qm-sai". 38 - fsl,sai-synchronous-rx: This is a boolean property. If present, indicating 39 that SAI will work in the synchronous mode (sync Tx 44 - fsl,sai-asynchronous: This is a boolean property. If present, indicating 45 that SAI will work in the asynchronous mode, which [all …]
|
D | fsl,audmix.txt | 6 modules (SAI). Each input serial interface carries 8 audio channels in its 13 receive path of normal audio SAI module for readback by the CPU. 38 to SAI interfaces to be provided, the first SAI in the
|
/linux-5.10/Documentation/devicetree/bindings/clock/ |
D | fsl,sai-clock.yaml | 4 $id: http://devicetree.org/schemas/clock/fsl,sai-clock.yaml# 7 title: Freescale SAI bitclock-as-a-clock binding 13 It is possible to use the BCLK pin of a SAI module as a generic clock 16 LS1028A SoC you can only enable SAIs in pairs. If you use only one SAI, 18 clock of the second SAI as a MCLK clock for an audio codec, for example. 24 const: fsl,vf610-sai-clock 50 compatible = "fsl,vf610-sai-clock";
|
/linux-5.10/drivers/clk/ |
D | clk-fsl-sai.c | 3 * Freescale SAI BCLK as a generic clock driver 75 { .compatible = "fsl,vf610-sai-clock" }, 83 .name = "fsl-sai-clk", 89 MODULE_DESCRIPTION("Freescale SAI bitclock-as-a-clock driver"); 92 MODULE_ALIAS("platform:fsl-sai-clk");
|
/linux-5.10/fs/xfs/scrub/ |
D | agheader.c | 629 struct xchk_agfl_info *sai = priv; in xchk_agfl_block() local 630 struct xfs_scrub *sc = sai->sc; in xchk_agfl_block() 634 sai->nr_entries < sai->sz_entries) in xchk_agfl_block() 635 sai->entries[sai->nr_entries++] = agbno; in xchk_agfl_block() 692 struct xchk_agfl_info sai; in xchk_agfl() local 720 memset(&sai, 0, sizeof(sai)); in xchk_agfl() 721 sai.sc = sc; in xchk_agfl() 722 sai.sz_entries = agflcount; in xchk_agfl() 723 sai.entries = kmem_zalloc(sizeof(xfs_agblock_t) * agflcount, in xchk_agfl() 725 if (!sai.entries) { in xchk_agfl() [all …]
|
/linux-5.10/arch/arm64/boot/dts/freescale/ |
D | imx8mm.dtsi | 272 sai1: sai@30010000 { 274 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 286 sai2: sai@30020000 { 288 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 300 sai3: sai@30030000 { 302 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 314 sai5: sai@30050000 { 316 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 328 sai6: sai@30060000 { 330 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
|
D | fsl-ls1028a.dtsi | 737 compatible = "fsl,vf610-sai"; 746 fsl,sai-asynchronous; 752 compatible = "fsl,vf610-sai"; 761 fsl,sai-asynchronous; 767 compatible = "fsl,vf610-sai"; 776 fsl,sai-asynchronous; 782 compatible = "fsl,vf610-sai"; 791 fsl,sai-asynchronous; 797 compatible = "fsl,vf610-sai"; 806 fsl,sai-asynchronous; [all …]
|
D | imx8mq.dtsi | 302 sai1: sai@30010000 { 304 compatible = "fsl,imx8mq-sai"; 316 sai6: sai@30030000 { 318 compatible = "fsl,imx8mq-sai"; 330 sai5: sai@30040000 { 332 compatible = "fsl,imx8mq-sai"; 344 sai4: sai@30050000 { 346 compatible = "fsl,imx8mq-sai"; 851 sai2: sai@308b0000 { 853 compatible = "fsl,imx8mq-sai"; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/dma/ |
D | fsl-edma.txt | 102 sai2: sai@40031000 { 103 compatible = "fsl,vf610-sai"; 106 clock-names = "sai";
|
/linux-5.10/tools/testing/selftests/resctrl/ |
D | README | 5 Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>,
|
D | mbm_test.c | 8 * Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>,
|
/linux-5.10/arch/arm/boot/dts/ |
D | vfxxx.dtsi | 186 sai0: sai@4002f000 { 187 compatible = "fsl,vf610-sai"; 200 sai1: sai@40030000 { 201 compatible = "fsl,vf610-sai"; 214 sai2: sai@40031000 { 215 compatible = "fsl,vf610-sai"; 228 sai3: sai@40032000 { 229 compatible = "fsl,vf610-sai";
|
D | stm32mp151.dtsi | 800 sai1: sai@4400a000 { 801 compatible = "st,stm32h7-sai"; 813 compatible = "st,stm32-sai-sub-a"; 823 compatible = "st,stm32-sai-sub-b"; 832 sai2: sai@4400b000 { 833 compatible = "st,stm32h7-sai"; 844 compatible = "st,stm32-sai-sub-a"; 854 compatible = "st,stm32-sai-sub-b"; 863 sai3: sai@4400c000 { 864 compatible = "st,stm32h7-sai"; [all …]
|
/linux-5.10/drivers/dma/ |
D | txx9dmac.c | 334 u32 sai, dai; in txx9dmac_dostart() local 352 sai = ds->reg_width; in txx9dmac_dostart() 355 sai = 0; in txx9dmac_dostart() 359 sai = 8; in txx9dmac_dostart() 362 channel64_writel(dc, SAIR, sai); in txx9dmac_dostart() 373 sai = ds->reg_width; in txx9dmac_dostart() 376 sai = 0; in txx9dmac_dostart() 380 sai = 4; in txx9dmac_dostart() 383 channel32_writel(dc, SAIR, sai); in txx9dmac_dostart() 830 u32 sai, dai; in txx9dmac_prep_slave_sg() local [all …]
|
D | txx9dmac.h | 289 u32 sai, u32 dai, u32 ccr) in txx9dmac_desc_set_nosimple() argument 292 desc->hwdesc.SAIR = sai; in txx9dmac_desc_set_nosimple() 296 desc->hwdesc32.SAIR = sai; in txx9dmac_desc_set_nosimple()
|
/linux-5.10/include/sound/sof/ |
D | dai.h | 54 SOF_DAI_IMX_SAI, /**< i.MX SAI */ 78 struct sof_ipc_dai_sai_params sai; member
|