Home
last modified time | relevance | path

Searched refs:sai (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/sound/soc/stm/
Dstm32_sai_sub.c66 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4(sai->pdata))
223 struct stm32_sai_sub_data *sai = snd_kcontrol_chip(kcontrol); in snd_pcm_iec958_get() local
225 mutex_lock(&sai->ctrl_lock); in snd_pcm_iec958_get()
226 memcpy(uctl->value.iec958.status, sai->iec958.status, 4); in snd_pcm_iec958_get()
227 mutex_unlock(&sai->ctrl_lock); in snd_pcm_iec958_get()
235 struct stm32_sai_sub_data *sai = snd_kcontrol_chip(kcontrol); in snd_pcm_iec958_put() local
237 mutex_lock(&sai->ctrl_lock); in snd_pcm_iec958_put()
238 memcpy(sai->iec958.status, uctl->value.iec958.status, 4); in snd_pcm_iec958_put()
239 mutex_unlock(&sai->ctrl_lock); in snd_pcm_iec958_put()
256 struct stm32_sai_sub_data *sai = (struct stm32_sai_sub_data *)devid; in stm32_sai_isr() local
[all …]
Dstm32_sai.c47 static int stm32_sai_sync_conf_client(struct stm32_sai_data *sai, int synci) in stm32_sai_sync_conf_client() argument
52 ret = clk_prepare_enable(sai->pclk); in stm32_sai_sync_conf_client()
54 dev_err(&sai->pdev->dev, "failed to enable clock: %d\n", ret); in stm32_sai_sync_conf_client()
58 writel_relaxed(FIELD_PREP(SAI_GCR_SYNCIN_MASK, (synci - 1)), sai->base); in stm32_sai_sync_conf_client()
60 clk_disable_unprepare(sai->pclk); in stm32_sai_sync_conf_client()
65 static int stm32_sai_sync_conf_provider(struct stm32_sai_data *sai, int synco) in stm32_sai_sync_conf_provider() argument
71 ret = clk_prepare_enable(sai->pclk); in stm32_sai_sync_conf_provider()
73 dev_err(&sai->pdev->dev, "failed to enable clock: %d\n", ret); in stm32_sai_sync_conf_provider()
77 dev_dbg(&sai->pdev->dev, "Set %s%s as synchro provider\n", in stm32_sai_sync_conf_provider()
78 sai->pdev->dev.of_node->name, in stm32_sai_sync_conf_provider()
[all …]
DMakefile3 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
Dstm32_sai.h277 int (*set_sync)(struct stm32_sai_data *sai,
/Linux-v4.19/sound/soc/fsl/
Dfsl_sai.c40 struct fsl_sai *sai = (struct fsl_sai *)devid; in fsl_sai_isr() local
41 struct device *dev = &sai->pdev->dev; in fsl_sai_isr()
53 regmap_read(sai->regmap, FSL_SAI_TCSR, &xcsr); in fsl_sai_isr()
83 regmap_write(sai->regmap, FSL_SAI_TCSR, flags | xcsr); in fsl_sai_isr()
87 regmap_read(sai->regmap, FSL_SAI_RCSR, &xcsr); in fsl_sai_isr()
117 regmap_write(sai->regmap, FSL_SAI_RCSR, flags | xcsr); in fsl_sai_isr()
129 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_tdm_slot() local
131 sai->slots = slots; in fsl_sai_set_dai_tdm_slot()
132 sai->slot_width = slot_width; in fsl_sai_set_dai_tdm_slot()
140 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_sysclk_tr() local
[all …]
DMakefile17 snd-soc-fsl-sai-objs := fsl_sai.o
26 obj-$(CONFIG_SND_SOC_FSL_SAI) += snd-soc-fsl-sai.o
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Dfsl-sai.txt10 - compatible : Compatible list, contains "fsl,vf610-sai",
11 "fsl,imx6sx-sai" or "fsl,imx6ul-sai"
36 - fsl,sai-synchronous-rx: This is a boolean property. If present, indicating
42 - fsl,sai-asynchronous: This is a boolean property. If present, indicating
55 - fsl,sai-mclk-direction-output: This is a boolean property. If present,
59 - If both fsl,sai-asynchronous and fsl,sai-synchronous-rx are absent, the
63 - fsl,sai-asynchronous and fsl,sai-synchronous-rx are exclusive.
66 sai2: sai@40031000 {
67 compatible = "fsl,vf610-sai";
Dst,stm32-sai.txt9 - compatible: Should be "st,stm32f4-sai" or "st,stm32h7-sai"
15 Mandatory for "st,stm32h7-sai" compatible.
16 Not used for "st,stm32f4-sai" compatible.
29 - compatible: Should be "st,stm32-sai-sub-a" or "st,stm32-sai-sub-b"
37 "tx": if sai sub-block is configured as playback DAI
38 "rx": if sai sub-block is configured as capture DAI
46 Must contain the phandle and index of the sai sub-block providing
66 compatible = "st,stm32h7-sai";
76 compatible = "st,stm32-sai-sub-a";
/Linux-v4.19/fs/xfs/scrub/
Dagheader.c631 struct xchk_agfl_info *sai = priv; in xchk_agfl_block() local
632 struct xfs_scrub *sc = sai->sc; in xchk_agfl_block()
636 sai->nr_entries < sai->sz_entries) in xchk_agfl_block()
637 sai->entries[sai->nr_entries++] = agbno; in xchk_agfl_block()
696 struct xchk_agfl_info sai; in xchk_agfl() local
724 memset(&sai, 0, sizeof(sai)); in xchk_agfl()
725 sai.sc = sc; in xchk_agfl()
726 sai.sz_entries = agflcount; in xchk_agfl()
727 sai.entries = kmem_zalloc(sizeof(xfs_agblock_t) * agflcount, in xchk_agfl()
729 if (!sai.entries) { in xchk_agfl()
[all …]
/Linux-v4.19/drivers/dma/
Dtxx9dmac.h292 u32 sai, u32 dai, u32 ccr) in txx9dmac_desc_set_nosimple() argument
295 desc->hwdesc.SAIR = sai; in txx9dmac_desc_set_nosimple()
299 desc->hwdesc32.SAIR = sai; in txx9dmac_desc_set_nosimple()
Dtxx9dmac.c338 u32 sai, dai; in txx9dmac_dostart() local
356 sai = ds->reg_width; in txx9dmac_dostart()
359 sai = 0; in txx9dmac_dostart()
363 sai = 8; in txx9dmac_dostart()
366 channel64_writel(dc, SAIR, sai); in txx9dmac_dostart()
377 sai = ds->reg_width; in txx9dmac_dostart()
380 sai = 0; in txx9dmac_dostart()
384 sai = 4; in txx9dmac_dostart()
387 channel32_writel(dc, SAIR, sai); in txx9dmac_dostart()
834 u32 sai, dai; in txx9dmac_prep_slave_sg() local
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/dma/
Dfsl-edma.txt66 sai2: sai@40031000 {
67 compatible = "fsl,vf610-sai";
70 clock-names = "sai";
/Linux-v4.19/net/sctp/
Dulpevent.c601 struct sctp_adaptation_event *sai; in sctp_ulpevent_make_adaptation_indication() local
610 sai = skb_put(skb, sizeof(struct sctp_adaptation_event)); in sctp_ulpevent_make_adaptation_indication()
612 sai->sai_type = SCTP_ADAPTATION_INDICATION; in sctp_ulpevent_make_adaptation_indication()
613 sai->sai_flags = 0; in sctp_ulpevent_make_adaptation_indication()
614 sai->sai_length = sizeof(struct sctp_adaptation_event); in sctp_ulpevent_make_adaptation_indication()
615 sai->sai_adaptation_ind = asoc->peer.adaptation_ind; in sctp_ulpevent_make_adaptation_indication()
617 sai->sai_assoc_id = sctp_assoc2id(asoc); in sctp_ulpevent_make_adaptation_indication()
/Linux-v4.19/arch/arm/boot/dts/
Dvfxxx.dtsi223 sai0: sai@4002f000 {
224 compatible = "fsl,vf610-sai";
237 sai1: sai@40030000 {
238 compatible = "fsl,vf610-sai";
251 sai2: sai@40031000 {
252 compatible = "fsl,vf610-sai";
265 sai3: sai@40032000 {
266 compatible = "fsl,vf610-sai";
Dimx7s.dtsi797 sai1: sai@308a0000 {
799 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
812 sai2: sai@308b0000 {
814 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
827 sai3: sai@308c0000 {
829 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
Dimx6ul.dtsi302 sai1: sai@2028000 {
304 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
317 sai2: sai@202c000 {
319 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
332 sai3: sai@2030000 {
334 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
Dimx6sx-sdb-sai.dts51 /* pin conflict with sai */
Dls1021a.dtsi531 sai1: sai@2b50000 {
533 compatible = "fsl,vf610-sai";
545 sai2: sai@2b60000 {
547 compatible = "fsl,vf610-sai";
Dimx6sx.dtsi1050 sai1: sai@21d4000 {
1051 compatible = "fsl,imx6sx-sai";
1069 sai2: sai@21dc000 {
1070 compatible = "fsl,imx6sx-sai";
Dimx6ul-14x14-evk.dtsi190 fsl,sai-mclk-direction-output;
DMakefile542 imx6sx-sdb-sai.dtb \
/Linux-v4.19/arch/arm64/boot/dts/freescale/
Dfsl-ls1012a.dtsi398 sai1: sai@2b50000 {
400 compatible = "fsl,vf610-sai";
412 sai2: sai@2b60000 {
414 compatible = "fsl,vf610-sai";
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dst,stm32-rcc.txt86 13 CLK_SAIQ_PDIV (post divisor of pll sai q divisor)