Home
last modified time | relevance | path

Searched refs:ssd130x (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c243 static int ssd130x_write_data(struct ssd130x_device *ssd130x, u8 *values, int count) in ssd130x_write_data() argument
245 return regmap_bulk_write(ssd130x->regmap, SSD13XX_DATA, values, count); in ssd130x_write_data()
256 static int ssd130x_write_cmd(struct ssd130x_device *ssd130x, int count, in ssd130x_write_cmd() argument
267 ret = regmap_write(ssd130x->regmap, SSD13XX_COMMAND, value); in ssd130x_write_cmd()
279 static int ssd130x_set_col_range(struct ssd130x_device *ssd130x, in ssd130x_set_col_range() argument
285 if (col_start == ssd130x->col_start && col_end == ssd130x->col_end) in ssd130x_set_col_range()
288 ret = ssd130x_write_cmd(ssd130x, 3, SSD130X_SET_COL_RANGE, col_start, col_end); in ssd130x_set_col_range()
292 ssd130x->col_start = col_start; in ssd130x_set_col_range()
293 ssd130x->col_end = col_end; in ssd130x_set_col_range()
297 static int ssd130x_set_page_range(struct ssd130x_device *ssd130x, in ssd130x_set_page_range() argument
[all …]
H A Dssd130x-i2c.c26 struct ssd130x_device *ssd130x; in ssd130x_i2c_probe() local
33 ssd130x = ssd130x_probe(&client->dev, regmap); in ssd130x_i2c_probe()
34 if (IS_ERR(ssd130x)) in ssd130x_i2c_probe()
35 return PTR_ERR(ssd130x); in ssd130x_i2c_probe()
37 i2c_set_clientdata(client, ssd130x); in ssd130x_i2c_probe()
44 struct ssd130x_device *ssd130x = i2c_get_clientdata(client); in ssd130x_i2c_remove() local
46 ssd130x_remove(ssd130x); in ssd130x_i2c_remove()
51 struct ssd130x_device *ssd130x = i2c_get_clientdata(client); in ssd130x_i2c_shutdown() local
53 ssd130x_shutdown(ssd130x); in ssd130x_i2c_shutdown()
H A Dssd130x-spi.c65 struct ssd130x_device *ssd130x; in ssd130x_spi_probe() local
87 ssd130x = ssd130x_probe(dev, regmap); in ssd130x_spi_probe()
88 if (IS_ERR(ssd130x)) in ssd130x_spi_probe()
89 return PTR_ERR(ssd130x); in ssd130x_spi_probe()
91 spi_set_drvdata(spi, ssd130x); in ssd130x_spi_probe()
98 struct ssd130x_device *ssd130x = spi_get_drvdata(spi); in ssd130x_spi_remove() local
100 ssd130x_remove(ssd130x); in ssd130x_spi_remove()
105 struct ssd130x_device *ssd130x = spi_get_drvdata(spi); in ssd130x_spi_shutdown() local
107 ssd130x_shutdown(ssd130x); in ssd130x_spi_shutdown()
H A DMakefile1 obj-$(CONFIG_DRM_SSD130X) += ssd130x.o
2 obj-$(CONFIG_DRM_SSD130X_I2C) += ssd130x-i2c.o
3 obj-$(CONFIG_DRM_SSD130X_SPI) += ssd130x-spi.o
H A DKconfig12 If M is selected the module will be called ssd130x.
22 If M is selected the module will be called ssd130x-i2c.
31 If M is selected the module will be called ssd130x-spi.
H A Dssd130x.h110 void ssd130x_remove(struct ssd130x_device *ssd130x);
111 void ssd130x_shutdown(struct ssd130x_device *ssd130x);
/linux/
H A DMAINTAINERS7398 F: drivers/gpu/drm/solomon/ssd130x*