Home
last modified time | relevance | path

Searched refs:ssd130x (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/solomon/
H A Dssd130x.c37 #include "ssd130x.h"
39 #define DRIVER_NAME "ssd130x"
165 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()
174 * Note that the ssd130x protocol requires each command and option to be
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 in ssd130x_set_col_range()
219 ssd130x_set_page_range(struct ssd130x_device *ssd130x, u8 page_start, u8 pages) ssd130x_set_page_range() argument
238 ssd130x_set_page_pos(struct ssd130x_device *ssd130x, u8 page_start, u8 col_start) ssd130x_set_page_pos() argument
257 ssd130x_pwm_enable(struct ssd130x_device *ssd130x) ssd130x_pwm_enable() argument
281 ssd130x_reset(struct ssd130x_device *ssd130x) ssd130x_reset() argument
293 ssd130x_power_on(struct ssd130x_device *ssd130x) ssd130x_power_on() argument
318 ssd130x_power_off(struct ssd130x_device *ssd130x) ssd130x_power_off() argument
326 ssd130x_init(struct ssd130x_device *ssd130x) ssd130x_init() argument
450 ssd130x_update_rect(struct ssd130x_device *ssd130x, struct ssd130x_plane_state *ssd130x_state, struct drm_rect *rect) ssd130x_update_rect() argument
553 ssd130x_clear_screen(struct ssd130x_device *ssd130x, struct ssd130x_plane_state *ssd130x_state) ssd130x_clear_screen() argument
602 struct ssd130x_device *ssd130x = drm_to_ssd130x(fb->dev); ssd130x_fb_blit_rect() local
634 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); ssd130x_primary_plane_helper_atomic_check() local
700 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); ssd130x_primary_plane_helper_atomic_disable() local
783 struct ssd130x_device *ssd130x = drm_to_ssd130x(crtc->dev); ssd130x_crtc_helper_mode_valid() local
819 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); ssd130x_encoder_helper_atomic_enable() local
845 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); ssd130x_encoder_helper_atomic_disable() local
865 struct ssd130x_device *ssd130x = drm_to_ssd130x(connector->dev); ssd130x_connector_helper_get_modes() local
919 struct ssd130x_device *ssd130x = bl_get_data(bdev); ssd130x_update_bl() local
940 ssd130x_parse_properties(struct ssd130x_device *ssd130x) ssd130x_parse_properties() argument
988 ssd130x_init_modeset(struct ssd130x_device *ssd130x) ssd130x_init_modeset() argument
1093 ssd130x_get_resources(struct ssd130x_device *ssd130x) ssd130x_get_resources() argument
1112 struct ssd130x_device *ssd130x; ssd130x_probe() local
1162 ssd130x_remove(struct ssd130x_device *ssd130x) ssd130x_remove() argument
1168 ssd130x_shutdown(struct ssd130x_device *ssd130x) ssd130x_shutdown() argument
[all...]
H A Dssd130x-i2c.c14 #include "ssd130x.h"
16 #define DRIVER_NAME "ssd130x-i2c"
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 in ssd130x_i2c_shutdown() local
[all...]
H A Dssd130x-spi.c11 #include "ssd130x.h"
13 #define DRIVER_NAME "ssd130x-spi"
27 * These control bytes are considered registers by the ssd130x core driver
28 * and can be used by the ssd130x SPI driver to determine if the data sent
47 /* The ssd130x driver does not read registers but regmap expects a .read */
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); ssd130x_spi_remove() local
105 struct ssd130x_device *ssd130x = spi_get_drvdata(spi); ssd130x_spi_shutdown() local
[all...]
H A Dssd130x.h97 void ssd130x_remove(struct ssd130x_device *ssd130x);
98 void ssd130x_shutdown(struct ssd130x_device *ssd130x);

Completed in 4 milliseconds