Lines Matching refs:dev
125 dev_err(drm_panel->dev, "Failed to enable power supply: %d\n", err); in nt39016_prepare()
144 dev_err(drm_panel->dev, "Failed to init registers: %d\n", err); in nt39016_prepare()
174 dev_err(drm_panel->dev, "Unable to enable panel: %d\n", ret); in nt39016_enable()
194 dev_err(drm_panel->dev, "Unable to disable panel: %d\n", err); in nt39016_disable()
210 mode = drm_mode_duplicate(connector->dev, in nt39016_get_modes()
245 struct device *dev = &spi->dev; in nt39016_probe() local
249 panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL); in nt39016_probe()
255 panel->panel_info = of_device_get_match_data(dev); in nt39016_probe()
259 panel->supply = devm_regulator_get(dev, "power"); in nt39016_probe()
261 return dev_err_probe(dev, PTR_ERR(panel->supply), in nt39016_probe()
264 panel->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in nt39016_probe()
266 return dev_err_probe(dev, PTR_ERR(panel->reset_gpio), "Failed to get reset GPIO\n"); in nt39016_probe()
272 dev_err(dev, "Failed to setup SPI\n"); in nt39016_probe()
278 dev_err(dev, "Failed to init regmap\n"); in nt39016_probe()
282 drm_panel_init(&panel->drm_panel, dev, &nt39016_funcs, in nt39016_probe()
287 return dev_err_probe(dev, err, "Failed to get backlight handle\n"); in nt39016_probe()