/Linux-v5.15/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-v5.15/sound/soc/fsl/ |
D | fsl_sai.c | 3 // Freescale ALSA SoC Digital Audio Interface (SAI) driver. 44 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's 48 * @sai: SAI context 51 static inline bool fsl_sai_dir_is_synced(struct fsl_sai *sai, int dir) in fsl_sai_dir_is_synced() argument 56 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced() 61 struct fsl_sai *sai = (struct fsl_sai *)devid; in fsl_sai_isr() local 62 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr() 63 struct device *dev = &sai->pdev->dev; in fsl_sai_isr() 75 regmap_read(sai->regmap, FSL_SAI_TCSR(ofs), &xcsr); in fsl_sai_isr() 105 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 | fsl_rpmsg.h | 12 * @ipg: ipg clock for cpu dai (SAI) 13 * @mclk: master clock for cpu dai (SAI)
|
D | Makefile | 14 # Freescale SSI/DMA/SAI/SPDIF Support 18 snd-soc-fsl-sai-objs := fsl_sai.o 35 obj-$(CONFIG_SND_SOC_FSL_SAI) += snd-soc-fsl-sai.o
|
D | Kconfig | 18 tristate "Synchronous Audio Interface (SAI) module support" 23 Say Y if you want to add Synchronous Audio Interface (SAI) 318 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888, 338 SAI/AUD2HTX and connect with internal HDMI IP or external module
|
/Linux-v5.15/Documentation/devicetree/bindings/sound/ |
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", 13 "fsl,imx8qm-sai", "fsl,imx8mm-sai", 14 "fsl,imx8mn-sai", "fsl,imx8mp-sai", or 15 "fsl,imx8ulp-sai". 40 - fsl,sai-synchronous-rx: This is a boolean property. If present, indicating 41 that SAI will work in the synchronous mode (sync Tx [all …]
|
D | st,stm32-sai.yaml | 4 $id: http://devicetree.org/schemas/sound/st,stm32-sai.yaml# 7 title: STMicroelectronics STM32 Serial Audio Interface (SAI) 13 The SAI interface (Serial Audio Interface) offers a wide set of audio 15 The SAI contains two independent audio sub-blocks. Each sub-block has 21 - st,stm32f4-sai 22 - st,stm32h7-sai 26 - description: Base address and size of SAI common register set. 27 - description: Base address and size of SAI identification register set. 64 Two subnodes corresponding to SAI sub-block instances A et B 69 description: Compatible for SAI sub-block A or B. [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-v5.15/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-v5.15/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-v5.15/fs/xfs/scrub/ |
D | agheader.c | 641 struct xchk_agfl_info *sai = priv; in xchk_agfl_block() local 642 struct xfs_scrub *sc = sai->sc; in xchk_agfl_block() 646 sai->nr_entries < sai->sz_entries) in xchk_agfl_block() 647 sai->entries[sai->nr_entries++] = agbno; in xchk_agfl_block() 701 struct xchk_agfl_info sai; in xchk_agfl() local 727 memset(&sai, 0, sizeof(sai)); in xchk_agfl() 728 sai.sc = sc; in xchk_agfl() 729 sai.sz_entries = agflcount; in xchk_agfl() 730 sai.entries = kmem_zalloc(sizeof(xfs_agblock_t) * agflcount, in xchk_agfl() 732 if (!sai.entries) { in xchk_agfl() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/freescale/ |
D | imx8mn.dtsi | 265 sai2: sai@30020000 { 266 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 279 sai3: sai@30030000 { 280 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 293 sai5: sai@30050000 { 294 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 309 sai6: sai@30060000 { 310 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 366 sai7: sai@300b0000 { 367 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
|
D | imx8mm.dtsi | 283 sai1: sai@30010000 { 285 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 297 sai2: sai@30020000 { 299 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 311 sai3: sai@30030000 { 313 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 325 sai5: sai@30050000 { 327 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 339 sai6: sai@30060000 { 341 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
|
D | fsl-ls1028a.dtsi | 805 compatible = "fsl,vf610-sai"; 820 fsl,sai-asynchronous; 826 compatible = "fsl,vf610-sai"; 841 fsl,sai-asynchronous; 847 compatible = "fsl,vf610-sai"; 862 fsl,sai-asynchronous; 868 compatible = "fsl,vf610-sai"; 883 fsl,sai-asynchronous; 889 compatible = "fsl,vf610-sai"; 904 fsl,sai-asynchronous; [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/dma/ |
D | fsl-edma.txt | 102 sai2: sai@40031000 { 103 compatible = "fsl,vf610-sai"; 106 clock-names = "sai";
|
/Linux-v5.15/tools/testing/selftests/resctrl/ |
D | README | 5 Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>,
|
/Linux-v5.15/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 | 813 sai1: sai@4400a000 { 814 compatible = "st,stm32h7-sai"; 826 compatible = "st,stm32-sai-sub-a"; 836 compatible = "st,stm32-sai-sub-b"; 845 sai2: sai@4400b000 { 846 compatible = "st,stm32h7-sai"; 857 compatible = "st,stm32-sai-sub-a"; 867 compatible = "st,stm32-sai-sub-b"; 876 sai3: sai@4400c000 { 877 compatible = "st,stm32h7-sai"; [all …]
|
/Linux-v5.15/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()
|