| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | inno_video_phy.c | 84 static inline void phy_write(struct inno_video_phy *inno, u32 reg, u32 val) in phy_write() 89 static inline u32 phy_read(struct inno_video_phy *inno, u32 reg) in phy_read() 94 static inline void phy_update_bits(struct inno_video_phy *inno, in phy_update_bits() 105 static void phy_multi_write(struct inno_video_phy *inno, in phy_multi_write() 120 struct inno_video_phy *inno = dev_get_priv(phy->dev); in inno_video_phy_power_on() local 161 struct inno_video_phy *inno = dev_get_priv(phy->dev); in inno_video_phy_power_off() local 172 struct inno_video_phy *inno = dev_get_priv(phy->dev); in inno_video_phy_set_mode() local 189 struct inno_video_phy *inno = dev_get_priv(phy->dev); in inno_video_phy_set_bus_width() local 205 struct inno_video_phy *inno = dev_get_priv(dev); in inno_video_phy_probe() local
|
| H A D | rockchip-inno-hdmi-phy.c | 345 static inline void inno_write(struct inno_hdmi_phy *inno, u32 reg, u8 val) in inno_write() 350 static inline u8 inno_read(struct inno_hdmi_phy *inno, u32 reg) in inno_read() 359 static inline void inno_update_bits(struct inno_hdmi_phy *inno, u8 reg, in inno_update_bits() 370 static u32 inno_hdmi_phy_get_tmdsclk(struct inno_hdmi_phy *inno, in inno_hdmi_phy_get_tmdsclk() 443 struct inno_hdmi_phy *inno = (struct inno_hdmi_phy *)phy->data; in inno_hdmi_phy_power_on() local 495 struct inno_hdmi_phy *inno = (struct inno_hdmi_phy *)phy->data; in inno_hdmi_phy_power_off() local 507 static int inno_hdmi_phy_clk_is_prepared(struct inno_hdmi_phy *inno) in inno_hdmi_phy_clk_is_prepared() 519 static int inno_hdmi_phy_clk_prepare(struct inno_hdmi_phy *inno) in inno_hdmi_phy_clk_prepare() 530 static int inno_hdmi_phy_clk_set_rate(struct inno_hdmi_phy *inno, in inno_hdmi_phy_clk_set_rate() 553 static void inno_hdmi_phy_rk3228_init(struct inno_hdmi_phy *inno) in inno_hdmi_phy_rk3228_init() [all …]
|
| H A D | inno_mipi_phy.c | 255 static inline void inno_write(struct inno_mipi_dphy *inno, u32 reg, u32 val) in inno_write() 260 static inline u32 inno_read(struct inno_mipi_dphy *inno, u32 reg) in inno_read() 265 static inline void inno_update_bits(struct inno_mipi_dphy *inno, u32 reg, in inno_update_bits() 304 static void inno_mipi_dphy_timing_update(struct inno_mipi_dphy *inno, in inno_mipi_dphy_timing_update() 399 static void inno_mipi_dphy_lane_timing_init(struct inno_mipi_dphy *inno, in inno_mipi_dphy_lane_timing_init() 508 static inline void inno_mipi_dphy_reset(struct inno_mipi_dphy *inno) in inno_mipi_dphy_reset() 524 static void inno_mipi_dphy_timing_init(struct inno_mipi_dphy *inno) in inno_mipi_dphy_timing_init() 544 static inline void inno_mipi_dphy_lane_enable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_lane_enable() 571 static inline void inno_mipi_dphy_pll_ldo_disable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_pll_ldo_disable() 578 static inline void inno_mipi_dphy_pll_ldo_enable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_pll_ldo_enable() [all …]
|
| H A D | inno_video_combo_phy.c | 327 static inline void phy_update_bits(struct inno_video_phy *inno, in phy_update_bits() 339 static inline void host_update_bits(struct inno_video_phy *inno, in host_update_bits() 379 inno_mipi_dphy_get_timing(struct inno_video_phy *inno) in inno_mipi_dphy_get_timing() 399 static void inno_mipi_dphy_max_2_5GHz_pll_enable(struct inno_video_phy *inno) in inno_mipi_dphy_max_2_5GHz_pll_enable() 417 static void inno_mipi_dphy_max_1GHz_pll_enable(struct inno_video_phy *inno) in inno_mipi_dphy_max_1GHz_pll_enable() 432 static void inno_mipi_dphy_reset(struct inno_video_phy *inno) in inno_mipi_dphy_reset() 448 static void inno_mipi_dphy_timing_init(struct inno_video_phy *inno) in inno_mipi_dphy_timing_init() 580 static void inno_mipi_dphy_lane_enable(struct inno_video_phy *inno) in inno_mipi_dphy_lane_enable() 603 static void inno_video_phy_mipi_mode_enable(struct inno_video_phy *inno) in inno_video_phy_mipi_mode_enable() 627 static void inno_video_phy_lvds_mode_enable(struct inno_video_phy *inno) in inno_video_phy_lvds_mode_enable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-inno-hdmi-phy.c | 376 static inline void inno_write(struct inno_hdmi_phy *inno, u32 reg, u8 val) in inno_write() 381 static inline u8 inno_read(struct inno_hdmi_phy *inno, u32 reg) in inno_read() 390 static inline void inno_update_bits(struct inno_hdmi_phy *inno, u8 reg, in inno_update_bits() 396 static u32 inno_hdmi_phy_get_tmdsclk(struct inno_hdmi_phy *inno, int rate) in inno_hdmi_phy_get_tmdsclk() 429 struct inno_hdmi_phy *inno = dev_id; in inno_hdmi_phy_hardirq() local 454 struct inno_hdmi_phy *inno = dev_id; in inno_hdmi_phy_irq() local 474 struct inno_hdmi_phy *inno = phy_get_drvdata(phy); in inno_hdmi_phy_power_on() local 520 struct inno_hdmi_phy *inno = phy_get_drvdata(phy); in inno_hdmi_phy_power_off() local 539 struct inno_hdmi_phy *inno = to_inno_hdmi_phy(hw); in inno_hdmi_phy_clk_is_prepared() local 552 struct inno_hdmi_phy *inno = to_inno_hdmi_phy(hw); in inno_hdmi_phy_clk_prepare() local [all …]
|
| H A D | phy-rockchip-inno-hdmi.c | 382 static inline void inno_write(struct inno_hdmi_phy *inno, u32 reg, u8 val) in inno_write() 387 static inline u8 inno_read(struct inno_hdmi_phy *inno, u32 reg) in inno_read() 396 static inline void inno_update_bits(struct inno_hdmi_phy *inno, u8 reg, in inno_update_bits() 402 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ argument 406 static unsigned long inno_hdmi_phy_get_tmdsclk(struct inno_hdmi_phy *inno, in inno_hdmi_phy_get_tmdsclk() 426 struct inno_hdmi_phy *inno = dev_id; in inno_hdmi_phy_rk3328_hardirq() local 448 struct inno_hdmi_phy *inno = dev_id; in inno_hdmi_phy_rk3328_irq() local 459 struct inno_hdmi_phy *inno = phy_get_drvdata(phy); in inno_hdmi_phy_power_on() local 503 struct inno_hdmi_phy *inno = phy_get_drvdata(phy); in inno_hdmi_phy_power_off() local 524 struct pre_pll_config *inno_hdmi_phy_get_pre_pll_cfg(struct inno_hdmi_phy *inno, in inno_hdmi_phy_get_pre_pll_cfg() [all …]
|
| H A D | phy-rockchip-inno-mipi-dphy.c | 275 static void inno_update_bits(struct inno_mipi_dphy *inno, u8 first, u8 second, in inno_update_bits() 283 static void inno_mipi_dphy_reset(struct inno_mipi_dphy *inno) in inno_mipi_dphy_reset() 299 static void inno_mipi_dphy_power_work_enable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_power_work_enable() 305 static void inno_mipi_dphy_power_work_disable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_power_work_disable() 311 static void inno_mipi_dphy_bandgap_power_enable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_bandgap_power_enable() 317 static void inno_mipi_dphy_bandgap_power_disable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_bandgap_power_disable() 323 static void inno_mipi_dphy_lane_enable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_lane_enable() 346 static void inno_mipi_dphy_lane_disable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_lane_disable() 351 static void inno_mipi_dphy_pll_enable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_pll_enable() 369 static void inno_mipi_dphy_pll_disable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_pll_disable() [all …]
|
| H A D | phy-rockchip-inno-dsidphy.c | 306 static void phy_update_bits(struct inno_dsidphy *inno, in phy_update_bits() 318 static void host_update_bits(struct inno_dsidphy *inno, in host_update_bits() 329 static unsigned long inno_dsidphy_pll_calc_rate(struct inno_dsidphy *inno, in inno_dsidphy_pll_calc_rate() 400 inno_mipi_dphy_get_timing(struct inno_dsidphy *inno) in inno_mipi_dphy_get_timing() 420 static void inno_mipi_dphy_max_2_5GHz_pll_enable(struct inno_dsidphy *inno) in inno_mipi_dphy_max_2_5GHz_pll_enable() 439 static void inno_mipi_dphy_max_1GHz_pll_enable(struct inno_dsidphy *inno) in inno_mipi_dphy_max_1GHz_pll_enable() 454 static void inno_mipi_dphy_reset(struct inno_dsidphy *inno) in inno_mipi_dphy_reset() 470 static void inno_mipi_dphy_timing_init(struct inno_dsidphy *inno) in inno_mipi_dphy_timing_init() 587 static void inno_mipi_dphy_lane_enable(struct inno_dsidphy *inno) in inno_mipi_dphy_lane_enable() 610 static void inno_dsidphy_mipi_mode_enable(struct inno_dsidphy *inno) in inno_dsidphy_mipi_mode_enable() [all …]
|
| H A D | phy-rockchip-inno-video-combo-phy.c | 235 static void phy_update_bits(struct inno_video_phy *inno, in phy_update_bits() 247 static void host_update_bits(struct inno_video_phy *inno, in host_update_bits() 286 static void inno_video_phy_mipi_mode_enable(struct inno_video_phy *inno) in inno_video_phy_mipi_mode_enable() 447 static void inno_video_phy_lvds_mode_enable(struct inno_video_phy *inno) in inno_video_phy_lvds_mode_enable() 502 static void inno_video_phy_ttl_mode_enable(struct inno_video_phy *inno) in inno_video_phy_ttl_mode_enable() 530 struct inno_video_phy *inno = phy_get_drvdata(phy); in inno_video_phy_power_on() local 561 struct inno_video_phy *inno = phy_get_drvdata(phy); in inno_video_phy_power_off() local 599 static unsigned long inno_video_phy_pll_round_rate(struct inno_video_phy *inno, in inno_video_phy_pll_round_rate() 673 struct inno_video_phy *inno = hw_to_inno(hw); in inno_video_phy_pll_clk_round_rate() local 696 struct inno_video_phy *inno = hw_to_inno(hw); in inno_video_phy_pll_clk_set_rate() local [all …]
|
| H A D | phy-rockchip-inno-video-phy.c | 84 struct inno_video_phy *inno = phy_get_drvdata(phy); in inno_video_phy_power_on() local 128 struct inno_video_phy *inno = phy_get_drvdata(phy); in inno_video_phy_power_off() local 161 struct inno_video_phy *inno; in inno_video_phy_probe() local
|