Lines Matching refs:rk3066_hdmi

41 struct rk3066_hdmi {  struct
60 static struct rk3066_hdmi *encoder_to_rk3066_hdmi(struct drm_encoder *encoder) in encoder_to_rk3066_hdmi() argument
64 return container_of(rkencoder, struct rk3066_hdmi, encoder); in encoder_to_rk3066_hdmi()
67 static struct rk3066_hdmi *connector_to_rk3066_hdmi(struct drm_connector *connector) in connector_to_rk3066_hdmi()
69 return container_of(connector, struct rk3066_hdmi, connector); in connector_to_rk3066_hdmi()
72 static inline u8 hdmi_readb(struct rk3066_hdmi *hdmi, u16 offset) in hdmi_readb()
77 static inline void hdmi_writeb(struct rk3066_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb()
82 static inline void hdmi_modb(struct rk3066_hdmi *hdmi, u16 offset, in hdmi_modb()
91 static void rk3066_hdmi_i2c_init(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_init()
105 static inline u8 rk3066_hdmi_get_power_mode(struct rk3066_hdmi *hdmi) in rk3066_hdmi_get_power_mode()
110 static void rk3066_hdmi_set_power_mode(struct rk3066_hdmi *hdmi, int mode) in rk3066_hdmi_set_power_mode()
165 rk3066_hdmi_upload_frame(struct rk3066_hdmi *hdmi, int setup_rc, in rk3066_hdmi_upload_frame()
194 static int rk3066_hdmi_config_avi(struct rk3066_hdmi *hdmi, in rk3066_hdmi_config_avi()
217 static int rk3066_hdmi_config_video_timing(struct rk3066_hdmi *hdmi, in rk3066_hdmi_config_video_timing()
273 rk3066_hdmi_phy_write(struct rk3066_hdmi *hdmi, u16 offset, u8 value) in rk3066_hdmi_phy_write()
283 static void rk3066_hdmi_config_phy(struct rk3066_hdmi *hdmi) in rk3066_hdmi_config_phy()
326 static int rk3066_hdmi_setup(struct rk3066_hdmi *hdmi, in rk3066_hdmi_setup()
392 struct rk3066_hdmi *hdmi = encoder_to_rk3066_hdmi(encoder); in rk3066_hdmi_encoder_enable()
422 struct rk3066_hdmi *hdmi = encoder_to_rk3066_hdmi(encoder); in rk3066_hdmi_encoder_disable()
460 struct rk3066_hdmi *hdmi = connector_to_rk3066_hdmi(connector); in rk3066_hdmi_connector_detect()
468 struct rk3066_hdmi *hdmi = connector_to_rk3066_hdmi(connector); in rk3066_hdmi_connector_get_modes()
498 struct rk3066_hdmi *hdmi = connector_to_rk3066_hdmi(connector); in rk3066_hdmi_connector_best_encoder()
538 rk3066_hdmi_register(struct drm_device *drm, struct rk3066_hdmi *hdmi) in rk3066_hdmi_register()
574 struct rk3066_hdmi *hdmi = dev_id; in rk3066_hdmi_hardirq()
598 struct rk3066_hdmi *hdmi = dev_id; in rk3066_hdmi_irq()
605 static int rk3066_hdmi_i2c_read(struct rk3066_hdmi *hdmi, struct i2c_msg *msgs) in rk3066_hdmi_i2c_read()
621 static int rk3066_hdmi_i2c_write(struct rk3066_hdmi *hdmi, struct i2c_msg *msgs) in rk3066_hdmi_i2c_write()
654 struct rk3066_hdmi *hdmi = i2c_get_adapdata(adap); in rk3066_hdmi_i2c_xfer()
702 static struct i2c_adapter *rk3066_hdmi_i2c_adapter(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_adapter()
743 struct rk3066_hdmi *hdmi; in rk3066_hdmi_bind()
829 struct rk3066_hdmi *hdmi = dev_get_drvdata(dev); in rk3066_hdmi_unbind()