Lines Matching refs:rk3066_hdmi

41 struct rk3066_hdmi {  struct
61 static struct rk3066_hdmi *encoder_to_rk3066_hdmi(struct drm_encoder *encoder) in encoder_to_rk3066_hdmi() argument
65 return container_of(rkencoder, struct rk3066_hdmi, encoder); in encoder_to_rk3066_hdmi()
68 static struct rk3066_hdmi *connector_to_rk3066_hdmi(struct drm_connector *connector) in connector_to_rk3066_hdmi()
70 return container_of(connector, struct rk3066_hdmi, connector); in connector_to_rk3066_hdmi()
73 static inline u8 hdmi_readb(struct rk3066_hdmi *hdmi, u16 offset) in hdmi_readb()
78 static inline void hdmi_writeb(struct rk3066_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb()
83 static inline void hdmi_modb(struct rk3066_hdmi *hdmi, u16 offset, in hdmi_modb()
92 static void rk3066_hdmi_i2c_init(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_init()
106 static inline u8 rk3066_hdmi_get_power_mode(struct rk3066_hdmi *hdmi) in rk3066_hdmi_get_power_mode()
111 static void rk3066_hdmi_set_power_mode(struct rk3066_hdmi *hdmi, int mode) in rk3066_hdmi_set_power_mode()
166 rk3066_hdmi_upload_frame(struct rk3066_hdmi *hdmi, int setup_rc, in rk3066_hdmi_upload_frame()
195 static int rk3066_hdmi_config_avi(struct rk3066_hdmi *hdmi, in rk3066_hdmi_config_avi()
218 static int rk3066_hdmi_config_video_timing(struct rk3066_hdmi *hdmi, in rk3066_hdmi_config_video_timing()
274 rk3066_hdmi_phy_write(struct rk3066_hdmi *hdmi, u16 offset, u8 value) in rk3066_hdmi_phy_write()
284 static void rk3066_hdmi_config_phy(struct rk3066_hdmi *hdmi) in rk3066_hdmi_config_phy()
327 static int rk3066_hdmi_setup(struct rk3066_hdmi *hdmi, in rk3066_hdmi_setup()
395 struct rk3066_hdmi *hdmi = encoder_to_rk3066_hdmi(encoder); in rk3066_hdmi_encoder_mode_set()
403 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()
470 struct rk3066_hdmi *hdmi = connector_to_rk3066_hdmi(connector); in rk3066_hdmi_connector_detect()
478 struct rk3066_hdmi *hdmi = connector_to_rk3066_hdmi(connector); in rk3066_hdmi_connector_get_modes()
510 struct rk3066_hdmi *hdmi = connector_to_rk3066_hdmi(connector); in rk3066_hdmi_connector_best_encoder()
550 rk3066_hdmi_register(struct drm_device *drm, struct rk3066_hdmi *hdmi) in rk3066_hdmi_register()
586 struct rk3066_hdmi *hdmi = dev_id; in rk3066_hdmi_hardirq()
610 struct rk3066_hdmi *hdmi = dev_id; in rk3066_hdmi_irq()
617 static int rk3066_hdmi_i2c_read(struct rk3066_hdmi *hdmi, struct i2c_msg *msgs) in rk3066_hdmi_i2c_read()
633 static int rk3066_hdmi_i2c_write(struct rk3066_hdmi *hdmi, struct i2c_msg *msgs) in rk3066_hdmi_i2c_write()
666 struct rk3066_hdmi *hdmi = i2c_get_adapdata(adap); in rk3066_hdmi_i2c_xfer()
714 static struct i2c_adapter *rk3066_hdmi_i2c_adapter(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_adapter()
756 struct rk3066_hdmi *hdmi; in rk3066_hdmi_bind()
842 struct rk3066_hdmi *hdmi = dev_get_drvdata(dev); in rk3066_hdmi_unbind()