Lines Matching +full:rockchip +full:- +full:dp +full:- +full:phy

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
4 * Author: Chris Zhong <zyw@rock-chips.com>
114 /* dptx phy addr */
175 /* dp aux addr */
400 #define MAX_NUM_CH(x) (((x) & 0x1f) - 1)
401 #define NUM_OF_I2S_PORTS(x) ((((x) / 2 - 1) & 0x3) << 5)
403 #define CFG_SUB_PCKT_NUM(x) ((((x) - 1) & 0x7) << 11)
404 #define AUDIO_CH_NUM(x) ((((x) - 1) & 0x1f) << 2)
454 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);
466 int cdn_dp_get_edid_block(void *dp, u8 *edid,
468 int cdn_dp_train_link(struct cdn_dp_device *dp);
469 int cdn_dp_set_video_status(struct cdn_dp_device *dp, int active);
470 int cdn_dp_config_video(struct cdn_dp_device *dp);
471 int cdn_dp_audio_stop(struct cdn_dp_device *dp, struct audio_info *audio);
472 int cdn_dp_audio_mute(struct cdn_dp_device *dp, bool enable);
473 int cdn_dp_audio_config(struct cdn_dp_device *dp, struct audio_info *audio);