Lines Matching refs:state
31 struct exynos_dp_video_phy *state = phy_get_drvdata(phy);
34 return regmap_update_bits(state->regs, state->drvdata->phy_ctrl_offset,
40 struct exynos_dp_video_phy *state = phy_get_drvdata(phy);
43 return regmap_update_bits(state->regs, state->drvdata->phy_ctrl_offset,
75 struct exynos_dp_video_phy *state;
80 state = devm_kzalloc(dev, sizeof(*state), GFP_KERNEL);
81 if (!state)
84 state->regs = syscon_node_to_regmap(dev->parent->of_node);
85 if (IS_ERR(state->regs))
87 state->regs = syscon_regmap_lookup_by_phandle(dev->of_node,
89 if (IS_ERR(state->regs)) {
91 return PTR_ERR(state->regs);
94 state->drvdata = of_device_get_match_data(dev);
101 phy_set_drvdata(phy, state);