Lines Matching refs:ssd130x_device
235 static inline struct ssd130x_device *drm_to_ssd130x(struct drm_device *drm) in drm_to_ssd130x()
237 return container_of(drm, struct ssd130x_device, drm); in drm_to_ssd130x()
243 static int ssd130x_write_data(struct ssd130x_device *ssd130x, u8 *values, int count) in ssd130x_write_data()
256 static int ssd130x_write_cmd(struct ssd130x_device *ssd130x, int count, in ssd130x_write_cmd()
279 static int ssd130x_set_col_range(struct ssd130x_device *ssd130x, in ssd130x_set_col_range()
297 static int ssd130x_set_page_range(struct ssd130x_device *ssd130x, in ssd130x_set_page_range()
316 static int ssd130x_set_page_pos(struct ssd130x_device *ssd130x, in ssd130x_set_page_pos()
335 static int ssd130x_pwm_enable(struct ssd130x_device *ssd130x) in ssd130x_pwm_enable()
359 static void ssd130x_reset(struct ssd130x_device *ssd130x) in ssd130x_reset()
371 static int ssd130x_power_on(struct ssd130x_device *ssd130x) in ssd130x_power_on()
396 static void ssd130x_power_off(struct ssd130x_device *ssd130x) in ssd130x_power_off()
404 static int ssd130x_init(struct ssd130x_device *ssd130x) in ssd130x_init()
528 static int ssd132x_init(struct ssd130x_device *ssd130x) in ssd132x_init()
618 static int ssd133x_init(struct ssd130x_device *ssd130x) in ssd133x_init()
729 static int ssd130x_update_rect(struct ssd130x_device *ssd130x, in ssd130x_update_rect()
835 static int ssd132x_update_rect(struct ssd130x_device *ssd130x, in ssd132x_update_rect()
893 static int ssd133x_update_rect(struct ssd130x_device *ssd130x, in ssd133x_update_rect()
934 static void ssd130x_clear_screen(struct ssd130x_device *ssd130x, u8 *data_array) in ssd130x_clear_screen()
975 static void ssd132x_clear_screen(struct ssd130x_device *ssd130x, u8 *data_array) in ssd132x_clear_screen()
986 static void ssd133x_clear_screen(struct ssd130x_device *ssd130x, u8 *data_array) in ssd133x_clear_screen()
1008 struct ssd130x_device *ssd130x = drm_to_ssd130x(fb->dev); in ssd130x_fb_blit_rect()
1039 struct ssd130x_device *ssd130x = drm_to_ssd130x(fb->dev); in ssd132x_fb_blit_rect()
1068 struct ssd130x_device *ssd130x = drm_to_ssd130x(fb->dev); in ssd133x_fb_blit_rect()
1097 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_primary_plane_atomic_check()
1146 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd132x_primary_plane_atomic_check()
1321 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_primary_plane_atomic_disable()
1345 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd132x_primary_plane_atomic_disable()
1369 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd133x_primary_plane_atomic_disable()
1472 struct ssd130x_device *ssd130x = drm_to_ssd130x(crtc->dev); in ssd130x_crtc_mode_valid()
1489 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_crtc_atomic_check()
1510 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd132x_crtc_atomic_check()
1531 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd133x_crtc_atomic_check()
1634 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_encoder_atomic_enable()
1660 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd132x_encoder_atomic_enable()
1685 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd133x_encoder_atomic_enable()
1710 struct ssd130x_device *ssd130x = drm_to_ssd130x(drm); in ssd130x_encoder_atomic_disable()
1740 struct ssd130x_device *ssd130x = drm_to_ssd130x(connector->dev); in ssd130x_connector_get_modes()
1794 struct ssd130x_device *ssd130x = bl_get_data(bdev); in ssd130x_update_bl()
1815 static void ssd130x_parse_properties(struct ssd130x_device *ssd130x) in ssd130x_parse_properties()
1863 static int ssd130x_init_modeset(struct ssd130x_device *ssd130x) in ssd130x_init_modeset()
1969 static int ssd130x_get_resources(struct ssd130x_device *ssd130x) in ssd130x_get_resources()
1986 struct ssd130x_device *ssd130x_probe(struct device *dev, struct regmap *regmap) in ssd130x_probe()
1988 struct ssd130x_device *ssd130x; in ssd130x_probe()
1994 struct ssd130x_device, drm); in ssd130x_probe()
2038 void ssd130x_remove(struct ssd130x_device *ssd130x) in ssd130x_remove()
2045 void ssd130x_shutdown(struct ssd130x_device *ssd130x) in ssd130x_shutdown()