Lines Matching refs:scon
489 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_get_modes() local
498 drm_display_mode_from_videomode(scon->mode, mode); in shmob_drm_connector_get_modes()
508 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_best_encoder() local
510 return scon->encoder; in shmob_drm_connector_best_encoder()
539 struct shmob_drm_connector *scon; in shmob_drm_connector_init() local
554 scon = kzalloc(sizeof(*scon), GFP_KERNEL); in shmob_drm_connector_init()
555 if (!scon) in shmob_drm_connector_init()
558 connector = &scon->base; in shmob_drm_connector_init()
559 scon->encoder = encoder; in shmob_drm_connector_init()
560 scon->mode = &sdev->pdata->panel.mode; in shmob_drm_connector_init()
566 if (scon->mode->flags & DISPLAY_FLAGS_PIXDATA_POSEDGE) in shmob_drm_connector_init()
568 if (scon->mode->flags & DISPLAY_FLAGS_DE_LOW) in shmob_drm_connector_init()
573 kfree(scon); in shmob_drm_connector_init()
580 kfree(scon); in shmob_drm_connector_init()