Home
last modified time | relevance | path

Searched full:sai (Results 1 – 25 of 135) sorted by relevance

123456

/openbmc/linux/sound/soc/stm/
H A Dstm32_sai_sub.c3 * STM32 ALSA SoC Digital Audio Interface (SAI) driver.
56 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4(sai->pdata))
65 * struct stm32_sai_sub_data - private data of SAI sub block (block A or B)
67 * @regmap: SAI register map pointer
68 * @regmap_config: SAI sub block register map configuration pointer
73 * @pdata: SAI block parent data pointer
75 * @sai_ck: kernel clock feeding the SAI clock generator
76 * @sai_mclk: master clock from SAI mclk provider
77 * @phys_addr: SAI registers physical base address
78 * @mclk_rate: SAI block master clock frequency (Hz). set at init
[all …]
H A Dstm32_sai.c3 * 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 …]
H A Dstm32_sai.h3 * 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 …]
H A DMakefile2 # 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
H A DKconfig5 tristate "STM32 SAI interface (Serial Audio Interface) support"
13 Say Y if you want to enable SAI for STM32
/openbmc/linux/sound/soc/fsl/
H A Dfsl_sai.c3 // Freescale ALSA SoC Digital Audio Interface (SAI) driver.
47 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's
51 * @sai: SAI context
54 static inline bool fsl_sai_dir_is_synced(struct fsl_sai *sai, int dir) in fsl_sai_dir_is_synced() argument
59 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced()
62 static struct pinctrl_state *fsl_sai_get_pins_state(struct fsl_sai *sai, u32 bclk) in fsl_sai_get_pins_state() argument
66 if (sai->is_pdm_mode) { in fsl_sai_get_pins_state()
69 state = pinctrl_lookup_state(sai->pinctrl, "dsd512"); in fsl_sai_get_pins_state()
73 state = pinctrl_lookup_state(sai->pinctrl, "dsd"); in fsl_sai_get_pins_state()
77 state = pinctrl_lookup_state(sai->pinctrl, "pcm_b2m"); in fsl_sai_get_pins_state()
[all …]
H A Dfsl_sai.h20 /* SAI Register Map Register */
21 #define FSL_SAI_VERID 0x00 /* SAI Version ID Register */
22 #define FSL_SAI_PARAM 0x04 /* SAI Parameter Register */
23 #define FSL_SAI_TCSR(ofs) (0x00 + ofs) /* SAI Transmit Control */
24 #define FSL_SAI_TCR1(ofs) (0x04 + ofs) /* SAI Transmit Configuration 1 */
25 #define FSL_SAI_TCR2(ofs) (0x08 + ofs) /* SAI Transmit Configuration 2 */
26 #define FSL_SAI_TCR3(ofs) (0x0c + ofs) /* SAI Transmit Configuration 3 */
27 #define FSL_SAI_TCR4(ofs) (0x10 + ofs) /* SAI Transmit Configuration 4 */
28 #define FSL_SAI_TCR5(ofs) (0x14 + ofs) /* SAI Transmit Configuration 5 */
29 #define FSL_SAI_TDR0 0x20 /* SAI Transmit Data 0 */
[all …]
H A Dfsl_rpmsg.h22 * @ipg: ipg clock for cpu dai (SAI)
23 * @mclk: master clock for cpu dai (SAI)
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dfsl,sai.yaml4 $id: http://devicetree.org/schemas/sound/fsl,sai.yaml#
7 title: Freescale Synchronous Audio Interface (SAI).
13 The SAI is based on I2S module that used communicating with audio codecs,
23 - fsl,imx6ul-sai
24 - fsl,imx7d-sai
25 - const: fsl,imx6sx-sai
29 - fsl,imx8mm-sai
30 - fsl,imx8mn-sai
31 - fsl,imx8mp-sai
32 - const: fsl,imx8mq-sai
[all …]
H A Dst,stm32-sai.yaml4 $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.
65 Two subnodes corresponding to SAI sub-block instances A et B
70 description: Compatible for SAI sub-block A or B.
[all …]
H A Dfsl,audmix.txt6 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
/openbmc/linux/drivers/clk/imx/
H A Dclk-imx8mp-audiomix.c34 .fw_name = "sai"__stringify(n), \
35 .name = "sai"__stringify(n) \
37 .fw_name = "sai"__stringify(n)"_mclk", \
38 .name = "sai"__stringify(n)"_mclk" \
99 "sai"__stringify(n)"_mclk1_sel", \
103 SAI##n##_MCLK_SEL, 1, 0 \
105 "sai"__stringify(n)"_mclk2_sel", \
109 SAI##n##_MCLK_SEL, 4, 1 \
111 "sai"__stringify(n)"_ipg_cg", \
116 "sai"__stringify(n)"_mclk1_cg", \
[all …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dfsl,sai-clock.yaml4 $id: http://devicetree.org/schemas/clock/fsl,sai-clock.yaml#
7 title: Freescale SAI bitclock-as-a-clock
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";
/openbmc/linux/fs/xfs/scrub/
H A Dagheader.c659 struct xchk_agfl_info *sai = priv; in xchk_agfl_block() local
660 struct xfs_scrub *sc = sai->sc; in xchk_agfl_block()
663 sai->nr_entries < sai->agflcount) in xchk_agfl_block()
664 sai->entries[sai->nr_entries++] = agbno; in xchk_agfl_block()
666 xchk_block_set_corrupt(sc, sai->agfl_bp); in xchk_agfl_block()
719 struct xchk_agfl_info sai = { in xchk_agfl() local
735 error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &sai.agfl_bp); in xchk_agfl()
738 xchk_buffer_recheck(sc, sai.agfl_bp); in xchk_agfl()
747 sai.agflcount = be32_to_cpu(agf->agf_flcount); in xchk_agfl()
748 if (sai.agflcount > xfs_agfl_size(sc->mp)) { in xchk_agfl()
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-fsl-sai.c3 * Freescale SAI BCLK as a generic clock driver
73 { .compatible = "fsl,vf610-sai-clock" },
81 .name = "fsl-sai-clk",
87 MODULE_DESCRIPTION("Freescale SAI bitclock-as-a-clock driver");
89 MODULE_ALIAS("platform:fsl-sai-clk");
/openbmc/u-boot/board/freescale/ls1012aqds/
H A DREADME37 - 5 SAI
38 - One SAI port with audio codec SGTL5000:
41 - One SAI port terminated at 2x6 header
42 - Three SAI Tx/Rx ports terminated at 2x3 headers
/openbmc/u-boot/board/freescale/ls1012afrdm/
H A DREADME35 - SAI Audio interface
36 - One SAI port, SAI 2 with full duplex support
/openbmc/qemu/hw/usb/
H A Dhcd-xhci-sysbus.h5 * SPDX-FileContributor: Author: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
H A Dhcd-xhci-pci.h7 * Date: 2020-01-1; Author: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
/openbmc/linux/include/linux/dma/
H A Dimx-dma.h41 IMX_DMATYPE_SAI, /* SAI */
86 * Some i.MX Audio devices (SAI, micfil) have multiple successive FIFO
87 * registers. For multichannel recording/playback the SAI/micfil have
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dxlnx,zynqmp-ocmc-1.0.yaml11 - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dservice_indicators.cpp63 bool sai = true; in activate() local
82 sai = false; in activate()
87 if (sai) in activate()
95 lg2::error("Failed to assert platform SAI LED group: {EXCEPTION}", in activate()
/openbmc/u-boot/arch/arm/dts/
H A Dls1021a.dtsi311 sai1: sai@2b50000 {
312 compatible = "fsl,vf610-sai";
316 clock-names = "sai";
324 sai2: sai@2b60000 {
325 compatible = "fsl,vf610-sai";
329 clock-names = "sai";
/openbmc/qemu/include/hw/usb/
H A Dxlnx-usb-subsystem.h4 * Copyright (c) 2020 Xilinx Inc. Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mn.dtsi296 sai2: sai@30020000 {
297 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
311 sai3: sai@30030000 {
312 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
326 sai5: sai@30050000 {
327 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
343 sai6: sai@30060000 {
344 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
402 sai7: sai@300b0000 {
403 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";

123456