Searched refs:ssd130x (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/solomon/ |
D | ssd130x.c | 136 static int ssd130x_write_data(struct ssd130x_device *ssd130x, u8 *values, int count) in ssd130x_write_data() argument 138 return regmap_bulk_write(ssd130x->regmap, SSD130X_DATA, values, count); in ssd130x_write_data() 149 static int ssd130x_write_cmd(struct ssd130x_device *ssd130x, int count, in ssd130x_write_cmd() argument 160 ret = regmap_write(ssd130x->regmap, SSD130X_COMMAND, value); in ssd130x_write_cmd() 172 static int ssd130x_set_col_range(struct ssd130x_device *ssd130x, in ssd130x_set_col_range() argument 178 if (col_start == ssd130x->col_start && col_end == ssd130x->col_end) in ssd130x_set_col_range() 181 ret = ssd130x_write_cmd(ssd130x, 3, SSD130X_SET_COL_RANGE, col_start, col_end); in ssd130x_set_col_range() 185 ssd130x->col_start = col_start; in ssd130x_set_col_range() 186 ssd130x->col_end = col_end; in ssd130x_set_col_range() 190 static int ssd130x_set_page_range(struct ssd130x_device *ssd130x, in ssd130x_set_page_range() argument [all …]
|
D | ssd130x-i2c.c | 26 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()
|
D | ssd130x-spi.c | 65 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()
|
D | Makefile | 1 obj-$(CONFIG_DRM_SSD130X) += ssd130x.o 2 obj-$(CONFIG_DRM_SSD130X_I2C) += ssd130x-i2c.o 3 obj-$(CONFIG_DRM_SSD130X_SPI) += ssd130x-spi.o
|
D | Kconfig | 12 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.
|
D | ssd130x.h | 94 void ssd130x_remove(struct ssd130x_device *ssd130x); 95 void ssd130x_shutdown(struct ssd130x_device *ssd130x);
|
/linux-6.1.9/ |
D | MAINTAINERS | 6629 F: drivers/gpu/drm/solomon/ssd130x*
|