Lines Matching refs:dev
50 int rk_lvds_enable(struct udevice *dev, int panel_bpp, in rk_lvds_enable() argument
53 struct rk_lvds_priv *priv = dev_get_priv(dev); in rk_lvds_enable()
54 struct display_plat *uc_plat = dev_get_uclass_platdata(dev); in rk_lvds_enable()
161 int rk_lvds_read_timing(struct udevice *dev, struct display_timing *timing) in rk_lvds_read_timing() argument
164 (gd->fdt_blob, dev_of_offset(dev), 0, timing)) { in rk_lvds_read_timing()
172 static int rk_lvds_ofdata_to_platdata(struct udevice *dev) in rk_lvds_ofdata_to_platdata() argument
174 struct rk_lvds_priv *priv = dev_get_priv(dev); in rk_lvds_ofdata_to_platdata()
176 int node = dev_of_offset(dev); in rk_lvds_ofdata_to_platdata()
178 priv->regs = (void *)devfdt_get_addr(dev); in rk_lvds_ofdata_to_platdata()
218 int rk_lvds_probe(struct udevice *dev) in rk_lvds_probe() argument
220 struct rk_lvds_priv *priv = dev_get_priv(dev); in rk_lvds_probe()
223 ret = uclass_get_device_by_phandle(UCLASS_PANEL, dev, "rockchip,panel", in rk_lvds_probe()
227 dev->name, ret); in rk_lvds_probe()