Lines Matching refs:drv_data
126 const struct dphy_drv_data *drv_data; member
134 const struct dphy_drv_data *drv_data = priv->drv_data; in write_grf_reg() local
135 const struct dphy_reg *reg = &drv_data->grf_regs[index]; in write_grf_reg()
168 const struct dphy_drv_data *drv_data = priv->drv_data; in rockchip_inno_csidphy_ths_settle() local
171 val = readl(priv->phy_base + drv_data->ths_settle_offset + offset); in rockchip_inno_csidphy_ths_settle()
174 writel(val, priv->phy_base + drv_data->ths_settle_offset + offset); in rockchip_inno_csidphy_ths_settle()
181 const struct dphy_drv_data *drv_data = priv->drv_data; in rockchip_inno_csidphy_configure() local
197 for (i = 0; i < drv_data->num_hsfreq_ranges; i++) { in rockchip_inno_csidphy_configure()
198 if (drv_data->hsfreq_ranges[i].range_h >= data_rate_mbps) { in rockchip_inno_csidphy_configure()
199 hsfreq = drv_data->hsfreq_ranges[i].cfg_bit; in rockchip_inno_csidphy_configure()
214 const struct dphy_drv_data *drv_data = priv->drv_data; in rockchip_inno_csidphy_power_on() local
230 if (drv_data->pwrctl_offset >= 0) in rockchip_inno_csidphy_power_on()
233 priv->phy_base + drv_data->pwrctl_offset); in rockchip_inno_csidphy_power_on()
242 if (drv_data->pwrctl_offset >= 0) in rockchip_inno_csidphy_power_on()
244 priv->phy_base + drv_data->pwrctl_offset); in rockchip_inno_csidphy_power_on()
257 if (data_rate_mbps > 1500 && drv_data->calib_offset >= 0) { in rockchip_inno_csidphy_power_on()
259 priv->phy_base + drv_data->calib_offset + in rockchip_inno_csidphy_power_on()
263 priv->phy_base + drv_data->calib_offset + in rockchip_inno_csidphy_power_on()
283 const struct dphy_drv_data *drv_data = priv->drv_data; in rockchip_inno_csidphy_power_off() local
290 if (drv_data->pwrctl_offset >= 0) in rockchip_inno_csidphy_power_off()
294 priv->phy_base + drv_data->pwrctl_offset); in rockchip_inno_csidphy_power_off()
390 priv->drv_data = of_device_get_match_data(dev); in rockchip_inno_csidphy_probe()
391 if (!priv->drv_data) { in rockchip_inno_csidphy_probe()