Lines Matching refs:rockchip_lvds
37 struct rockchip_lvds;
45 int (*probe)(struct platform_device *pdev, struct rockchip_lvds *lvds);
49 struct rockchip_lvds { struct
66 static inline struct rockchip_lvds *connector_to_lvds(struct drm_connector *connector) in connector_to_lvds() argument
68 return container_of(connector, struct rockchip_lvds, connector); in connector_to_lvds()
71 static inline struct rockchip_lvds *encoder_to_lvds(struct drm_encoder *encoder) in encoder_to_lvds()
75 return container_of(rkencoder, struct rockchip_lvds, encoder); in encoder_to_lvds()
78 static inline void rk3288_writel(struct rockchip_lvds *lvds, u32 offset, in rk3288_writel()
121 struct rockchip_lvds *lvds = connector_to_lvds(connector); in rockchip_lvds_connector_get_modes()
145 static int rk3288_lvds_poweron(struct rockchip_lvds *lvds) in rk3288_lvds_poweron()
222 static void rk3288_lvds_poweroff(struct rockchip_lvds *lvds) in rk3288_lvds_poweroff()
244 struct rockchip_lvds *lvds = encoder_to_lvds(encoder); in rk3288_lvds_grf_config()
273 static int rk3288_lvds_set_vop_source(struct rockchip_lvds *lvds, in rk3288_lvds_set_vop_source()
296 struct rockchip_lvds *lvds = encoder_to_lvds(encoder); in rk3288_lvds_encoder_enable()
328 struct rockchip_lvds *lvds = encoder_to_lvds(encoder); in rk3288_lvds_encoder_disable()
335 static int px30_lvds_poweron(struct rockchip_lvds *lvds) in px30_lvds_poweron()
355 static void px30_lvds_poweroff(struct rockchip_lvds *lvds) in px30_lvds_poweroff()
367 struct rockchip_lvds *lvds = encoder_to_lvds(encoder); in px30_lvds_grf_config()
381 static int px30_lvds_set_vop_source(struct rockchip_lvds *lvds, in px30_lvds_set_vop_source()
397 struct rockchip_lvds *lvds = encoder_to_lvds(encoder); in px30_lvds_encoder_enable()
429 struct rockchip_lvds *lvds = encoder_to_lvds(encoder); in px30_lvds_encoder_disable()
451 struct rockchip_lvds *lvds) in rk3288_lvds_probe()
495 struct rockchip_lvds *lvds) in px30_lvds_probe()
548 struct rockchip_lvds *lvds = dev_get_drvdata(dev); in rockchip_lvds_bind()
682 struct rockchip_lvds *lvds = dev_get_drvdata(dev); in rockchip_lvds_unbind()
700 struct rockchip_lvds *lvds; in rockchip_lvds_probe()
743 struct rockchip_lvds *lvds = platform_get_drvdata(pdev); in rockchip_lvds_remove()