Lines Matching +full:phy +full:- +full:i2c
1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/i2c.h>
58 struct hdmi_phy *phy; member
61 struct i2c_adapter *i2c; member
107 writel(data, hdmi->mmio + reg); in hdmi_write()
112 return readl(hdmi->mmio + reg); in hdmi_read()
117 return readl(hdmi->qfprom_mmio + reg); in hdmi_qfprom_read()
121 * hdmi phy:
135 void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock);
136 void (*powerdown)(struct hdmi_phy *phy);
158 static inline void hdmi_phy_write(struct hdmi_phy *phy, u32 reg, u32 data) in hdmi_phy_write() argument
160 writel(data, phy->mmio + reg); in hdmi_phy_write()
163 static inline u32 hdmi_phy_read(struct hdmi_phy *phy, u32 reg) in hdmi_phy_read() argument
165 return readl(phy->mmio + reg); in hdmi_phy_read()
168 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy);
169 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy);
170 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock);
171 void msm_hdmi_phy_powerdown(struct hdmi_phy *phy);
182 return -ENODEV; in msm_hdmi_pll_8960_init()
187 return -ENODEV; in msm_hdmi_pll_8996_init()
192 return -ENODEV; in msm_hdmi_pll_8998_init()
223 * i2c adapter for ddc:
226 void msm_hdmi_i2c_irq(struct i2c_adapter *i2c);
227 void msm_hdmi_i2c_destroy(struct i2c_adapter *i2c);
242 return ERR_PTR(-ENXIO); in msm_hdmi_hdcp_init()