| /OK3568_Linux_fs/kernel/sound/soc/stm/ |
| H A D | stm32_sai_sub.c | 58 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4(sai->pdata)) 188 static int stm32_sai_sub_reg_up(struct stm32_sai_sub_data *sai, in stm32_sai_sub_reg_up() argument 194 ret = clk_enable(sai->pdata->pclk); in stm32_sai_sub_reg_up() 198 ret = regmap_update_bits(sai->regmap, reg, mask, val); in stm32_sai_sub_reg_up() 200 clk_disable(sai->pdata->pclk); in stm32_sai_sub_reg_up() 205 static int stm32_sai_sub_reg_wr(struct stm32_sai_sub_data *sai, in stm32_sai_sub_reg_wr() argument 211 ret = clk_enable(sai->pdata->pclk); in stm32_sai_sub_reg_wr() 215 ret = regmap_write_bits(sai->regmap, reg, mask, val); in stm32_sai_sub_reg_wr() 217 clk_disable(sai->pdata->pclk); in stm32_sai_sub_reg_wr() 222 static int stm32_sai_sub_reg_rd(struct stm32_sai_sub_data *sai, in stm32_sai_sub_reg_rd() argument [all …]
|
| H A D | stm32_sai.c | 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() 77 writel_relaxed(FIELD_PREP(SAI_GCR_SYNCIN_MASK, (synci - 1)), sai->base); in stm32_sai_sync_conf_client() 79 stm32_sai_pclk_disable(&sai->pdev->dev); in stm32_sai_sync_conf_client() 84 static int stm32_sai_sync_conf_provider(struct stm32_sai_data *sai, int synco) in stm32_sai_sync_conf_provider() argument [all …]
|
| H A D | Makefile | 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
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | fsl_sai.c | 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() 108 regmap_read(sai->regmap, FSL_SAI_RCSR(ofs), &xcsr); in fsl_sai_isr() 138 regmap_write(sai->regmap, FSL_SAI_RCSR(ofs), flags | xcsr); in fsl_sai_isr() 150 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_tdm_slot() local [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/rockchip/ |
| H A D | rockchip_sai.c | 75 struct rk_sai_dev *sai = dev_get_drvdata(dev); in rockchip_sai_runtime_suspend() local 79 if (sai->is_master_mode) in rockchip_sai_runtime_suspend() 80 regmap_update_bits(sai->regmap, SAI_XFER, in rockchip_sai_runtime_suspend() 86 ret = regmap_read_poll_timeout_atomic(sai->regmap, SAI_XFER, val, in rockchip_sai_runtime_suspend() 89 dev_warn(sai->dev, "Failed to idle FS\n"); in rockchip_sai_runtime_suspend() 91 regcache_cache_only(sai->regmap, true); in rockchip_sai_runtime_suspend() 107 clk_disable_unprepare(sai->mclk); in rockchip_sai_runtime_suspend() 108 clk_disable_unprepare(sai->hclk); in rockchip_sai_runtime_suspend() 115 struct rk_sai_dev *sai = dev_get_drvdata(dev); in rockchip_sai_runtime_resume() local 118 ret = clk_prepare_enable(sai->hclk); in rockchip_sai_runtime_resume() [all …]
|
| H A D | Makefile | 8 snd-soc-rockchip-sai-objs := rockchip_sai.o 24 obj-$(CONFIG_SND_SOC_ROCKCHIP_SAI) += snd-soc-rockchip-sai.o
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | fsl-sai.txt | 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 44 - fsl,sai-asynchronous: This is a boolean property. If present, indicating 57 - fsl,sai-mclk-direction-output: This is a boolean property. If present, 61 - If both fsl,sai-asynchronous and fsl,sai-synchronous-rx are absent, the 65 - fsl,sai-asynchronous and fsl,sai-synchronous-rx are exclusive. 68 sai2: sai@40031000 { [all …]
|
| H A D | st,stm32-sai.txt | 9 - 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" 41 "tx": if sai sub-block is configured as playback DAI 42 "rx": if sai sub-block is configured as capture DAI 50 Must contain the phandle and index of the sai sub-block providing 73 compatible = "st,stm32h7-sai"; 83 compatible = "st,stm32-sai-sub-a";
|
| /OK3568_Linux_fs/kernel/fs/xfs/scrub/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/ |
| H A 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";
|
| H A D | fsl-ls1028a.dtsi | 755 compatible = "fsl,vf610-sai"; 764 fsl,sai-asynchronous; 770 compatible = "fsl,vf610-sai"; 779 fsl,sai-asynchronous; 785 compatible = "fsl,vf610-sai"; 794 fsl,sai-asynchronous; 800 compatible = "fsl,vf610-sai"; 809 fsl,sai-asynchronous; 815 compatible = "fsl,vf610-sai"; 824 fsl,sai-asynchronous; [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | ls1021a.dtsi | 313 sai1: sai@2b50000 { 314 compatible = "fsl,vf610-sai"; 318 clock-names = "sai"; 326 sai2: sai@2b60000 { 327 compatible = "fsl,vf610-sai"; 331 clock-names = "sai";
|
| H A D | imx7s.dtsi | 736 sai1: sai@308a0000 { 738 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai"; 751 sai2: sai@308b0000 { 753 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai"; 766 sai3: sai@308c0000 { 768 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
|
| H A D | imx6ul.dtsi | 277 sai1: sai@02028000 { 279 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai"; 292 sai2: sai@0202c000 { 294 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai"; 307 sai3: sai@02030000 { 309 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
|
| H A D | imx6ull.dtsi | 343 sai1: sai@02028000 { 344 compatible = "fsl,imx6ul-sai", 345 "fsl,imx6sx-sai"; 358 sai2: sai@0202c000 { 359 compatible = "fsl,imx6ul-sai", 360 "fsl,imx6sx-sai"; 373 sai3: sai@02030000 { 374 compatible = "fsl,imx6ul-sai", 375 "fsl,imx6sx-sai";
|
| /OK3568_Linux_fs/kernel/drivers/dma/ |
| H A 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 …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | ulpevent.c | 644 struct sctp_adaptation_event *sai; in sctp_ulpevent_make_adaptation_indication() local 653 sai = skb_put(skb, sizeof(struct sctp_adaptation_event)); in sctp_ulpevent_make_adaptation_indication() 655 sai->sai_type = SCTP_ADAPTATION_INDICATION; in sctp_ulpevent_make_adaptation_indication() 656 sai->sai_flags = 0; in sctp_ulpevent_make_adaptation_indication() 657 sai->sai_length = sizeof(struct sctp_adaptation_event); in sctp_ulpevent_make_adaptation_indication() 658 sai->sai_adaptation_ind = asoc->peer.adaptation_ind; in sctp_ulpevent_make_adaptation_indication() 660 sai->sai_assoc_id = sctp_assoc2id(asoc); in sctp_ulpevent_make_adaptation_indication()
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A 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";
|
| H A 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 …]
|
| H A D | imx6ul.dtsi | 301 sai1: sai@2028000 { 303 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai"; 316 sai2: sai@202c000 { 318 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai"; 331 sai3: sai@2030000 { 333 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
|
| H A D | imx6sx-sdb-sai.dts | 14 /* pin conflict with sai */
|
| H A D | imx7s.dtsi | 892 sai1: sai@308a0000 { 894 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai"; 907 sai2: sai@308b0000 { 909 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai"; 922 sai3: sai@308c0000 { 924 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/dma/ |
| H A D | fsl-edma.txt | 102 sai2: sai@40031000 { 103 compatible = "fsl,vf610-sai"; 106 clock-names = "sai";
|