Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/solomon/
Dssd130x.c165 static int ssd130x_write_data(struct ssd130x_device *ssd130x, u8 *values, int count) in ssd130x_write_data() argument
167 return regmap_bulk_write(ssd130x->regmap, SSD130X_DATA, values, count); in ssd130x_write_data()
178 static int ssd130x_write_cmd(struct ssd130x_device *ssd130x, int count, in ssd130x_write_cmd() argument
189 ret = regmap_write(ssd130x->regmap, SSD130X_COMMAND, value); in ssd130x_write_cmd()
201 static int ssd130x_set_col_range(struct ssd130x_device *ssd130x, in ssd130x_set_col_range() argument
207 if (col_start == ssd130x->col_start && col_end == ssd130x->col_end) in ssd130x_set_col_range()
210 ret = ssd130x_write_cmd(ssd130x, 3, SSD130X_SET_COL_RANGE, col_start, col_end); in ssd130x_set_col_range()
214 ssd130x->col_start = col_start; in ssd130x_set_col_range()
215 ssd130x->col_end = col_end; in ssd130x_set_col_range()
219 static int ssd130x_set_page_range(struct ssd130x_device *ssd130x, in ssd130x_set_page_range() argument
[all …]
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()
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()
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
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.
Dssd130x.h97 void ssd130x_remove(struct ssd130x_device *ssd130x);
98 void ssd130x_shutdown(struct ssd130x_device *ssd130x);
/Linux-v6.6/
DMAINTAINERS6786 F: drivers/gpu/drm/solomon/ssd130x*