/Linux-v6.1/sound/soc/stm/ |
D | stm32_sai_sub.c | 56 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4(sai->pdata)) 186 static int stm32_sai_sub_reg_up(struct stm32_sai_sub_data *sai, in stm32_sai_sub_reg_up() argument 192 ret = clk_enable(sai->pdata->pclk); in stm32_sai_sub_reg_up() 196 ret = regmap_update_bits(sai->regmap, reg, mask, val); in stm32_sai_sub_reg_up() 198 clk_disable(sai->pdata->pclk); in stm32_sai_sub_reg_up() 203 static int stm32_sai_sub_reg_wr(struct stm32_sai_sub_data *sai, in stm32_sai_sub_reg_wr() argument 209 ret = clk_enable(sai->pdata->pclk); in stm32_sai_sub_reg_wr() 213 ret = regmap_write_bits(sai->regmap, reg, mask, val); in stm32_sai_sub_reg_wr() 215 clk_disable(sai->pdata->pclk); in stm32_sai_sub_reg_wr() 220 static int stm32_sai_sub_reg_rd(struct stm32_sai_sub_data *sai, in stm32_sai_sub_reg_rd() argument [all …]
|
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 …]
|
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
|
/Linux-v6.1/sound/soc/fsl/ |
D | fsl_sai.c | 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() 82 state = pinctrl_lookup_state(sai->pinctrl, "default"); in fsl_sai_get_pins_state() 89 struct fsl_sai *sai = (struct fsl_sai *)devid; in fsl_sai_isr() local 90 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr() [all …]
|
D | Makefile | 18 snd-soc-fsl-sai-objs := fsl_sai.o 35 obj-$(CONFIG_SND_SOC_FSL_SAI) += snd-soc-fsl-sai.o
|
/Linux-v6.1/fs/xfs/scrub/ |
D | agheader.c | 640 struct xchk_agfl_info *sai = priv; in xchk_agfl_block() local 641 struct xfs_scrub *sc = sai->sc; in xchk_agfl_block() 644 sai->nr_entries < sai->sz_entries) in xchk_agfl_block() 645 sai->entries[sai->nr_entries++] = agbno; in xchk_agfl_block() 699 struct xchk_agfl_info sai; in xchk_agfl() local 725 memset(&sai, 0, sizeof(sai)); in xchk_agfl() 726 sai.sc = sc; in xchk_agfl() 727 sai.sz_entries = agflcount; in xchk_agfl() 728 sai.entries = kmem_zalloc(sizeof(xfs_agblock_t) * agflcount, in xchk_agfl() 730 if (!sai.entries) { in xchk_agfl() [all …]
|
/Linux-v6.1/drivers/dma/ |
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()
|
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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mn.dtsi | 295 sai2: sai@30020000 { 296 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai"; 309 sai3: sai@30030000 { 310 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai"; 323 sai5: sai@30050000 { 324 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai"; 339 sai6: sai@30060000 { 340 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai"; 396 sai7: sai@300b0000 { 397 compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
|
D | imx8mm.dtsi | 315 sai1: sai@30010000 { 317 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 329 sai2: sai@30020000 { 331 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 343 sai3: sai@30030000 { 345 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 357 sai5: sai@30050000 { 359 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 371 sai6: sai@30060000 { 373 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
|
D | fsl-ls1028a.dtsi | 875 compatible = "fsl,vf610-sai"; 890 fsl,sai-asynchronous; 896 compatible = "fsl,vf610-sai"; 911 fsl,sai-asynchronous; 917 compatible = "fsl,vf610-sai"; 932 fsl,sai-asynchronous; 938 compatible = "fsl,vf610-sai"; 953 fsl,sai-asynchronous; 959 compatible = "fsl,vf610-sai"; 974 fsl,sai-asynchronous; [all …]
|
D | imx8mq.dtsi | 339 sai1: sai@30010000 { 341 compatible = "fsl,imx8mq-sai"; 353 sai6: sai@30030000 { 355 compatible = "fsl,imx8mq-sai"; 367 sai5: sai@30040000 { 369 compatible = "fsl,imx8mq-sai"; 381 sai4: sai@30050000 { 383 compatible = "fsl,imx8mq-sai"; 978 sai2: sai@308b0000 { 980 compatible = "fsl,imx8mq-sai"; [all …]
|
D | imx8mm-prt8mm.dts | 125 fsl,sai-mclk-direction-output; 126 fsl,sai-asynchronous;
|
D | imx8mq-mnt-reform2.dts | 239 fsl,sai-mclk-direction-output; 240 fsl,sai-asynchronous;
|
D | fsl-ls1012a.dtsi | 436 sai1: sai@2b50000 { 438 compatible = "fsl,vf610-sai"; 456 sai2: sai@2b60000 { 458 compatible = "fsl,vf610-sai";
|
D | fsl-ls1028a-kontron-sl28-var3-ads2.dts | 123 compatible = "fsl,vf610-sai-clock";
|
/Linux-v6.1/net/sctp/ |
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()
|
/Linux-v6.1/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 | 868 sai1: sai@4400a000 { 869 compatible = "st,stm32h7-sai"; 881 compatible = "st,stm32-sai-sub-a"; 891 compatible = "st,stm32-sai-sub-b"; 900 sai2: sai@4400b000 { 901 compatible = "st,stm32h7-sai"; 912 compatible = "st,stm32-sai-sub-a"; 922 compatible = "st,stm32-sai-sub-b"; 931 sai3: sai@4400c000 { 932 compatible = "st,stm32h7-sai"; [all …]
|
D | imx6sx-sdb-sai.dts | 14 /* pin conflict with sai */
|
D | imx6ul.dtsi | 303 sai1: sai@2028000 { 305 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai"; 318 sai2: sai@202c000 { 320 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai"; 333 sai3: sai@2030000 { 335 compatible = "fsl,imx6ul-sai", "fsl,imx6sx-sai";
|
D | imx7s.dtsi | 941 sai1: sai@308a0000 { 943 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai"; 956 sai2: sai@308b0000 { 958 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai"; 971 sai3: sai@308c0000 { 973 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
|
/Linux-v6.1/sound/soc/sof/ |
D | ipc3-pcm.c | 318 rate->min = private->dai_config->sai.fsync_rate; in sof_ipc3_pcm_dai_link_fixup() 319 rate->max = private->dai_config->sai.fsync_rate; in sof_ipc3_pcm_dai_link_fixup() 320 channels->min = private->dai_config->sai.tdm_slots; in sof_ipc3_pcm_dai_link_fixup() 321 channels->max = private->dai_config->sai.tdm_slots; in sof_ipc3_pcm_dai_link_fixup()
|
D | ipc3-topology.c | 1039 memset(&config->sai, 0, sizeof(config->sai)); in sof_link_sai_load() 1043 ret = sof_update_ipc_object(scomp, &config->sai, SOF_SAI_TOKENS, slink->tuples, in sof_link_sai_load() 1048 config->sai.mclk_rate = le32_to_cpu(hw_config->mclk_rate); in sof_link_sai_load() 1049 config->sai.bclk_rate = le32_to_cpu(hw_config->bclk_rate); in sof_link_sai_load() 1050 config->sai.fsync_rate = le32_to_cpu(hw_config->fsync_rate); in sof_link_sai_load() 1051 config->sai.mclk_direction = hw_config->mclk_direction; in sof_link_sai_load() 1053 config->sai.tdm_slots = le32_to_cpu(hw_config->tdm_slots); in sof_link_sai_load() 1054 config->sai.tdm_slot_width = le32_to_cpu(hw_config->tdm_slot_width); in sof_link_sai_load() 1055 config->sai.rx_slots = le32_to_cpu(hw_config->rx_slots); in sof_link_sai_load() 1056 config->sai.tx_slots = le32_to_cpu(hw_config->tx_slots); in sof_link_sai_load() [all …]
|
/Linux-v6.1/include/sound/sof/ |
D | dai.h | 112 struct sof_ipc_dai_sai_params sai; member
|