Home
last modified time | relevance | path

Searched refs:cdn_dp_device (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/rockchip/
H A Dcdn-dp-core.c28 static inline struct cdn_dp_device *connector_to_dp(struct drm_connector *connector) in connector_to_dp()
30 return container_of(connector, struct cdn_dp_device, connector); in connector_to_dp()
33 static inline struct cdn_dp_device *encoder_to_dp(struct drm_encoder *encoder) in encoder_to_dp()
37 return container_of(rkencoder, struct cdn_dp_device, encoder); in encoder_to_dp()
68 static int cdn_dp_grf_write(struct cdn_dp_device *dp, in cdn_dp_grf_write()
91 static int cdn_dp_clk_enable(struct cdn_dp_device *dp) in cdn_dp_clk_enable()
143 static void cdn_dp_clk_disable(struct cdn_dp_device *dp) in cdn_dp_clk_disable()
172 static int cdn_dp_get_sink_count(struct cdn_dp_device *dp, u8 *sink_count) in cdn_dp_get_sink_count()
186 static struct cdn_dp_port *cdn_dp_connected_port(struct cdn_dp_device *dp) in cdn_dp_connected_port()
200 static bool cdn_dp_check_sink_connection(struct cdn_dp_device *dp) in cdn_dp_check_sink_connection()
[all …]
H A Dcdn-dp-reg.h454 void cdn_dp_clock_reset(struct cdn_dp_device *dp);
456 void cdn_dp_set_fw_clk(struct cdn_dp_device *dp, unsigned long clk);
457 int cdn_dp_load_firmware(struct cdn_dp_device *dp, const u32 *i_mem,
459 int cdn_dp_set_firmware_active(struct cdn_dp_device *dp, bool enable);
460 int cdn_dp_set_host_cap(struct cdn_dp_device *dp, u8 lanes, bool flip);
461 int cdn_dp_event_config(struct cdn_dp_device *dp);
462 u32 cdn_dp_get_event(struct cdn_dp_device *dp);
463 int cdn_dp_get_hpd_status(struct cdn_dp_device *dp);
464 int cdn_dp_dpcd_write(struct cdn_dp_device *dp, u32 addr, u8 value);
465 int cdn_dp_dpcd_read(struct cdn_dp_device *dp, u32 addr, u8 *data, u16 len);
[all …]
H A Dcdn-dp-reg.c24 void cdn_dp_set_fw_clk(struct cdn_dp_device *dp, unsigned long clk) in cdn_dp_set_fw_clk()
29 void cdn_dp_clock_reset(struct cdn_dp_device *dp) in cdn_dp_clock_reset()
78 static int cdn_dp_mailbox_read(struct cdn_dp_device *dp) in cdn_dp_mailbox_read()
91 static int cdp_dp_mailbox_write(struct cdn_dp_device *dp, u8 val) in cdp_dp_mailbox_write()
106 static int cdn_dp_mailbox_validate_receive(struct cdn_dp_device *dp, in cdn_dp_mailbox_validate_receive()
141 static int cdn_dp_mailbox_read_receive(struct cdn_dp_device *dp, in cdn_dp_mailbox_read_receive()
158 static int cdn_dp_mailbox_send(struct cdn_dp_device *dp, u8 module_id, in cdn_dp_mailbox_send()
184 static int cdn_dp_reg_write(struct cdn_dp_device *dp, u16 addr, u32 val) in cdn_dp_reg_write()
198 static int cdn_dp_reg_write_bit(struct cdn_dp_device *dp, u16 addr, in cdn_dp_reg_write_bit()
216 int cdn_dp_dpcd_read(struct cdn_dp_device *dp, u32 addr, u8 *data, u16 len) in cdn_dp_dpcd_read()
[all …]
H A Dcdn-dp-core.h56 struct cdn_dp_device *dp;
65 struct cdn_dp_device { struct