a10sr              82 drivers/gpio/gpio-altera-a10sr.c 	struct altr_a10sr *a10sr = dev_get_drvdata(pdev->dev.parent);
a10sr              88 drivers/gpio/gpio-altera-a10sr.c 	gpio->regmap = a10sr->regmap;
a10sr             115 drivers/mfd/altera-a10sr.c 	struct altr_a10sr *a10sr;
a10sr             117 drivers/mfd/altera-a10sr.c 	a10sr = devm_kzalloc(&spi->dev, sizeof(*a10sr),
a10sr             119 drivers/mfd/altera-a10sr.c 	if (!a10sr)
a10sr             126 drivers/mfd/altera-a10sr.c 	a10sr->dev = &spi->dev;
a10sr             128 drivers/mfd/altera-a10sr.c 	spi_set_drvdata(spi, a10sr);
a10sr             130 drivers/mfd/altera-a10sr.c 	a10sr->regmap = devm_regmap_init_spi(spi, &altr_a10sr_regmap_config);
a10sr             131 drivers/mfd/altera-a10sr.c 	if (IS_ERR(a10sr->regmap)) {
a10sr             132 drivers/mfd/altera-a10sr.c 		ret = PTR_ERR(a10sr->regmap);
a10sr             138 drivers/mfd/altera-a10sr.c 	ret = devm_mfd_add_devices(a10sr->dev, PLATFORM_DEVID_AUTO,
a10sr             143 drivers/mfd/altera-a10sr.c 		dev_err(a10sr->dev, "Failed to register sub-devices: %d\n",
a10sr              92 drivers/reset/reset-a10sr.c 	struct altr_a10sr *a10sr = dev_get_drvdata(pdev->dev.parent);
a10sr             104 drivers/reset/reset-a10sr.c 	a10r->regmap = a10sr->regmap;