meson_dw_hdmi 123 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi; meson_dw_hdmi 126 drivers/gpu/drm/meson/meson_dw_hdmi.c unsigned int (*top_read)(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 128 drivers/gpu/drm/meson/meson_dw_hdmi.c void (*top_write)(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 130 drivers/gpu/drm/meson/meson_dw_hdmi.c unsigned int (*dwc_read)(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 132 drivers/gpu/drm/meson/meson_dw_hdmi.c void (*dwc_write)(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 153 drivers/gpu/drm/meson/meson_dw_hdmi.c container_of(x, struct meson_dw_hdmi, encoder) meson_dw_hdmi 155 drivers/gpu/drm/meson/meson_dw_hdmi.c static inline int dw_hdmi_is_compatible(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 163 drivers/gpu/drm/meson/meson_dw_hdmi.c static unsigned int dw_hdmi_top_read(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 184 drivers/gpu/drm/meson/meson_dw_hdmi.c static unsigned int dw_hdmi_g12a_top_read(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 190 drivers/gpu/drm/meson/meson_dw_hdmi.c static inline void dw_hdmi_top_write(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 207 drivers/gpu/drm/meson/meson_dw_hdmi.c static inline void dw_hdmi_g12a_top_write(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 214 drivers/gpu/drm/meson/meson_dw_hdmi.c static inline void dw_hdmi_top_write_bits(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 227 drivers/gpu/drm/meson/meson_dw_hdmi.c static unsigned int dw_hdmi_dwc_read(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 248 drivers/gpu/drm/meson/meson_dw_hdmi.c static unsigned int dw_hdmi_g12a_dwc_read(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 254 drivers/gpu/drm/meson/meson_dw_hdmi.c static inline void dw_hdmi_dwc_write(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 271 drivers/gpu/drm/meson/meson_dw_hdmi.c static inline void dw_hdmi_g12a_dwc_write(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 278 drivers/gpu/drm/meson/meson_dw_hdmi.c static inline void dw_hdmi_dwc_write_bits(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 294 drivers/gpu/drm/meson/meson_dw_hdmi.c static void meson_hdmi_phy_setup_mode(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 355 drivers/gpu/drm/meson/meson_dw_hdmi.c static inline void meson_dw_hdmi_phy_reset(struct meson_dw_hdmi *dw_hdmi) meson_dw_hdmi 370 drivers/gpu/drm/meson/meson_dw_hdmi.c static void dw_hdmi_set_vclk(struct meson_dw_hdmi *dw_hdmi, meson_dw_hdmi 412 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = (struct meson_dw_hdmi *)data; meson_dw_hdmi 523 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = (struct meson_dw_hdmi *)data; meson_dw_hdmi 534 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = (struct meson_dw_hdmi *)data; meson_dw_hdmi 543 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = (struct meson_dw_hdmi *)data; meson_dw_hdmi 568 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = dev_id; meson_dw_hdmi 592 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = dev_id; meson_dw_hdmi 684 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = encoder_to_meson_dw_hdmi(encoder); meson_dw_hdmi 698 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = encoder_to_meson_dw_hdmi(encoder); meson_dw_hdmi 713 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = encoder_to_meson_dw_hdmi(encoder); meson_dw_hdmi 742 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = context; meson_dw_hdmi 753 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *dw_hdmi = context; meson_dw_hdmi 810 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *meson_dw_hdmi; meson_dw_hdmi 832 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi = devm_kzalloc(dev, sizeof(*meson_dw_hdmi), meson_dw_hdmi 834 drivers/gpu/drm/meson/meson_dw_hdmi.c if (!meson_dw_hdmi) meson_dw_hdmi 837 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->priv = priv; meson_dw_hdmi 838 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->dev = dev; meson_dw_hdmi 839 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->data = match; meson_dw_hdmi 840 drivers/gpu/drm/meson/meson_dw_hdmi.c dw_plat_data = &meson_dw_hdmi->dw_plat_data; meson_dw_hdmi 841 drivers/gpu/drm/meson/meson_dw_hdmi.c encoder = &meson_dw_hdmi->encoder; meson_dw_hdmi 843 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmi_supply = devm_regulator_get_optional(dev, "hdmi"); meson_dw_hdmi 844 drivers/gpu/drm/meson/meson_dw_hdmi.c if (IS_ERR(meson_dw_hdmi->hdmi_supply)) { meson_dw_hdmi 845 drivers/gpu/drm/meson/meson_dw_hdmi.c if (PTR_ERR(meson_dw_hdmi->hdmi_supply) == -EPROBE_DEFER) meson_dw_hdmi 847 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmi_supply = NULL; meson_dw_hdmi 849 drivers/gpu/drm/meson/meson_dw_hdmi.c ret = regulator_enable(meson_dw_hdmi->hdmi_supply); meson_dw_hdmi 854 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmitx_apb = devm_reset_control_get_exclusive(dev, meson_dw_hdmi 856 drivers/gpu/drm/meson/meson_dw_hdmi.c if (IS_ERR(meson_dw_hdmi->hdmitx_apb)) { meson_dw_hdmi 858 drivers/gpu/drm/meson/meson_dw_hdmi.c return PTR_ERR(meson_dw_hdmi->hdmitx_apb); meson_dw_hdmi 861 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmitx_ctrl = devm_reset_control_get_exclusive(dev, meson_dw_hdmi 863 drivers/gpu/drm/meson/meson_dw_hdmi.c if (IS_ERR(meson_dw_hdmi->hdmitx_ctrl)) { meson_dw_hdmi 865 drivers/gpu/drm/meson/meson_dw_hdmi.c return PTR_ERR(meson_dw_hdmi->hdmitx_ctrl); meson_dw_hdmi 868 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmitx_phy = devm_reset_control_get_exclusive(dev, meson_dw_hdmi 870 drivers/gpu/drm/meson/meson_dw_hdmi.c if (IS_ERR(meson_dw_hdmi->hdmitx_phy)) { meson_dw_hdmi 872 drivers/gpu/drm/meson/meson_dw_hdmi.c return PTR_ERR(meson_dw_hdmi->hdmitx_phy); meson_dw_hdmi 876 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmitx = devm_ioremap_resource(dev, res); meson_dw_hdmi 877 drivers/gpu/drm/meson/meson_dw_hdmi.c if (IS_ERR(meson_dw_hdmi->hdmitx)) meson_dw_hdmi 878 drivers/gpu/drm/meson/meson_dw_hdmi.c return PTR_ERR(meson_dw_hdmi->hdmitx); meson_dw_hdmi 880 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmi_pclk = devm_clk_get(dev, "isfr"); meson_dw_hdmi 881 drivers/gpu/drm/meson/meson_dw_hdmi.c if (IS_ERR(meson_dw_hdmi->hdmi_pclk)) { meson_dw_hdmi 883 drivers/gpu/drm/meson/meson_dw_hdmi.c return PTR_ERR(meson_dw_hdmi->hdmi_pclk); meson_dw_hdmi 885 drivers/gpu/drm/meson/meson_dw_hdmi.c clk_prepare_enable(meson_dw_hdmi->hdmi_pclk); meson_dw_hdmi 887 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->venci_clk = devm_clk_get(dev, "venci"); meson_dw_hdmi 888 drivers/gpu/drm/meson/meson_dw_hdmi.c if (IS_ERR(meson_dw_hdmi->venci_clk)) { meson_dw_hdmi 890 drivers/gpu/drm/meson/meson_dw_hdmi.c return PTR_ERR(meson_dw_hdmi->venci_clk); meson_dw_hdmi 892 drivers/gpu/drm/meson/meson_dw_hdmi.c clk_prepare_enable(meson_dw_hdmi->venci_clk); meson_dw_hdmi 894 drivers/gpu/drm/meson/meson_dw_hdmi.c dw_plat_data->regm = devm_regmap_init(dev, NULL, meson_dw_hdmi, meson_dw_hdmi 907 drivers/gpu/drm/meson/meson_dw_hdmi.c "dw_hdmi_top_irq", meson_dw_hdmi); meson_dw_hdmi 935 drivers/gpu/drm/meson/meson_dw_hdmi.c reset_control_reset(meson_dw_hdmi->hdmitx_apb); meson_dw_hdmi 936 drivers/gpu/drm/meson/meson_dw_hdmi.c reset_control_reset(meson_dw_hdmi->hdmitx_ctrl); meson_dw_hdmi 937 drivers/gpu/drm/meson/meson_dw_hdmi.c reset_control_reset(meson_dw_hdmi->hdmitx_phy); meson_dw_hdmi 942 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmitx + HDMITX_TOP_CTRL_REG); meson_dw_hdmi 944 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmitx + HDMITX_DWC_CTRL_REG); meson_dw_hdmi 948 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->data->top_write(meson_dw_hdmi, meson_dw_hdmi 953 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->data->top_write(meson_dw_hdmi, meson_dw_hdmi 957 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->data->top_write(meson_dw_hdmi, HDMITX_TOP_INTR_STAT_CLR, meson_dw_hdmi 960 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->data->top_write(meson_dw_hdmi, HDMITX_TOP_INTR_MASKN, meson_dw_hdmi 968 drivers/gpu/drm/meson/meson_dw_hdmi.c dw_plat_data->phy_data = meson_dw_hdmi; meson_dw_hdmi 972 drivers/gpu/drm/meson/meson_dw_hdmi.c platform_set_drvdata(pdev, meson_dw_hdmi); meson_dw_hdmi 974 drivers/gpu/drm/meson/meson_dw_hdmi.c meson_dw_hdmi->hdmi = dw_hdmi_bind(pdev, encoder, meson_dw_hdmi 975 drivers/gpu/drm/meson/meson_dw_hdmi.c &meson_dw_hdmi->dw_plat_data); meson_dw_hdmi 976 drivers/gpu/drm/meson/meson_dw_hdmi.c if (IS_ERR(meson_dw_hdmi->hdmi)) meson_dw_hdmi 977 drivers/gpu/drm/meson/meson_dw_hdmi.c return PTR_ERR(meson_dw_hdmi->hdmi); meson_dw_hdmi 987 drivers/gpu/drm/meson/meson_dw_hdmi.c struct meson_dw_hdmi *meson_dw_hdmi = dev_get_drvdata(dev); meson_dw_hdmi 989 drivers/gpu/drm/meson/meson_dw_hdmi.c dw_hdmi_unbind(meson_dw_hdmi->hdmi);