Lines Matching refs:nv_conn
295 struct nouveau_connector *nv_conn, in nv50_backlight_init() argument
308 drm_helper_probe_detect(&nv_conn->base, NULL, false) != connector_status_connected) in nv50_backlight_init()
311 if (nv_conn->type == DCB_CONNECTOR_eDP) { in nv50_backlight_init()
317 ret = drm_dp_dpcd_read(&nv_conn->aux, DP_EDP_DPCD_REV, edp_dpcd, in nv50_backlight_init()
327 nv_conn->base.name); in nv50_backlight_init()
329 ret = drm_edp_backlight_init(&nv_conn->aux, &bl->edp_info, 0, edp_dpcd, in nv50_backlight_init()
334 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init()
337 nv_conn->base.name, ret); in nv50_backlight_init()
461 struct nouveau_connector *nv_conn = nouveau_connector(connector); in nouveau_backlight_fini() local
462 struct nouveau_backlight *bl = nv_conn->backlight; in nouveau_backlight_fini()
471 nv_conn->backlight = NULL; in nouveau_backlight_fini()