Lines Matching refs:cs35l56
20 struct cs35l56_private *cs35l56; in cs35l56_spi_probe() local
23 cs35l56 = devm_kzalloc(&spi->dev, sizeof(struct cs35l56_private), GFP_KERNEL); in cs35l56_spi_probe()
24 if (!cs35l56) in cs35l56_spi_probe()
27 spi_set_drvdata(spi, cs35l56); in cs35l56_spi_probe()
28 cs35l56->base.regmap = devm_regmap_init_spi(spi, regmap_config); in cs35l56_spi_probe()
29 if (IS_ERR(cs35l56->base.regmap)) { in cs35l56_spi_probe()
30 ret = PTR_ERR(cs35l56->base.regmap); in cs35l56_spi_probe()
34 cs35l56->base.dev = &spi->dev; in cs35l56_spi_probe()
35 cs35l56->base.can_hibernate = true; in cs35l56_spi_probe()
37 ret = cs35l56_common_probe(cs35l56); in cs35l56_spi_probe()
41 ret = cs35l56_init(cs35l56); in cs35l56_spi_probe()
43 ret = cs35l56_irq_request(&cs35l56->base, spi->irq); in cs35l56_spi_probe()
45 cs35l56_remove(cs35l56); in cs35l56_spi_probe()
52 struct cs35l56_private *cs35l56 = spi_get_drvdata(spi); in cs35l56_spi_remove() local
54 cs35l56_remove(cs35l56); in cs35l56_spi_remove()