Lines Matching refs:dev
112 dev_err(panel->dev, "regulator_bulk_disable failed %d\n", ret); in nt36672a_panel_power_off()
130 dev_err(panel->dev, "failed to send DCS off cmds: %d\n", ret); in nt36672a_panel_unprepare()
134 dev_err(panel->dev, "set_display_off cmd failed ret = %d\n", ret); in nt36672a_panel_unprepare()
141 dev_err(panel->dev, "enter_sleep cmd failed ret = %d\n", ret); in nt36672a_panel_unprepare()
148 dev_err(panel->dev, "power_off failed ret = %d\n", ret); in nt36672a_panel_unprepare()
194 dev_err(panel->dev, "failed to send DCS Init 1st Code: %d\n", err); in nt36672a_panel_prepare()
200 dev_err(panel->dev, "failed to exit sleep mode: %d\n", err); in nt36672a_panel_prepare()
209 dev_err(panel->dev, "failed to Set Display ON: %d\n", err); in nt36672a_panel_prepare()
218 dev_err(panel->dev, "failed to send DCS Init 2nd Code: %d\n", err); in nt36672a_panel_prepare()
240 mode = drm_mode_duplicate(connector->dev, m); in nt36672a_panel_get_modes()
242 dev_err(panel->dev, "failed to add mode %ux%u@%u\n", m->hdisplay, in nt36672a_panel_get_modes()
605 struct device *dev = &pinfo->link->dev; in nt36672a_panel_add() local
611 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(pinfo->supplies), in nt36672a_panel_add()
614 return dev_err_probe(dev, ret, "failed to get regulators\n"); in nt36672a_panel_add()
620 return dev_err_probe(dev, ret, "failed to set regulator enable loads\n"); in nt36672a_panel_add()
623 pinfo->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in nt36672a_panel_add()
625 return dev_err_probe(dev, PTR_ERR(pinfo->reset_gpio), in nt36672a_panel_add()
628 drm_panel_init(&pinfo->base, dev, &panel_funcs, DRM_MODE_CONNECTOR_DSI); in nt36672a_panel_add()
632 return dev_err_probe(dev, ret, "Failed to get backlight\n"); in nt36672a_panel_add()
645 pinfo = devm_kzalloc(&dsi->dev, sizeof(*pinfo), GFP_KERNEL); in nt36672a_panel_probe()
649 desc = of_device_get_match_data(&dsi->dev); in nt36672a_panel_probe()
678 dev_err(&dsi->dev, "failed to unprepare panel: %d\n", err); in nt36672a_panel_remove()
682 dev_err(&dsi->dev, "failed to disable panel: %d\n", err); in nt36672a_panel_remove()
686 dev_err(&dsi->dev, "failed to detach from DSI host: %d\n", err); in nt36672a_panel_remove()