cs47l90           115 sound/soc/codecs/cs47l90.c 	struct cs47l90 *cs47l90 = snd_soc_component_get_drvdata(component);
cs47l90           116 sound/soc/codecs/cs47l90.c 	struct madera_priv *priv = &cs47l90->core;
cs47l90           130 sound/soc/codecs/cs47l90.c 		ret = madera_set_adsp_clk(&cs47l90->core, w->shift, freq);
cs47l90          2139 sound/soc/codecs/cs47l90.c 	struct cs47l90 *cs47l90 = snd_soc_component_get_drvdata(component);
cs47l90          2143 sound/soc/codecs/cs47l90.c 		return madera_set_fll_refclk(&cs47l90->fll[0], source, fref,
cs47l90          2146 sound/soc/codecs/cs47l90.c 		return madera_set_fll_refclk(&cs47l90->fll[1], source, fref,
cs47l90          2149 sound/soc/codecs/cs47l90.c 		return madera_set_fll_ao_refclk(&cs47l90->fll[2], source, fref,
cs47l90          2152 sound/soc/codecs/cs47l90.c 		return madera_set_fll_syncclk(&cs47l90->fll[0], source, fref,
cs47l90          2155 sound/soc/codecs/cs47l90.c 		return madera_set_fll_syncclk(&cs47l90->fll[1], source, fref,
cs47l90          2357 sound/soc/codecs/cs47l90.c 	struct cs47l90 *cs47l90 = snd_soc_component_get_drvdata(component);
cs47l90          2358 sound/soc/codecs/cs47l90.c 	struct madera_priv *priv = &cs47l90->core;
cs47l90          2378 sound/soc/codecs/cs47l90.c 	struct cs47l90 *cs47l90 = data;
cs47l90          2379 sound/soc/codecs/cs47l90.c 	struct madera_priv *priv = &cs47l90->core;
cs47l90          2407 sound/soc/codecs/cs47l90.c 	struct cs47l90 *cs47l90 = snd_soc_component_get_drvdata(component);
cs47l90          2408 sound/soc/codecs/cs47l90.c 	struct madera *madera = cs47l90->core.madera;
cs47l90          2434 sound/soc/codecs/cs47l90.c 		wm_adsp2_component_probe(&cs47l90->core.adsp[i], component);
cs47l90          2441 sound/soc/codecs/cs47l90.c 	struct cs47l90 *cs47l90 = snd_soc_component_get_drvdata(component);
cs47l90          2442 sound/soc/codecs/cs47l90.c 	struct madera *madera = cs47l90->core.madera;
cs47l90          2450 sound/soc/codecs/cs47l90.c 		wm_adsp2_component_remove(&cs47l90->core.adsp[i], component);
cs47l90          2497 sound/soc/codecs/cs47l90.c 	struct cs47l90 *cs47l90;
cs47l90          2508 sound/soc/codecs/cs47l90.c 	cs47l90 = devm_kzalloc(&pdev->dev, sizeof(struct cs47l90),
cs47l90          2510 sound/soc/codecs/cs47l90.c 	if (!cs47l90)
cs47l90          2513 sound/soc/codecs/cs47l90.c 	platform_set_drvdata(pdev, cs47l90);
cs47l90          2515 sound/soc/codecs/cs47l90.c 	cs47l90->core.madera = madera;
cs47l90          2516 sound/soc/codecs/cs47l90.c 	cs47l90->core.dev = &pdev->dev;
cs47l90          2517 sound/soc/codecs/cs47l90.c 	cs47l90->core.num_inputs = 10;
cs47l90          2519 sound/soc/codecs/cs47l90.c 	ret = madera_core_init(&cs47l90->core);
cs47l90          2525 sound/soc/codecs/cs47l90.c 				 cs47l90);
cs47l90          2536 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].part = "cs47l90";
cs47l90          2537 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].num = i + 1;
cs47l90          2538 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].type = WMFW_ADSP2;
cs47l90          2539 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].rev = 2;
cs47l90          2540 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].dev = madera->dev;
cs47l90          2541 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].regmap = madera->regmap_32bit;
cs47l90          2543 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].base = cs47l90_dsp_control_bases[i];
cs47l90          2544 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].mem = cs47l90_dsp_regions[i];
cs47l90          2545 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].num_mems =
cs47l90          2548 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].lock_regions = WM_ADSP2_REGION_1_9;
cs47l90          2550 sound/soc/codecs/cs47l90.c 		ret = wm_adsp2_init(&cs47l90->core.adsp[i]);
cs47l90          2553 sound/soc/codecs/cs47l90.c 			ret = madera_init_bus_error_irq(&cs47l90->core, i,
cs47l90          2556 sound/soc/codecs/cs47l90.c 				wm_adsp2_remove(&cs47l90->core.adsp[i]);
cs47l90          2561 sound/soc/codecs/cs47l90.c 				madera_free_bus_error_irq(&cs47l90->core, i);
cs47l90          2562 sound/soc/codecs/cs47l90.c 				wm_adsp2_remove(&cs47l90->core.adsp[i]);
cs47l90          2569 sound/soc/codecs/cs47l90.c 			&cs47l90->fll[0]);
cs47l90          2571 sound/soc/codecs/cs47l90.c 			&cs47l90->fll[1]);
cs47l90          2573 sound/soc/codecs/cs47l90.c 			&cs47l90->fll[2]);
cs47l90          2576 sound/soc/codecs/cs47l90.c 		madera_init_dai(&cs47l90->core, i);
cs47l90          2601 sound/soc/codecs/cs47l90.c 		madera_free_bus_error_irq(&cs47l90->core, i);
cs47l90          2602 sound/soc/codecs/cs47l90.c 		wm_adsp2_remove(&cs47l90->core.adsp[i]);
cs47l90          2606 sound/soc/codecs/cs47l90.c 	madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l90);
cs47l90          2608 sound/soc/codecs/cs47l90.c 	madera_core_free(&cs47l90->core);
cs47l90          2615 sound/soc/codecs/cs47l90.c 	struct cs47l90 *cs47l90 = platform_get_drvdata(pdev);
cs47l90          2621 sound/soc/codecs/cs47l90.c 		madera_free_bus_error_irq(&cs47l90->core, i);
cs47l90          2622 sound/soc/codecs/cs47l90.c 		wm_adsp2_remove(&cs47l90->core.adsp[i]);
cs47l90          2625 sound/soc/codecs/cs47l90.c 	madera_set_irq_wake(cs47l90->core.madera, MADERA_IRQ_DSP_IRQ1, 0);
cs47l90          2626 sound/soc/codecs/cs47l90.c 	madera_free_irq(cs47l90->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l90);
cs47l90          2627 sound/soc/codecs/cs47l90.c 	madera_core_free(&cs47l90->core);