madera             18 drivers/gpio/gpio-madera.c 	struct madera *madera;
madera             27 drivers/gpio/gpio-madera.c 	struct madera *madera = madera_gpio->madera;
madera             32 drivers/gpio/gpio-madera.c 	ret = regmap_read(madera->regmap, MADERA_GPIO1_CTRL_2 + reg_offset,
madera             43 drivers/gpio/gpio-madera.c 	struct madera *madera = madera_gpio->madera;
madera             46 drivers/gpio/gpio-madera.c 	return regmap_update_bits(madera->regmap,
madera             54 drivers/gpio/gpio-madera.c 	struct madera *madera = madera_gpio->madera;
madera             59 drivers/gpio/gpio-madera.c 	ret = regmap_read(madera->regmap, MADERA_GPIO1_CTRL_1 + reg_offset,
madera             71 drivers/gpio/gpio-madera.c 	struct madera *madera = madera_gpio->madera;
madera             76 drivers/gpio/gpio-madera.c 	ret = regmap_update_bits(madera->regmap,
madera             82 drivers/gpio/gpio-madera.c 	return regmap_update_bits(madera->regmap,
madera             91 drivers/gpio/gpio-madera.c 	struct madera *madera = madera_gpio->madera;
madera             96 drivers/gpio/gpio-madera.c 	ret = regmap_update_bits(madera->regmap,
madera            102 drivers/gpio/gpio-madera.c 		dev_warn(madera->dev, "Failed to write to 0x%x (%d)\n",
madera            122 drivers/gpio/gpio-madera.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera            123 drivers/gpio/gpio-madera.c 	struct madera_pdata *pdata = &madera->pdata;
madera            132 drivers/gpio/gpio-madera.c 	madera_gpio->madera = madera;
madera            138 drivers/gpio/gpio-madera.c 	switch (madera->type) {
madera            159 drivers/gpio/gpio-madera.c 		dev_err(&pdev->dev, "Unknown chip variant %d\n", madera->type);
madera            103 drivers/irqchip/irq-madera.c 	struct madera *madera = dev_get_drvdata(dev->parent);
madera            105 drivers/irqchip/irq-madera.c 	dev_dbg(madera->irq_dev, "Suspend, disabling IRQ\n");
madera            112 drivers/irqchip/irq-madera.c 	disable_irq(madera->irq);
madera            119 drivers/irqchip/irq-madera.c 	struct madera *madera = dev_get_drvdata(dev->parent);
madera            121 drivers/irqchip/irq-madera.c 	dev_dbg(madera->irq_dev, "No IRQ suspend, reenabling IRQ\n");
madera            124 drivers/irqchip/irq-madera.c 	enable_irq(madera->irq);
madera            131 drivers/irqchip/irq-madera.c 	struct madera *madera = dev_get_drvdata(dev->parent);
madera            133 drivers/irqchip/irq-madera.c 	dev_dbg(madera->irq_dev, "No IRQ resume, disabling IRQ\n");
madera            139 drivers/irqchip/irq-madera.c 	disable_irq(madera->irq);
madera            146 drivers/irqchip/irq-madera.c 	struct madera *madera = dev_get_drvdata(dev->parent);
madera            148 drivers/irqchip/irq-madera.c 	dev_dbg(madera->irq_dev, "Resume, reenabling IRQ\n");
madera            151 drivers/irqchip/irq-madera.c 	enable_irq(madera->irq);
madera            165 drivers/irqchip/irq-madera.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera            176 drivers/irqchip/irq-madera.c 	irq_flags = madera->pdata.irq_flags;
madera            178 drivers/irqchip/irq-madera.c 		irq_data = irq_get_irq_data(madera->irq);
madera            180 drivers/irqchip/irq-madera.c 			dev_err(&pdev->dev, "Invalid IRQ: %d\n", madera->irq);
madera            201 drivers/irqchip/irq-madera.c 		ret = regmap_update_bits(madera->regmap, MADERA_IRQ1_CTRL,
madera            214 drivers/irqchip/irq-madera.c 	ret = regmap_add_irq_chip(madera->regmap, madera->irq, IRQF_ONESHOT, 0,
madera            215 drivers/irqchip/irq-madera.c 				  &madera_irq_chip, &madera->irq_data);
madera            222 drivers/irqchip/irq-madera.c 	madera->irq_dev = &pdev->dev;
madera            229 drivers/irqchip/irq-madera.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera            235 drivers/irqchip/irq-madera.c 	madera->irq_dev = NULL;
madera            236 drivers/irqchip/irq-madera.c 	regmap_del_irq_chip(madera->irq, madera->irq_data);
madera             31 drivers/mfd/cs47l15-tables.c int cs47l15_patch(struct madera *madera)
madera             35 drivers/mfd/cs47l15-tables.c 	ret = regmap_register_patch(madera->regmap,
madera             39 drivers/mfd/cs47l15-tables.c 		dev_err(madera->dev,
madera             51 drivers/mfd/cs47l35-tables.c int cs47l35_patch(struct madera *madera)
madera             55 drivers/mfd/cs47l35-tables.c 	ret = regmap_register_patch(madera->regmap, cs47l35_reva_16_patch,
madera             58 drivers/mfd/cs47l35-tables.c 		dev_err(madera->dev, "Error applying patch: %d\n", ret);
madera            311 drivers/mfd/cs47l85-tables.c int cs47l85_patch(struct madera *madera)
madera            318 drivers/mfd/cs47l85-tables.c 	switch (madera->rev) {
madera            336 drivers/mfd/cs47l85-tables.c 	ret = regmap_register_patch(madera->regmap, patch16, num16);
madera            338 drivers/mfd/cs47l85-tables.c 		dev_err(madera->dev,
madera            343 drivers/mfd/cs47l85-tables.c 	ret = regmap_register_patch(madera->regmap_32bit, patch32, num32);
madera            345 drivers/mfd/cs47l85-tables.c 		dev_err(madera->dev,
madera             54 drivers/mfd/cs47l90-tables.c int cs47l90_patch(struct madera *madera)
madera             58 drivers/mfd/cs47l90-tables.c 	ret = regmap_register_patch(madera->regmap,
madera             62 drivers/mfd/cs47l90-tables.c 		dev_err(madera->dev,
madera             92 drivers/mfd/cs47l92-tables.c int cs47l92_patch(struct madera *madera)
madera             96 drivers/mfd/cs47l92-tables.c 	ret = regmap_register_patch(madera->regmap,
madera            100 drivers/mfd/cs47l92-tables.c 		dev_err(madera->dev,
madera            105 drivers/mfd/cs47l92-tables.c 	ret = regmap_register_patch(madera->regmap_32bit,
madera            109 drivers/mfd/cs47l92-tables.c 		dev_err(madera->dev,
madera            202 drivers/mfd/madera-core.c static int madera_wait_for_boot(struct madera *madera)
madera            216 drivers/mfd/madera-core.c 	regmap_read(madera->regmap, MADERA_IRQ1_RAW_STATUS_1, &val);
madera            221 drivers/mfd/madera-core.c 		regmap_read(madera->regmap, MADERA_IRQ1_RAW_STATUS_1, &val);
madera            225 drivers/mfd/madera-core.c 		dev_err(madera->dev, "Polling BOOT_DONE_STS timed out\n");
madera            233 drivers/mfd/madera-core.c 	regmap_write(madera->regmap, MADERA_IRQ1_STATUS_1,
madera            236 drivers/mfd/madera-core.c 	pm_runtime_mark_last_busy(madera->dev);
madera            241 drivers/mfd/madera-core.c static int madera_soft_reset(struct madera *madera)
madera            245 drivers/mfd/madera-core.c 	ret = regmap_write(madera->regmap, MADERA_SOFTWARE_RESET, 0);
madera            247 drivers/mfd/madera-core.c 		dev_err(madera->dev, "Failed to soft reset device: %d\n", ret);
madera            257 drivers/mfd/madera-core.c static void madera_enable_hard_reset(struct madera *madera)
madera            259 drivers/mfd/madera-core.c 	if (!madera->pdata.reset)
madera            267 drivers/mfd/madera-core.c 	gpiod_set_raw_value_cansleep(madera->pdata.reset, 0);
madera            270 drivers/mfd/madera-core.c static void madera_disable_hard_reset(struct madera *madera)
madera            272 drivers/mfd/madera-core.c 	if (!madera->pdata.reset)
madera            275 drivers/mfd/madera-core.c 	gpiod_set_raw_value_cansleep(madera->pdata.reset, 1);
madera            281 drivers/mfd/madera-core.c 	struct madera *madera = dev_get_drvdata(dev);
madera            286 drivers/mfd/madera-core.c 	ret = regulator_enable(madera->dcvdd);
madera            292 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap, false);
madera            293 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap_32bit, false);
madera            295 drivers/mfd/madera-core.c 	ret = madera_wait_for_boot(madera);
madera            299 drivers/mfd/madera-core.c 	ret = regcache_sync(madera->regmap);
madera            305 drivers/mfd/madera-core.c 	ret = regcache_sync(madera->regmap_32bit);
madera            314 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap_32bit, true);
madera            315 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap, true);
madera            316 drivers/mfd/madera-core.c 	regulator_disable(madera->dcvdd);
madera            323 drivers/mfd/madera-core.c 	struct madera *madera = dev_get_drvdata(dev);
madera            325 drivers/mfd/madera-core.c 	dev_dbg(madera->dev, "Entering sleep mode\n");
madera            327 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap, true);
madera            328 drivers/mfd/madera-core.c 	regcache_mark_dirty(madera->regmap);
madera            329 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap_32bit, true);
madera            330 drivers/mfd/madera-core.c 	regcache_mark_dirty(madera->regmap_32bit);
madera            332 drivers/mfd/madera-core.c 	regulator_disable(madera->dcvdd);
madera            359 drivers/mfd/madera-core.c static int madera_get_reset_gpio(struct madera *madera)
madera            364 drivers/mfd/madera-core.c 	if (madera->pdata.reset)
madera            367 drivers/mfd/madera-core.c 	reset = devm_gpiod_get_optional(madera->dev, "reset", GPIOD_OUT_LOW);
madera            371 drivers/mfd/madera-core.c 			dev_err(madera->dev, "Failed to request /RESET: %d\n",
madera            382 drivers/mfd/madera-core.c 		dev_warn(madera->dev,
madera            385 drivers/mfd/madera-core.c 	madera->pdata.reset = reset;
madera            390 drivers/mfd/madera-core.c static void madera_set_micbias_info(struct madera *madera)
madera            396 drivers/mfd/madera-core.c 	switch (madera->type) {
madera            398 drivers/mfd/madera-core.c 		madera->num_micbias = 1;
madera            399 drivers/mfd/madera-core.c 		madera->num_childbias[0] = 3;
madera            402 drivers/mfd/madera-core.c 		madera->num_micbias = 2;
madera            403 drivers/mfd/madera-core.c 		madera->num_childbias[0] = 2;
madera            404 drivers/mfd/madera-core.c 		madera->num_childbias[1] = 2;
madera            408 drivers/mfd/madera-core.c 		madera->num_micbias = 4;
madera            413 drivers/mfd/madera-core.c 		madera->num_micbias = 2;
madera            414 drivers/mfd/madera-core.c 		madera->num_childbias[0] = 4;
madera            415 drivers/mfd/madera-core.c 		madera->num_childbias[1] = 4;
madera            420 drivers/mfd/madera-core.c 		madera->num_micbias = 2;
madera            421 drivers/mfd/madera-core.c 		madera->num_childbias[0] = 4;
madera            422 drivers/mfd/madera-core.c 		madera->num_childbias[1] = 2;
madera            429 drivers/mfd/madera-core.c int madera_dev_init(struct madera *madera)
madera            431 drivers/mfd/madera-core.c 	struct device *dev = madera->dev;
madera            433 drivers/mfd/madera-core.c 	int (*patch_fn)(struct madera *) = NULL;
madera            438 drivers/mfd/madera-core.c 	dev_set_drvdata(madera->dev, madera);
madera            439 drivers/mfd/madera-core.c 	BLOCKING_INIT_NOTIFIER_HEAD(&madera->notifier);
madera            440 drivers/mfd/madera-core.c 	mutex_init(&madera->dapm_ptr_lock);
madera            442 drivers/mfd/madera-core.c 	madera_set_micbias_info(madera);
madera            448 drivers/mfd/madera-core.c 	if (dev_get_platdata(madera->dev)) {
madera            449 drivers/mfd/madera-core.c 		memcpy(&madera->pdata, dev_get_platdata(madera->dev),
madera            450 drivers/mfd/madera-core.c 		       sizeof(madera->pdata));
madera            453 drivers/mfd/madera-core.c 	ret = madera_get_reset_gpio(madera);
madera            457 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap, true);
madera            458 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap_32bit, true);
madera            461 drivers/mfd/madera-core.c 		madera->core_supplies[i].supply = madera_core_supplies[i];
madera            463 drivers/mfd/madera-core.c 	madera->num_core_supplies = ARRAY_SIZE(madera_core_supplies);
madera            470 drivers/mfd/madera-core.c 	switch (madera->type) {
madera            481 drivers/mfd/madera-core.c 		ret = mfd_add_devices(madera->dev, PLATFORM_DEVID_NONE,
madera            492 drivers/mfd/madera-core.c 		dev_err(madera->dev, "Unknown device type %d\n", madera->type);
madera            496 drivers/mfd/madera-core.c 	ret = devm_regulator_bulk_get(dev, madera->num_core_supplies,
madera            497 drivers/mfd/madera-core.c 				      madera->core_supplies);
madera            508 drivers/mfd/madera-core.c 	madera->dcvdd = regulator_get(madera->dev, "DCVDD");
madera            509 drivers/mfd/madera-core.c 	if (IS_ERR(madera->dcvdd)) {
madera            510 drivers/mfd/madera-core.c 		ret = PTR_ERR(madera->dcvdd);
madera            515 drivers/mfd/madera-core.c 	ret = regulator_bulk_enable(madera->num_core_supplies,
madera            516 drivers/mfd/madera-core.c 				    madera->core_supplies);
madera            522 drivers/mfd/madera-core.c 	ret = regulator_enable(madera->dcvdd);
madera            528 drivers/mfd/madera-core.c 	madera_disable_hard_reset(madera);
madera            530 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap, false);
madera            531 drivers/mfd/madera-core.c 	regcache_cache_only(madera->regmap_32bit, false);
madera            537 drivers/mfd/madera-core.c 	ret = regmap_read(madera->regmap, MADERA_SOFTWARE_RESET, &hwid);
madera            546 drivers/mfd/madera-core.c 			switch (madera->type) {
madera            559 drivers/mfd/madera-core.c 			switch (madera->type) {
madera            572 drivers/mfd/madera-core.c 			switch (madera->type) {
madera            586 drivers/mfd/madera-core.c 			switch (madera->type) {
madera            600 drivers/mfd/madera-core.c 			switch (madera->type) {
madera            614 drivers/mfd/madera-core.c 		dev_err(madera->dev, "Unknown device ID: %x\n", hwid);
madera            620 drivers/mfd/madera-core.c 		dev_err(madera->dev, "Device ID 0x%x not a %s\n", hwid,
madera            621 drivers/mfd/madera-core.c 			madera->type_name);
madera            630 drivers/mfd/madera-core.c 	if (!madera->pdata.reset) {
madera            631 drivers/mfd/madera-core.c 		ret = madera_soft_reset(madera);
madera            636 drivers/mfd/madera-core.c 	ret = madera_wait_for_boot(madera);
madera            638 drivers/mfd/madera-core.c 		dev_err(madera->dev, "Device failed initial boot: %d\n", ret);
madera            642 drivers/mfd/madera-core.c 	ret = regmap_read(madera->regmap, MADERA_HARDWARE_REVISION,
madera            643 drivers/mfd/madera-core.c 			  &madera->rev);
madera            648 drivers/mfd/madera-core.c 	madera->rev &= MADERA_HW_REVISION_MASK;
madera            650 drivers/mfd/madera-core.c 	dev_info(dev, "%s silicon revision %d\n", madera->type_name,
madera            651 drivers/mfd/madera-core.c 		 madera->rev);
madera            655 drivers/mfd/madera-core.c 		ret = patch_fn(madera);
madera            657 drivers/mfd/madera-core.c 			dev_err(madera->dev, "Failed to apply patch %d\n", ret);
madera            663 drivers/mfd/madera-core.c 	ret = regmap_update_bits(madera->regmap,
madera            668 drivers/mfd/madera-core.c 		dev_err(madera->dev, "Failed to init 32k clock: %d\n", ret);
madera            672 drivers/mfd/madera-core.c 	pm_runtime_set_active(madera->dev);
madera            673 drivers/mfd/madera-core.c 	pm_runtime_enable(madera->dev);
madera            674 drivers/mfd/madera-core.c 	pm_runtime_set_autosuspend_delay(madera->dev, 100);
madera            675 drivers/mfd/madera-core.c 	pm_runtime_use_autosuspend(madera->dev);
madera            678 drivers/mfd/madera-core.c 	ret = mfd_add_devices(madera->dev, PLATFORM_DEVID_NONE,
madera            682 drivers/mfd/madera-core.c 		dev_err(madera->dev, "Failed to add subdevices: %d\n", ret);
madera            689 drivers/mfd/madera-core.c 	pm_runtime_disable(madera->dev);
madera            691 drivers/mfd/madera-core.c 	madera_enable_hard_reset(madera);
madera            692 drivers/mfd/madera-core.c 	regulator_disable(madera->dcvdd);
madera            694 drivers/mfd/madera-core.c 	regulator_bulk_disable(madera->num_core_supplies,
madera            695 drivers/mfd/madera-core.c 			       madera->core_supplies);
madera            697 drivers/mfd/madera-core.c 	regulator_put(madera->dcvdd);
madera            705 drivers/mfd/madera-core.c int madera_dev_exit(struct madera *madera)
madera            708 drivers/mfd/madera-core.c 	disable_irq(madera->irq);
madera            714 drivers/mfd/madera-core.c 	pm_runtime_disable(madera->dev);
madera            716 drivers/mfd/madera-core.c 	regulator_disable(madera->dcvdd);
madera            717 drivers/mfd/madera-core.c 	regulator_put(madera->dcvdd);
madera            719 drivers/mfd/madera-core.c 	mfd_remove_devices(madera->dev);
madera            720 drivers/mfd/madera-core.c 	madera_enable_hard_reset(madera);
madera            722 drivers/mfd/madera-core.c 	regulator_bulk_disable(madera->num_core_supplies,
madera            723 drivers/mfd/madera-core.c 			       madera->core_supplies);
madera             23 drivers/mfd/madera-i2c.c 	struct madera *madera;
madera             87 drivers/mfd/madera-i2c.c 	madera = devm_kzalloc(&i2c->dev, sizeof(*madera), GFP_KERNEL);
madera             88 drivers/mfd/madera-i2c.c 	if (!madera)
madera             92 drivers/mfd/madera-i2c.c 	madera->regmap = devm_regmap_init_i2c(i2c, regmap_16bit_config);
madera             93 drivers/mfd/madera-i2c.c 	if (IS_ERR(madera->regmap)) {
madera             94 drivers/mfd/madera-i2c.c 		ret = PTR_ERR(madera->regmap);
madera            100 drivers/mfd/madera-i2c.c 	madera->regmap_32bit = devm_regmap_init_i2c(i2c, regmap_32bit_config);
madera            101 drivers/mfd/madera-i2c.c 	if (IS_ERR(madera->regmap_32bit)) {
madera            102 drivers/mfd/madera-i2c.c 		ret = PTR_ERR(madera->regmap_32bit);
madera            108 drivers/mfd/madera-i2c.c 	madera->type = type;
madera            109 drivers/mfd/madera-i2c.c 	madera->type_name = name;
madera            110 drivers/mfd/madera-i2c.c 	madera->dev = &i2c->dev;
madera            111 drivers/mfd/madera-i2c.c 	madera->irq = i2c->irq;
madera            113 drivers/mfd/madera-i2c.c 	return madera_dev_init(madera);
madera            118 drivers/mfd/madera-i2c.c 	struct madera *madera = dev_get_drvdata(&i2c->dev);
madera            120 drivers/mfd/madera-i2c.c 	madera_dev_exit(madera);
madera             23 drivers/mfd/madera-spi.c 	struct madera *madera;
madera             87 drivers/mfd/madera-spi.c 	madera = devm_kzalloc(&spi->dev, sizeof(*madera), GFP_KERNEL);
madera             88 drivers/mfd/madera-spi.c 	if (!madera)
madera             91 drivers/mfd/madera-spi.c 	madera->regmap = devm_regmap_init_spi(spi, regmap_16bit_config);
madera             92 drivers/mfd/madera-spi.c 	if (IS_ERR(madera->regmap)) {
madera             93 drivers/mfd/madera-spi.c 		ret = PTR_ERR(madera->regmap);
madera             99 drivers/mfd/madera-spi.c 	madera->regmap_32bit = devm_regmap_init_spi(spi, regmap_32bit_config);
madera            100 drivers/mfd/madera-spi.c 	if (IS_ERR(madera->regmap_32bit)) {
madera            101 drivers/mfd/madera-spi.c 		ret = PTR_ERR(madera->regmap_32bit);
madera            107 drivers/mfd/madera-spi.c 	madera->type = type;
madera            108 drivers/mfd/madera-spi.c 	madera->type_name = name;
madera            109 drivers/mfd/madera-spi.c 	madera->dev = &spi->dev;
madera            110 drivers/mfd/madera-spi.c 	madera->irq = spi->irq;
madera            112 drivers/mfd/madera-spi.c 	return madera_dev_init(madera);
madera            117 drivers/mfd/madera-spi.c 	struct madera *madera = spi_get_drvdata(spi);
madera            119 drivers/mfd/madera-spi.c 	madera_dev_exit(madera);
madera             14 drivers/mfd/madera.h struct madera;
madera             19 drivers/mfd/madera.h int madera_dev_init(struct madera *madera);
madera             20 drivers/mfd/madera.h int madera_dev_exit(struct madera *madera);
madera             28 drivers/mfd/madera.h int cs47l15_patch(struct madera *madera);
madera             34 drivers/mfd/madera.h int cs47l35_patch(struct madera *madera);
madera             40 drivers/mfd/madera.h int cs47l85_patch(struct madera *madera);
madera             46 drivers/mfd/madera.h int cs47l90_patch(struct madera *madera);
madera             52 drivers/mfd/madera.h int cs47l92_patch(struct madera *madera);
madera            522 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	ret = regmap_read(priv->madera->regmap, reg, &conf[0]);
madera            526 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	ret = regmap_read(priv->madera->regmap, reg + 1, &conf[1]);
madera            613 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	struct madera *madera = priv->madera;
madera            642 drivers/pinctrl/cirrus/pinctrl-madera-core.c 			ret = regmap_update_bits(madera->regmap, reg,
madera            660 drivers/pinctrl/cirrus/pinctrl-madera-core.c 		ret = regmap_update_bits(madera->regmap,
madera            678 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	struct madera *madera = priv->madera;
madera            688 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	ret = regmap_update_bits(madera->regmap, reg, MADERA_GP1_DIR_MASK, val);
madera            700 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	struct madera *madera = priv->madera;
madera            705 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	ret = regmap_update_bits(madera->regmap, reg, MADERA_GP1_FN_MASK, 1);
madera            717 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	struct madera *madera = priv->madera;
madera            724 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	ret = regmap_update_bits(madera->regmap, reg, MADERA_GP1_FN_MASK, 1);
madera            750 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	ret = regmap_read(priv->madera->regmap, reg, &conf[0]);
madera            752 drivers/pinctrl/cirrus/pinctrl-madera-core.c 		ret = regmap_read(priv->madera->regmap, reg + 1, &conf[1]);
madera            926 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	ret = regmap_update_bits(priv->madera->regmap, reg, mask[0], conf[0]);
madera            931 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	ret = regmap_update_bits(priv->madera->regmap, reg, mask[1], conf[1]);
madera            998 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera            999 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	const struct madera_pdata *pdata = &madera->pdata;
madera           1013 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	priv->madera = madera;
madera           1014 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	pdev->dev.of_node = madera->dev->of_node;
madera           1016 drivers/pinctrl/cirrus/pinctrl-madera-core.c 	switch (madera->type) {
madera             25 drivers/pinctrl/cirrus/pinctrl-madera.h 	struct madera *madera;
madera            354 drivers/regulator/arizona-ldo1.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera            363 drivers/regulator/arizona-ldo1.c 	ldo1->regmap = madera->regmap;
madera            368 drivers/regulator/arizona-ldo1.c 				       &madera->pdata.ldo1,
madera            373 drivers/regulator/arizona-ldo1.c 	madera->internal_dcvdd = !external_dcvdd;
madera            346 drivers/regulator/arizona-micsupp.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera            353 drivers/regulator/arizona-micsupp.c 	micsupp->regmap = madera->regmap;
madera            354 drivers/regulator/arizona-micsupp.c 	micsupp->dapm = &madera->dapm;
madera            355 drivers/regulator/arizona-micsupp.c 	micsupp->dev = madera->dev;
madera            359 drivers/regulator/arizona-micsupp.c 					   &madera->pdata.micvdd);
madera             94 include/linux/irqchip/irq-madera.h static inline int madera_get_irq_mapping(struct madera *madera, int irq)
madera             96 include/linux/irqchip/irq-madera.h 	if (!madera->irq_dev)
madera             99 include/linux/irqchip/irq-madera.h 	return regmap_irq_get_virq(madera->irq_data, irq);
madera            102 include/linux/irqchip/irq-madera.h static inline int madera_request_irq(struct madera *madera, int irq,
madera            106 include/linux/irqchip/irq-madera.h 	irq = madera_get_irq_mapping(madera, irq);
madera            114 include/linux/irqchip/irq-madera.h static inline void madera_free_irq(struct madera *madera, int irq, void *data)
madera            116 include/linux/irqchip/irq-madera.h 	irq = madera_get_irq_mapping(madera, irq);
madera            123 include/linux/irqchip/irq-madera.h static inline int madera_set_irq_wake(struct madera *madera, int irq, int on)
madera            125 include/linux/irqchip/irq-madera.h 	irq = madera_get_irq_mapping(madera, irq);
madera             75 sound/soc/codecs/cs47l15.c 	struct madera *madera = priv->madera;
madera             79 sound/soc/codecs/cs47l15.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq);
madera             81 sound/soc/codecs/cs47l15.c 		dev_err(madera->dev,
madera           1233 sound/soc/codecs/cs47l15.c 	struct madera *madera = priv->madera;
madera           1239 sound/soc/codecs/cs47l15.c 		dev_err(madera->dev,
madera           1252 sound/soc/codecs/cs47l15.c 	struct madera *madera = priv->madera;
madera           1257 sound/soc/codecs/cs47l15.c 		dev_err(madera->dev, "Spurious compressed data IRQ\n");
madera           1267 sound/soc/codecs/cs47l15.c 	struct madera *madera = cs47l15->core.madera;
madera           1270 sound/soc/codecs/cs47l15.c 	snd_soc_component_init_regmap(component, madera->regmap);
madera           1272 sound/soc/codecs/cs47l15.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           1273 sound/soc/codecs/cs47l15.c 	madera->dapm = snd_soc_component_get_dapm(component);
madera           1274 sound/soc/codecs/cs47l15.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           1300 sound/soc/codecs/cs47l15.c 	struct madera *madera = cs47l15->core.madera;
madera           1302 sound/soc/codecs/cs47l15.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           1303 sound/soc/codecs/cs47l15.c 	madera->dapm = NULL;
madera           1304 sound/soc/codecs/cs47l15.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           1349 sound/soc/codecs/cs47l15.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera           1356 sound/soc/codecs/cs47l15.c 	if (!madera->irq_dev) {
madera           1368 sound/soc/codecs/cs47l15.c 	cs47l15->core.madera = madera;
madera           1380 sound/soc/codecs/cs47l15.c 	ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1,
madera           1388 sound/soc/codecs/cs47l15.c 	ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1);
madera           1396 sound/soc/codecs/cs47l15.c 	cs47l15->core.adsp[0].dev = madera->dev;
madera           1397 sound/soc/codecs/cs47l15.c 	cs47l15->core.adsp[0].regmap = madera->regmap_32bit;
madera           1414 sound/soc/codecs/cs47l15.c 	madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1,
madera           1416 sound/soc/codecs/cs47l15.c 	madera_init_fll(madera, 4, MADERA_FLLAO_CONTROL_1 - 1,
madera           1424 sound/soc/codecs/cs47l15.c 		regmap_update_bits(madera->regmap, cs47l15_digital_vu[i],
madera           1447 sound/soc/codecs/cs47l15.c 	madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           1448 sound/soc/codecs/cs47l15.c 	madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l15);
madera           1467 sound/soc/codecs/cs47l15.c 	madera_set_irq_wake(cs47l15->core.madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           1468 sound/soc/codecs/cs47l15.c 	madera_free_irq(cs47l15->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l15);
madera             93 sound/soc/codecs/cs47l35.c 	struct madera *madera = priv->madera;
madera             97 sound/soc/codecs/cs47l35.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq);
madera             99 sound/soc/codecs/cs47l35.c 		dev_err(madera->dev,
madera           1509 sound/soc/codecs/cs47l35.c 	struct madera *madera = priv->madera;
madera           1517 sound/soc/codecs/cs47l35.c 		dev_err(madera->dev,
madera           1530 sound/soc/codecs/cs47l35.c 	struct madera *madera = priv->madera;
madera           1541 sound/soc/codecs/cs47l35.c 			blocking_notifier_call_chain(&madera->notifier,
madera           1548 sound/soc/codecs/cs47l35.c 		dev_err(madera->dev, "Spurious compressed data IRQ\n");
madera           1558 sound/soc/codecs/cs47l35.c 	struct madera *madera = cs47l35->core.madera;
madera           1561 sound/soc/codecs/cs47l35.c 	snd_soc_component_init_regmap(component, madera->regmap);
madera           1563 sound/soc/codecs/cs47l35.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           1564 sound/soc/codecs/cs47l35.c 	madera->dapm = snd_soc_component_get_dapm(component);
madera           1565 sound/soc/codecs/cs47l35.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           1592 sound/soc/codecs/cs47l35.c 	struct madera *madera = cs47l35->core.madera;
madera           1595 sound/soc/codecs/cs47l35.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           1596 sound/soc/codecs/cs47l35.c 	madera->dapm = NULL;
madera           1597 sound/soc/codecs/cs47l35.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           1643 sound/soc/codecs/cs47l35.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera           1650 sound/soc/codecs/cs47l35.c 	if (!madera->irq_dev) {
madera           1660 sound/soc/codecs/cs47l35.c 	cs47l35->core.madera = madera;
madera           1672 sound/soc/codecs/cs47l35.c 	ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1,
madera           1680 sound/soc/codecs/cs47l35.c 	ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1);
madera           1689 sound/soc/codecs/cs47l35.c 		cs47l35->core.adsp[i].dev = madera->dev;
madera           1690 sound/soc/codecs/cs47l35.c 		cs47l35->core.adsp[i].regmap = madera->regmap_32bit;
madera           1705 sound/soc/codecs/cs47l35.c 	madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, &cs47l35->fll);
madera           1712 sound/soc/codecs/cs47l35.c 		regmap_update_bits(madera->regmap, cs47l35_digital_vu[i],
madera           1735 sound/soc/codecs/cs47l35.c 	madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           1736 sound/soc/codecs/cs47l35.c 	madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l35);
madera           1755 sound/soc/codecs/cs47l35.c 	madera_set_irq_wake(cs47l35->core.madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           1756 sound/soc/codecs/cs47l35.c 	madera_free_irq(cs47l35->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l35);
madera            117 sound/soc/codecs/cs47l85.c 	struct madera *madera = priv->madera;
madera            121 sound/soc/codecs/cs47l85.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq);
madera            123 sound/soc/codecs/cs47l85.c 		dev_err(madera->dev,
madera           2448 sound/soc/codecs/cs47l85.c 	struct madera *madera = priv->madera;
madera           2456 sound/soc/codecs/cs47l85.c 		dev_err(madera->dev,
madera           2469 sound/soc/codecs/cs47l85.c 	struct madera *madera = priv->madera;
madera           2480 sound/soc/codecs/cs47l85.c 			blocking_notifier_call_chain(&madera->notifier,
madera           2487 sound/soc/codecs/cs47l85.c 		dev_err(madera->dev, "Spurious compressed data IRQ\n");
madera           2497 sound/soc/codecs/cs47l85.c 	struct madera *madera = cs47l85->core.madera;
madera           2500 sound/soc/codecs/cs47l85.c 	snd_soc_component_init_regmap(component, madera->regmap);
madera           2502 sound/soc/codecs/cs47l85.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           2503 sound/soc/codecs/cs47l85.c 	madera->dapm = snd_soc_component_get_dapm(component);
madera           2504 sound/soc/codecs/cs47l85.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           2531 sound/soc/codecs/cs47l85.c 	struct madera *madera = cs47l85->core.madera;
madera           2534 sound/soc/codecs/cs47l85.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           2535 sound/soc/codecs/cs47l85.c 	madera->dapm = NULL;
madera           2536 sound/soc/codecs/cs47l85.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           2589 sound/soc/codecs/cs47l85.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera           2596 sound/soc/codecs/cs47l85.c 	if (!madera->irq_dev) {
madera           2608 sound/soc/codecs/cs47l85.c 	cs47l85->core.madera = madera;
madera           2620 sound/soc/codecs/cs47l85.c 	ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1,
madera           2628 sound/soc/codecs/cs47l85.c 	ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1);
madera           2637 sound/soc/codecs/cs47l85.c 		cs47l85->core.adsp[i].dev = madera->dev;
madera           2638 sound/soc/codecs/cs47l85.c 		cs47l85->core.adsp[i].regmap = madera->regmap_32bit;
madera           2653 sound/soc/codecs/cs47l85.c 	madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1,
madera           2655 sound/soc/codecs/cs47l85.c 	madera_init_fll(madera, 2, MADERA_FLL2_CONTROL_1 - 1,
madera           2657 sound/soc/codecs/cs47l85.c 	madera_init_fll(madera, 3, MADERA_FLL3_CONTROL_1 - 1,
madera           2665 sound/soc/codecs/cs47l85.c 		regmap_update_bits(madera->regmap, cs47l85_digital_vu[i],
madera           2688 sound/soc/codecs/cs47l85.c 	madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           2689 sound/soc/codecs/cs47l85.c 	madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l85);
madera           2708 sound/soc/codecs/cs47l85.c 	madera_set_irq_wake(cs47l85->core.madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           2709 sound/soc/codecs/cs47l85.c 	madera_free_irq(cs47l85->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l85);
madera            117 sound/soc/codecs/cs47l90.c 	struct madera *madera = priv->madera;
madera            121 sound/soc/codecs/cs47l90.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq);
madera            123 sound/soc/codecs/cs47l90.c 		dev_err(madera->dev,
madera           2359 sound/soc/codecs/cs47l90.c 	struct madera *madera = priv->madera;
madera           2367 sound/soc/codecs/cs47l90.c 		dev_err(madera->dev,
madera           2380 sound/soc/codecs/cs47l90.c 	struct madera *madera = priv->madera;
madera           2391 sound/soc/codecs/cs47l90.c 			blocking_notifier_call_chain(&madera->notifier,
madera           2398 sound/soc/codecs/cs47l90.c 		dev_err(madera->dev, "Spurious compressed data IRQ\n");
madera           2408 sound/soc/codecs/cs47l90.c 	struct madera *madera = cs47l90->core.madera;
madera           2411 sound/soc/codecs/cs47l90.c 	snd_soc_component_init_regmap(component, madera->regmap);
madera           2413 sound/soc/codecs/cs47l90.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           2414 sound/soc/codecs/cs47l90.c 	madera->dapm = snd_soc_component_get_dapm(component);
madera           2415 sound/soc/codecs/cs47l90.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           2442 sound/soc/codecs/cs47l90.c 	struct madera *madera = cs47l90->core.madera;
madera           2445 sound/soc/codecs/cs47l90.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           2446 sound/soc/codecs/cs47l90.c 	madera->dapm = NULL;
madera           2447 sound/soc/codecs/cs47l90.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           2496 sound/soc/codecs/cs47l90.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera           2503 sound/soc/codecs/cs47l90.c 	if (!madera->irq_dev) {
madera           2515 sound/soc/codecs/cs47l90.c 	cs47l90->core.madera = madera;
madera           2523 sound/soc/codecs/cs47l90.c 	ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1,
madera           2531 sound/soc/codecs/cs47l90.c 	ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1);
madera           2540 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].dev = madera->dev;
madera           2541 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].regmap = madera->regmap_32bit;
madera           2568 sound/soc/codecs/cs47l90.c 	madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1,
madera           2570 sound/soc/codecs/cs47l90.c 	madera_init_fll(madera, 2, MADERA_FLL2_CONTROL_1 - 1,
madera           2572 sound/soc/codecs/cs47l90.c 	madera_init_fll(madera, 4, MADERA_FLLAO_CONTROL_1 - 1,
madera           2580 sound/soc/codecs/cs47l90.c 		regmap_update_bits(madera->regmap, cs47l90_digital_vu[i],
madera           2605 sound/soc/codecs/cs47l90.c 	madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           2606 sound/soc/codecs/cs47l90.c 	madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l90);
madera           2625 sound/soc/codecs/cs47l90.c 	madera_set_irq_wake(cs47l90->core.madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           2626 sound/soc/codecs/cs47l90.c 	madera_free_irq(cs47l90->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l90);
madera             61 sound/soc/codecs/cs47l92.c 	struct madera *madera = priv->madera;
madera             82 sound/soc/codecs/cs47l92.c 	ret = regmap_read(madera->regmap, MADERA_OUTPUT_ENABLES_1, &cur);
madera             84 sound/soc/codecs/cs47l92.c 		dev_warn(madera->dev, "Failed to read outputs: %d\n", ret);
madera             87 sound/soc/codecs/cs47l92.c 	ret = regmap_update_bits(madera->regmap, MADERA_OUTPUT_ENABLES_1,
madera             90 sound/soc/codecs/cs47l92.c 		dev_warn(madera->dev, "Failed to disable outputs: %d\n", ret);
madera             94 sound/soc/codecs/cs47l92.c 	ret = regmap_update_bits(madera->regmap, MADERA_OUTPUT_ENABLES_1,
madera             97 sound/soc/codecs/cs47l92.c 		dev_err(madera->dev, "Failed to set OUT3 demux: %d\n", ret);
madera             99 sound/soc/codecs/cs47l92.c 		out_mono = madera->pdata.codec.out_mono[2 + mux];
madera            103 sound/soc/codecs/cs47l92.c 			dev_warn(madera->dev,
madera            107 sound/soc/codecs/cs47l92.c 	ret = regmap_update_bits(madera->regmap, MADERA_OUTPUT_ENABLES_1,
madera            110 sound/soc/codecs/cs47l92.c 		dev_warn(madera->dev, "Failed to restore outputs: %d\n", ret);
madera            142 sound/soc/codecs/cs47l92.c 	struct madera *madera = priv->madera;
madera            146 sound/soc/codecs/cs47l92.c 	ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq);
madera            148 sound/soc/codecs/cs47l92.c 		dev_err(madera->dev,
madera           1789 sound/soc/codecs/cs47l92.c 	struct madera *madera = priv->madera;
madera           1795 sound/soc/codecs/cs47l92.c 		dev_err(madera->dev,
madera           1808 sound/soc/codecs/cs47l92.c 	struct madera *madera = priv->madera;
madera           1813 sound/soc/codecs/cs47l92.c 		dev_err(madera->dev, "Spurious compressed data IRQ\n");
madera           1823 sound/soc/codecs/cs47l92.c 	struct madera *madera = cs47l92->core.madera;
madera           1826 sound/soc/codecs/cs47l92.c 	snd_soc_component_init_regmap(component, madera->regmap);
madera           1828 sound/soc/codecs/cs47l92.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           1829 sound/soc/codecs/cs47l92.c 	madera->dapm = snd_soc_component_get_dapm(component);
madera           1830 sound/soc/codecs/cs47l92.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           1854 sound/soc/codecs/cs47l92.c 	struct madera *madera = cs47l92->core.madera;
madera           1856 sound/soc/codecs/cs47l92.c 	mutex_lock(&madera->dapm_ptr_lock);
madera           1857 sound/soc/codecs/cs47l92.c 	madera->dapm = NULL;
madera           1858 sound/soc/codecs/cs47l92.c 	mutex_unlock(&madera->dapm_ptr_lock);
madera           1906 sound/soc/codecs/cs47l92.c 	struct madera *madera = dev_get_drvdata(pdev->dev.parent);
madera           1913 sound/soc/codecs/cs47l92.c 	if (!madera->irq_dev) {
madera           1924 sound/soc/codecs/cs47l92.c 	cs47l92->core.madera = madera;
madera           1932 sound/soc/codecs/cs47l92.c 	ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1,
madera           1940 sound/soc/codecs/cs47l92.c 	ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1);
madera           1948 sound/soc/codecs/cs47l92.c 	cs47l92->core.adsp[0].dev = madera->dev;
madera           1949 sound/soc/codecs/cs47l92.c 	cs47l92->core.adsp[0].regmap = madera->regmap_32bit;
madera           1967 sound/soc/codecs/cs47l92.c 	madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1,
madera           1969 sound/soc/codecs/cs47l92.c 	madera_init_fll(madera, 2, MADERA_FLL2_CONTROL_1 - 1,
madera           1977 sound/soc/codecs/cs47l92.c 		regmap_update_bits(madera->regmap, cs47l92_digital_vu[i],
madera           2000 sound/soc/codecs/cs47l92.c 	madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           2001 sound/soc/codecs/cs47l92.c 	madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l92);
madera           2017 sound/soc/codecs/cs47l92.c 	madera_set_irq_wake(cs47l92->core.madera, MADERA_IRQ_DSP_IRQ1, 0);
madera           2018 sound/soc/codecs/cs47l92.c 	madera_free_irq(cs47l92->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l92);
madera            143 sound/soc/codecs/madera.c 	dev_err(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
madera            145 sound/soc/codecs/madera.c 	dev_warn(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
madera            147 sound/soc/codecs/madera.c 	dev_dbg(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
madera            168 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            173 sound/soc/codecs/madera.c 	if (pm_runtime_suspended(madera->dev))
madera            181 sound/soc/codecs/madera.c 		ret = regmap_read(madera->regmap, MADERA_SOFTWARE_RESET, &val);
madera            183 sound/soc/codecs/madera.c 			dev_err(madera->dev,
madera            202 sound/soc/codecs/madera.c static int madera_check_speaker_overheat(struct madera *madera,
madera            208 sound/soc/codecs/madera.c 	ret = regmap_read(madera->regmap, MADERA_IRQ1_RAW_STATUS_15, &val);
madera            210 sound/soc/codecs/madera.c 		dev_err(madera->dev, "Failed to read thermal status: %d\n",
madera            226 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            232 sound/soc/codecs/madera.c 		ret = madera_check_speaker_overheat(madera, &warn, &shutdown);
madera            237 sound/soc/codecs/madera.c 			dev_crit(madera->dev,
madera            242 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap, MADERA_OUTPUT_ENABLES_1,
madera            246 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap, MADERA_OUTPUT_ENABLES_1,
madera            259 sound/soc/codecs/madera.c 	struct madera *madera = data;
madera            263 sound/soc/codecs/madera.c 	ret = madera_check_speaker_overheat(madera, &warn, &shutdown);
madera            265 sound/soc/codecs/madera.c 		dev_crit(madera->dev, "Thermal shutdown\n");
madera            266 sound/soc/codecs/madera.c 		ret = regmap_update_bits(madera->regmap,
madera            271 sound/soc/codecs/madera.c 			dev_crit(madera->dev,
madera            275 sound/soc/codecs/madera.c 		dev_alert(madera->dev, "Thermal warning\n");
madera            277 sound/soc/codecs/madera.c 		dev_info(madera->dev, "Spurious thermal warning\n");
madera            286 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            287 sound/soc/codecs/madera.c 	struct device *dev = madera->dev;
madera            290 sound/soc/codecs/madera.c 	ret = madera_request_irq(madera, MADERA_IRQ_SPK_OVERHEAT_WARN,
madera            292 sound/soc/codecs/madera.c 				 madera);
madera            296 sound/soc/codecs/madera.c 	ret = madera_request_irq(madera, MADERA_IRQ_SPK_OVERHEAT,
madera            298 sound/soc/codecs/madera.c 				 madera);
madera            308 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            310 sound/soc/codecs/madera.c 	madera_free_irq(madera, MADERA_IRQ_SPK_OVERHEAT_WARN, madera);
madera            311 sound/soc/codecs/madera.c 	madera_free_irq(madera, MADERA_IRQ_SPK_OVERHEAT, madera);
madera            351 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            352 sound/soc/codecs/madera.c 	struct madera_codec_pdata *pdata = &madera->pdata.codec;
madera            359 sound/soc/codecs/madera.c 	n = madera_get_variable_u32_array(madera->dev, "cirrus,inmode",
madera            379 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            380 sound/soc/codecs/madera.c 	struct madera_codec_pdata *pdata = &madera->pdata.codec;
madera            386 sound/soc/codecs/madera.c 	n = madera_get_variable_u32_array(madera->dev, "cirrus,out-mono",
madera            392 sound/soc/codecs/madera.c 	madera_get_variable_u32_array(madera->dev,
madera            398 sound/soc/codecs/madera.c 	madera_get_variable_u32_array(madera->dev, "cirrus,pdm-fmt",
madera            402 sound/soc/codecs/madera.c 	madera_get_variable_u32_array(madera->dev, "cirrus,pdm-mute",
madera            406 sound/soc/codecs/madera.c 	madera_get_variable_u32_array(madera->dev, "cirrus,dmic-ref",
madera            419 sound/soc/codecs/madera.c 	if (!dev_get_platdata(priv->madera->dev))
madera            425 sound/soc/codecs/madera.c 		priv->madera->out_clamp[i] = true;
madera            441 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            445 sound/soc/codecs/madera.c 		dev_dbg(madera->dev, "domain_grp_ref[%d]=%d\n", i,
madera            470 sound/soc/codecs/madera.c 		dev_dbg(priv->madera->dev, "Inc ref on domain group %d\n",
madera            475 sound/soc/codecs/madera.c 		dev_dbg(priv->madera->dev, "Dec ref on domain group %d\n",
madera            499 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            521 sound/soc/codecs/madera.c 	ret = regmap_update_bits(madera->regmap, MADERA_OUTPUT_ENABLES_1,
madera            524 sound/soc/codecs/madera.c 		dev_warn(madera->dev, "Failed to disable outputs: %d\n", ret);
madera            529 sound/soc/codecs/madera.c 	if (madera->out_clamp[0])
madera            530 sound/soc/codecs/madera.c 		ret = regmap_update_bits(madera->regmap,
madera            534 sound/soc/codecs/madera.c 		dev_err(madera->dev, "Failed to set OUT1 demux: %d\n", ret);
madera            537 sound/soc/codecs/madera.c 		if (!ep_sel && !madera->pdata.codec.out_mono[0])
madera            544 sound/soc/codecs/madera.c 			dev_warn(madera->dev,
madera            553 sound/soc/codecs/madera.c 	    (madera->out_clamp[0] && !madera->out_shorted[0])) {
madera            554 sound/soc/codecs/madera.c 		ret = regmap_update_bits(madera->regmap,
madera            557 sound/soc/codecs/madera.c 					 madera->hp_ena);
madera            559 sound/soc/codecs/madera.c 			dev_warn(madera->dev,
madera            562 sound/soc/codecs/madera.c 		else if (madera->hp_ena)
madera            603 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            604 sound/soc/codecs/madera.c 	struct regmap *regmap = madera->regmap;
madera            620 sound/soc/codecs/madera.c 		inmode = madera->pdata.codec.inmode[0][2 * mux];
madera            623 sound/soc/codecs/madera.c 		inmode = madera->pdata.codec.inmode[0][1 + (2 * mux)];
madera            626 sound/soc/codecs/madera.c 		inmode = madera->pdata.codec.inmode[1][2 * mux];
madera            629 sound/soc/codecs/madera.c 		inmode = madera->pdata.codec.inmode[1][1 + (2 * mux)];
madera            638 sound/soc/codecs/madera.c 	dev_dbg(madera->dev, "mux=%u reg=0x%x inmode=0x%x mask=0x%x val=0x%x\n",
madera            812 sound/soc/codecs/madera.c 	dev_dbg(priv->madera->dev, "Rate reg 0x%x group ref %d\n", reg, count);
madera            863 sound/soc/codecs/madera.c 		dev_warn(priv->madera->dev,
madera            923 sound/soc/codecs/madera.c 	switch (priv->madera->type) {
madera            933 sound/soc/codecs/madera.c 		dev_dbg(priv->madera->dev, "Set DSP frequency to 0x%x\n", freq);
madera            948 sound/soc/codecs/madera.c 	dev_dbg(priv->madera->dev, "Set DSP clocking to 0x%x\n", val);
madera            962 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera            977 sound/soc/codecs/madera.c 		dev_err(madera->dev,
madera            987 sound/soc/codecs/madera.c 		dev_dbg(madera->dev, "DSP rate not changed\n");
madera            990 sound/soc/codecs/madera.c 		dev_dbg(madera->dev, "DSP rate changed\n");
madera           1023 sound/soc/codecs/madera.c 		dev_warn(priv->madera->dev, "Failed to read 0x%x (%d)\n",
madera           1035 sound/soc/codecs/madera.c 		dev_warn(priv->madera->dev,
madera           1052 sound/soc/codecs/madera.c static void madera_configure_input_mode(struct madera *madera)
madera           1057 sound/soc/codecs/madera.c 	switch (madera->type) {
madera           1087 sound/soc/codecs/madera.c 		dev_dbg(madera->dev, "IN%d mode %u:%u:%u:%u\n", i + 1,
madera           1088 sound/soc/codecs/madera.c 			madera->pdata.codec.inmode[i][0],
madera           1089 sound/soc/codecs/madera.c 			madera->pdata.codec.inmode[i][1],
madera           1090 sound/soc/codecs/madera.c 			madera->pdata.codec.inmode[i][2],
madera           1091 sound/soc/codecs/madera.c 			madera->pdata.codec.inmode[i][3]);
madera           1093 sound/soc/codecs/madera.c 		dig_mode = madera->pdata.codec.dmic_ref[i] <<
madera           1096 sound/soc/codecs/madera.c 		switch (madera->pdata.codec.inmode[i][0]) {
madera           1104 sound/soc/codecs/madera.c 			dev_warn(madera->dev,
madera           1106 sound/soc/codecs/madera.c 				 i + 1, madera->pdata.codec.inmode[i][0]);
madera           1110 sound/soc/codecs/madera.c 		switch (madera->pdata.codec.inmode[i][1]) {
madera           1118 sound/soc/codecs/madera.c 			dev_warn(madera->dev,
madera           1120 sound/soc/codecs/madera.c 				 i + 1, madera->pdata.codec.inmode[i][1]);
madera           1124 sound/soc/codecs/madera.c 		dev_dbg(madera->dev,
madera           1128 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           1135 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           1139 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           1148 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           1150 sound/soc/codecs/madera.c 	madera_configure_input_mode(madera);
madera           1170 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           1171 sound/soc/codecs/madera.c 	const struct madera_codec_pdata *pdata = &madera->pdata.codec;
madera           1176 sound/soc/codecs/madera.c 		dev_warn(madera->dev,
madera           1192 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           1196 sound/soc/codecs/madera.c 		dev_dbg(madera->dev, "OUT%d mono=0x%x\n", i + 1, val);
madera           1200 sound/soc/codecs/madera.c 		dev_dbg(madera->dev, "PDM%d fmt=0x%x mute=0x%x\n", i + 1,
madera           1204 sound/soc/codecs/madera.c 			regmap_update_bits(madera->regmap,
madera           1211 sound/soc/codecs/madera.c 			regmap_update_bits(madera->regmap,
madera           1224 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           1227 sound/soc/codecs/madera.c 	ret = madera_request_irq(madera,
madera           1233 sound/soc/codecs/madera.c 		dev_err(madera->dev,
madera           1242 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           1244 sound/soc/codecs/madera.c 	madera_free_irq(madera,
madera           2211 sound/soc/codecs/madera.c 		ret = regmap_update_bits(priv->madera->regmap,
madera           2215 sound/soc/codecs/madera.c 			dev_warn(priv->madera->dev,
madera           2273 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           2276 sound/soc/codecs/madera.c 	switch (madera->type) {
madera           2373 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           2394 sound/soc/codecs/madera.c 	madera->hp_ena &= ~mask;
madera           2395 sound/soc/codecs/madera.c 	madera->hp_ena |= val;
madera           2397 sound/soc/codecs/madera.c 	switch (madera->type) {
madera           2404 sound/soc/codecs/madera.c 		regmap_read(madera->regmap, MADERA_OUTPUT_ENABLES_1, &ep_sel);
madera           2411 sound/soc/codecs/madera.c 	    (!madera->out_clamp[out_num] || madera->out_shorted[out_num]))
madera           2414 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap, MADERA_OUTPUT_ENABLES_1, mask, val);
madera           2536 sound/soc/codecs/madera.c static int madera_get_legacy_dspclk_setting(struct madera *madera,
madera           2544 sound/soc/codecs/madera.c 		switch (madera->type) {
madera           2547 sound/soc/codecs/madera.c 			if (madera->rev < 3)
madera           2563 sound/soc/codecs/madera.c static int madera_get_dspclk_setting(struct madera *madera,
madera           2567 sound/soc/codecs/madera.c 	switch (madera->type) {
madera           2572 sound/soc/codecs/madera.c 		return madera_get_legacy_dspclk_setting(madera, freq);
madera           2639 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           2665 sound/soc/codecs/madera.c 		clk_freq_sel = madera_get_dspclk_setting(madera, freq,
madera           2678 sound/soc/codecs/madera.c 		dev_err(madera->dev,
madera           2686 sound/soc/codecs/madera.c 		dev_dbg(madera->dev, "%s cleared\n", name);
madera           2693 sound/soc/codecs/madera.c 		ret = regmap_write(madera->regmap, MADERA_DSP_CLOCK_2,
madera           2696 sound/soc/codecs/madera.c 			dev_err(madera->dev,
madera           2711 sound/soc/codecs/madera.c 	dev_dbg(madera->dev, "%s set to %uHz\n", name, freq);
madera           2713 sound/soc/codecs/madera.c 	return regmap_update_bits(madera->regmap, reg, mask, val);
madera           2721 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           2796 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap, base + MADERA_AIF_BCLK_CTRL,
madera           2799 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap, base + MADERA_AIF_TX_PIN_CTRL,
madera           2802 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap, base + MADERA_AIF_RX_PIN_CTRL,
madera           2805 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap, base + MADERA_AIF_FORMAT,
madera           2902 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           2922 sound/soc/codecs/madera.c 	switch (madera->type) {
madera           3003 sound/soc/codecs/madera.c 	ret = regmap_read(priv->madera->regmap,
madera           3070 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           3078 sound/soc/codecs/madera.c 			madera->pdata.codec.max_channels_clocked[dai->id - 1];
madera           3148 sound/soc/codecs/madera.c 		regmap_read(madera->regmap, base + MADERA_AIF_TX_ENABLES,
madera           3150 sound/soc/codecs/madera.c 		regmap_read(madera->regmap, base + MADERA_AIF_RX_ENABLES,
madera           3153 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3155 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3164 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3167 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3170 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3174 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3183 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3186 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3285 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           3293 sound/soc/codecs/madera.c 		regmap_write(madera->regmap, base + i, slot);
madera           3447 sound/soc/codecs/madera.c 	switch (fll->madera->type) {
madera           3449 sound/soc/codecs/madera.c 		switch (fll->madera->rev) {
madera           3504 sound/soc/codecs/madera.c 	switch (fll->madera->type) {
madera           3506 sound/soc/codecs/madera.c 		switch (fll->madera->rev) {
madera           3635 sound/soc/codecs/madera.c 	switch (fll->madera->type) {
madera           3637 sound/soc/codecs/madera.c 		switch (fll->madera->rev) {
madera           3684 sound/soc/codecs/madera.c static bool madera_write_fll(struct madera *madera, unsigned int base,
madera           3691 sound/soc/codecs/madera.c 	regmap_update_bits_check(madera->regmap,
madera           3696 sound/soc/codecs/madera.c 	regmap_update_bits_check(madera->regmap,
madera           3701 sound/soc/codecs/madera.c 	regmap_update_bits_check(madera->regmap,
madera           3707 sound/soc/codecs/madera.c 	regmap_update_bits_check(madera->regmap,
madera           3717 sound/soc/codecs/madera.c 		regmap_update_bits_check(madera->regmap,
madera           3724 sound/soc/codecs/madera.c 		regmap_update_bits_check(madera->regmap,
madera           3732 sound/soc/codecs/madera.c 	regmap_update_bits_check(madera->regmap,
madera           3743 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           3747 sound/soc/codecs/madera.c 	ret = regmap_read(madera->regmap,
madera           3759 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           3767 sound/soc/codecs/madera.c 		regmap_read(madera->regmap, MADERA_IRQ1_RAW_STATUS_2, &val);
madera           3803 sound/soc/codecs/madera.c 	regmap_update_bits_check(fll->madera->regmap,
madera           3814 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           3818 sound/soc/codecs/madera.c 	switch (madera->type) {
madera           3829 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           3832 sound/soc/codecs/madera.c 	regmap_update_bits_check(madera->regmap,
madera           3835 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           3838 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           3845 sound/soc/codecs/madera.c 		pm_runtime_put_autosuspend(madera->dev);
madera           3850 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           3878 sound/soc/codecs/madera.c 	switch (madera->type) {
madera           3893 sound/soc/codecs/madera.c 		regmap_update_bits(fll->madera->regmap,
madera           3898 sound/soc/codecs/madera.c 		regmap_update_bits(fll->madera->regmap,
madera           3909 sound/soc/codecs/madera.c 		fll_change |= madera_write_fll(madera, sync_base,
madera           3927 sound/soc/codecs/madera.c 	switch (fll->madera->type) {
madera           3929 sound/soc/codecs/madera.c 		switch (fll->madera->rev) {
madera           3958 sound/soc/codecs/madera.c 	fll_change |= madera_write_fll(madera, fll->base,
madera           3967 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3971 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3977 sound/soc/codecs/madera.c 		pm_runtime_get_sync(madera->dev);
madera           3980 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           3984 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           3989 sound/soc/codecs/madera.c 		regmap_update_bits(madera->regmap,
madera           4066 sound/soc/codecs/madera.c int madera_init_fll(struct madera *madera, int id, int base,
madera           4071 sound/soc/codecs/madera.c 	fll->madera = madera;
madera           4075 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4136 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           4145 sound/soc/codecs/madera.c 		pm_runtime_get_sync(madera->dev);
madera           4151 sound/soc/codecs/madera.c 	regmap_update_bits(fll->madera->regmap,
madera           4165 sound/soc/codecs/madera.c 		regmap_write(madera->regmap, patch[i].reg, val);
madera           4168 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4173 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4185 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           4190 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4193 sound/soc/codecs/madera.c 	regmap_update_bits_check(madera->regmap,
madera           4207 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4212 sound/soc/codecs/madera.c 		pm_runtime_put_autosuspend(madera->dev);
madera           4264 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           4275 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4278 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4281 sound/soc/codecs/madera.c 	regmap_update_bits_check(madera->regmap,
madera           4294 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4299 sound/soc/codecs/madera.c 		pm_runtime_put_autosuspend(madera->dev);
madera           4306 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           4408 sound/soc/codecs/madera.c 	regmap_write(madera->regmap,
madera           4411 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4415 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4419 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4423 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4427 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4433 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4437 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4441 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4452 sound/soc/codecs/madera.c 	struct madera *madera = fll->madera;
madera           4460 sound/soc/codecs/madera.c 		pm_runtime_get_sync(madera->dev);
madera           4466 sound/soc/codecs/madera.c 	regmap_update_bits(fll->madera->regmap,
madera           4477 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4482 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4488 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4493 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4499 sound/soc/codecs/madera.c 	regmap_update_bits(madera->regmap,
madera           4626 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           4633 sound/soc/codecs/madera.c 	len = params->num_regs * regmap_get_val_bytes(madera->regmap);
madera           4646 sound/soc/codecs/madera.c 		dev_err(madera->dev, "Rejecting unstable EQ coefficients\n");
madera           4651 sound/soc/codecs/madera.c 	ret = regmap_read(madera->regmap, params->base, &val);
madera           4658 sound/soc/codecs/madera.c 	ret = regmap_raw_write(madera->regmap, params->base, data, len);
madera           4673 sound/soc/codecs/madera.c 	struct madera *madera = priv->madera;
madera           4678 sound/soc/codecs/madera.c 		dev_err(madera->dev, "Rejecting unstable LHPF coefficients\n");
madera            105 sound/soc/codecs/madera.h struct madera;
madera            120 sound/soc/codecs/madera.h 	struct madera *madera;
madera            157 sound/soc/codecs/madera.h 	struct madera *madera;
madera            406 sound/soc/codecs/madera.h int madera_init_fll(struct madera *madera, int id, int base,
madera            437 sound/soc/codecs/madera.h 	struct madera *madera = priv->madera;
madera            439 sound/soc/codecs/madera.h 	return blocking_notifier_chain_register(&madera->notifier, nb);
madera            447 sound/soc/codecs/madera.h 	struct madera *madera = priv->madera;
madera            449 sound/soc/codecs/madera.h 	return blocking_notifier_chain_unregister(&madera->notifier, nb);