Home
last modified time | relevance | path

Searched refs:mhdp (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-hdcp.c18 static int cdns_mhdp_secure_mailbox_read(struct cdns_mhdp_device *mhdp) in cdns_mhdp_secure_mailbox_read() argument
22 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_secure_mailbox_read()
24 ret = readx_poll_timeout(readl, mhdp->sapb_regs + CDNS_MAILBOX_EMPTY, in cdns_mhdp_secure_mailbox_read()
30 return readl(mhdp->sapb_regs + CDNS_MAILBOX_RX_DATA) & 0xff; in cdns_mhdp_secure_mailbox_read()
33 static int cdns_mhdp_secure_mailbox_write(struct cdns_mhdp_device *mhdp, in cdns_mhdp_secure_mailbox_write() argument
38 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_secure_mailbox_write()
40 ret = readx_poll_timeout(readl, mhdp->sapb_regs + CDNS_MAILBOX_FULL, in cdns_mhdp_secure_mailbox_write()
46 writel(val, mhdp->sapb_regs + CDNS_MAILBOX_TX_DATA); in cdns_mhdp_secure_mailbox_write()
51 static int cdns_mhdp_secure_mailbox_recv_header(struct cdns_mhdp_device *mhdp, in cdns_mhdp_secure_mailbox_recv_header() argument
62 ret = cdns_mhdp_secure_mailbox_read(mhdp); in cdns_mhdp_secure_mailbox_recv_header()
82 cdns_mhdp_secure_mailbox_recv_data(struct cdns_mhdp_device *mhdp, u8 *buff, u16 buff_size) cdns_mhdp_secure_mailbox_recv_data() argument
99 cdns_mhdp_secure_mailbox_send(struct cdns_mhdp_device *mhdp, u8 module_id, u8 opcode, u16 size, u8 *message) cdns_mhdp_secure_mailbox_send() argument
128 cdns_mhdp_hdcp_get_status(struct cdns_mhdp_device *mhdp, u16 *hdcp_port_status) cdns_mhdp_hdcp_get_status() argument
159 cdns_mhdp_hdcp_handle_status(struct cdns_mhdp_device *mhdp, u16 status) cdns_mhdp_hdcp_handle_status() argument
170 cdns_mhdp_hdcp_rx_id_valid_response(struct cdns_mhdp_device *mhdp, u8 valid) cdns_mhdp_hdcp_rx_id_valid_response() argument
184 cdns_mhdp_hdcp_rx_id_valid(struct cdns_mhdp_device *mhdp, u8 *recv_num, u8 *hdcp_rx_id) cdns_mhdp_hdcp_rx_id_valid() argument
217 cdns_mhdp_hdcp_km_stored_resp(struct cdns_mhdp_device *mhdp, u32 size, u8 *km) cdns_mhdp_hdcp_km_stored_resp() argument
230 cdns_mhdp_hdcp_tx_is_km_stored(struct cdns_mhdp_device *mhdp, u8 *resp, u32 size) cdns_mhdp_hdcp_tx_is_km_stored() argument
254 cdns_mhdp_hdcp_tx_config(struct cdns_mhdp_device *mhdp, u8 hdcp_cfg) cdns_mhdp_hdcp_tx_config() argument
267 cdns_mhdp_hdcp_set_config(struct cdns_mhdp_device *mhdp, u8 hdcp_config, bool enable) cdns_mhdp_hdcp_set_config() argument
289 cdns_mhdp_hdcp_auth_check(struct cdns_mhdp_device *mhdp) cdns_mhdp_hdcp_auth_check() argument
313 cdns_mhdp_hdcp_check_receviers(struct cdns_mhdp_device *mhdp) cdns_mhdp_hdcp_check_receviers() argument
332 cdns_mhdp_hdcp_auth_22(struct cdns_mhdp_device *mhdp) cdns_mhdp_hdcp_auth_22() argument
361 cdns_mhdp_hdcp_auth_14(struct cdns_mhdp_device *mhdp) cdns_mhdp_hdcp_auth_14() argument
367 cdns_mhdp_hdcp_auth(struct cdns_mhdp_device *mhdp, u8 hdcp_config) cdns_mhdp_hdcp_auth() argument
392 _cdns_mhdp_hdcp_disable(struct cdns_mhdp_device *mhdp) _cdns_mhdp_hdcp_disable() argument
404 _cdns_mhdp_hdcp_enable(struct cdns_mhdp_device *mhdp, u8 content_type) _cdns_mhdp_hdcp_enable() argument
433 cdns_mhdp_hdcp_check_link(struct cdns_mhdp_device *mhdp) cdns_mhdp_hdcp_check_link() argument
473 struct cdns_mhdp_device *mhdp = container_of(hdcp, cdns_mhdp_hdcp_check_work() local
487 struct cdns_mhdp_device *mhdp = container_of(hdcp, cdns_mhdp_hdcp_prop_work() local
503 cdns_mhdp_hdcp_set_lc(struct cdns_mhdp_device *mhdp, u8 *val) cdns_mhdp_hdcp_set_lc() argument
517 cdns_mhdp_hdcp_set_public_key_param(struct cdns_mhdp_device *mhdp, struct cdns_hdcp_tx_public_key_param *val) cdns_mhdp_hdcp_set_public_key_param() argument
531 cdns_mhdp_hdcp_enable(struct cdns_mhdp_device *mhdp, u8 content_type) cdns_mhdp_hdcp_enable() argument
550 cdns_mhdp_hdcp_disable(struct cdns_mhdp_device *mhdp) cdns_mhdp_hdcp_disable() argument
566 cdns_mhdp_hdcp_init(struct cdns_mhdp_device *mhdp) cdns_mhdp_hdcp_init() argument
[all...]
H A Dcdns-mhdp8546-core.c58 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); in cdns_mhdp_bridge_hpd_enable() local
61 if (mhdp->bridge_attached) in cdns_mhdp_bridge_hpd_enable()
62 writel(readl(mhdp->regs + CDNS_APB_INT_MASK) & in cdns_mhdp_bridge_hpd_enable()
64 mhdp->regs + CDNS_APB_INT_MASK); in cdns_mhdp_bridge_hpd_enable()
69 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); in cdns_mhdp_bridge_hpd_disable() local
71 writel(readl(mhdp->regs + CDNS_APB_INT_MASK) | in cdns_mhdp_bridge_hpd_disable()
73 mhdp->regs + CDNS_APB_INT_MASK); in cdns_mhdp_bridge_hpd_disable()
76 static int cdns_mhdp_mailbox_read(struct cdns_mhdp_device *mhdp) in cdns_mhdp_mailbox_read() argument
80 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_mailbox_read()
82 ret = readx_poll_timeout(readl, mhdp in cdns_mhdp_mailbox_read()
91 cdns_mhdp_mailbox_write(struct cdns_mhdp_device *mhdp, u8 val) cdns_mhdp_mailbox_write() argument
108 cdns_mhdp_mailbox_recv_header(struct cdns_mhdp_device *mhdp, u8 module_id, u8 opcode, u16 req_size) cdns_mhdp_mailbox_recv_header() argument
143 cdns_mhdp_mailbox_recv_data(struct cdns_mhdp_device *mhdp, u8 *buff, u16 buff_size) cdns_mhdp_mailbox_recv_data() argument
160 cdns_mhdp_mailbox_send(struct cdns_mhdp_device *mhdp, u8 module_id, u8 opcode, u16 size, u8 *message) cdns_mhdp_mailbox_send() argument
186 cdns_mhdp_reg_read(struct cdns_mhdp_device *mhdp, u32 addr, u32 *value) cdns_mhdp_reg_read() argument
230 cdns_mhdp_reg_write(struct cdns_mhdp_device *mhdp, u16 addr, u32 val) cdns_mhdp_reg_write() argument
249 cdns_mhdp_reg_write_bit(struct cdns_mhdp_device *mhdp, u16 addr, u8 start_bit, u8 bits_no, u32 val) cdns_mhdp_reg_write_bit() argument
271 cdns_mhdp_dpcd_read(struct cdns_mhdp_device *mhdp, u32 addr, u8 *data, u16 len) cdns_mhdp_dpcd_read() argument
306 cdns_mhdp_dpcd_write(struct cdns_mhdp_device *mhdp, u32 addr, u8 value) cdns_mhdp_dpcd_write() argument
343 cdns_mhdp_set_firmware_active(struct cdns_mhdp_device *mhdp, bool enable) cdns_mhdp_set_firmware_active() argument
378 cdns_mhdp_get_hpd_status(struct cdns_mhdp_device *mhdp) cdns_mhdp_get_hpd_status() argument
417 struct cdns_mhdp_device *mhdp = data; cdns_mhdp_get_edid_block() local
460 cdns_mhdp_read_hpd_event(struct cdns_mhdp_device *mhdp) cdns_mhdp_read_hpd_event() argument
494 cdns_mhdp_adjust_lt(struct cdns_mhdp_device *mhdp, unsigned int nlanes, unsigned int udelay, const u8 *lanes_data, u8 link_status[DP_LINK_STATUS_SIZE]) cdns_mhdp_adjust_lt() argument
645 cdns_mhdp_max_link_rate(struct cdns_mhdp_device *mhdp) cdns_mhdp_max_link_rate() argument
650 cdns_mhdp_max_num_lanes(struct cdns_mhdp_device *mhdp) cdns_mhdp_max_num_lanes() argument
655 cdns_mhdp_eq_training_pattern_supported(struct cdns_mhdp_device *mhdp) cdns_mhdp_eq_training_pattern_supported() argument
660 cdns_mhdp_get_ssc_supported(struct cdns_mhdp_device *mhdp) cdns_mhdp_get_ssc_supported() argument
666 cdns_mhdp_detect(struct cdns_mhdp_device *mhdp) cdns_mhdp_detect() argument
676 cdns_mhdp_check_fw_version(struct cdns_mhdp_device *mhdp) cdns_mhdp_check_fw_version() argument
716 cdns_mhdp_fw_activate(const struct firmware *fw, struct cdns_mhdp_device *mhdp) cdns_mhdp_fw_activate() argument
783 struct cdns_mhdp_device *mhdp = context; cdns_mhdp_fw_cb() local
820 cdns_mhdp_load_firmware(struct cdns_mhdp_device *mhdp) cdns_mhdp_load_firmware() argument
838 struct cdns_mhdp_device *mhdp = dev_get_drvdata(aux->dev); cdns_mhdp_transfer() local
876 cdns_mhdp_link_training_init(struct cdns_mhdp_device *mhdp) cdns_mhdp_link_training_init() argument
928 cdns_mhdp_get_adjust_train(struct cdns_mhdp_device *mhdp, u8 link_status[DP_LINK_STATUS_SIZE], u8 lanes_data[CDNS_DP_MAX_NUM_LANES], union phy_configure_opts *phy_cfg) cdns_mhdp_get_adjust_train() argument
998 cdns_mhdp_adjust_requested_eq(struct cdns_mhdp_device *mhdp, u8 link_status[DP_LINK_STATUS_SIZE]) cdns_mhdp_adjust_requested_eq() argument
1021 cdns_mhdp_print_lt_status(const char *prefix, struct cdns_mhdp_device *mhdp, union phy_configure_opts *phy_cfg) cdns_mhdp_print_lt_status() argument
1043 cdns_mhdp_link_training_channel_eq(struct cdns_mhdp_device *mhdp, u8 eq_tps, unsigned int training_interval) cdns_mhdp_link_training_channel_eq() argument
1108 cdns_mhdp_adjust_requested_cr(struct cdns_mhdp_device *mhdp, u8 link_status[DP_LINK_STATUS_SIZE], u8 *req_volt, u8 *req_pre) cdns_mhdp_adjust_requested_cr() argument
1130 cdns_mhdp_validate_cr(struct cdns_mhdp_device *mhdp, bool *cr_done, bool *same_before_adjust, bool *max_swing_reached, u8 before_cr[CDNS_DP_MAX_NUM_LANES], u8 after_cr[DP_LINK_STATUS_SIZE], u8 *req_volt, u8 *req_pre) cdns_mhdp_validate_cr() argument
1169 cdns_mhdp_link_training_cr(struct cdns_mhdp_device *mhdp) cdns_mhdp_link_training_cr() argument
1264 cdns_mhdp_link_training(struct cdns_mhdp_device *mhdp, unsigned int training_interval) cdns_mhdp_link_training() argument
1358 cdns_mhdp_get_training_interval_us(struct cdns_mhdp_device *mhdp, u32 interval) cdns_mhdp_get_training_interval_us() argument
1370 cdns_mhdp_fill_host_caps(struct cdns_mhdp_device *mhdp) cdns_mhdp_fill_host_caps() argument
1400 cdns_mhdp_fill_sink_caps(struct cdns_mhdp_device *mhdp, u8 dpcd[DP_RECEIVER_CAP_SIZE]) cdns_mhdp_fill_sink_caps() argument
1424 cdns_mhdp_link_up(struct cdns_mhdp_device *mhdp) cdns_mhdp_link_up() argument
1498 cdns_mhdp_link_down(struct cdns_mhdp_device *mhdp) cdns_mhdp_link_down() argument
1508 cdns_mhdp_get_edid(struct cdns_mhdp_device *mhdp, struct drm_connector *connector) cdns_mhdp_get_edid() argument
1519 struct cdns_mhdp_device *mhdp = connector_to_mhdp(connector); cdns_mhdp_get_modes() local
1560 struct cdns_mhdp_device *mhdp = connector_to_mhdp(conn); cdns_mhdp_connector_detect() local
1591 cdns_mhdp_bandwidth_ok(struct cdns_mhdp_device *mhdp, const struct drm_display_mode *mode, unsigned int lanes, unsigned int rate) cdns_mhdp_bandwidth_ok() argument
1622 struct cdns_mhdp_device *mhdp = connector_to_mhdp(conn); cdns_mhdp_mode_valid() local
1639 struct cdns_mhdp_device *mhdp = connector_to_mhdp(conn); cdns_mhdp_connector_atomic_check() local
1691 cdns_mhdp_connector_init(struct cdns_mhdp_device *mhdp) cdns_mhdp_connector_init() argument
1734 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_attach() local
1768 cdns_mhdp_configure_video(struct cdns_mhdp_device *mhdp, const struct drm_display_mode *mode) cdns_mhdp_configure_video() argument
1939 cdns_mhdp_sst_enable(struct cdns_mhdp_device *mhdp, const struct drm_display_mode *mode) cdns_mhdp_sst_enable() argument
1987 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_atomic_enable() local
2075 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_atomic_disable() local
2106 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_detach() local
2191 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_atomic_check() local
2218 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_bridge_detect() local
2226 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_bridge_get_edid() local
2247 cdns_mhdp_detect_hpd(struct cdns_mhdp_device *mhdp, bool *hpd_pulse) cdns_mhdp_detect_hpd() argument
2275 cdns_mhdp_update_link_status(struct cdns_mhdp_device *mhdp) cdns_mhdp_update_link_status() argument
2361 struct cdns_mhdp_device *mhdp; cdns_mhdp_modeset_retry_fn() local
2384 struct cdns_mhdp_device *mhdp = data; cdns_mhdp_irq_handler() local
2416 cdns_mhdp_wait_for_sw_event(struct cdns_mhdp_device *mhdp, u32 event) cdns_mhdp_wait_for_sw_event() argument
2437 struct cdns_mhdp_device *mhdp = container_of(work, cdns_mhdp_hpd_work() local
2456 struct cdns_mhdp_device *mhdp; cdns_mhdp_probe() local
2601 struct cdns_mhdp_device *mhdp = platform_get_drvdata(pdev); cdns_mhdp_remove() local
[all...]
H A Dcdns-mhdp8546-j721e.c43 static int cdns_mhdp_j721e_init(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_init() argument
45 struct platform_device *pdev = to_platform_device(mhdp->dev); in cdns_mhdp_j721e_init()
47 mhdp->j721e_regs = devm_platform_ioremap_resource(pdev, 1); in cdns_mhdp_j721e_init()
48 return PTR_ERR_OR_ZERO(mhdp->j721e_regs); in cdns_mhdp_j721e_init()
51 static void cdns_mhdp_j721e_enable(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_enable() argument
59 mhdp->j721e_regs + DPTX_SRC_CFG); in cdns_mhdp_j721e_enable()
62 static void cdns_mhdp_j721e_disable(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_disable() argument
65 writel(0, mhdp->j721e_regs + DPTX_DSC_CFG); in cdns_mhdp_j721e_disable()
H A Dcdns-mhdp8546-hdcp.h85 int cdns_mhdp_hdcp_set_public_key_param(struct cdns_mhdp_device *mhdp,
87 int cdns_mhdp_hdcp_set_lc(struct cdns_mhdp_device *mhdp, u8 *val);
88 int cdns_mhdp_hdcp_enable(struct cdns_mhdp_device *mhdp, u8 content_type);
89 int cdns_mhdp_hdcp_disable(struct cdns_mhdp_device *mhdp);
90 void cdns_mhdp_hdcp_init(struct cdns_mhdp_device *mhdp);
H A Dcdns-mhdp8546-core.h327 int (*init)(struct cdns_mhdp_device *mhdp);
328 void (*exit)(struct cdns_mhdp_device *mhdp);
329 void (*enable)(struct cdns_mhdp_device *mhdp);
330 void (*disable)(struct cdns_mhdp_device *mhdp);
420 u32 cdns_mhdp_wait_for_sw_event(struct cdns_mhdp_device *mhdp, uint32_t event);
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-core.c55 static int cdns_mhdp_mailbox_read(struct cdns_mhdp_device *mhdp) in cdns_mhdp_mailbox_read() argument
59 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_mailbox_read()
61 ret = readx_poll_timeout(readl, mhdp->regs + CDNS_MAILBOX_EMPTY, in cdns_mhdp_mailbox_read()
67 return readl(mhdp->regs + CDNS_MAILBOX_RX_DATA) & 0xff; in cdns_mhdp_mailbox_read()
70 static int cdns_mhdp_mailbox_write(struct cdns_mhdp_device *mhdp, u8 val) in cdns_mhdp_mailbox_write() argument
74 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_mailbox_write()
76 ret = readx_poll_timeout(readl, mhdp->regs + CDNS_MAILBOX_FULL, in cdns_mhdp_mailbox_write()
82 writel(val, mhdp->regs + CDNS_MAILBOX_TX_DATA); in cdns_mhdp_mailbox_write()
87 static int cdns_mhdp_mailbox_recv_header(struct cdns_mhdp_device *mhdp, in cdns_mhdp_mailbox_recv_header() argument
97 ret = cdns_mhdp_mailbox_read(mhdp); in cdns_mhdp_mailbox_recv_header()
122 cdns_mhdp_mailbox_recv_data(struct cdns_mhdp_device *mhdp, u8 *buff, u16 buff_size) cdns_mhdp_mailbox_recv_data() argument
139 cdns_mhdp_mailbox_send(struct cdns_mhdp_device *mhdp, u8 module_id, u8 opcode, u16 size, u8 *message) cdns_mhdp_mailbox_send() argument
165 cdns_mhdp_reg_read(struct cdns_mhdp_device *mhdp, u32 addr, u32 *value) cdns_mhdp_reg_read() argument
209 cdns_mhdp_reg_write(struct cdns_mhdp_device *mhdp, u16 addr, u32 val) cdns_mhdp_reg_write() argument
228 cdns_mhdp_reg_write_bit(struct cdns_mhdp_device *mhdp, u16 addr, u8 start_bit, u8 bits_no, u32 val) cdns_mhdp_reg_write_bit() argument
250 cdns_mhdp_dpcd_read(struct cdns_mhdp_device *mhdp, u32 addr, u8 *data, u16 len) cdns_mhdp_dpcd_read() argument
285 cdns_mhdp_dpcd_write(struct cdns_mhdp_device *mhdp, u32 addr, u8 value) cdns_mhdp_dpcd_write() argument
322 cdns_mhdp_set_firmware_active(struct cdns_mhdp_device *mhdp, bool enable) cdns_mhdp_set_firmware_active() argument
357 cdns_mhdp_get_hpd_status(struct cdns_mhdp_device *mhdp) cdns_mhdp_get_hpd_status() argument
396 struct cdns_mhdp_device *mhdp = data; cdns_mhdp_get_edid_block() local
439 cdns_mhdp_read_hpd_event(struct cdns_mhdp_device *mhdp) cdns_mhdp_read_hpd_event() argument
473 cdns_mhdp_adjust_lt(struct cdns_mhdp_device *mhdp, unsigned int nlanes, unsigned int udelay, const u8 *lanes_data, u8 link_status[DP_LINK_STATUS_SIZE]) cdns_mhdp_adjust_lt() argument
624 cdns_mhdp_max_link_rate(struct cdns_mhdp_device *mhdp) cdns_mhdp_max_link_rate() argument
629 cdns_mhdp_max_num_lanes(struct cdns_mhdp_device *mhdp) cdns_mhdp_max_num_lanes() argument
634 cdns_mhdp_eq_training_pattern_supported(struct cdns_mhdp_device *mhdp) cdns_mhdp_eq_training_pattern_supported() argument
639 cdns_mhdp_get_ssc_supported(struct cdns_mhdp_device *mhdp) cdns_mhdp_get_ssc_supported() argument
645 cdns_mhdp_detect(struct cdns_mhdp_device *mhdp) cdns_mhdp_detect() argument
655 cdns_mhdp_check_fw_version(struct cdns_mhdp_device *mhdp) cdns_mhdp_check_fw_version() argument
695 cdns_mhdp_fw_activate(const struct firmware *fw, struct cdns_mhdp_device *mhdp) cdns_mhdp_fw_activate() argument
764 struct cdns_mhdp_device *mhdp = context; cdns_mhdp_fw_cb() local
801 cdns_mhdp_load_firmware(struct cdns_mhdp_device *mhdp) cdns_mhdp_load_firmware() argument
819 struct cdns_mhdp_device *mhdp = dev_get_drvdata(aux->dev); cdns_mhdp_transfer() local
857 cdns_mhdp_link_training_init(struct cdns_mhdp_device *mhdp) cdns_mhdp_link_training_init() argument
909 cdns_mhdp_get_adjust_train(struct cdns_mhdp_device *mhdp, u8 link_status[DP_LINK_STATUS_SIZE], u8 lanes_data[CDNS_DP_MAX_NUM_LANES], union phy_configure_opts *phy_cfg) cdns_mhdp_get_adjust_train() argument
979 cdns_mhdp_adjust_requested_eq(struct cdns_mhdp_device *mhdp, u8 link_status[DP_LINK_STATUS_SIZE]) cdns_mhdp_adjust_requested_eq() argument
1002 cdns_mhdp_print_lt_status(const char *prefix, struct cdns_mhdp_device *mhdp, union phy_configure_opts *phy_cfg) cdns_mhdp_print_lt_status() argument
1024 cdns_mhdp_link_training_channel_eq(struct cdns_mhdp_device *mhdp, u8 eq_tps, unsigned int training_interval) cdns_mhdp_link_training_channel_eq() argument
1089 cdns_mhdp_adjust_requested_cr(struct cdns_mhdp_device *mhdp, u8 link_status[DP_LINK_STATUS_SIZE], u8 *req_volt, u8 *req_pre) cdns_mhdp_adjust_requested_cr() argument
1111 cdns_mhdp_validate_cr(struct cdns_mhdp_device *mhdp, bool *cr_done, bool *same_before_adjust, bool *max_swing_reached, u8 before_cr[CDNS_DP_MAX_NUM_LANES], u8 after_cr[DP_LINK_STATUS_SIZE], u8 *req_volt, u8 *req_pre) cdns_mhdp_validate_cr() argument
1150 cdns_mhdp_link_training_cr(struct cdns_mhdp_device *mhdp) cdns_mhdp_link_training_cr() argument
1245 cdns_mhdp_link_training(struct cdns_mhdp_device *mhdp, unsigned int training_interval) cdns_mhdp_link_training() argument
1339 cdns_mhdp_get_training_interval_us(struct cdns_mhdp_device *mhdp, u32 interval) cdns_mhdp_get_training_interval_us() argument
1351 cdns_mhdp_fill_host_caps(struct cdns_mhdp_device *mhdp) cdns_mhdp_fill_host_caps() argument
1381 cdns_mhdp_fill_sink_caps(struct cdns_mhdp_device *mhdp, u8 dpcd[DP_RECEIVER_CAP_SIZE]) cdns_mhdp_fill_sink_caps() argument
1405 cdns_mhdp_link_up(struct cdns_mhdp_device *mhdp) cdns_mhdp_link_up() argument
1479 cdns_mhdp_link_down(struct cdns_mhdp_device *mhdp) cdns_mhdp_link_down() argument
1489 cdns_mhdp_get_edid(struct cdns_mhdp_device *mhdp, struct drm_connector *connector) cdns_mhdp_get_edid() argument
1500 struct cdns_mhdp_device *mhdp = connector_to_mhdp(connector); cdns_mhdp_get_modes() local
1541 struct cdns_mhdp_device *mhdp = connector_to_mhdp(conn); cdns_mhdp_connector_detect() local
1572 cdns_mhdp_bandwidth_ok(struct cdns_mhdp_device *mhdp, const struct drm_display_mode *mode, unsigned int lanes, unsigned int rate) cdns_mhdp_bandwidth_ok() argument
1603 struct cdns_mhdp_device *mhdp = connector_to_mhdp(conn); cdns_mhdp_mode_valid() local
1631 cdns_mhdp_connector_init(struct cdns_mhdp_device *mhdp) cdns_mhdp_connector_init() argument
1671 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_attach() local
1698 cdns_mhdp_configure_video(struct cdns_mhdp_device *mhdp, const struct drm_display_mode *mode) cdns_mhdp_configure_video() argument
1869 cdns_mhdp_sst_enable(struct cdns_mhdp_device *mhdp, const struct drm_display_mode *mode) cdns_mhdp_sst_enable() argument
1917 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_atomic_enable() local
1996 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_atomic_disable() local
2024 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_detach() local
2086 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_atomic_check() local
2106 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_bridge_detect() local
2114 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_bridge_get_edid() local
2121 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_bridge_hpd_enable() local
2131 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); cdns_mhdp_bridge_hpd_disable() local
2151 cdns_mhdp_detect_hpd(struct cdns_mhdp_device *mhdp, bool *hpd_pulse) cdns_mhdp_detect_hpd() argument
2179 cdns_mhdp_update_link_status(struct cdns_mhdp_device *mhdp) cdns_mhdp_update_link_status() argument
2265 struct cdns_mhdp_device *mhdp; cdns_mhdp_modeset_retry_fn() local
2288 struct cdns_mhdp_device *mhdp = data; cdns_mhdp_irq_handler() local
2327 struct cdns_mhdp_device *mhdp; cdns_mhdp_probe() local
2460 struct cdns_mhdp_device *mhdp = dev_get_drvdata(&pdev->dev); cdns_mhdp_remove() local
[all...]
H A Dcdns-mhdp8546-j721e.c43 static int cdns_mhdp_j721e_init(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_init() argument
45 struct platform_device *pdev = to_platform_device(mhdp->dev); in cdns_mhdp_j721e_init()
47 mhdp->j721e_regs = devm_platform_ioremap_resource(pdev, 1); in cdns_mhdp_j721e_init()
48 return PTR_ERR_OR_ZERO(mhdp->j721e_regs); in cdns_mhdp_j721e_init()
51 static void cdns_mhdp_j721e_enable(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_enable() argument
59 mhdp->j721e_regs + DPTX_SRC_CFG); in cdns_mhdp_j721e_enable()
62 static void cdns_mhdp_j721e_disable(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_disable() argument
65 writel(0, mhdp->j721e_regs + DPTX_DSC_CFG); in cdns_mhdp_j721e_disable()
H A Dcdns-mhdp8546-core.h323 int (*init)(struct cdns_mhdp_device *mhdp);
324 void (*exit)(struct cdns_mhdp_device *mhdp);
325 void (*enable)(struct cdns_mhdp_device *mhdp);
326 void (*disable)(struct cdns_mhdp_device *mhdp);

Completed in 7 milliseconds