Home
last modified time | relevance | path

Searched full:cs40l50 (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/mfd/
H A Dcs40l50-i2c.c3 * CS40L50 Advanced Haptic Driver with waveform memory,
12 #include <linux/mfd/cs40l50.h>
16 struct cs40l50 *cs40l50; in cs40l50_i2c_probe() local
18 cs40l50 = devm_kzalloc(&i2c->dev, sizeof(*cs40l50), GFP_KERNEL); in cs40l50_i2c_probe()
19 if (!cs40l50) in cs40l50_i2c_probe()
22 i2c_set_clientdata(i2c, cs40l50); in cs40l50_i2c_probe()
24 cs40l50->dev = &i2c->dev; in cs40l50_i2c_probe()
25 cs40l50->irq = i2c->irq; in cs40l50_i2c_probe()
27 cs40l50->regmap = devm_regmap_init_i2c(i2c, &cs40l50_regmap); in cs40l50_i2c_probe()
28 if (IS_ERR(cs40l50->regmap)) in cs40l50_i2c_probe()
[all …]
H A Dcs40l50-spi.c3 * CS40L50 Advanced Haptic Driver with waveform memory,
11 #include <linux/mfd/cs40l50.h>
16 struct cs40l50 *cs40l50; in cs40l50_spi_probe() local
18 cs40l50 = devm_kzalloc(&spi->dev, sizeof(*cs40l50), GFP_KERNEL); in cs40l50_spi_probe()
19 if (!cs40l50) in cs40l50_spi_probe()
22 spi_set_drvdata(spi, cs40l50); in cs40l50_spi_probe()
24 cs40l50->dev = &spi->dev; in cs40l50_spi_probe()
25 cs40l50->irq = spi->irq; in cs40l50_spi_probe()
27 cs40l50->regmap = devm_regmap_init_spi(spi, &cs40l50_regmap); in cs40l50_spi_probe()
28 if (IS_ERR(cs40l50->regmap)) in cs40l50_spi_probe()
[all …]
/linux/include/linux/mfd/
H A Dcs40l50.h3 * CS40L50 Advanced Haptic Driver with waveform memory,
106 #define CS40L50_FW "cs40l50.wmfw"
107 #define CS40L50_WT "cs40l50.bin"
115 struct cs40l50 { struct
131 int cs40l50_probe(struct cs40l50 *cs40l50); argument
132 int cs40l50_remove(struct cs40l50 *cs40l50);
/linux/Documentation/devicetree/bindings/input/
H A Dcirrus,cs40l50.yaml4 $id: http://devicetree.org/schemas/input/cirrus,cs40l50.yaml#
7 title: Cirrus Logic CS40L50 Advanced Haptic Driver
13 CS40L50 is a haptic driver with waveform memory,
19 - cirrus,cs40l50
61 compatible = "cirrus,cs40l50";
/linux/sound/soc/codecs/
H A Dcs40l50-codec.c3 // CS40L50 Advanced Haptic Driver with waveform memory,
11 #include <linux/mfd/cs40l50.h>
244 .name = "cs40l50-pcm",
276 struct cs40l50 *cs40l50 = dev_get_drvdata(pdev->dev.parent); in cs40l50_codec_driver_probe() local
283 codec->regmap = cs40l50->regmap; in cs40l50_codec_driver_probe()
291 { "cs40l50-codec", },
300 .name = "cs40l50-codec",
305 MODULE_DESCRIPTION("ASoC CS40L50 driver");
H A DKconfig933 tristate "Cirrus Logic CS40L50 CODEC"
936 This option enables support for I2S streaming to Cirrus Logic CS40L50.
938 CS40L50 is a haptic driver with waveform memory, an integrated
940 called snd-soc-cs40l50.
/linux/drivers/input/misc/
H A Dcs40l50-vibra.c3 * CS40L50 Advanced Haptic Driver with waveform memory,
13 #include <linux/mfd/cs40l50.h>
490 struct cs40l50 *cs40l50 = dev_get_drvdata(pdev->dev.parent); in cs40l50_vibra_probe() local
498 vib->dev = cs40l50->dev; in cs40l50_vibra_probe()
499 vib->regmap = cs40l50->regmap; in cs40l50_vibra_probe()
506 vib->input->id.product = cs40l50->devid; in cs40l50_vibra_probe()
507 vib->input->id.version = cs40l50->revid; in cs40l50_vibra_probe()
542 { "cs40l50-vibra", },
551 .name = "cs40l50-vibra",
556 MODULE_DESCRIPTION("CS40L50 Advanced Haptic Driver");
/linux/
H A DMAINTAINERS6047 F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml