Lines Matching refs:ssd130x_device
128 static inline struct ssd130x_device *drm_to_ssd130x(struct drm_device *drm) in drm_to_ssd130x()
130 return container_of(drm, struct ssd130x_device, drm); in drm_to_ssd130x()
136 static int ssd130x_write_data(struct ssd130x_device *ssd130x, u8 *values, int count) in ssd130x_write_data()
149 static int ssd130x_write_cmd(struct ssd130x_device *ssd130x, int count, in ssd130x_write_cmd()
172 static int ssd130x_set_col_range(struct ssd130x_device *ssd130x, in ssd130x_set_col_range()
190 static int ssd130x_set_page_range(struct ssd130x_device *ssd130x, in ssd130x_set_page_range()
209 static int ssd130x_set_page_pos(struct ssd130x_device *ssd130x, in ssd130x_set_page_pos()
228 static int ssd130x_pwm_enable(struct ssd130x_device *ssd130x) in ssd130x_pwm_enable()
252 static void ssd130x_reset(struct ssd130x_device *ssd130x) in ssd130x_reset()
264 static int ssd130x_power_on(struct ssd130x_device *ssd130x) in ssd130x_power_on()
289 static void ssd130x_power_off(struct ssd130x_device *ssd130x) in ssd130x_power_off()
297 static int ssd130x_init(struct ssd130x_device *ssd130x) in ssd130x_init()
414 static int ssd130x_update_rect(struct ssd130x_device *ssd130x, u8 *buf, in ssd130x_update_rect()
520 static void ssd130x_clear_screen(struct ssd130x_device *ssd130x) in ssd130x_clear_screen()
543 struct ssd130x_device *ssd130x = drm_to_ssd130x(fb->dev); in ssd130x_fb_blit_rect()
604 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_primary_plane_helper_atomic_disable()
632 struct ssd130x_device *ssd130x = drm_to_ssd130x(crtc->dev); in ssd130x_crtc_helper_mode_valid()
671 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_crtc_reset()
691 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_encoder_helper_atomic_enable()
707 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_encoder_helper_atomic_disable()
727 struct ssd130x_device *ssd130x = drm_to_ssd130x(connector->dev); in ssd130x_connector_helper_get_modes()
781 struct ssd130x_device *ssd130x = bl_get_data(bdev); in ssd130x_update_bl()
802 static void ssd130x_parse_properties(struct ssd130x_device *ssd130x) in ssd130x_parse_properties()
850 static int ssd130x_init_modeset(struct ssd130x_device *ssd130x) in ssd130x_init_modeset()
955 static int ssd130x_get_resources(struct ssd130x_device *ssd130x) in ssd130x_get_resources()
972 struct ssd130x_device *ssd130x_probe(struct device *dev, struct regmap *regmap) in ssd130x_probe()
974 struct ssd130x_device *ssd130x; in ssd130x_probe()
980 struct ssd130x_device, drm); in ssd130x_probe()
1024 void ssd130x_remove(struct ssd130x_device *ssd130x) in ssd130x_remove()
1030 void ssd130x_shutdown(struct ssd130x_device *ssd130x) in ssd130x_shutdown()