Lines Matching refs:nv_conn
231 struct nouveau_connector *nv_conn, in nv50_backlight_init() argument
243 drm_helper_probe_detect(&nv_conn->base, NULL, false) != connector_status_connected) in nv50_backlight_init()
246 if (nv_conn->type == DCB_CONNECTOR_eDP) { in nv50_backlight_init()
252 ret = drm_dp_dpcd_read(&nv_conn->aux, DP_EDP_DPCD_REV, edp_dpcd, in nv50_backlight_init()
262 nv_conn->base.name); in nv50_backlight_init()
264 ret = drm_edp_backlight_init(&nv_conn->aux, &bl->edp_info, 0, edp_dpcd, in nv50_backlight_init()
269 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init()
272 nv_conn->base.name, ret); in nv50_backlight_init()
389 struct nouveau_connector *nv_conn = nouveau_connector(connector); in nouveau_backlight_fini() local
390 struct nouveau_backlight *bl = nv_conn->backlight; in nouveau_backlight_fini()
399 nv_conn->backlight = NULL; in nouveau_backlight_fini()