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f, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf,
85 0xf, 0xf, 0xf, 0xf, 0xf, 0x7, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0x0,
86 0x0, 0x1, 0x2, 0x3, 0xb, 0xc, 0xf, 0xf, 0xd, 0xe, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf,
87 0x4, 0x5, 0x6, 0xf, 0x8, 0x9, 0xa, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf,
93 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0x0,
94 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0xf, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xf, 0xf,
95 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf,
98 0xf, 0xf, 0xf, 0xf, 0xf, 0x7, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0x0,
99 0x0, 0x1, 0x2, 0x3, 0x7, 0x8, 0xf, 0xf, 0x9, 0xa, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf,
100 0xf, 0xf, 0x6, 0xf, 0xf, 0xf, 0xa, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf,
123 /* select pre_proc between [0, 2] */ in fsl_asrc_sel_proc()
132 *pre_proc = 0; in fsl_asrc_sel_proc()
146 *post_proc = 0; in fsl_asrc_sel_proc()
166 int i, ret = 0; in fsl_asrc_request_pair()
212 ASRCTR_ASRCEi_MASK(index), 0); in fsl_asrc_release_pair()
218 pair->error = 0; in fsl_asrc_release_pair()
254 /* Calculate the divisors: prescaler [2^0, 2^7], divder [1, 8] */ in fsl_asrc_cal_asrck_divisor()
255 for (ps = 0; div > 8; ps++) in fsl_asrc_cal_asrck_divisor()
304 return 0; in fsl_asrc_set_ideal_ratio()
385 for (in = 0; in < ARRAY_SIZE(supported_asrc_rate); in++) in fsl_asrc_config_pair()
394 for (out = 0; out < ARRAY_SIZE(supported_asrc_rate); out++) in fsl_asrc_config_pair()
428 if (div[IN] == 0 || (!ideal && (div[IN] > 1024 || rem[IN] != 0))) { in fsl_asrc_config_pair()
445 if (div[OUT] == 0 || (!ideal && (div[OUT] > 1024 || rem[OUT] != 0))) { in fsl_asrc_config_pair()
468 ASRCTR_USRi_MASK(index), 0); in fsl_asrc_config_pair()
502 return 0; in fsl_asrc_config_pair()
506 ASRCTR_ATSi_MASK(index), 0); in fsl_asrc_config_pair()
549 for (i = 0; i < pair->channels * 4; i++) in fsl_asrc_start_pair()
550 regmap_write(asrc->regmap, REG_ASRDI(index), 0); in fsl_asrc_start_pair()
567 ASRCTR_ASRCEi_MASK(index), 0); in fsl_asrc_stop_pair()
595 snd_pcm_hw_constraint_step(substream->runtime, 0, in fsl_asrc_dai_startup()
599 return snd_pcm_hw_constraint_list(substream->runtime, 0, in fsl_asrc_dai_startup()
613 int i = 0, j = 0; in fsl_asrc_select_clk()
619 for (j = 0; j < 2; j++) { in fsl_asrc_select_clk()
620 for (i = 0; i < ASRC_CLK_MAP_LEN; i++) { in fsl_asrc_select_clk()
624 if (clk_rate != 0 && (clk_rate / rate[j]) <= 1024 && in fsl_asrc_select_clk()
625 (clk_rate % rate[j]) == 0) in fsl_asrc_select_clk()
689 return 0; in fsl_asrc_dai_hw_params()
701 return 0; in fsl_asrc_dai_hw_free()
725 return 0; in fsl_asrc_dai_trigger()
742 return 0; in fsl_asrc_dai_probe()
879 { REG_ASRCTR, 0x0000 }, { REG_ASRIER, 0x0000 },
880 { REG_ASRCNCR, 0x0000 }, { REG_ASRCFG, 0x0000 },
881 { REG_ASRCSR, 0x0000 }, { REG_ASRCDR1, 0x0000 },
882 { REG_ASRCDR2, 0x0000 }, { REG_ASRSTR, 0x0000 },
883 { REG_ASRRA, 0x0000 }, { REG_ASRRB, 0x0000 },
884 { REG_ASRRC, 0x0000 }, { REG_ASRPM1, 0x0000 },
885 { REG_ASRPM2, 0x0000 }, { REG_ASRPM3, 0x0000 },
886 { REG_ASRPM4, 0x0000 }, { REG_ASRPM5, 0x0000 },
887 { REG_ASRTFR1, 0x0000 }, { REG_ASRCCR, 0x0000 },
888 { REG_ASRDIA, 0x0000 }, { REG_ASRDOA, 0x0000 },
889 { REG_ASRDIB, 0x0000 }, { REG_ASRDOB, 0x0000 },
890 { REG_ASRDIC, 0x0000 }, { REG_ASRDOC, 0x0000 },
891 { REG_ASRIDRHA, 0x0000 }, { REG_ASRIDRLA, 0x0000 },
892 { REG_ASRIDRHB, 0x0000 }, { REG_ASRIDRLB, 0x0000 },
893 { REG_ASRIDRHC, 0x0000 }, { REG_ASRIDRLC, 0x0000 },
894 { REG_ASR76K, 0x0A47 }, { REG_ASR56K, 0x0DF3 },
895 { REG_ASRMCRA, 0x0000 }, { REG_ASRFSTA, 0x0000 },
896 { REG_ASRMCRB, 0x0000 }, { REG_ASRFSTB, 0x0000 },
897 { REG_ASRMCRC, 0x0000 }, { REG_ASRFSTC, 0x0000 },
898 { REG_ASRMCR1A, 0x0000 }, { REG_ASRMCR1B, 0x0000 },
899 { REG_ASRMCR1C, 0x0000 },
928 regmap_write(asrc->regmap, REG_ASRIER, 0x0); in fsl_asrc_init()
931 regmap_write(asrc->regmap, REG_ASRPM1, 0x7fffff); in fsl_asrc_init()
932 regmap_write(asrc->regmap, REG_ASRPM2, 0x255555); in fsl_asrc_init()
933 regmap_write(asrc->regmap, REG_ASRPM3, 0xff7280); in fsl_asrc_init()
934 regmap_write(asrc->regmap, REG_ASRPM4, 0xff7280); in fsl_asrc_init()
935 regmap_write(asrc->regmap, REG_ASRPM5, 0xff7280); in fsl_asrc_init()
937 /* Base address for task queue FIFO. Set to 0x7C */ in fsl_asrc_init()
939 ASRTFR1_TF_BASE_MASK, ASRTFR1_TF_BASE(0xfc)); in fsl_asrc_init()
944 * On iMX6, ipg_clk = 133MHz, REG_ASR76K = 0x06D6, REG_ASR56K = 0x0947 in fsl_asrc_init()
1035 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in fsl_asrc_probe()
1049 irq = platform_get_irq(pdev, 0); in fsl_asrc_probe()
1050 if (irq < 0) in fsl_asrc_probe()
1053 ret = devm_request_irq(&pdev->dev, irq, fsl_asrc_isr, 0, in fsl_asrc_probe()
1076 for (i = 0; i < ASRC_CLK_MAX_NUM; i++) { in fsl_asrc_probe()
1180 return 0; in fsl_asrc_probe()
1202 for (i = 0; i < ASRC_CLK_MAX_NUM; i++) { in fsl_asrc_runtime_resume()
1211 ASRCTR_ASRCEi_ALL_MASK, 0); in fsl_asrc_runtime_resume()
1226 return 0; in fsl_asrc_runtime_resume()
1229 for (i--; i >= 0; i--) in fsl_asrc_runtime_resume()
1251 for (i = 0; i < ASRC_CLK_MAX_NUM; i++) in fsl_asrc_runtime_suspend()
1258 return 0; in fsl_asrc_runtime_suspend()